[U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms
sr at denx.de
Thu Sep 12 12:36:28 UTC 2019
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
>>>>> 10 days. After that I can try to work on this, but I need support
>>>>> and testing for other platforms. I only have i.MX6UL/ULL.
>>>> Hi Frieder,
>>>> I have found some break though after porting to 2019.10 and few
>> modification in driver code, I will update in a weeks' time. Please do not
>> invest time on this.
>>>> If I need some help I will update.
>>> Thanks for your work. Do you already have some news? Can you share
>>> your results?
>> I'm most likely currently running in similar issues on tests with the i.MX6ULL
>> EVK. QSPI does not work reliably. So before digging deeper into the QSPI
>> driver, I wanted to check on the status of any updates in the driver. Is there
>> anything available that I could use for testing already?
> Hi Stefan, Frieder,
> 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 earlier.
> This version can be found here:
Many thanks. I did some tests with this version and it seems to work
fine in general on the i.MX6ULL EVK. My first tests show that reading
and writing has no issues. So this is very promising. The only thing
I noticed is, that when using SPI for environment via
CONFIG_ENV_IS_IN_SPI_FLASH, the board hangs upon bootup while trying
to read the env. Since you already added some debug print's to the
env code, I suspect that you also did run into this problem.
I'll try to help with this driver version. At least I can debug this
env issue and can always do some test on my mx6ull platform for you
once you have any updates here. Just let me know.
> There is completely working version of fsl_qspi.c based on old xfer
> method, which was not accepted in upstream,
> considering it is recommended to migrate to spi-mem frame. This
> version is located here:
This one does not work for me on the i.MX6ULL EVK. "sf read" command
returns almost immediately and the data is not read as it seems. I
did not dig into this deeper though.
More information about the U-Boot