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

Marek Vasut marex at denx.de
Fri Apr 26 01:33:54 CEST 2024


On 4/25/24 10:34 PM, Tim Harvey wrote:
> On Tue, Apr 23, 2024 at 11:33 AM Marek Vasut <marex at 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 at 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.


More information about the U-Boot mailing list