mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: guenter.gebhardt@rafi.de
To: barebox@lists.infradead.org
Subject: imx35 NFC and jffs2
Date: Fri, 13 Jan 2012 09:47:08 +0100	[thread overview]
Message-ID: <OF2ADC7AFF.7875240B-ONC1257984.002AE123-C1257984.003043B9@o0802.rafi.inhouse> (raw)


[-- 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

             reply	other threads:[~2012-01-13  9:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13  8:47 guenter.gebhardt [this message]
2012-01-13 11:57 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF2ADC7AFF.7875240B-ONC1257984.002AE123-C1257984.003043B9@o0802.rafi.inhouse \
    --to=guenter.gebhardt@rafi.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox