[U-Boot] [PATCH] siemens,am33x: adjust mtd partition

Tom Rini trini at konsulko.com
Wed Jul 1 17:03:58 CEST 2015


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 at siemens.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Roger Meier <r.meier at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150701/4983e3eb/attachment.sig>


More information about the U-Boot mailing list