summaryrefslogtreecommitdiff
path: root/conf/machine/openrd-base.conf
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-09-14 22:32:39 +0200
committerLeon Woestenberg <leon@sidebranch.com>2009-09-14 22:33:57 +0200
commit757510da73d00b7587500c73223cf854f783fd8d (patch)
tree013b97324923067a86009d70348cc995c17926e4 /conf/machine/openrd-base.conf
parentc5e69bf053b1254f6235d33de498d993e8250913 (diff)
openrd-base: Support for Marvell Kirkwood ARM based OpenRD-Base board.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'conf/machine/openrd-base.conf')
-rw-r--r--conf/machine/openrd-base.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/conf/machine/openrd-base.conf b/conf/machine/openrd-base.conf
new file mode 100644
index 0000000000..5c2796593a
--- /dev/null
+++ b/conf/machine/openrd-base.conf
@@ -0,0 +1,21 @@
+#@NAME: ARM based OpenRD-Base
+
+MACHINE_EXTRA_RDEPENDS = "u-boot-utils"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+# 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 4096 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 4096"
+
+# 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"
+
+require conf/machine/include/kirkwood.inc