From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.rafi.de ([80.150.88.70]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RldAu-0000JY-8J for barebox@lists.infradead.org; Fri, 13 Jan 2012 09:11:53 +0000 MIME-Version: 1.0 Message-ID: From: guenter.gebhardt@rafi.de Date: Fri, 13 Jan 2012 09:47:08 +0100 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6099577329903693483==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: imx35 NFC and jffs2 To: barebox@lists.infradead.org Dies ist eine mehrteilige Nachricht im MIME-Format. --===============6099577329903693483== Content-Type: multipart/alternative; boundary="=_alternative 003043B8C1257984_=" Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 003043B8C1257984_= Content-Type: text/plain; charset="US-ASCII" I am using jffs2 for my Linux root file system. I am using the following command to create it: $ mkfs.jffs2 -D ${ROOTFS_DEVICE_TABLE} -r ${ROOTFS_TMP} -o ${DIR_TFTP}/${ROOTFS_IMG} -n -l -e 128 Then I am using the barebox shell to program this image to the NAND flash: $ update_rootfs nand The system get's booted now. All seems to be fine. But after using the system for a while I get a lot of error messages originating from the jffs2 file system: UnCorrectable RS-ECC Error UnCorrectable RS-ECC Error UnCorrectable RS-ECC Error UnCorrectable RS-ECC Error mtd->read(0x6f8 bytes from 0x760108) returned ECC error This leads to a corrupted and unusable file system. I executed all the tests provided by the Linux kernel mtd device driver with success. Also nandtest from the MTD utils package runs with success. Therefore I assume that the imx35 NFC device driver is working well. Software Versions: barebox-2011.11.0 linux-2.6.38.2 mkfs.jffs2 --version # revision 1.60 --=_alternative 003043B8C1257984_= Content-Type: text/html; charset="US-ASCII" I am using jffs2 for my Linux root file system.

I am using the following command to create it:

$ mkfs.jffs2 -D ${ROOTFS_DEVICE_TABLE} -r ${ROOTFS_TMP} -o ${DIR_TFTP}/${ROOTFS_IMG} -n -l -e 128

Then I am using the barebox shell to program this image to the NAND flash:

$ update_rootfs nand

The system get's booted now. All seems to be fine.
But after using the system for a while I get a lot of error messages originating from the jffs2 file system:

UnCorrectable RS-ECC Error                                                                                                                                  
UnCorrectable RS-ECC Error                                                                                                                                  
UnCorrectable RS-ECC Error                                                                                                                                  
UnCorrectable RS-ECC Error                                                                                                                                  
mtd->read(0x6f8 bytes from 0x760108) returned ECC error

This leads to a corrupted and unusable file system.

I executed all the tests provided by the Linux kernel mtd device driver with success.
Also nandtest from the MTD utils package runs with success.
Therefore I assume that the imx35 NFC device driver is working well.

Software Versions:

barebox-2011.11.0
linux-2.6.38.2
mkfs.jffs2 --version # revision 1.60 --=_alternative 003043B8C1257984_=-- --===============6099577329903693483== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============6099577329903693483==--