Re: [u-boot][PATCH] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 08:30:40AM +0200, Michael Nazzareno Trimarchi wrote: > Hi Roger > > On Mon, Oct 10, 2022 at 12:38 PM Roger Quadros wrote: > > > > +Dario > > > > On 29/09/2022 13:11, Roger Quadros wrote: > > > OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries > > > to read

Re: [u-boot][PATCH] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-25 Thread Michael Nazzareno Trimarchi
Hi Roger On Mon, Oct 10, 2022 at 12:38 PM Roger Quadros wrote: > > +Dario > > On 29/09/2022 13:11, Roger Quadros wrote: > > OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries > > to read the header into 'struct hdr' which is allocated on the > > stack. > > > > As the header has al

Re: [u-boot][PATCH] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-10 Thread Roger Quadros
+Dario On 29/09/2022 13:11, Roger Quadros wrote: > OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries > to read the header into 'struct hdr' which is allocated on the > stack. > > As the header has already been read once before by spl_nand.c, > we can avoid the extra header read h

[u-boot][PATCH] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-09-29 Thread Roger Quadros
OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries to read the header into 'struct hdr' which is allocated on the stack. As the header has already been read once before by spl_nand.c, we can avoid the extra header read here by simply passing around the pointer to the header. This