Problem with jffs2 on linux 2.6.23

Rupesh Kumar Rupesh.Kumar at Lntemsys.com
Mon Jun 15 05:16:22 EDT 2009


Hi
We are using jffs2 RFS for our board with linux 2.6.23 . we are suing nand 
write.jffs2 utility in the u-boot to burn the image on to the 
nand flash, 

Our problem is
Booting First time with the RFS seems to be fine. As system run and we do 
reboot system it prints following messages and boots up.
///////////////////////////
mtd->read(0x400 bytes from 0x1b00000) returned ECC error
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01b001d0: 
0xfffe instead
mtd->read(0x400 bytes from 0x2500000) returned ECC error
mtd->read(0x400 bytes from 0x27c0000) returned ECC error
mtd->read(0x400 bytes from 0x2c20000) returned ECC error
mtd->read(0x400 bytes from 0x2cc0000) returned ECC error
mtd->read(0x400 bytes from 0x2d00000) returned ECC error
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00074: 
0xfffe instead
Empty flash at 0x02d00078 ends at 0x02d003e4
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d003e4: 
0xffef instead
Empty flash at 0x02d003e8 ends at 0x02d00780
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00780: 
0xfffb instead
mtd->read(0x400 bytes from 0x3320000) returned ECC error
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03320190: 
0xffff instead
Empty flash at 0x03320194 ends at 0x0332047c
////////////////////////////
During run time also it prints these messages.

I am not able to understand the cause of this error. Please help me in 
fixing this error.

The same file system is working fine with the linux 2.6.20 kernel.
Thanks



More information about the linux-mtd mailing list