omap3-pandora: reserve space for root
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 5 Jul 2015 20:16:08 +0000 (23:16 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 5 Jul 2015 20:20:03 +0000 (23:20 +0300)
this should help with problems where the user accidentally fills up
his NAND and ubi runs out of free blocks.

conf/machine/omap3-pandora.conf

index 9b39b00..efad278 100644 (file)
@@ -47,10 +47,7 @@ KERNEL_IMAGETYPE = "uImage"
 # From dmesg:
 # UBI: logical eraseblock size:    129024 bytes
 # UBI: smallest flash I/O unit:    2048
-# from ubiattach stdout:
-# UBI device number 0, total 4042 LEBs
-
-MKUBIFS_ARGS = "-m 2048 -e 129024 -c 4042 -x favor_lzo -X 20"
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 8096 -x favor_lzo -R 4MiB"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg: