combine 2 banks into a single mtd device?

David Woodhouse dwmw2 at
Wed Feb 21 06:15:26 EST 2001

erik.niessen at said:
>  Is there a way to combine the two banks into one mtd device of 16MB?
> So that I can put a simple Linux system on it.

Yep. Whatever map driver you're using, switch the add_mtd_partitions call 
to just register the underlying MTD device directly rather than the 

> David is the jffs2 code beta enough for some read only testing? 

Testing is good, yes please. Read-only testing is pointless because nobody's
written a mkfs.jffs2 yet, so you have to mount an empty filesystem and then
fill it. It seems OK at the moment until you get to the end of the flash 
and the GC starts having to do some work. Compression is working nicely. 

I'm working on the GC code. The scan code and the normal read/write/etc 
operations want exercising. And mkfs.jffs2 wants writing :)


To unsubscribe, send "unsubscribe mtd" to majordomo at

More information about the linux-mtd mailing list