[RFC] binman: add support for creating dummy files for external blobs
Heiko Thiery
heiko.thiery at gmail.com
Tue Nov 23 16:58:20 CET 2021
Hi Stefano,
Am Di., 23. Nov. 2021 um 16:44 Uhr schrieb Stefano Babic <sbabic at denx.de>:
>
> On 23.11.21 16:29, Tom Rini wrote:
> > 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.
>
> It looks reasonable for me and it is not different as we did before
> binman reporting warnings that the binary does not work. Fine if thsi
> can be merged, I will unblock some i.MX boards (Heiko's for example)
> that I cannot currently merge due to CI failures.
Before you add my patch for the imx8mq board we need to make a change
in buildman to make the binman flag option "--fake-ext-blobs" usable.
I haven't done that yet, because I wanted to wait if this patch will
be accepted.
--
Heiko
More information about the U-Boot
mailing list