Problem with jffs2 on linux 2.6.23
Ravi Vasarla
ravi.vasarla at sasken.com
Mon Jun 15 06:26:49 EDT 2009
Hi Rupesh,
It usually comes when jffs2 image is not build correctly, i mean with correct block size and erase size. Kindly check once again, please enable the MTD debug and file system debug flags to see more debug info.
Regards,
Ravi Kumar
+91 97415 00768
________________________________________
From: linux-mtd-bounces at lists.infradead.org [linux-mtd-bounces at lists.infradead.org] On Behalf Of Rupesh Kumar [Rupesh.Kumar at Lntemsys.com]
Sent: Monday, June 15, 2009 14:46
To: linux-mtd at lists.infradead.org
Subject: Problem with jffs2 on linux 2.6.23
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
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In
case you are not the original intended Recipient of the message, you must not, directly or
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are
requested to delete it and inform the sender. Any views expressed in this message are
those of the individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by Sasken Communication
Technologies Limited ("Sasken") unless sent with that express intent and with due
authority of Sasken. Sasken has taken enough precautions to prevent the spread of
viruses. However the company accepts no liability for any damage caused by any virus
transmitted by this email
More information about the linux-mtd
mailing list