Micron MT29F8G08ABABA Nand on i.mx6ul evk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Micron MT29F8G08ABABA Nand on i.mx6ul evk

1,671 次查看
dhvanil_patel1
Senior Contributor I

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

标签 (4)
0 项奖励
1 回复

688 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Dhvanil

please use latest L4.1.15 Linux release and use

mfgtool2-yocto-mx6ul-evk-nand.vbs script

attached to link below

How-To use NAND boot on i.MX6UL EVK board

i.MX 6 Series Software and Development Tool|NXP

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 项奖励