Re: [PATCH 3/3] ARM: dts: imx: Convert i.MX8M flash.bin image generation to binman

Marek Vasut
2024-04-26T03:55:02Z

On 4/25/24 10:34 PM, Tim Harvey wrote:
> On Tue, Apr 23, 2024 at 11:33 AM Marek Vasut <marex@denx.de> wrote:
>>
>> Rework the flash.bin image generation such that it uses the new binman
>> nxp_imx8mimage etype. This way, the flash.bin is assembled in correct
>> order using plain binman, without any workarounds or sections assembled
>> in special DT node order.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> ---
>> WARNING: This is very likely to break corner case uses, so please do
>> test this on your platform.
>> NOTE: This also opens the implementation for proper CST signing etype,
>> the CST signing would look similar to nxp-imx8mimage section, and
>> it would likely wrap the whole topmost section {} in the binman
>> node.
>
> Marek,
>
> Thanks - this is neat and I look forward to seeing a CST signing etype!

The whole collected batch of patches is here:

https://source.denx.de/u-boot/custodians/u-boot-usb/-/commits/test-cst?ref_type=heads

I believe this will need tweaking, we will probably need more DT
properties to configure the content of the CST config file more
precisely. But this could be a start.