[PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

Simon Glass sjg at chromium.org
Fri Feb 7 01:49:38 CET 2025


Hi Marek,

On Thu, 6 Feb 2025 at 13:52, Marek Vasut <marex at denx.de> wrote:
>
> On 2/6/25 1:42 PM, Simon Glass wrote:
>
> Hi,
>
> >>> FAILED (errors=1)
> >>>
> >>> So where is the SRK_1_2_3_4_table.bin file?
> >> See the tool documentation:
> >>
> >> https://gitlab.apertis.org/pkg/imx-code-signing-tool/-/blob/debian/3.4.0+dfsg-2/docs/CST_UG.pdf?ref_type=tags
> >>
> >> 3.1.2 Running the hab4_pki_tree script Example
> >> 3.1.2.1 Running the hab4_pki_tree script in interactive mode
> >>
> >> The hab4_pki_tree.sh script should generate all those files.
> >
> > But with binman we want to avoid vendor scripts, etc.
>
> I believe the script internally runs openssl to generate that file.
>
> > Could someone take a look at updating tools/binman/btool/cst.py or
> > similar to build the tool from source? There are examples of others
> > that do this, e.g. bootgen.py
> Is this relevant to finalizing this patch ?

Well, I don't see how the tests can pass if we can't build/run the tools needed.

Regards,
Simon


More information about the U-Boot mailing list