[PATCH v4 1/8] binman: ti-secure: Add support for firewalling entities

Simon Glass sjg at chromium.org
Thu Oct 12 17:28:51 CEST 2023


Hi Manorit,

On Wed, 11 Oct 2023 at 23:02, Manorit Chawdhry <m-chawdhry at ti.com> wrote:
>
> Hi Simon,
>
> On 11:54-20231011, Manorit Chawdhry wrote:
> > We can now firewall entities while loading them through our secure
> > entity TIFS, the required information should be present in the
> > certificate that is being parsed by TIFS.
> >
> > The following commit adds the support to enable the certificates to be
> > generated if the firewall configurations are present in the binman dtsi
> > nodes.
> >
> > Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
> > ---
> [..]
> >  tools/binman/btool/openssl.py   | 16 +++++++-
> >  tools/binman/etype/ti_secure.py | 90 +++++++++++++++++++++++++++++++++++++++++
> >  tools/binman/etype/x509_cert.py |  3 +-
> >  3 files changed, 106 insertions(+), 3 deletions(-)
> >
> >  from binman.entry import EntryArg
> >  from binman.etype.x509_cert import Entry_x509_cert
> > +from dataclasses import dataclass
>
> What all python versions do we support in u-boot? I see that dataclasses
> are in-built from python3.7 but for older versions we would need to
> install them separately, do I need to add this in buildman requirements
> for those versions?

I would prefer not to worry about Python 3.6 if possible. There are a
few workarounds in buildman for it, though.

Regards,
Simon


More information about the U-Boot mailing list