Igor,
We have a sabresd board and i program qspi2 with uboot. The board work fine and uboot (on qspi2) allow me to use rootfs on NFS.
I face a problem on our custom board based on sabresd design. The board embed a IMX6SX 17x17 no PCIe and a QuadSPI Flash Micron N25Q128.
The QuadSPI flash is programmed with MfgTool. But when uboot (on Qspi2) don't boot.
I can see that parameters are well programmed and loaded in the CPU: configuration parameters are loaded at 18Mhz and the SPI frequency change to the value set in the QSPI header (checked with oscilloscope). But after 33µs the QSPI clock stop.
Our board use only one Qspi flash connected from 128Mb on QSPI2A. This flash don't support DDR mode.
I changed the "qspi-nor-micron-n25q256a-config" file from MFG tool to fit to Micron N25Q128A13 flash.
- disable ddr mode enable
- change LUT:
ADDR_DDR - 0 - 0x18
CMD - 0 - 0x3D
READ_DDR - 1 - 0x04
DUMMY - 1 - 0x06
JMP_ON_CS - 0 - 0
become now:
ADDR - 0 - 0x18 (disable ddr)
CMD - 0 - 0x3B ( DUAL_OUTPUT_FAST_READ without DDR )
READ - 1 - 0x04 (disable ddr)
DUMMY - 1 - 0x06
JMP_ON_CS - 0 - 0
So 2818 043d 3904 0d06 2400 become 0818 043b 1d04 0d06 2400. This should allow not to use DDR mode.
Is there something else to change?
Thanks