summaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/ptgen.c
Commit message (Collapse)AuthorAgeFilesLines
* ptgen: work around gcc miscompilationJonas Gorski2016-09-261-1/+3
| | | | | | | Some gcc versions seem to miscompile code using ternary operators, work around this by just returning the result if exp is 0. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* firmware-tools/ptgen: use stdint types for struct pteFelix Fietkau2015-06-141-7/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45957
* 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> SVN-Revision: 45956
* 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> SVN-Revision: 42934
* tools/firmware-utils/ptgen option to use MB roundingJohn Crispin2012-08-221-4/+18
| | | | SVN-Revision: 33218
* 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) SVN-Revision: 12667
* fix x86 boot filesystem allocation (#1736)Felix Fietkau2007-05-231-1/+1
| | | | SVN-Revision: 7312
* make ptgen print the end offset of the last partition as wellFelix Fietkau2007-02-251-0/+1
| | | | SVN-Revision: 6358
* fix cylinder rounding in ptgenFelix Fietkau2007-02-241-1/+1
| | | | SVN-Revision: 6352
* remove custom partition table hack, add ptgen utility for generating ↵Felix Fietkau2006-12-071-0/+219
partition tables SVN-Revision: 5704