
1 Jul
2015
1 Jul
'15
5:03 p.m.
On Wed, Jul 01, 2015 at 11:04:38AM +0200, Samuel Egli wrote:
Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash.
Signed-off-by: Samuel Egli samuel.egli@siemens.com Cc: Heiko Schocher hs@denx.de Cc: Roger Meier r.meier@siemens.com
[snip]
@@ -540,7 +539,7 @@ "setenv nand_active_ubi_vol ${rootfs_name}_b;" \ "fi;" \ "setenv nand_root ubi0:${nand_active_ubi_vol} rw " \
"ubi.mtd=7,2048 ubi.mtd=9,2048;" \
"ubi.mtd=8,2048;" \
The kernel also accepts partition names here instead of numbers making this more future-proof.
--
Tom