i.MX 8M Mini DDR4 EVK can not detect QSPI flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX 8M Mini DDR4 EVK can not detect QSPI flash

811 次查看
davidwang66
Contributor I

Hi

We are using i.MX 8M Mini DDR4 EVK board.  

we got issue when try to access qspi flash in uboot:

u-boot=> sf probe
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)

In Linux console we got this:

ubuntu@arm:~$ cat /proc/mtd
dev: size erasesize name

there is no spi flash detected.

 

wondering how to solve this issue?

Thanks

0 项奖励
回复
2 回复数

806 次查看
davidwang66
Contributor I

The Board boots from sd card. uboot was built with imx8mm_ddr4_evk_defconfig with following

changes:

CONFIG_CMD_SF=y

CONFIG_DM_SPI_FLASH=y
CONFIG_DM_SPI=y
CONFIG_FSL_FSPI=y
CONFIG_SPI=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_BAR=y
CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SF_DEFAULT_BUS=0
CONFIG_SF_DEFAULT_CS=0
CONFIG_SF_DEFAULT_SPEED=40000000
CONFIG_SF_DEFAULT_MODE=0

0 项奖励
回复

795 次查看
igorpadykov
NXP Employee
NXP Employee

Hi davidwang66

 

on DDR4 EVK is installed nand as described in SCH-31407 document

 

1.jpg

i.MX 8M Mini Evaluation Kit DDR4 Design Files

 

Best regards
igor

0 项奖励
回复