On Friday 18 July 2008 08:07:20 MAIKEL214@terra.es wrote: > Hi again, > > I am a bit confused about the different modules in yaffs2 because they are > not very commented and I can´t find this information in the web. My > question is: > > What is the diference between the modules yaffs_ramem2k.c , yaffs_flashif.c > (both in directory direct) and nandemul2k.c(in directory mtdemul). All > seems to emulate a NAND by RAM The stuff that is in the direct directory is intended for in-application emulation. The mtdemul code is for emulation within the Linux mtd subsystem and is largely superceded by emulators provided by the mtd group. > > 1) I want to emulate a 1KB page NAND access using the RAM and for this > proposal I am using now yaffs_ramem2k.c but I´m not very sure if this is > correct. Is it correct? That is a good starting point. > > 2) Where can I find documentation in detail about all the source modules? I > can´t find this in the yaffs web... I should really publish some of the docs that I have generated. -- Charles