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

2025-05-23 Thread Tom Rini
On Fri, May 23, 2025 at 02:48:15PM +0100, Simon Glass wrote: > Hi Benjamin, > > On Tue, 20 May 2025 at 22:35, 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 stor

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

2025-05-23 Thread Simon Glass
Hi Benjamin, On Tue, 20 May 2025 at 22:35, 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

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

2025-05-21 Thread Tom Rini
On Tue, May 20, 2025 at 10:35:15PM +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

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

2025-05-20 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". Also, after analysis, this