i am able to write and read data into spi flash and i am working with imx 6q processor....i wrote u-boot file into the spi leaving 4kb free region at the beginning of the spi flash.i also gave gave correct boot configurations but still not able to boot u-boot.Do i have to make any changes in the u-boot source say headers or something like that???
thanx in advance
Hi aaaa
spi image ofset is 0x400 byte according to IMX6DQRM
Table 8-28. Image Vector Table Offset and Initial Load Region Size
For writing procedure please look at attached documents
sect.Flashing U-Boot on SPI-NOR From U-Boot.
Also one can look at MFG Tool IMX_6DQ_MFG_TOOL :
ucl2.xml script how to program spi-nor in Linux.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------