Re: [U-Boot] [PATCH] mx6: invalidate D-cache only when booting from USB

2015-05-26 Thread Vincent
Stefano wrote: > Please help me to find the use case. I searched in all i.MX6 boards in > mainline, but none of them is setting CONFIG_SKIP_LOWLEVEL_INIT. Can you > tell me on which board there is this issue ? Hi Stefano, Thank you for taking the time to look at this proposed patch. You are righ

Re: [U-Boot] [PATCH] mx6: invalidate D-cache only when booting from USB

2015-05-26 Thread Stefano Babic
Hi Vincent, On 26/05/2015 17:16, Vincent wrote: > Stefano wrote: >> Please help me to find the use case. I searched in all i.MX6 boards in >> mainline, but none of them is setting CONFIG_SKIP_LOWLEVEL_INIT. Can you >> tell me on which board there is this issue ? > > Hi Stefano, > > Thank you for

Re: [U-Boot] [PATCH] mx6: invalidate D-cache only when booting from USB

2015-05-24 Thread Stefano Babic
Hi Vincent, On 22/05/2015 16:52, Vincent Stehlé wrote: > Add a detection at runtime of the boot from USB on i.MX6, and invalidate > the D-cache only in that case. > > The USB boot detection method is taken from Freescale u-boot commit > 1309b1ed78b3 ("ENGR00315499-8 Auto check if boot from usb").

[U-Boot] [PATCH] mx6: invalidate D-cache only when booting from USB

2015-05-23 Thread Vincent Stehlé
Add a detection at runtime of the boot from USB on i.MX6, and invalidate the D-cache only in that case. The USB boot detection method is taken from Freescale u-boot commit 1309b1ed78b3 ("ENGR00315499-8 Auto check if boot from usb"). This repairs u-boot when it is built with CONFIG_SKIP_LOWLEVEL_I

Re: [U-Boot] [PATCH] mx6: invalidate D-cache only when booting from USB

2015-05-23 Thread Vincent Stehlé
On 05/22/2015 05:15 PM, Li Frank-B20596 wrote: .. > How about second uboot save in usb mass storage device? Hi Frank, I cannot test but I guess this will behave the same as without the patch, which means that it will probably not boot. Granted, the detection method in is_boot_from_usb() is an ap

Re: [U-Boot] [PATCH] mx6: invalidate D-cache only when booting from USB

2015-05-22 Thread Li Frank
> From: Vincent Stehlé [mailto:vincent.ste...@freescale.com] > Sent: Friday, May 22, 2015 9:53 AM > To: u-boot@lists.denx.de > Cc: Stehle Vincent-B46079; Stefano Babic; Estevam Fabio-R49496; Li Frank- > B20596; Garg Nitin-B37173 > Subject: [PATCH] mx6: invalidate D-cache only when booting from USB