[oe-commits] Siebren Hakkesteegt : cm-x300: add machine configuration

git version control git at git.openembedded.org
Fri Apr 16 21:14:56 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: e60f96375915cf93f33222c1097a0828f19c38ea
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e60f96375915cf93f33222c1097a0828f19c38ea

Author: Siebren Hakkesteegt <shakkesteegt+oe at gmail.com>
Date:   Wed Apr 14 03:26:36 2010 +0000

cm-x300: add machine configuration

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

---

 conf/machine/cm-x300.conf |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/conf/machine/cm-x300.conf b/conf/machine/cm-x300.conf
new file mode 100644
index 0000000..8e78ace
--- /dev/null
+++ b/conf/machine/cm-x300.conf
@@ -0,0 +1,37 @@
+#@TYPE: Machine
+#@NAME: Compulab CM-X300
+#@DESCRIPTION: Machine configuration for the Compulab CM-X300 (http://www.compulab.co.il/x300/html/x300-cm-datasheet.htm)
+
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+
+KERNEL_IMAGETYPE = "uImage"
+UBOOT_ENTRYPOINT = "A0008000"
+
+require conf/machine/include/tune-xscale.inc
+PACKAGE_EXTRA_ARCHS = "armv5te iwmmxt"
+
+CMX300_CONSOLE_SERIAL_PORT ?= "ttyS2"
+SERIAL_CONSOLE ?= "38400 ${CMX300_CONSOLE_SERIAL_PORT}"
+
+CMDLINE_cm-x300 = "ubi.mtd=5 root=ubi0:cm-x300-rootfs rootfstype=ubifs console=${CMX300_CONSOLE_SERIAL_PORT},38400"
+
+IMAGE_FSTYPES += "ubi"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    126976 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 4095 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 126976 -c 4095"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+UBINIZE_ARGS = "-m 2048 -p 128KiB "
+
+MACHINE_EXTRA_RRECOMMENDS = "marvell-sdio-fw"
+MACHINE_FEATURES = "kernel26 touchscreen alsa bluetooth wifi usbhost usbgadget screen serial vfat iwmmxt"





More information about the Openembedded-commits mailing list