On man, okt 14 2024, Heiko Schocher <h...@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