MTD Flash Partition: change possible?

Arno Steffen arno.steffen at
Mon Aug 23 08:11:15 EDT 2010

2010/8/23 Artem Bityutskiy <dedekind1 at>:
> On Mon, 2010-08-23 at 12:23 +0200, Arno Steffen wrote:
>> In my embedded system the Flash-partition table is compiled into kernel.
>> Is there a way to change partition table without booting a new kernel? How?
>> Background: I want to update an embedded system and change the size of
>> partitions. But tools as flash_eraseall and nandwrite use partitions
>> of the current kernel. If I want to change the size of the partitions,
>> this is impossible.
>> If I first flash a new kernel with new partition table, I have to
>> reboot and the system will not start, as the old partitioning scheme
>> is still active.
> There were at least 2 patches. One from Nokia - it was ok, but a small
> change was requested and the author disappeared. One was from Samsung -
> I did not look at it so far. The patches were sent to the MTD mailing
> list a month or 2 ago.
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)

Spasibo, Artem.

I found the Nokia Patch
This seems to be done for OneNand, while I am using Nand.

Regarding the pathes: That are requests to change, so it is not for
sure that this is implemented in a new kernel?

I found this as an update to mtdutils.
 Does this needs a new kernel to support this functions? I am using a 2.6.33.

Reading this, I think there is no solution for my current system.
Is there a way to show the startaddress of a partition? /proc/mtd
shows just size, not start address.


More information about the linux-mtd mailing list