Cramfs on NAND

Russ Dill russ.dill at gmail.com
Fri Mar 10 12:36:08 EST 2006


> > I hear that cramfs on NAND flash is not a good idea because of the bad
> > blocks. Is this still true? There was talks some time  ago about making
> > cramfs work on top on NAND.
> > <http://lists.infradead.org/pipermail/linux-mtd/2004-May/009784.html>
>
> Yes, it's still true.  CRAMFS expects it's data to be contiguous so
> unless you have something similar to a flash translation layer that
> hides the bad blocks, insanity will ensue.
>
> > If this is true, are there any recommendations of what other fs to use.
> > I already have one partition of jffs2 to store read-write files.
>
> Could you use a read-only JFFS2 partition?

The other solution is to use an ftl ontop of the flash, and then put a
cramfs on that. Of course, that depends on you living somewhere where
algorithms are not restricted to those with the license to use them.
(iirc)




More information about the linux-mtd mailing list