[U-Boot] [PATCH 29/53] binman: Add info to allow safely repacking an image later
sjg at google.com
sjg at google.com
Mon Jul 29 21:22:20 UTC 2019
At present it is not possible to discover the contraints to repacking an
image (e.g. maximum section size) since this information is not preserved
from the original image description.
Add new 'orig-offset' and 'orig-size' properties to hold this. Add them to
the main device tree in the image.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/README | 23 ++++++
tools/binman/README.entries | 8 ++-
tools/binman/entry.py | 18 ++++-
tools/binman/etype/fdtmap.py | 3 +
tools/binman/ftest.py | 70 ++++++++++++++++++-
tools/binman/image.py | 13 +++-
tools/binman/state.py | 21 ++++--
.../binman/test/134_fdt_update_all_repack.dts | 23 ++++++
8 files changed, 165 insertions(+), 14 deletions(-)
create mode 100644 tools/binman/test/134_fdt_update_all_repack.dts
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list