Skip to contentSkip to conversation

Dynamic MTD partition tables in Linux

DISCUSSION KimM 2 participants 2 messages Aug 10, 2006 Memory technology devices (MTD)

lore
Share & tools
lore

KimM

author
#0 lore raw

Hi all

I need support for dynamic MTD partition tables in Linux. Currently there's four ways of doing this: cmdlineparsing, Redboot, ARM way or my own way.

For various reasons I won't use the cmdline, so it's either Redboot or ARM, in which case my preference is Redboot since I assume that it's more likely to be maintained in the future. Unfortunately I do not use Redboot, but u-boot, so I have to develop my own tool for writing the partition tables.

Of course, there are several ways to go about this, but I prefer a generic Linux tool which can create/modify the partition table. This way I can run the tool on both my host and target and create partitions as images or at runtime.

But before I go ahead, I want to get some opinions whether to use the Redboot or ARM tables. And of course, I would very must like to know if a tool already exists...:)

Thanks
KimM

#1 lore raw

Hello KimM,

Quoted 3 lines · KimM

I need support for dynamic MTD partition tables in Linux. Currently there's four ways of doing this: cmdlineparsing, Redboot, ARM way or my own way.

Please, pay your attention to UBI:

http://www.linux-mtd.infradead.org/doc/ubi.html
http://www.linux-mtd.infradead.org/faq/ubi.html

This is a new technology, so no barand boot-loaders support it yet. But it is completely "dynamic".

Signature · 3 lines
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.