Skip to contentSkip to conversation

machines: bump max_leb_cnt to fit larger images

PATCH New Denys Dmytriyenko 1 participant 1 message Aug 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 machines: bump max_leb_cnt to fit larger images

From: Denys Dmytriyenko <[email protected]>

---
 conf/machine/am335x-evm.conf | 2 +-
 conf/machine/am437x-evm.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/am335x-evm.conf +1 -1
index bbb5d83..571cbec 100644
@@ -24,7 +24,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1988 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4200"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 7 -O 2048
 # from dmesg:
conf/machine/am437x-evm.conf +1 -1
index 15e5f53..04f0571 100644
@@ -24,7 +24,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 994 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1918"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
 
 # do ubiattach /dev/ubi_ctrl -m 11 -O 4096
 # from dmesg:
Signature · 1 line
2.2.0