Re: Boot Linux FIT image from SPL

2021-12-31 Thread Fabio Estevam
Hi Sven, On Fri, Dec 31, 2021 at 11:38 AM Sven Schwermer wrote: > I have one more question about this: Is it save to just enable D/I > caches (enable_caches) in SPL for all of mach-imx or will this have > unforeseen side effects? In that case, I can just make enable_ca7_smp > non-static and call

Re: Boot Linux FIT image from SPL

2021-12-31 Thread Sven Schwermer
Hi Fabio, You could try performing the setting of ACTLR.SMP bit inside SPL. Currently, it is done only inside U-Boot proper. I have one more question about this: Is it save to just enable D/I caches (enable_caches) in SPL for all of mach-imx or will this have unforeseen side effects? In that

Re: Boot Linux FIT image from SPL

2021-12-31 Thread Sven Schwermer
Hi Fabio, Glad you got it to work. It would be nice if you could submit a patch adding a document adapted for i.MX6ULL. I'll need to sort my notes and go through my changes. I'll try to submit relevant patches. You could try performing the setting of ACTLR.SMP bit inside SPL. Currently, it

Re: Boot Linux FIT image from SPL

2021-12-30 Thread Fabio Estevam
Hi Sven, On Thu, Dec 30, 2021 at 6:22 PM Sven Schwermer wrote: > > Hi Fabio, > > Thank you for the hint. That's a _very_ useful document. In the > meantime, I have been able to boot my Linux FIT image straight from SPL > on my i.MX6ULL platform. Glad you got it to work. It would be nice if you c

Re: Boot Linux FIT image from SPL

2021-12-30 Thread Sven Schwermer
Hi Fabio, Thank you for the hint. That's a _very_ useful document. In the meantime, I have been able to boot my Linux FIT image straight from SPL on my i.MX6ULL platform. I have, however, noticed that Linux boots much faster when launched from u-boot proper compared to SPL. Time to (initramf

Re: Boot Linux FIT image from SPL

2021-12-28 Thread Fabio Estevam
On Tue, Dec 28, 2021 at 9:13 AM Fabio Estevam wrote: > People load FIT images via Falcon mode on Layerscape: > https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon4 There was a typo in the URL above. Correct one is: https://source.denx.de/u-boot

Re: Boot Linux FIT image from SPL

2021-12-28 Thread Fabio Estevam
Hi Sven, On Tue, Dec 28, 2021 at 8:57 AM Sven Schwermer wrote: > > Hi, > > I was wondering whether it's possible to boot a Linux FIT image (kernel > zImage, DTB, initramfs) straight from SPL? Specifically, I'm trying to > reduce the boot time when booting into a tiny Linux with RAM disk over > US

Boot Linux FIT image from SPL

2021-12-28 Thread Sven Schwermer
Hi, I was wondering whether it's possible to boot a Linux FIT image (kernel zImage, DTB, initramfs) straight from SPL? Specifically, I'm trying to reduce the boot time when booting into a tiny Linux with RAM disk over USB SDP (i.MX6ULL). This works fine with the chain ROM -> SPL -> u-boot pro