Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-23 Thread Stefan Roese
On 23.10.19 12:34, Schrempf Frieder wrote: BTW: Using the "spi-mem" driver version from Ashish with the fix suggested by Frieder to clear the DDR bit in TDH (reset to 00) still works without any problems. There is some cleanup work that needs to be done (e.g. [1]). After that I will send an

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-23 Thread Schrempf Frieder
Estevam ; u-boot@lists.denx.de; dl- >> uboot-imx >> Subject: Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode >> setting for latest iMX platforms >> >> Caution: EXT Email >> >> Hi Frieder, >> >> On 22.10.19 15:55, Schrempf Friede

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Ashish Kumar
> -Original Message- > From: Stefan Roese > Sent: Tuesday, October 22, 2019 9:12 PM > To: Schrempf Frieder ; Ashish Kumar > ; Ye Li ; > ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: Re: [U-Boot] [EXT] Re

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Stefan Roese
Hi Frieder, On 22.10.19 16:24, Schrempf Frieder wrote: On 22.10.19 15:55, Frieder Schrempf wrote: Hi Stefan, On 22.10.19 15:18, Stefan Roese wrote: Hi Frieder, Hi Ashish, Hi Ye Li, Hi Fabio, On 18.09.19 09:42, Stefan Roese wrote: Hi Frieder, On 18.09.19 09:08, Schrempf Frieder wrote:

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Stefan Roese
Hi Frieder, On 22.10.19 15:55, Schrempf Frieder wrote: Hi Stefan, On 22.10.19 15:18, Stefan Roese wrote: Hi Frieder, Hi Ashish, Hi Ye Li, Hi Fabio, On 18.09.19 09:42, Stefan Roese wrote: Hi Frieder, On 18.09.19 09:08, Schrempf Frieder wrote: One further update on this QSPI driver. This

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Schrempf Frieder
On 22.10.19 15:55, Frieder Schrempf wrote: > Hi Stefan, > > On 22.10.19 15:18, Stefan Roese wrote: >> Hi Frieder, >> Hi Ashish, >> Hi Ye Li, >> Hi Fabio, >> >> On 18.09.19 09:42, Stefan Roese wrote: >>> Hi Frieder, >>> >>> On 18.09.19 09:08, Schrempf Frieder wrote: >>> >>> >>> > One further

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Schrempf Frieder
Hi Stefan, On 22.10.19 15:18, Stefan Roese wrote: > Hi Frieder, > Hi Ashish, > Hi Ye Li, > Hi Fabio, > > On 18.09.19 09:42, Stefan Roese wrote: >> Hi Frieder, >> >> On 18.09.19 09:08, Schrempf Frieder wrote: >> >> >> One further update on this QSPI driver. This driver only works when

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-22 Thread Stefan Roese
Hi Frieder, Hi Ashish, Hi Ye Li, Hi Fabio, On 18.09.19 09:42, Stefan Roese wrote: Hi Frieder, On 18.09.19 09:08, Schrempf Frieder wrote: One further update on this QSPI driver. This driver only works when loaded via "imx_usb" on the i.MX6ULL EVK. When programmed into QSPI and booted from

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-18 Thread Stefan Roese
Hi Frieder, On 18.09.19 09:08, Schrempf Frieder wrote: One further update on this QSPI driver. This driver only works when loaded via "imx_usb" on the i.MX6ULL EVK. When programmed into QSPI and booted from QSPI this driver does not detect the SPI NOR flash: => sf probe unrecognized JEDEC

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-18 Thread Schrempf Frieder
Hi Stefan, On 18.09.19 06:51, Stefan Roese wrote: > Hi Ashish, > > On 13.09.19 15:11, Stefan Roese wrote: >> On 12.09.19 14:36, Stefan Roese wrote: >> >> >> The spi-mem version is still under debug, I could make it working for ls1088rdb, ls1046rdb, but it is failing for

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-17 Thread Stefan Roese
Hi Ashish, On 13.09.19 15:11, Stefan Roese wrote: On 12.09.19 14:36, Stefan Roese wrote: The spi-mem version is still under debug, I could make it working for ls1088rdb, ls1046rdb, but it is failing for ls1012ardb and ls2088ardb and untested for i.mx and other Layerscape silicon/boards . It

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-13 Thread Stefan Roese
Hi Ashish, On 12.09.19 14:36, Stefan Roese wrote: The spi-mem version is still under debug, I could make it working for ls1088rdb, ls1046rdb, but it is failing for ls1012ardb and ls2088ardb and untested for i.mx and other Layerscape silicon/boards . It is derived from work done by Frieder

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-13 Thread Ashish Kumar
> -Original Message- > From: Stefan Roese > Sent: Thursday, September 12, 2019 6:06 PM > To: Ashish Kumar ; Schrempf Frieder > ; Ye Li ; > ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: Re: [U-Boot] [EXT] Re

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-12 Thread Stefan Roese
Hi Ashish, On 12.09.19 07:03, Ashish Kumar wrote: Please suggest way forward. How to correct this issue? The first thigh would be to make sure the Linux driver works for all platforms and then do the porting to U-Boot. I will be out of office for 10 days. After that I can try to work on

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-11 Thread Ashish Kumar
> >> > >>> -Original Message- > >>> From: Schrempf Frieder > >>> Sent: Wednesday, August 14, 2019 5:41 PM > >>> To: Ashish Kumar ; Ye Li ; > >>> ja...@amarulasolutions.com > >>> Cc: Fabio Estevam ; u-

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-10 Thread Stefan Roese
@lists.denx.de; dl- uboot-imx Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms Caution: EXT Email Sorry, I hit the "Send" button too early ;) On 14.08.19 14:07, Frieder Schrempf wrote: Hi Ashish, On 14.08.19 14:02, Ashish K

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-09 Thread Schrempf Frieder
.denx.de; dl- >> uboot-imx >> Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode >> setting for latest iMX platforms >> >> Caution: EXT Email >> >> Sorry, I hit the "Send" button too early ;) >> >&g

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-27 Thread Ashish Kumar
t; > >> > >>> -Original Message- > >>> From: U-Boot On Behalf Of Schrempf > >>> Frieder > >>> Sent: Wednesday, August 14, 2019 5:07 PM > >>> To: Ye Li ; ja...@amarulasolutions.com > >>> Cc: Fabio Este

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Ye Li
Hi Frieder, > Caution: EXT Email > > Hi Ye, > > On 14.08.19 12:08, Ye Li wrote: >> On latest iMX platforms like iMX7D/iMX6UL/iMX8MQ, the QSPI controller >> is updated to have TDH field in FLSHCR register. According to reference >> manual, this TDH must be set to 1 when DDR_EN is set. Otherwise,

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Ashish Kumar
;> > >> > >>> -Original Message- > >>> From: U-Boot On Behalf Of Schrempf > >>> Frieder > >>> Sent: Wednesday, August 14, 2019 5:07 PM > >>> To: Ye Li ; ja...@amarulasolutions.com > >>> Cc: Fabio

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Schrempf Frieder
gt;> Sent: Wednesday, August 14, 2019 5:07 PM >>> To: Ye Li ; ja...@amarulasolutions.com >>> Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- >>> uboot-imx >>> Subject: [EXT] Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode >>> setting for >>&

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Schrempf Frieder
enx.de; dl- >> uboot-imx >> Subject: [EXT] Re: [U-Boot] [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting >> for >> latest iMX platforms >> >> Caution: EXT Email >> >> Hi Ye, >> >> On 14.08.19 12:08, Ye Li wrote: >>> On latest iMX pl

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-08-14 Thread Ashish Kumar
> -Original Message- > From: U-Boot On Behalf Of Schrempf Frieder > Sent: Wednesday, August 14, 2019 5:07 PM > To: Ye Li ; ja...@amarulasolutions.com > Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- > uboot-imx > Subject: [EXT] Re: [U-Boot] [PATCH 1/6] spi: f