Hi
I am using "FreeRTOS_BSP_1.0.1_iMX7D_1.1_ER_Win" and following section 6.3 to run hello_world_qspi.bin
Built fsl-image-gui-imx7dsabresd.sdcard image by adding below line in to conf/local.conf [to enable qspi1 in U-Boot]
UBOOT_CONFIG = "qspi1"
ERROR while loading SPI flash
=> fatload mmc 0:1 0x80000000 hello_world_qspi.bin
reading hello_world_qspi.bin
10604 bytes read in 33 ms (313.5 KiB/s)
=> sf probe 0:0
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
Failed to initialize SPI flash at 0:0
Could any one please help me . what i am missing ?
Thanks in advance
Chandini
Solved! Go to Solution.
Hi Igor and tianxing
I got it working guys ..
as i said if your using kernel 4.1.12 ,we dont have to do any changes.
The problem is i was missing some hardware setting .
After hardware setting according to below . it started working fine
Thank a lot for replay guys
Hi Igor and tianxing
I got it working guys ..
as i said if your using kernel 4.1.12 ,we dont have to do any changes.
The problem is i was missing some hardware setting .
After hardware setting according to below . it started working fine
Thank a lot for replay guys
the qspi flash resistor must be populated. Now it was not
Hi chandini
for adding new flash ID please check
https://community.nxp.com/message/602919?commentID=602919#comment-602919
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank for replay igor
I can find /driver/mtd/spi_nor.c
I have already got below line in drivers/mtd/spi-nor.c
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_DDR_QUAD_READ) },
The link which you sent me is for i.MX6UL , but i am bit not sure what i have to add inside structure for imx7d sabresd board.
Could you please help me ?