[oe-commits] Martin Jansa : shr/merge: om-gta02 fix mkfs.ubifs params

git version control git at git.openembedded.org
Sat Oct 17 15:36:00 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: d1c254061bc717665274b02e5646a764afd1b0c3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d1c254061bc717665274b02e5646a764afd1b0c3

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Sat Oct 17 12:47:54 2009 +0000

shr/merge: om-gta02 fix mkfs.ubifs params

Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

---

 conf/machine/om-gta02.conf |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/conf/machine/om-gta02.conf b/conf/machine/om-gta02.conf
index e479236..1a613d5 100644
--- a/conf/machine/om-gta02.conf
+++ b/conf/machine/om-gta02.conf
@@ -42,7 +42,21 @@ EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 \
   ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.nosummary ; \
   mv ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.summary \
   ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2"
-EXTRA_IMAGECMD_ubifs = "-m 2048 -e 129024 -c 2047"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -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"
 
 # build / upload tools
 EXTRA_IMAGEDEPENDS += "sjf2410-linux-native dfu-util-native"





More information about the Openembedded-commits mailing list