[3rdparty] ventana: update UBI args for additional NAND devices

Submitted by Tim Harvey on April 25, 2019, 10:41 p.m. | Patch ID: 160718

Details

Message ID 1556232114-27509-1-git-send-email-tharvey@gateworks.com
State New
Headers show

Commit Message

Tim Harvey April 25, 2019, 10:41 p.m.
Ventana boards now support 2GiB 2K page size flash devices with 16248 blocks

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

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

Patch hide | download patch | download mbox

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"