(i wasn't sure where to ask this so i figured this was as safe a
place as any.)
on an embedded system i have, is there a way to list the definitions
of the MTD partitioning of the flash from userspace?
from userspace, i can certainly display the *sizes* of the
# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "cfe"
mtd1: 007b0000 00010000 "linux"
mtd2: 006f8000 00010000 "rootfs"
mtd3: 005f0000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "nvram"
but the information above doesn't tell you that there is some
nesting of partitions, info that you can get from "dmesg"
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000f8000-0x007f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force
0x00200000-0x007f0000 : "rootfs_data"
0x007f0000-0x00800000 : "nvram"
i was just wondering if there was a simple way to display the
*exact* breakdown of how the MTD partitions are laid out on the flash.
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ