binman: Convert mkimage to Entry_section
authorMarek Vasut <marex@denx.de>
Tue, 18 Jul 2023 13:23:58 +0000 (07:23 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:58 +0000 (14:10 -0600)
commitfadad3a64a12cf279d31088aebc45806ec86fb4e
tree97dc712312e3ea7a12d49be633fd1d558377587e
parent20a317fb75f2cbd03cd8d2f8e65bab5faf6abbb4
binman: Convert mkimage to Entry_section

This is needed to handle mkimage with inner section located itself in a
section.

Signed-off-by: Marek Vasut <marex@denx.de>
Use BuildSectionData() instead of ObtainContents(), add tests and a few
other minor fixes:
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entry.py
tools/binman/etype/mkimage.py
tools/binman/ftest.py
tools/binman/test/283_mkimage_special.dts [new file with mode: 0644]