om-gta01.conf: update ubi params
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 6 Feb 2010 14:15:30 +0000 (15:15 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sat, 6 Feb 2010 18:38:29 +0000 (19:38 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
conf/machine/om-gta01.conf

index 4f34cae..822403a 100644 (file)
@@ -70,18 +70,18 @@ EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 \
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # From dmesg:
-# UBI: smallest flash I/O unit:    2048
-# UBI: logical eraseblock size:    129024 bytes
+# UBI: smallest flash I/O unit:    512
+# UBI: logical eraseblock size:    15360 bytes
 # from ubiattach stdout:
-# UBI device number 0, total 1996 LEBs
-MKUBIFS_ARGS = "-m 2048 -e 126976 -c 2047"
+# UBI device number 0, total 3907  LEBs
+MKUBIFS_ARGS = "-m 512 -e 15360 -c 2047"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
-# UBI: smallest flash I/O unit:    2048
-# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: smallest flash I/O unit:    512
+# UBI: physical eraseblock size:   16384 bytes (16 KiB)
 # UBI: sub-page size:              512
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
+UBINIZE_ARGS = "-m 512 -p 16KiB -s 512 -O 512"
 
 # build / upload tools
 EXTRA_IMAGEDEPENDS += "dfu-util-native"