[PATCH 2/7] binman: Allow listing an image created by a newer version

Simon Glass sjg at chromium.org
Sun Dec 5 20:46:06 CET 2021

If an older version of binman is used to list images created by a newer
one, it is possible that it will contain entry types that are not
supported. At present this produces an error.

Adjust binman to use a plain 'blob' entry type to cope with this, so the
image can at least be listed.

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

 tools/binman/binman.rst       |  5 +++
 tools/binman/entry.py         | 65 +++++++++++++++++++++++++++--------
 tools/binman/entry_test.py    |  9 +++++
 tools/binman/etype/section.py |  3 +-
 tools/binman/image.py         | 10 ++++--
 5 files changed, 74 insertions(+), 18 deletions(-)

Applied to u-boot-dm/next, thanks!

More information about the U-Boot mailing list