AnsweredAssumed Answered

iMX7D boot from QSPI NOR flash

Question asked by Sebastian Fett on May 23, 2018
Latest reply on May 25, 2018 by Sebastian Fett

Hello !

 

I've been trying to get my iMX7 to boot from NOR flash.

I set the boot mode to internal and QSPI.

I created the QSPI config using the qspi-header.sh script and xxd.

Then I placed the header at 0x400 in the flash (as is documented in the IMX7DRM). And I tried it on 0x0 (as done by another company).

In both cases I see activity on the QSPI interface. A read command (0x3) is send for the addresses 0x00 to 0x1C0 for 64bytes each. So 8 times 64bytes is 512 bytes which is the length of the config.

But in the data 1 line there is always only 0xff read back.  (see attached image)

 

I can confirm the data in the NOR flash using sf read in the uboot at the right positions.

 

There are several entries for imx6 systems, but none for the imx7 so far (as far as I could find).

 

So my questions are:

* which is the right position for the qspi config? 0x0 or 0x400. The read commands seem to indicate 0x0, but the config says 0x400

* do you have any idea why no data is read back?

 

Thanks and best regards

Sebastian

Attachments

Outcomes