[PATCH v3 1/2] binman: bintool: add extra_env parameter to run_cmd

Simon Glass sjg at chromium.org
Fri May 8 18:34:11 CEST 2026


Hi Sergio,

On Thu, 7 May 2026 at 13:03, Sergio Prado <sergio.prado at e-labworks.com> wrote:
>
> Hi Simon,
>
> > My understanding of the justification for NOT passing the env argument
> > is that it is annoying to do that plumbing. But I would rather do that
> > plumbing. Perhaps not stated, but one of Binman's design goals is to
> > try to have callers pass in their requirements rather than relying on
> > state or sideways data (although there is plenty of that even so :-)
>
> I came up with a solution similar to FIT image signing. It is much simpler and does not require passing additional environment variables to binman (though it still requires defining a few environment variables when invoking make, such as OPENSSL_CONF and SOFTHSM2_CONF, which I assume is what you referred to as “sideways data”).
>
> Please let me know if I should submit this new version as v4, or is the approach of passing environment variables to binman still under discussion.

Let's see what Quentin thinks about this...

>
> Thanks for reviewing.

Regards,
Simon


More information about the U-Boot mailing list