AnsweredAssumed Answered

i.mx6 booting 4GB NAND flash with u-boot 2009.08

Question asked by ZC Tee on May 5, 2015
Latest reply on May 7, 2015 by ZC Tee

Hi all,

I am currently facing difficulty when integrating the 4GB NAND flash with the i.mx6 u-boot version 2009.08.

I had applied the patch where the u-boot is able to recognize the NAND flash already.

NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0x44 (Micron NAND 4GiB 3,3V 8-bit)

Manufacturer      : Micron (0x2c)

Device Code       : 0x44

Cell Technology   : MLC

Chip Size         : 4 GiB

Pages per Block   : 256

Page Geometry     : 8192+744

ECC Strength      : 12 bits

ECC Size          : 512 B

Data Setup Time   : 15 ns

Data Hold Time    : 10 ns

Address Setup Time: 20 ns

GPMI Sample Delay : 6 ns

tREA              : 20 ns

tRLOH             : 5 ns

tRHOH             : 15 ns

Description       : MT29F32G08CBADAWP (4GB)

 

However, when i do some testing (nand read, nand write, nand bad etc) in u-boot, it's seems like the NAND is not working properly. From the source code, i see that there are many places in the NAND related source code uses only 32-bit address space. Further more, in cmd_nand.c, there is a FIXME stating that currently the uboot cmd_nand does not support 64bit address space! (4GB is 0x100000000, 33 bits address space).

Is there any patch for the u-boot version 2009.08 that i can use to allow accessing to the 64 bit address space NAND?

 

Thank you.

 

Regards,

zc

Outcomes