JFFS2 impact when don't have sub page access

Aníbal Almeida Pinto anibal.pinto at efacec.com
Wed Jul 31 10:24:08 EDT 2013


Hi,

I' am using an OMAP L138 with a NAND SLC (MT29F4G08)

I was making some tests with Ubifs but found some errors due to OMAP 
don't support sub pages access:

[  128.344667] UBI error: ubi_io_read: error -74 (ECC error) while 
reading 512 bytes from PEB 2:512, read 512 bytes
[  128.883945] UBI error: ubi_io_read: error -74 (ECC error) while 
reading 512 bytes from PEB 1766:512, read 512 bytes
[  128.884072] UBI: run torture test for PEB 1766

The error will continue on loop.

The mtd_tests failed on mtd_supgatetest:

[ 63.870866] mtd_subpagetest: MTD device: 0
[ 63.870929] mtd_subpagetest: MTD device size 262144, eraseblock size 
131072, page size 2048, subpage size 512, count of eraseblocks 2, pages 
per eraseblock 64, OOB size 64
[ 63.871052] mtd_subpagetest: scanning for bad eraseblocks
[ 63.871097] mtd_subpagetest: scanned 2 eraseblocks, 0 are bad
[ 63.871126] mtd_subpagetest: erasing whole device
[ 63.872731] mtd_subpagetest: erased 2 eraseblocks
[ 63.872756] mtd_subpagetest: writing whole device
[ 63.873873] mtd_subpagetest: written up to eraseblock 0
[ 63.874943] mtd_subpagetest: written 2 eraseblocks
[ 63.874969] mtd_subpagetest: verifying all eraseblocks
[ 63.875620] mtd_subpagetest: error: read failed at 0x0
[ 63.875667] mtd_subpagetest: error -74 occurred

and disabling the sub page access enable the use of UBIFS [1].

Is there any impact on jffs2 partitions if sub page write are enable on 
OMAP L138?

Thanks.

[1] - 
http://davinci-linux-open-source.1494791.n2.nabble.com/UBI-crashes-fixing-NAND-subpage-writes-td5485828.html 
(message from 2010/09/29)

Regards,
Aníbal




More information about the linux-mtd mailing list