summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/cm-x300.conf37
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 0000000000..8e78ace10f
--- /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"