Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-10 Thread Matthias Weißer
Hi Stefan Actually the interrupt flags are cleared in the driver found in the linux tree from freescale before the interrupts are enabled /* enable the interrupt */ writel(0x, q->iobase + QUADSPI_FR); writel(QUADSPI_RSER_TFIE, q->iobase + QUADSPI_RSER); Clearing of the flags is missing i

Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Stefan Roese
Hi Matthias, On 10.06.2015 08:19, Matthias Weißer wrote: With some wild guessing I found out that it must be an interrupt issue. If I clear FR (offset 0x160) in the QSPI module using u-boot command Linux boots successfully. So it seams that u-boot should clear the interrupt flag of the QSPI modu

Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Matthias Weißer
Hi Peng With some wild guessing I found out that it must be an interrupt issue. If I clear FR (offset 0x160) in the QSPI module using u-boot command Linux boots successfully. So it seams that u-boot should clear the interrupt flag of the QSPI module after it was used. Commands used to clear the f

Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Matthias Weißer
Hi Peng I use mainline (current HEAD, u-boot 2015.07-rc2, linux 4.1.0-rc7) on both sides. Regards Matthias 2015-06-10 3:45 GMT+02:00 Peng Fan : > Hi Matthias, > > I can not reproduce your issue. All is fine in my side. > > which version/branch are you using for uboot and linux? mainline or fsl

Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Peng Fan
Hi Matthias, I can not reproduce your issue. All is fine in my side. which version/branch are you using for uboot and linux? mainline or fsl vendor? Regards, Peng. On Tue, Jun 09, 2015 at 10:24:38AM -0500, Nitin Garg wrote: >On 06/09/2015 10:02 AM, Fabio Estevam wrote: >> Adding some FSL folks

Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Nitin Garg
On 06/09/2015 10:02 AM, Fabio Estevam wrote: > Adding some FSL folks in case they have some suggestions. > > Regards, > > Fabio Estevam > > On Tue, Jun 9, 2015 at 11:41 AM, Matthias Weißer > wrote: >> Hi >> >> I work with an imx6sx sdb. I observed that placing u-boot in QSPI >> flash and also

Re: [U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Fabio Estevam
Adding some FSL folks in case they have some suggestions. Regards, Fabio Estevam On Tue, Jun 9, 2015 at 11:41 AM, Matthias Weißer wrote: > Hi > > I work with an imx6sx sdb. I observed that placing u-boot in QSPI > flash and also having the environment in QSPI the linux kernel doesn't > boot. Th

[U-Boot] arm: imx: Kernel not booting when environment is in QSPI

2015-06-09 Thread Matthias Weißer
Hi I work with an imx6sx sdb. I observed that placing u-boot in QSPI flash and also having the environment in QSPI the linux kernel doesn't boot. The backtrace from the kernel contains 'fsl_qspi_probe'. If only u-boot resides in QSPI and the environment is on mmc then the kernel boots successfully