public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ivan Kuten <ivan.kuten@promwad.com>
To: linux-mtd@lists.infradead.org
Subject: JFFS2 and Dataflash write support - data corruption
Date: Sat, 14 Apr 2007 16:38:53 +0300	[thread overview]
Message-ID: <20070414163853.41153ddb@newbox> (raw)

Hi all,

I use JFFS2 on r/w partition on Atmel Dataflash AT45DB642 with the following kernel config options enabled:
------- snip ----------
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_SUMMARY is not set
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
--------snip-------------

Linux kernel is 2.6.20 + 2.6.20-at91.patch from http://maxim.org.za/at91_26.html

JFFS2 is created with:
mkfs.jffs2 -r . -o jffs2.img -s 1056 -e 8448 -n -p

I'm observing occasional data corruption (md5sums are different) when my apps which also reside on that r/w partition do writes on dataflash.

"Occasional" means the following:
- 3 apps doing 1Kb writes once 2-3 seconds
- md5sums for those 3 apps are calculated and compared to original
- once 5 mins hardware reset is performed
- after several hours of work md5sums don't match


Can anybody confirm that JFFS2 writes + Dataflash are reliable?

Thank you.

Ivan

                 reply	other threads:[~2007-04-24 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070414163853.41153ddb@newbox \
    --to=ivan.kuten@promwad.com \
    --cc=linux-mtd@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