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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

580 Views
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 Kudos
2 Replies

575 Views
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 Kudos

564 Views
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 Kudos