public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2 and Dataflash write support - data corruption
@ 2007-04-14 13:38 Ivan Kuten
  0 siblings, 0 replies; only message in thread
From: Ivan Kuten @ 2007-04-14 13:38 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-24 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-14 13:38 JFFS2 and Dataflash write support - data corruption Ivan Kuten

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