]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: add support for creating dummy files for external blobs
authorHeiko Thiery <heiko.thiery@gmail.com>
Thu, 6 Jan 2022 10:49:41 +0000 (11:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 17:10:55 +0000 (12:10 -0500)
commita89c8f2111bc647b697b776a40227673cfc713e3
treee5169f24b432600613ff2dc1d4a78d5955627cb6
parenta14af7216a220fe8f1b2a5308ed632abe6f9f97f
binman: add support for creating dummy files for external blobs

While converting to binman for an imx8mq board, it has been found that
building in the u-boot CI fails. This is because an imx8mq requires an
external binary (signed_hdmi_imx8m.bin). If this file cannot be found
mkimage fails.
To be able to build this board in the u-boot CI a binman option
(--fake-ext-blobs) is introduced that can be switched on via the u-boot
makefile option BINMAN_FAKE_EXT_BLOBS. With that the needed dummy files are
created.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile
tools/binman/cmdline.py
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/blob.py
tools/binman/etype/blob_ext.py
tools/binman/etype/mkimage.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/203_fake_blob.dts [new file with mode: 0644]