[U-Boot] [PATCH v2 24/31] binman: Support reading an image into an Image object
sjg at google.com
sjg at google.com
Thu Jul 18 01:58:35 UTC 2019
It is possible to read an Image, locate its FDT map and then read it into
the binman data structures. This allows full access to the entries that
were written to the image. Add support for this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Deal with travis's old lz4 version by skipping tests as necessary
- Move 129_list_fdtmap.dts into the next commit
- Rename 128_decode_image_no_hdr.dts to 129_decode_image_nohdr.dts
- Update Image for LocateFdtmap() returning the position of the header
- Update test to use _DoReadFileRealDtb() helper
tools/binman/entry.py | 5 +++
tools/binman/ftest.py | 39 ++++++++++++++++++--
tools/binman/image.py | 38 +++++++++++++++++++
tools/binman/test/129_decode_image_nohdr.dts | 33 +++++++++++++++++
4 files changed, 111 insertions(+), 4 deletions(-)
create mode 100644 tools/binman/test/129_decode_image_nohdr.dts
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list