[RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin

Marek Vasut marex at denx.de
Mon Oct 14 12:31:55 CEST 2024


On 10/14/24 12:21 PM, Rasmus Villemoes wrote:
> On man, okt 14 2024, Heiko Schocher <hs at denx.de> wrote:
> 
>>
>> Board boots fine from emmc, sd card. Booting blank board with
>> uuu works with posted RFC patch, as it seems to me code in
>>
>> spl_romapi_load_image_stream()
>>
>> waits for more bytes than flash.bin currently has... appending some
>> zero bytes at the end, and U_Boot begins to boot and works fine, uuu
>> tool ends with errorcode 0.
> 
> Sounds like exactly the symptoms I fixed with commit 89f19f45d650.
> 
> So yes, you really do need to ensure that flash.bin (or rather the
> embedded u-boot FIT image) has a large enough size for what the rom api
> expects, and that number changes when HAB is enabled.
Is this missing in the binman implementation then ?


More information about the U-Boot mailing list