From 6ac35c4a12465f744fadc9f7123ace504ef29f1d Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 17 Oct 2007 16:37:11 +0000 Subject: em-x270: add machine/kernel support (from compulab) em-x270 kernel recipe will likely be merged with linux_2.6.23 shortly ... --- conf/machine/em-x270.conf | 67 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 conf/machine/em-x270.conf (limited to 'conf') diff --git a/conf/machine/em-x270.conf b/conf/machine/em-x270.conf new file mode 100644 index 0000000000..576af246c4 --- /dev/null +++ b/conf/machine/em-x270.conf @@ -0,0 +1,67 @@ +#@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 = "arm armv4 armv4t armv5te iwmmxt " +PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}" + +# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. +#require conf/machine/include/tune-xscale.conf + +# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first +# require conf/machine/include/tune-iwmmxt.conf +require conf/machine/include/tune-xscale.conf + +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 +# + +#PCMCIA_MANAGER = "pcmciautils" +PREFERRED_VERSION_em-x270 = "2.6.23" +MODUTILS = "26" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +#PREFERRED_VERSION_orinoco-modules = "0.15rc1" + +MACHINE_EXTRA_RDEPENDS = "" +MACHINE_EXTRA_RRECOMMENDS = "kernel-module-nls-cp437 \ + kernel-module-nls-iso8859-1 \ + kernel-module-nls-utf8 \ + " + +# +# 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" -- cgit v1.2.3