AnsweredAssumed Answered

IMX6UL-EVK  U-Boot/Linux QSPI boot

Question asked by Vitaliy Avramenko on Jun 26, 2016
Latest reply on Oct 19, 2016 by Marcus Folkesson

Hello,

I could face strange Linux behaviour when  U-boot  comes  from QSPI flash chip.

Linux kernel and ROOTFS are both on USB flash drive.

When  the board starts U-Boot  from micro-SD Linux boots fine from USB flash drive  and can recognize QSPI flash chip

I can see the following line in Linux log

[ 1.261435] fsl-quadspi 21e0000.qspi: n25q256a (32768 Kbytes)

 

When  the board starts U-Boot  from QSPI flash chip Linux boots fine from USB flash drive but can NOT recognize QSPI Flash chip

[    1.251058] fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff

[    1.258431] fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed

[    1.265431] fsl-quadspi: probe of 21e0000.qspi failed with error -2

 

U-boot was downloaded to QSPI flash chip using mfgtool2-yocto-mx-evk-qspi-nor-n25q256a.vbs

Any help would be appreciated

Thanks in advance

Outcomes