]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Allow listing an image created by a newer version
authorSimon Glass <sjg@chromium.org>
Wed, 24 Nov 2021 04:09:49 +0000 (21:09 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 5 Dec 2021 16:21:44 +0000 (09:21 -0700)
commit858436dfda11158ea4bb9e17195dba7f62b30b74
tree6af3260b8ed4c50b2c39c68e627b8ce5077c41f7
parent7945077f7934fff2b9a5fba2860fe330e86093f1
binman: Allow listing an image created by a newer version

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@chromium.org>
tools/binman/binman.rst
tools/binman/entry.py
tools/binman/entry_test.py
tools/binman/etype/section.py
tools/binman/image.py