MTD Partitioning (Was: [PATCH][RFC] PPCBoot Environment Kernel Module)
Quoted 7 lines · andrew may
Quoted 4 lines
Quoted 2 lines
Well one thing that we plan (John and I work together) ontop of this is to use some env vars for the partition table for flash.
Ummm... "use some env vars for the partition table for flash".
see
linux/drivers/mtd/redboot.cand any of the mtd/maps/*.c that calladd_mtd_partitions()as for the partitions I am talking about.
Good news for you guys here: we just checked in a new module on infradead.org implementing just that. It's drivers/mtd/cmdline.c and allows you to specify the entire partition table via a kernel command line option. Thus, on ppcboot/armboot, you just set the bootargs variable and be done with it.
I'd be interested in any feedback on this.
Regards
Marius
-----------------------------------------------------------------------------
Marius Groeger SYSGO Real-Time Solutions GmbH [email protected] Software Engineering Embedded and Real-Time Software www.sysgo.de Voice: +49-6136-9948-0 Am Pfaffenstein 14 www.osek.de FAX: +49-6136-9948-10 55270 Klein-Winternheim, Germany www.elinos.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/