Thread (1 message) 1 message, 1 author, 2006-05-22

Preferred way to configure MTD physical mapping and partitioning

From: Thiago Galesi <hidden>
Date: 2006-05-22 13:27:12

quoted
BTW, you can partition your flash via cmdline
So would that be the preferred way to configure MTD partitions ?

Laurent Pinchart
Using the mtdparts option in the boot cmdline. example

mtdparts=256k(partition1)ro,333k(partition2),444k(partition3),-(partition 4)

This will create /dev/mtd1, /dev/mtd2, etc, etc (and the corresponding
mtdblock devices) - you still have to create the inodes manually
(AFAIK) with the corresponding size, etc Using the '-' in the last
option uses all the remaining space. (as the ro option that makes the
partition read only. Useful for not overwriting your bootloader)

-- 
-
Thiago Galesi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help