Hi everyone
We are trying to use the QSPI flash on LS1043 board. Our kernel version is 5.2, flash is mx66u1g45g.
We found that when we get the flash data which size is more then 0x80, then the data will be wrong.
Correct:
00000000 : 31 31 20 30 31 3A 34 32 30 30 30 30 30 30 30 30
...
Wrong:
00000000 : 30 30 30 30 30 30 30 30 49 50 4C 2D 52 4F 4D 33
It seems like the first 8 bytes is lost from the read result.
We found that the code will try to access the AHB to get the data.
1) Is there similar issue as in https://source.denx.de/u-boot/u-boot/-/commit/def88bce094e95939abf1e5d02a9b413b3627f6f on LS1043 ?
2) From ls1043 RM:
IP Command Read: For reading flash data into the RX Buffer the user must
provide the correct sequence ID in the QuadSPI_IPCR[SEQID] register. The
sequence ID points to a sequence in the LUT. It is the responsibility of the
software to ensure that a correct read sequence is programmed in the LUT in
accordance with the serial flash device connected on board.
How do we know the read sequence is correct programmed in the LUT ?
The correct read sequence should be like what seq ? Do you have some examples ?