mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* imx35 NFC and jffs2
@ 2012-01-13  8:47 guenter.gebhardt
  2012-01-13 11:57 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: guenter.gebhardt @ 2012-01-13  8:47 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 993 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3681 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-13 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13  8:47 imx35 NFC and jffs2 guenter.gebhardt
2012-01-13 11:57 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox