MTD Partitioning (Was: [PATCH][RFC] PPCBoot Environment Kernel Module)

Marius Groeger mag at
Mon Apr 29 16:57:37 EST 2002

On Thu, 25 Apr 2002, andrew may wrote:

> > > 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.c and any of the mtd/maps/*.c that
> call add_mtd_partitions() as for the partitions I am talking about.

Good news for you guys here: we just checked in a new module on 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.


Marius Groeger           SYSGO Real-Time Solutions GmbH     mgroeger at
Software Engineering     Embedded and Real-Time Software
Voice: +49-6136-9948-0   Am Pfaffenstein 14       
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list