From: Martin Jansa Date: Sat, 6 Feb 2010 14:15:30 +0000 (+0100) Subject: om-gta01.conf: update ubi params X-Git-Tag: Release-2010-05/1~567 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01dcb228756ee2348a8f6257b39d196340b69d96;p=openembedded.git om-gta01.conf: update ubi params Signed-off-by: Martin Jansa --- diff --git a/conf/machine/om-gta01.conf b/conf/machine/om-gta01.conf index 4f34caea2b..822403a710 100644 --- a/conf/machine/om-gta01.conf +++ b/conf/machine/om-gta01.conf @@ -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"