Cramfs on NAND
Hi again,
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>
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.
Thanks again,
Terence.
Quoted 6 lines · Terence Soh
Hi again,
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.
Quoted 2 lines
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?
josh
Quoted 5 lines
Quoted 4 lines
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>
Quoted 8 lines
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.
Quoted 2 lines
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)
Hi,
Quoted 3 lines
Quoted 3 lines
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.
FTL will not work for me because of the licensing issues :(.
Quoted 1 line
Quoted 1 line
Could you use a read-only JFFS2 partition?
Besides the read-only characteristic, I'm also looking at fast mount time. I guess I should take a look at YAFFS.
Question: Does a read-only JFFS2/YAFFS partition means that there will not be any wear-levelling performed?
Quoted 7 lines
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)
Bye and thanks for your time,
Terence.
So is a NAND based FTL for linux encumbered with patents/licensing by M-Systems?
Sean
Quoted 23 lines · Russ Dill
Quoted 5 lines
Quoted 4 lines
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>Quoted 8 lines
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.
Quoted 2 lines
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)
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/