[Yaffs] Re: Time to drop yaffs RAM support in Linux?

Coywolf Qi Hunt coywolf at gmail.com
Wed Jul 13 10:36:20 BST 2005


On 7/13/05, Charles Manning <manningc2 at actrix.gen.nz> wrote:
> 
> On Wednesday 13 July 2005 15:25, Martin Fouts wrote:
> >
> > But tell me more, because I'm using nandsim with yaffs2 and it seems to
> > be working -- at least for the primitive tests I'm doing.  This is in a
> > 2.6.11.12 kernel.
> >
> 
> 
> At present there are 4 configurations supported in  YAFFS2 for Linux:
> 
> yaffs:       YAFFS backward compatability mode with mtd
> yaffsram:  YAFFS backward compatability mode with internal RAM simulator
> yaffs2:       YAFFS2 mode with 2kpage mtd
> yaffs2ram:  YAFFS2 mode with internal RAM simulator
> 
> The xxxram versions were really only temporary hacks that were there so that I
> could prove yaffs in-kernel without mtd.I also did a really rough mtd nand
> simulation to test out the mtd studd.
> 
> However, now that things have settled down and the mtd nandsim seems robust, I
> would like to suggest pulling out the xxxram variants and just use nandsim
> instead.
> 
> I would like to clean out dead stuff like this with an eye to cleaning up code
> for a kernel integration.
> 
> Comments?
> 
> -- CHarles
> 


Nandsim simulates real chips. For 2k-page chips, the size would be
several giga. MTD may fail to kmalloc giga memory.

-- 
Coywolf Qi Hunt
http://ahbl.org/~coywolf/



More information about the yaffs mailing list