summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-02-12 23:03:39 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-12 23:03:39 +0100
commit76af265d0f1a9ed377dbaba7be03fe23643910fe (patch)
tree7975981ca608f89623c18601e51cc40b0f30e6b7 /conf
parent3dd14f08d7a5ed4fac8019b7292488dd27f0c5ef (diff)
beagleboard: add ubifs params and document how to get them if you have access to the real hardware
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/beagleboard.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
index c95c373d2c..78c63019ae 100644
--- a/conf/machine/beagleboard.conf
+++ b/conf/machine/beagleboard.conf
@@ -32,6 +32,21 @@ UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
UBOOT_MACHINE = "omap3_beagle_config"
+# 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 1996"
+
+# 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"
+
PREFERRED_VERSION_u-boot = "git"
EXTRA_IMAGEDEPENDS += "u-boot x-load"