[U-Boot] [PATCH v2 26/31] binman: Support listing an image

sjg at google.com sjg at google.com
Thu Jul 18 01:58:34 UTC 2019


Add support for listing the entries in an image. This relies on the image
having an FDT map.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Adjust the test to not rely on lz4 compression version
- Allow listing subsets of the image
- Change list command from 'list' to 'ls'
- Deal with travis's old lz4 version by skipping tests as necessary
- Move patch 'Add a comment about CBFS test structure' to earlier series
- Move patch 'Allow cbfstool to be optional with tests' to earlier series
- Update output from 'list' command
- Update test to use _DoReadFileRealDtb() helper

 tools/binman/README                   |  44 +++++++-
 tools/binman/cmdline.py               |   6 ++
 tools/binman/control.py               |  35 ++++++
 tools/binman/ftest.py                 |  82 ++++++++++++++
 tools/binman/image.py                 | 150 ++++++++++++++++++++++++++
 tools/binman/test/130_list_fdtmap.dts |  36 +++++++
 6 files changed, 352 insertions(+), 1 deletion(-)
 create mode 100644 tools/binman/test/130_list_fdtmap.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list