aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/ptgen.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-tools/ptgen: use stdint types for struct pteFelix Fietkau2015-06-141-7/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.Felix Fietkau2015-06-141-4/+4
| | | | | | | | They are of 32-bit little endian integers. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: allow passing a specific MBR signature to ptgenJo-Philipp Wich2014-10-161-4/+15
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] tools/firmware-utils/ptgen option to use MB roundingJohn Crispin2012-08-221-4/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC ↵Felix Fietkau2008-09-231-1/+1
| | | | | | to ensure that overwritten files have the right size (fixes #3505) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix x86 boot filesystem allocation (#1736)Felix Fietkau2007-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make ptgen print the end offset of the last partition as wellFelix Fietkau2007-02-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix cylinder rounding in ptgenFelix Fietkau2007-02-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove custom partition table hack, add ptgen utility for generating ↵Felix Fietkau2006-12-071-0/+219
partition tables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5704 3c298f89-4303-0410-b956-a3cf2f4a3e73