binman: Add info to allow safely repacking an image later
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:23:51 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commit12bb1a99c20e9c21a40ad447947c0bc898f390da
treea2ed011e35cbec3f4d4308f4d04a2d64b4ab7dc3
parent10f9d0066b9e9e14327922fa62c2a1b6bea50785
binman: Add info to allow safely repacking an image later

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@chromium.org>
tools/binman/README
tools/binman/README.entries
tools/binman/entry.py
tools/binman/etype/fdtmap.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/state.py
tools/binman/test/134_fdt_update_all_repack.dts [new file with mode: 0644]