summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-10-14 19:51:43 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-10-14 19:51:43 +0200
commit1ada943b5ef7181c23cd607c116257bf536f762c (patch)
tree7b0a24e618b39176b672736da70c17ef413eda3c /conf
parentb5a8e68560c6fa47e9c8011c997ccdd260490d06 (diff)
openrd-client: added machine configuration
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/openrd-client.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/conf/machine/openrd-client.conf b/conf/machine/openrd-client.conf
new file mode 100644
index 0000000000..9a7625feff
--- /dev/null
+++ b/conf/machine/openrd-client.conf
@@ -0,0 +1,21 @@
+#@NAME: ARM based OpenRD-Client
+
+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