[U-Boot] [PATCH v2 21/31] binman: Allow listing the entries in an image
sjg at google.com
sjg at google.com
Thu Jul 18 01:58:39 UTC 2019
It is useful to be able to summarise all the entries in an image, e.g. to
display this to this user. Add a new ListEntries() method to Entry, and
set up a way to call it through the Image class.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add the Entry object to EntryInfo as well
- Change Image.ListEntries() to BuildEntryList() since signature differs
tools/binman/bsection.py | 9 ++++
tools/binman/entry.py | 36 ++++++++++++++++
tools/binman/etype/cbfs.py | 7 +++-
tools/binman/etype/section.py | 4 ++
tools/binman/ftest.py | 76 ++++++++++++++++++++++++++++++++++
tools/binman/image.py | 10 +++++
tools/binman/test/127_list.dts | 33 +++++++++++++++
7 files changed, 174 insertions(+), 1 deletion(-)
create mode 100644 tools/binman/test/127_list.dts
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list