Because various boards use various flash sizes, build the two sizes fit for Ventana boards.
Signed-off-by: Pushpal Sidhu <[email protected]> --- Chagnes v2: * Split commit into three commits conf/machine/ventana.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/conf/machine/ventana.conf b/conf/machine/ventana.conf index 3acd201..1974100 100644 --- a/conf/machine/ventana.conf +++ b/conf/machine/ventana.conf @@ -56,12 +56,17 @@ UBOOT_CONFIG[std] = "gwventana_config" SERIAL_CONSOLE = "115200 ttymxc1" # Override FS Type Creation -IMAGE_FSTYPES = "tar.bz2 ubi" +IMAGE_FSTYPES = "tar.bz2 multiubi" + +# Build the following sizes +MULTIUBI_BUILD ?= "normal large" UBI_VOLNAME = "rootfs" + # 256MB ('normal' flash layout) -MKUBIFS_ARGS += "-F -m 2048 -e 124KiB -c 1912 -x zlib" -UBINIZE_ARGS += "-m 2048 -p 128KiB -s 2048" +export MKUBIFS_ARGS_normal = "-F -m 2048 -e 124KiB -c 1912 -x zlib" +export UBINIZE_ARGS_normal = "-m 2048 -p 128KiB -s 2048" + # 2GB ('large' flash layout) -#MKUBIFS_ARGS += "-F -m 4096 -e 248KiB -c 8124 -x zlib" -#UBINIZE_ARGS += "-m 4096 -p 256KiB -s 4096" +export MKUBIFS_ARGS_large = "-F -m 4096 -e 248KiB -c 8124 -x zlib" +export UBINIZE_ARGS_large = "-m 4096 -p 256KiB -s 4096" -- 2.6.2 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
