summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/machine/om-gta02.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/machine/om-gta02.conf b/conf/machine/om-gta02.conf
index 12cea679a8..091775ced8 100644
--- a/conf/machine/om-gta02.conf
+++ b/conf/machine/om-gta02.conf
@@ -71,14 +71,14 @@ EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 \
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
-MKUBIFS_ARGS = "-m 2048 -e 129024 -c 2047"
+MKUBIFS_ARGS = "-m 2048 -e 126976 -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: sub-page size: 512
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
# build / upload tools
EXTRA_IMAGEDEPENDS += "sjf2410-linux-native dfu-util-native"