[PATCH] bootm: fix booting kernel_noload image
Tom Rini
trini at konsulko.com
Mon Mar 9 16:10:45 CET 2026
On Tue, 24 Feb 2026 16:57:10 +0100, Ludwig Nussel wrote:
> FIT images don't work without having to explicitly specify physical
> load addresses. Digging into that it looks like a flaw in
> bootm_load_os().
> It duplicates images->os for convenience. However, the code handling
> "kernel_noload" images then updates the load address in the copy with
> the value lmb_alloc_mem() returned. Later there's another call to
> lmb_alloc_mem() that uses the old value. This leads to havoc due
> to subsequent calls of lmb_alloc_mem() picking too low addresses.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] bootm: fix booting kernel_noload image
commit: fe6484b402759dba6024cf2f8c212b27f769a0d7
--
Tom
More information about the U-Boot
mailing list