From: Chase Maupin Date: Fri, 16 Nov 2012 16:53:55 +0000 (-0600) Subject: am335x-evm: Increase UBI max size to 500MB X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fmeta-ti-glsdk.git;a=commitdiff_plain;h=3c67c9357c8d6803d137534c6ee036cb6557c41e 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 Signed-off-by: Chase Maupin Signed-off-by: Denys Dmytriyenko --- diff --git a/conf/machine/am335x-evm.conf b/conf/machine/am335x-evm.conf index 762f787..cd30594 100644 --- a/conf/machine/am335x-evm.conf +++ b/conf/machine/am335x-evm.conf @@ -28,7 +28,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: