[oe-commits] Koen Kooi : hawkboard: add ubifs support, number of LEBs might change due pending kernel partition change

git version control git at git.openembedded.org
Mon Feb 22 12:28:57 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1e454b85564ce9256d9a911059759bc7081dc922
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1e454b85564ce9256d9a911059759bc7081dc922

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Feb 22 13:27:59 2010 +0100

hawkboard: add ubifs support, number of LEBs might change due pending kernel partition change

---

 conf/machine/hawkboard.conf |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/conf/machine/hawkboard.conf b/conf/machine/hawkboard.conf
index ae53a53..7251de7 100644
--- a/conf/machine/hawkboard.conf
+++ b/conf/machine/hawkboard.conf
@@ -11,4 +11,19 @@ UBOOT_LOADADDRESS = "0xc0008000"
 
 MACHINE_FEATURES = "kernel26 serial ethernet ide screen"
 
+# 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 960 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 960"
+
+# 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"
+
 SERIAL_CONSOLE = "115200 ttyS2"





More information about the Openembedded-commits mailing list