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 <s...@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!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to