Skip to contentSkip to conversation

U-boot not finding NAND chip on imx28EVK - Gives DMA read error

U-Boot Bill 2 participants 3 messages Aug 6, 2012

lore
Share & tools
lore

Bill

author
#0 lore raw

All,

I enabled my U-boot for NAND support for my imx28EVK and I get
the following error when U-Boot starts:

NAND: MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error
MXS NAND: DMA read error
MXS NAND: Error sending command
...

I am using U-boot version U-Boot 2012.07-rc1. I also have the
NAND support enabled in /include/configs/mx28evk.h by adding CONFIG_CMD_NAND.
The NAND chip I am using is: Micron MT29F1G08ABADA.

Thanks,
Bill

#1 lore raw

Bill,

Quoted 13 lines · Bill

All,

I enabled my U-boot for NAND support for my imx28EVK and I get the
following error when U-Boot starts:

NAND: MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error
MXS NAND: DMA read error
MXS NAND: Error sending command
...

Quoted 3 lines

I am using U-boot version U-Boot 2012.07-rc1. I also have the NAND
support enabled in /include/configs/mx28evk.h by adding CONFIG_CMD_NAND.
The NAND chip I am using is: Micron MT29F1G08ABADA.

I have just tried the most recent u-boot-imx git, enabled CONFIG_CMD_NAND in the mx28evk.h and the NAND is detected fine:

U-Boot 2012.07-08388-g9ce4714-dirty (Aug 06 2012 - 12:26:16)

CPU:   Freescale i.MX28 rev1.2 at 454 MHz
BOOT:  SSP SD/MMC #0, 3V3
I2C:   ready
DRAM:  128 MiB
NAND:  2048 MiB
MMC:   MXS MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   FEC0, FEC1
Hit any key to stop autoboot:  0

MX28EVK U-Boot > nand info

Device 0: nand0, sector size 256 KiB
Page size 2048 b
OOB size 64 b
Erase size 262144 b
MX28EVK U-Boot >

The NAND I am using is K9LAG08U0M.

Regards,

Fabio Estevam

author
#2 lore raw

Thanks. That did it - grabbed recent version and it works.

Best,
Bill

Quoted 49 lines · Fabio Estevam

Bill,

Quoted 13 lines · Bill

All,

I enabled my U-boot for NAND support for my imx28EVK and I get the
following error when U-Boot starts:

NAND: MXS NAND: Error sending command
MXS NAND: Error sending command
MXS NAND: DMA read error
MXS NAND: DMA read error
MXS NAND: Error sending command
...

Quoted 3 lines

I am using U-boot version U-Boot 2012.07-rc1. I also have the NAND
support enabled in /include/configs/mx28evk.h by adding CONFIG_CMD_NAND.
The NAND chip I am using is: Micron MT29F1G08ABADA.

I have just tried the most recent u-boot-imx git, enabled CONFIG_CMD_NAND in the mx28evk.h and the NAND is detected fine:

U-Boot 2012.07-08388-g9ce4714-dirty (Aug 06 2012 - 12:26:16)

CPU:   Freescale i.MX28 rev1.2 at 454 MHz
BOOT:  SSP SD/MMC #0, 3V3
I2C:   ready
DRAM:  128 MiB
NAND:  2048 MiB
MMC:   MXS MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   FEC0, FEC1
Hit any key to stop autoboot:  0

MX28EVK U-Boot> nand info

Device 0: nand0, sector size 256 KiB
Page size 2048 b
OOB size 64 b
Erase size 262144 b
MX28EVK U-Boot>

The NAND I am using is K9LAG08U0M.

Regards,

Fabio Estevam

Signature · 8 lines
William (Bill) L. Sousan, Ph.D.
(w) 402.331.4977 ext. 4002
bsousan at techsi.com
Technical Support Inc.
11253 John Galt Blvd
Omaha, NE 68137
www.techsi.com
8(a) SDB Certified, ISO 9001:2008