[PATCH v2] bootm: Fix bmi->images pointer not initialized in some cases
Tom Rini
trini at konsulko.com
Sat May 31 16:22:36 CEST 2025
On Tue, 20 May 2025 22:35:15 +0200, Benjamin ROBIN wrote:
> When building with only bootz command, without bootm, images pointer
> inside bootm_info structure is not initialized. And since this structure
> is stored in stack, the generated error is kind of random, but most of
> the time this will generate: "ramdisk - allocation error".
>
> Also, after analysis, this problem could occur with the command booti,
> if the command bootm is disabled.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] bootm: Fix bmi->images pointer not initialized in some cases
commit: b8f282b8e0ee1e2c36694071c26b6b796f50c0a1
--
Tom
More information about the U-Boot
mailing list