* combine 2 banks into a single mtd device?
@ 2001-02-21 9:50 erik.niessen
2001-02-21 11:15 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: erik.niessen @ 2001-02-21 9:50 UTC (permalink / raw)
To: mtd
[-- Attachment #1: MEMO 02/21/01 10:47:13 --]
[-- Type: text/plain, Size: 520 bytes --]
Hello,
I am trying to boot from flash on the SC520 development platform from AMD.
>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 majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: combine 2 banks into a single mtd device?
2001-02-21 9:50 combine 2 banks into a single mtd device? erik.niessen
@ 2001-02-21 11:15 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-02-21 11:15 UTC (permalink / raw)
To: erik.niessen; +Cc: mtd
erik.niessen@philips.com 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.
> 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 majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-21 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-21 9:50 combine 2 banks into a single mtd device? erik.niessen
2001-02-21 11:15 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox