MTD Partitioning (Was: [PATCH][RFC] PPCBoot Environment Kernel Module)
Marius Groeger
mag at sysgo.de
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
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 mgroeger at sysgo.de
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/
More information about the Linuxppc-embedded
mailing list