[oe-commits] Koen Kooi : omap3evm: prefer -pm kernel, add ubifs stuff

GIT User account git at amethyst.openembedded.net
Fri Feb 27 17:16:36 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: c5cfeb76461890a04cbbc7877eb613efc296bb21
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c5cfeb76461890a04cbbc7877eb613efc296bb21

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Feb 27 18:14:54 2009 +0100

omap3evm: prefer -pm kernel, add ubifs stuff

---

 conf/machine/omap3evm.conf |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/conf/machine/omap3evm.conf b/conf/machine/omap3evm.conf
index 646db49..610b1df 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"
+





More information about the Openembedded-commits mailing list