[meta-freescale] [3rdparty][PATCH] ventana: update UBI args for additional NAND devices

Tim Harvey tharvey at gateworks.com
Thu Apr 25 15:41:54 PDT 2019


Ventana boards now support 2GiB 2K page size flash devices with 16248 blocks

Signed-off-by: Tim Harvey <tharvey at gateworks.com>

Please backport all the way to jethro
---
 conf/machine/ventana.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/machine/ventana.conf b/conf/machine/ventana.conf
index 7794c77..b7ed7ac 100644
--- a/conf/machine/ventana.conf
+++ b/conf/machine/ventana.conf
@@ -71,10 +71,10 @@ MULTIUBI_BUILD ?= "normal large"
 
 UBI_VOLNAME = "rootfs"
 
-# 256MB ('normal' flash layout)
-export MKUBIFS_ARGS_normal = "-F -m 2048 -e 124KiB -c 1912 -x zlib"
+# 2K page size ('normal' flash layout)
+export MKUBIFS_ARGS_normal = "-F -m 2048 -e 124KiB -c 16248 -x zlib"
 export UBINIZE_ARGS_normal = "-m 2048 -p 128KiB -s 2048"
 
-# 2GB ('large' flash layout)
+# 4K page size ('large' flash layout)
 export MKUBIFS_ARGS_large = "-F -m 4096 -e 248KiB -c 8124 -x zlib"
 export UBINIZE_ARGS_large = "-m 4096 -p 256KiB -s 4096"
-- 
2.7.4



More information about the meta-freescale mailing list