summaryrefslogtreecommitdiff
path: root/conf/machine/hawkboard.conf
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-02-22 13:27:59 +0100
committerKoen Kooi <koen@openembedded.org>2010-02-22 13:27:59 +0100
commit1e454b85564ce9256d9a911059759bc7081dc922 (patch)
treef21092c3545841f19679b420b0fc00516e2ba920 /conf/machine/hawkboard.conf
parent0452a571a031a9977b5096780d33a5bcc9d26bad (diff)
hawkboard: add ubifs support, number of LEBs might change due pending kernel partition change
Diffstat (limited to 'conf/machine/hawkboard.conf')
-rw-r--r--conf/machine/hawkboard.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/machine/hawkboard.conf b/conf/machine/hawkboard.conf
index ae53a53377..7251de70c1 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"