diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-20 21:23:51 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-29 18:38:06 +0300 |
commit | 12bb1a99c20e9c21a40ad447947c0bc898f390da (patch) | |
tree | a2ed011e35cbec3f4d4308f4d04a2d64b4ab7dc3 /tools/binman/README.entries | |
parent | 10f9d0066b9e9e14327922fa62c2a1b6bea50785 (diff) | |
download | u-boot-12bb1a99c20e9c21a40ad447947c0bc898f390da.tar.xz |
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>
Diffstat (limited to 'tools/binman/README.entries')
-rw-r--r-- | tools/binman/README.entries | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/binman/README.entries b/tools/binman/README.entries index 7ce88ee5da..37b8b4c4f9 100644 --- a/tools/binman/README.entries +++ b/tools/binman/README.entries @@ -230,7 +230,9 @@ Properties / Entry arguments: None An FDT map is just a header followed by an FDT containing a list of all the -entries in the image. +entries in the image. The root node corresponds to the image node in the +original FDT, and an image-name property indicates the image name in that +original tree. The header is the string _FDTMAP_ followed by 8 unused bytes. @@ -244,6 +246,7 @@ FDT with the position of each entry. Example output for a simple image with U-Boot and an FDT map: / { + image-name = "binman"; size = <0x00000112>; image-pos = <0x00000000>; offset = <0x00000000>; @@ -259,6 +262,9 @@ Example output for a simple image with U-Boot and an FDT map: }; }; +If allow-repack is used then 'orig-offset' and 'orig-size' properties are +added as necessary. See the binman README. + Entry: files: Entry containing a set of files |