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.

AM3517 - nand sub-page - ubifs

Other Parts Discussed in Thread: AM3517

Hello,

 

I’m looking to update a Logic PD AM3517 SOM from a 2.6.31-rc7 kernel to the last v2.6.37_OMAPPSP_04.02.00.07 tagged kernel.

 

Using the 2.6.37 kernel ,I get problems with the UBIFS partitions. After formatting and rebooting, ubiattach gives following errors

UBI: attaching mtd5 to ubi0

UBI: physical eraseblock size:   131072 bytes (128 KiB)

UBI: logical eraseblock size:    129024 bytes

UBI: smallest flash I/O unit:    2048

UBI: sub-page size:              512

UBI: VID header offset:          512 (aligned 512)

UBI: data offset:                2048

UNCORRECTED_ERROR default

UNCORRECTED_ERROR default

UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 1:0, read 64 bytes

UNCORRECTED_ERROR default

 

All the MTD Test tools successes, except the sub-page one:

mtd_subpagetest: MTD device: 6
mtd_subpagetest: MTD device size 268435456, eraseblock size 131072, page size 2048, subpage size 512, count of eraseblocks 0, pages per eraseblock 0, OOB size 64
mtd_subpagetest: scanning for bad eraseblocks

mtd_subpagetest: scanned 2048 eraseblocks, 4 are bad
mtd_subpagetest: erasing whole device
mtd_subpagetest: erased 2048 eraseblocks
mtd_subpagetest: writing whole device
mtd_subpagetest: written up to eraseblock 0
mtd_subpagetest: written up to eraseblock 256

mtd_subpagetest: written up to eraseblock 1792
mtd_subpagetest: written 2048 eraseblocks
mtd_subpagetest: verifying all eraseblocks
mtd_subpagetest: error: read failed at 0x0
mtd_subpagetest: error -74 occurred

 

I made a test with the last TI official BSP, based on a 2.6.32 kernel. This problem doesn’t exist, but I had to ubiformat the partition without sub-pages …. ?

 

Any idea about what’s going on ? What is the state of the omap nand driver ? Something I missed for this update ?

 

Cheers

David