combine 2 banks into a single mtd device?
Hello,
I am trying to boot from flash on the SC520 development platform from AMD.
Quoted 1 line
From Vipin I received some code to access the flash. But with this code I get
two devices mtd0 and mtd1 for each flash bank of 8 MB.
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.
David is the jffs2 code beta enough for some read only testing?
Thanks for reading sofar.
Erik
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 2 lines · [email protected] 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 partitions.
Quoted 1 line
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 :)
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to [email protected]