summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-11-02 14:58:48 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-11-02 14:58:48 +0000
commit594a2c2edb02b52d1a407955d9c8055a04ea17e2 (patch)
treeacf3538983eecfdfc029935c9afbe03374f43a59
parentae748c188423955ca4ce29367d53f8be519329a8 (diff)
downloadopenembedded-core-594a2c2edb02b52d1a407955d9c8055a04ea17e2.tar.gz
openembedded-core-594a2c2edb02b52d1a407955d9c8055a04ea17e2.tar.bz2
openembedded-core-594a2c2edb02b52d1a407955d9c8055a04ea17e2.zip
em-x270: added machine config from OE (and a bit of cleaning)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3061 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/machine/em-x270.conf55
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/conf/machine/em-x270.conf b/meta/conf/machine/em-x270.conf
new file mode 100644
index 0000000000..6a8d579bf0
--- /dev/null
+++ b/meta/conf/machine/em-x270.conf
@@ -0,0 +1,55 @@
+#@TYPE: Machine
+#@NAME: EM-X270
+#@DESCRIPTION: Machine configuration for the CompuLab EM-X270 with a pxa27x CPU
+
+#
+# Hardware-based properties
+#
+TARGET_ARCH = "arm"
+GUI_MACHINE_CLASS ?= "bigscreen"
+
+PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt "
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+
+# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
+require conf/machine/include/tune-xscale.inc
+
+# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
+# require conf/machine/include/tune-iwmmxt.inc
+
+ROOT_FLASH_SIZE = "128"
+IMAGE_CMD_jffs2 = " \
+/usr/sbin/mkfs.jffs2 --root=${IMAGE_ROOTFS} \
+ --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
+ --eraseblock=0x20000 --pad --faketime -n; \
+/usr/sbin/sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
+ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
+ -e 0x20000 -p; \
+ cd ${DEPLOY_DIR_IMAGE}; \
+ rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \
+ ln -fs ${IMAGE_NAME}.rootfs-summary.jffs2 \
+ ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
+"
+
+#VOLATILE_STORAGE_SIZE = "128"
+MACHINE_DISPLAY_WIDTH_PIXELS ?= "480"
+MACHINE_DISPLAY_HEIGHT_PIXELS ?= "640"
+MACHINE_FEATURES = "kernel26 touchscreen apm alsa bluetooth wifi usbhost usbgadget screen phone "
+
+#
+# Software/packages selection
+#
+
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+
+#
+# Modules autoload and other boot properties
+#
+module_autoload_evdev = "evdev"
+module_autoload_mmc_block = "mmc_block"
+module_autoload_pxa27x_udc = "pxa27x_udc"
+
+#FIXME: this should be controlled by a userspace utility later.
+module_autoload_g_ether = "g_ether"
+
+SERIAL_CONSOLE = "115200 ttyS0"