When playing with the partition layout of a new device, I found some room for improvement of ptgen.
This series first adjusts some coding style issues of the sources - at least it improves it in my eyes :-) The last two changes are the real fixes/improvements, see individual commit messages for details. This series is also available at GitHub: https://github.com/mhei/source/commits/ptgen-fixes Michael Heimpold (7): firmware-tools/ptgen: fix minor coding style issues firmware-tools/ptgen: do not truncate the output file firmware-tools/ptgen: use portable exit codes firmware-tools/ptgen: change some variable types to prevent casts firmware-tools/ptgen: improve error messages on failures firmware-tools/ptgen: fix start sector calculation firmware-tools/ptgen: allow individual partition alignment tools/firmware-utils/src/ptgen.c | 97 +++++++++++++++++++++++----------------- 1 file changed, 55 insertions(+), 42 deletions(-) -- 2.7.4 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev