This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TMDXEVM8148: 8148 support nand flash MT29F8G08ABABA? boot from nand flash happen ubi ecc error

Part Number: TMDXEVM8148

Tool/software: Linux

hi,

TI,

There are MT29F8G08ABABA on my 8148 board. It is ok of write and read operation. But after I write the filesystem into the nand flash,then boot up,it will happen the ecc error:

[    2.120000] UBI: physical eraseblock size:   524288 bytes (512 KiB)
[    2.130000] UBI: logical eraseblock size:    520192 bytes
[    2.130000] UBI: smallest flash I/O unit:    4096
[    2.140000] UBI: sub-page size:              1024
[    2.140000] UBI: VID header offset:          2048 (aligned 2048)
[    2.150000] UBI: data offset:                4096
[    2.150000] usb 2-1: new high speed USB device using musb-hdrc and address 2
[    2.170000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:0, read 64 bytes
[    2.180000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 1:2048, read 1024 bytes
[    2.200000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2:0, read 64 bytes
[    2.220000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 2:2048, read 1024 bytes
[    2.240000] ata1: SATA link down (SStatus 0 SControl 300)
[    2.240000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 3:0, read 64 bytes
[    2.260000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 3:2048, read 1024 bytes
[    2.280000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 4:0, read 64 bytes
[    2.290000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 4:2048, read 1024 bytes
[    2.310000] usb 2-1: New USB device found, idVendor=0409, idProduct=005a
[    2.310000] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.320000] hub 2-1:1.0: USB hub found
[    2.330000] hub 2-1:1.0: 4 ports detected
[    2.330000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 5:0, read 64 bytes
[    2.350000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 5:2048, read 1024 bytes
[    2.370000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 6:0, read 64 bytes
[    2.390000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 6:2048, read 1024 bytes
[    2.400000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 7:0, read 64 bytes
[    2.420000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 7:2048, read 1024 bytes
[    2.440000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 8:0, read 64 bytes
[    2.450000] UBI error: ubi_io_read: error -74 (ECC error) while reading 1024 bytes from PEB 8:2048, read 1024 bytes
[    2.470000] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 9:0, read 64 bytes
By the way,the  ecc mode is CONFIG_MTD_NAND_OMAP_ECC_BCH8_CODE_HW in the kernel.The kernel is from dvrrdk_kernel_int_branch branch.

here are the features of the MT29F8G08ABABA :

Features
• Open NAND Flash Interface (ONFI) 2.1-compliant1
• Single-level cell (SLC) technology
• Organization
– Page size x8: 4320 bytes (4096 + 224 bytes)
– Block size: 128 pages (512K +28 K bytes)
– Plane size: 2 planes x 1024 blocks per plane
– Device size: 8Gb: 2048 blocks

I saw the linux core nand user guide,it says that the driver is support the block-size = 128k | 256k,

http://processors.wiki.ti.com/index.php/Linux_Core_NAND_User%27s_Guide

any sultion or suggestion?

BR,

vefone