[PATCH v2] bootm: Fix bmi->images pointer not initialized in some cases

2025-05-20 Thread Benjamin ROBIN
cture. So, to fix this issue, just do the assignment unconditionally. Fixes: c2211ff65136 ("bootm: Add more fields to bootm_info") Signed-off-by: Benjamin ROBIN --- boot/bootm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boot/bootm.c b/boot/bootm.c index f6aa32

Re: [PATCH] bootm: Fix bootz, bmi->images pointer was uninitialized

2025-05-20 Thread Benjamin ROBIN
Le Mon, May 19, 2025 at 03:06:08PM -0600, Tom Rini a écrit : > Good catch. This should also get a: > Fixes: c2211ff65136 ("bootm: Add more fields to bootm_info") Thank you for the review. I am preparing a v2 of this patch. > And after reading the code and grepping around more, I think we should >

[PATCH] bootm: Fix bootz, bmi->images pointer was uninitialized

2025-05-19 Thread Benjamin ROBIN
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" Signed-off-by

[PATCH] env: Fix network support when CONFIG_NET_LWIP is set

2025-05-17 Thread Benjamin ROBIN
When lwIP (CONFIG_NET_LWIP) is used instead of legacy stack (CONFIG_NET), environment flags support associated with network was not built: restore support of "i" and "m" environment flags. Signed-off-by: Benjamin ROBIN --- env/flags.c| 10 +- include