mtd emulation

Ralph Siemsen ralphs at netwinder.org
Fri Apr 29 17:49:51 EDT 2005


Sam Pham wrote:
> I'd like to evaluate JFFS2.  Has anyone done this
> before?  Does linux have the capability of emulating
> mtd block device and mtd memory so that I can run
> JFFS2 on top of it without using the actual flash?

I believe you can use MTD_MTDRAM for this.  There are a few associated 
parameters (total size, erase block size) to be fiddled as well.  See 
the the file linux-2.6.x/drivers/mtd/devices/mtdram.c

-R





More information about the linux-mtd mailing list