[RFC] binman: add support for creating dummy files for external blobs

Tom Rini trini at konsulko.com
Tue Nov 23 16:29:39 CET 2021


On Tue, Nov 16, 2021 at 11:47:10AM +0100, Heiko Thiery wrote:

> 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 at gmail.com>
> ---
>  Makefile                       |  1 +
>  tools/binman/cmdline.py        |  2 ++
>  tools/binman/control.py        | 16 ++++++++++++++++
>  tools/binman/entry.py          |  1 +
>  tools/binman/etype/blob_ext.py |  1 +
>  5 files changed, 21 insertions(+)

Since this ends up being a problem for a number of boards, does anyone
have comments on this?  At first glance, this seems reasonable to me,
and a follow-up making CI make use of this would be handy to finish
evaluating.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211123/795ffa81/attachment.sig>


More information about the U-Boot mailing list