Skip to contentSkip to conversation

conf/machine: bump Keystone max_leb_cnt by 10% to fit debug images

PATCH In review Denys Dmytriyenko 2 participants 3 messages Mar 2, 2017 – Mar 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf/machine: bump Keystone max_leb_cnt by 10% to fit debug images

---
 conf/machine/k2e-evm.conf  | 2 +-
 conf/machine/k2g-evm.conf  | 2 +-
 conf/machine/k2hk-evm.conf | 2 +-
 conf/machine/k2l-evm.conf  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
conf/machine/k2e-evm.conf +1 -1
index 95b0e42..bb6b5fb 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2g-evm.conf +1 -1
index 458dfe4..997406b 100644
@@ -26,7 +26,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2hk-evm.conf +1 -1
index 6adb016..88d1608 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2l-evm.conf +1 -1
index b4721d0..9b00a20 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
Signature · 1 line
2.7.4
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Thursday, March 02, 2017 6:17 PM
To: [email protected]
Subject: [meta-ti] [morty/master][PATCH] conf/machine: bump Keystone max_leb_cnt by 10% to fit debug images

If I recall correctly, these sizes are the maximum they can be to fit the UBIFS image into the NAND.

The tisdk-server-extra-rootfs-image was created to produce images which exceed the limitations of the board.

Quoted 69 lines
---
 conf/machine/k2e-evm.conf  | 2 +-
 conf/machine/k2g-evm.conf  | 2 +-
 conf/machine/k2hk-evm.conf | 2 +-
 conf/machine/k2l-evm.conf  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
conf/machine/k2e-evm.conf +1 -1
index 95b0e42..bb6b5fb 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2g-evm.conf +1 -1
index 458dfe4..997406b 100644
@@ -26,7 +26,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2hk-evm.conf +1 -1
index 6adb016..88d1608 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2l-evm.conf +1 -2
index b4721d0..9b00a20 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
--

2.7.4

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#2 lore raw
Quoted 5 lines · Jacob

If I recall correctly, these sizes are the maximum they can be to fit the UBIFS image into the NAND.

The tisdk-server-extra-rootfs-image was created to produce images which exceed the limitations of the board.

Then we need to move something to the "extra" image again, otherwise "debug" builds (and those are only kernel debug, not userspace) no longer fit in the main image...

Quoted 68 lines
Quoted 68 lines
---
 conf/machine/k2e-evm.conf  | 2 +-
 conf/machine/k2g-evm.conf  | 2 +-
 conf/machine/k2hk-evm.conf | 2 +-
 conf/machine/k2l-evm.conf  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
conf/machine/k2e-evm.conf +1 -1
index 95b0e42..bb6b5fb 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2g-evm.conf +1 -1
index 458dfe4..997406b 100644
@@ -26,7 +26,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2hk-evm.conf +1 -1
index 6adb016..88d1608 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4400"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
conf/machine/k2l-evm.conf +1 -2
index b4721d0..9b00a20 100644
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: logical eraseblock size:    253952 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
--

2.7.4

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti