Partition question...

David Woodhouse dwmw2 at
Wed Sep 12 07:49:09 EDT 2001

alex at said:
>    I want to partition my MTD devices , it physical address :
>     CS0: 0x00000000 - 0x00800000
>     CS1: 0x10000000 - 0x10800000
>     How should I to haldle it ? 

What's at 0x800000-0xffffff? A second image of CS0? If so, just copy one of 
the existing map drivers and make it length 0x10800000. Then after calling 
the chip probe routines you set up your array of struct mtd_partitions and 
call add_mtd_partitions. There are plenty of examples to crib from.


More information about the linux-mtd mailing list