Obtaining start/end address of an MTD partition
Artem Bityutskiy
dedekind1 at gmail.com
Mon Apr 26 08:59:27 EDT 2010
On Mon, 2010-04-26 at 12:05 +0100, Matthew Lear wrote:
> Hello all,
>
> Is it possible to obtain an MTD partition's starting address through usage
> of the MTD ioctls? I've had a very quick look and from what I can tell,
> this doesn't seem to be possible.
>
> To be clear, I'd like to obtain the addresses below (displayed by Linux
> when it detects the MTD partitions on boot).
>
> Creating 6 MTD partitions on "physmap-flash.0":
> 0x00000000-0x00120000 : "RedBoot"
> 0x00120000-0x01000000 : "foo"
> 0x01000000-0x01400000 : "bar"
Did you try 'cat /proc/mtd' ?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list