[RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin
Rasmus Villemoes
ravi at prevas.dk
Mon Oct 14 12:21:42 CEST 2024
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.
Rasmus
More information about the U-Boot
mailing list