
14 Oct
2024
14 Oct
'24
12:31 p.m.
On 10/14/24 12:21 PM, Rasmus Villemoes wrote:
On man, okt 14 2024, Heiko Schocher hs@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 ?