Skip to contentSkip to conversation

conf: am335x-evm and am437x-evm: bump max_leb_cnt

PATCH Superseded Ryan Eatmon 3 participants 3 messages Jun 20, 2023 – Jun 21, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: am335x-evm and am437x-evm: bump max_leb_cnt

New features added require another increase to max_leb_cnt.

---
 meta-ti-bsp/conf/machine/am335x-evm.conf | 2 +-
 meta-ti-bsp/conf/machine/am437x-evm.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/conf/machine/am335x-evm.conf +1 -1
index 266f1f20..b41ae14a 100644
@@ -23,7 +23,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1988 LEBs
-MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 10300"
+MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 10700"
 
 # do ubiattach /dev/ubi_ctrl -m 7 -O 2048
 # from dmesg:
meta-ti-bsp/conf/machine/am437x-evm.conf +1 -1
index 6501a3ef..ca57a8fb 100644
@@ -21,7 +21,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 994 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 5000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 5100"
 
 # do ubiattach /dev/ubi_ctrl -m 11 -O 4096
 # from dmesg:
Signature · 1 line
2.17.1
#1 lore raw
Quoted 1 line · Ryan Eatmon

New features added require another increase to max_leb_cnt.

Julien,

Please review.

Quoted 33 lines
---
  meta-ti-bsp/conf/machine/am335x-evm.conf | 2 +-
  meta-ti-bsp/conf/machine/am437x-evm.conf | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/conf/machine/am335x-evm.conf +1 -1
index 266f1f20..b41ae14a 100644
@@ -23,7 +23,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
  # UBI: logical eraseblock size:    126976 bytes
  # from ubiattach stdout:
  # UBI device number 0, total 1988 LEBs
-MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 10300"
+MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 10700"
 
  # do ubiattach /dev/ubi_ctrl -m 7 -O 2048
  # from dmesg:
meta-ti-bsp/conf/machine/am437x-evm.conf +1 -1
index 6501a3ef..ca57a8fb 100644
@@ -21,7 +21,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
  # UBI: logical eraseblock size:    253952 bytes
  # from ubiattach stdout:
  # UBI device number 0, total 994 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 5000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 5100"
 
  # do ubiattach /dev/ubi_ctrl -m 11 -O 4096
  # from dmesg:
Reviewed-by
#2 lore raw
Quoted 16 lines · Praneeth
Quoted 1 line · Ryan Eatmon

New features added require another increase to max_leb_cnt.

Julien,

Please review.

Quoted 6 lines

---
  meta-ti-bsp/conf/machine/am335x-evm.conf | 2 +-
  meta-ti-bsp/conf/machine/am437x-evm.conf | 2 +-

  2 files changed, 2 insertions(+), 2 deletions(-)