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.e...@siemens.com> > Cc: Heiko Schocher <h...@denx.de> > Cc: Roger Meier <r.me...@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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot