Dmitry Baryshkov 47933b5edd pil-squasher: write ELF header after reading it
There is no guarantee that there will be a segment covering the ELF
header. For example, for unfused apq8074 the mba firmware has just one
program header (for the firmware itself). Handle this case by writing
out ELF header as soon as it is read from the mdt file.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-03-31 17:40:09 -05:00
2023-03-31 17:40:09 -05:00
2019-07-08 10:58:54 -07:00

PIL squasher

pil-squasher takes a split firmware image (mdt + bXX files) and squash them into a single mbn firmware image, preserving signature et al.

Description
No description provided
Readme BSD-3-Clause 78 KiB
Languages
C 93.8%
Makefile 6.2%