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 size | 4320 bytes | 4096 + 224 bytes |
Block size | 128 pages | 512K +28 K bytes |
Device size | 8Gb | 2048 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
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!
-----------------------------------------------------------------------------------------------------------------------