IMX7D nand access error

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

IMX7D nand access error

1,067 Views
hyoungkikim
Contributor IV

hi  

i have a problem with IMX7D-SDP  when i try to access a NAND flash

i installed  resistors and  i compared mx7dsabresd_defconfig with mx7dsabresd_nand_defconfig

and added all nand related config except CONFIG_NAND_BOOT 

after that    i can see nand flash on  u-boot

below is console output  

 

U-Boot 2020.04-5.4.70-2.3.0+ge42dee801e (Nov 19 2021 - 14:47:35 +0900)

DRAM: 1 GiB

PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
NAND: Micron MT29F1G08ABAEAWP
device found, Manufacturer ID: 0x2c, Chip ID: 0xf1
128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
nand_scan_ident ok

but i can't access nand 

 

=> nand read 0x83000000 0x0 0x1000

NAND read: device 0 offset 0x0, size 0x1000
MXS NAND: DMA read error
MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error
MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error
MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error
MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error

 

what do  i miss ?  or where should i  check ?  any idea are welcom 

thanks in advnace 

 

 

Labels (3)
0 Kudos
Reply
1 Reply

1,062 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hyoung

 

i.MX7D GPMI NAND driver is described in sect.3.4 NAND GPMI Flash   i.MX Linux Reference Manual​

example uboot nand write can be found for example on

https://linux-mtd.infradead.narkive.com/DNQF5825/u-boot-using-nand-write-to-flash-an-ubi-image-ubi-p...

 

Best regards
igor

0 Kudos
Reply