Skip to contentSkip to conversation

am335x-evm: Increase UBI max size to 500MB

PATCH New Chase Maupin 1 participant 1 message Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am335x-evm: Increase UBI max size to 500MB

* Based on the EVM and beaglebone + NAND memory cape we can increase the base file system size to 500MB since by default there is about 504MB of space allocated to the file system partition in the NAND.
* The max size in LEBs was determined using the formula at
http://processors.wiki.ti.com/index.php/UBIFS_Support

---
 conf/machine/am335x-evm.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
conf/machine/am335x-evm.conf +1 -1
index e86c41b..69e5e78 100644
@@ -29,7 +29,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
 # UBI device number 0, total 1988 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1988"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
 
 # do ubiattach /dev/ubi_ctrl -m 7 -O 2048
 # from dmesg:
Signature · 1 line
1.7.0.4