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

Fabio Estevam
2012-08-06T15:34:36Z

Bill,

On Mon, Aug 6, 2012 at 11:34 AM, Bill <bsousan@techsi.com> wrote:
> 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.

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