AnsweredAssumed Answered

Micron MT29F8G08ABABA Nand on i.mx6ul evk

Question asked by Dhvanil Patel on Jun 7, 2016
Latest reply on Jun 7, 2016 by igorpadykov

Hi

 

I want add support of Mircon MT29F8G08ABABA on i.mx6ulevk board. I am booting the i.mx6ul evk with SD1. From linux filesystem, The Micon Nand is detected by mtd subsystem. But when I am doing any operation. It is not working as expect. The nand read and nand write doesn't match.

 

I have tested Nand flash using nandtest command but it is always showing the test is failed.

 

Nand information

Page size4320 bytes4096 + 224 bytes
Block size128 pages512K +28 K bytes
Device size8Gb2048 blocks

Can anybody help me to correctly setting Micron NAND configuration in linux kernel for i.mx6ul evk ?

 

Linux kernel log

---------------------

loop: module loaded

nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x38

nand: Micron MT29F8G08ABABAWP

nand: 1024MiB, SLC, page size: 4096, OOB size: 224

gpmi-nand 1806000.gpmi-nand: mode:4 ,failed in set feature.

Bad block table not found for chip 0

Bad block table not found for chip 0

Scanning device for bad blocks

Bad block table written to 0x00003ff80000, version 0x01

Bad block table written to 0x00003ff00000, version 0x01

4 cmdlinepart partitions found on MTD device gpmi-nand

Creating 4 MTD partitions on "gpmi-nand":

0x000000000000-0x000004000000 : "boot"

0x000004000000-0x000005000000 : "kernel"

0x000005000000-0x000006000000 : "dtb"

0x000006000000-0x000040000000 : "rootfs"

gpmi-nand 1806000.gpmi-nand: driver registered.

 

 

 

 

Thanks,

Dhvanil Patel

Outcomes