MTD Partitions

Nikhil Bansal (nikbansa) nikbansa at
Fri Sep 22 18:26:15 EDT 2006


>From what I understand you need to provide the partitioning details of
MTD devices at the compile time. I was wondering if there is any way to
partition a flash device at runtime based on the sectors. For Example:
partition 1 from sector 1 to sector 10, partition 2 from sector 11 to
sector 20. 

The thing is that we have a board with a flash chip on it and
configuration of this chip may vary based on several factors. I don't
have the luxury of compiling the kernel for each such requirement :( I
think I read somewhere that at this point, partitioning can be done at
compile time only but just wanted to confirm.

By the way, we can keep the number of partitions fixed but size needs to
be varied. Please let me know if it can be done.

Thanks in advance,

More information about the linux-mtd mailing list