copy filesystem to nand flash without ecc

Thomas Gleixner tglx at
Thu Feb 13 11:52:54 EST 2003

On Thursday 13 February 2003 12:16, Kschoo70C at wrote:
> Hi,
>      I notice some update on the JFFS2 out of band usage in
> whereby the offset 0x4 used to be ECC valid marker has been made obsolete.
> In this case, if I write a jffs image to the mtd device without adding the
> ECC in the out of band area, the nand driver will not know about that. The
> question here is, what is the consequence of writing an image without
> adding the ecc to the out of band area ? Isn't it true the jffs2 file
> system always uses read_ecc and write_ecc when the flash type is nand ?
You will get a endless bunch of ECC failure warnings. They will go away,
if you copy files around. As ECC is essential for NAND, we removed the
non ECC stuff for JFFS2 :)

linutronix - competence in embedded & realtime linux
mail: tglx at

More information about the linux-mtd mailing list