Hi,
I am working on a custom board using i.MX 8QuadXPlus. I am facing an issue with booting from FlexSPI NOR flash (2MB).
I built the flash image for SPI using Mkimage (imx-mkimage-lf-5.15.32_2.0.0). Here is the command I used:
make REV=C0 SOC=iMX8QX flash_flexspi
Then I tried copying it to the locations 0x400 (Ref. IMX8DQXPRM Rev. 0, 05/2020, Section 5.8.3.3: FlexSPI configuration parameters) and later to 0x1000 (Ref. https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootab...).
In either of the cases, it didn't work. Is there any other location where the image is to be copied? This was tried using diskdump after booting up Linux from eMMC.
Also, I have a doubt regarding the UUU tool. What should be the command to flash the image for FlexSPI boot? I saw something like this:
uuu -b qspi flash.bin. (Ref. IMXLUG Rev. LF6.1.36_2.1.0— 29 September 2023, Section 4.2.2)
But we do not have qspi. What should be the command in that case? I have already tried the above command, but it didn't work.
@jeremyzhou @Sanket_Parekh @igorpadykov Could you please look into this?