Skip to contentSkip to conversation

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

DISCUSSION Marius Groeger 1 participant 1 message Apr 29, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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.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     [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/