<font size=2 face="sans-serif">I am using jffs2 for my Linux root file
system.</font>
<br>
<br><font size=2 face="sans-serif">I am using the following command to
create it:</font>
<br>
<br><font size=2 face="sans-serif">$ mkfs.jffs2 -D ${ROOTFS_DEVICE_TABLE}
-r ${ROOTFS_TMP} -o ${DIR_TFTP}/${ROOTFS_IMG} -n -l -e 128</font>
<br>
<br><font size=2 face="sans-serif">Then I am using the barebox shell to
program this image to the NAND flash:</font>
<br>
<br><font size=2 face="sans-serif">$ update_rootfs nand</font>
<br>
<br><font size=2 face="sans-serif">The system get's booted now. All seems
to be fine.</font>
<br><font size=2 face="sans-serif">But after using the system for a while
I get a lot of error messages originating from the jffs2 file system:</font>
<br>
<br><font size=2 face="sans-serif">UnCorrectable RS-ECC Error    
                     
                     
                     
                     
                     
                </font>
<br><font size=2 face="sans-serif">UnCorrectable RS-ECC Error    
                     
                     
                     
                     
                     
                </font>
<br><font size=2 face="sans-serif">UnCorrectable RS-ECC Error    
                     
                     
                     
                     
                     
                </font>
<br><font size=2 face="sans-serif">UnCorrectable RS-ECC Error    
                     
                     
                     
                     
                     
                </font>
<br><font size=2 face="sans-serif">mtd->read(0x6f8 bytes from 0x760108)
returned ECC error</font>
<br>
<br><font size=2 face="sans-serif">This leads to a corrupted and unusable
file system.</font>
<br>
<br><font size=2 face="sans-serif">I executed all the tests provided by
the Linux kernel mtd device driver with success.</font>
<br><font size=2 face="sans-serif">Also nandtest from the MTD utils package
runs with success.</font>
<br><font size=2 face="sans-serif">Therefore I assume that the imx35 NFC
device driver is working well.</font>
<br>
<br><font size=2 face="sans-serif">Software Versions:</font>
<br>
<br><font size=2 face="sans-serif">barebox-2011.11.0</font>
<br><font size=2 face="sans-serif">linux-2.6.38.2</font>
<br><font size=2 face="sans-serif">mkfs.jffs2 --version # revision 1.60</font>