summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-02-27 18:14:54 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-27 18:14:54 +0100
commitc5cfeb76461890a04cbbc7877eb613efc296bb21 (patch)
tree65b6afb4dd18a361c7cb3617680c0e2b6f339ca6
parent47a6f40a74512280ab93b3a8f7f213c45cf60746 (diff)
omap3evm: prefer -pm kernel, add ubifs stuff
-rw-r--r--conf/machine/omap3evm.conf19
1 files changed, 18 insertions, 1 deletions
diff --git a/conf/machine/omap3evm.conf b/conf/machine/omap3evm.conf
index 646db492ef..610b1dfc12 100644
--- a/conf/machine/omap3evm.conf
+++ b/conf/machine/omap3evm.conf
@@ -25,7 +25,7 @@ EXTRA_IMAGECMD_jffs2 = "-lnp "
SERIAL_CONSOLE = "115200 ttyS0"
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-omap"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-omap-pm"
KERNEL_IMAGETYPE = "uImage"
@@ -36,3 +36,20 @@ UBOOT_MACHINE = "omap3_evm_config"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
+# NOTE: there are NAND and OneNAND versions of this board...
+
+# 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"
+