Physmap, exposing a master partition/device.
Josh Boyer
jwboyer at gmail.com
Wed Dec 20 10:57:42 EST 2006
On 12/20/06, Tom Rathbone <tom.rathbone at gmail.com> wrote:
> Hi All,
>
> Using physmap partitions I'd like to be able to write to my flash
> device as a whole and also access it as partitions. This way under
> usual operation I can use the partitions and when doing a full
> re-flash I can write the whole device including the partition table
> and can also write across partition boundaries.
This is a typical thing to do, yes.
> What changes would be required to include a master partition? Can I do
> this separately using add_mtd_device? Alternatively is there a way to
> unpartition the flash from userspace?
Usually the master MTD device is created by the board driver itself
before or after creating the partitions by calling add_mtd_device. I
know of no way to dynamically unpartition from userspace.
josh
More information about the linux-mtd
mailing list