cm-x270: change kernel provider to linux
[vuplus_openembedded] / conf / machine / cm-x270.conf
1 #@TYPE: Machine
2 #@Name: Compulab cm-x270
3 #@DESCRIPTION: Machine configuration for Compulab cm-x270 computer module
4 #OLDEST_KERNEL = "2.6.16"
5 TARGET_ARCH = "arm"
6 PREFERRED_VERSION_compulab-pxa270 = "2.6.22"
7 GUI_MACHINE_CLASS ?= "bigscreen"
8
9 PREFERRED_PROVIDER_virtual/kernel = "linux"
10 PACKAGE_EXTRA_ARCHS = "armv4 armv5te"
11
12 require conf/machine/include/tune-xscale.inc
13
14 # console serial port.  If you have a L module
15 # the below works.  If you have a W module, add
16 # the following line to your local.conf:
17 #   CMX270_CONSOLE_SERIAL_PORT = "ttyS0"
18
19 # the following is for the cm-x270 L module
20 CMX270_CONSOLE_SERIAL_PORT ?= "ttyS1"
21
22 # used by sysvinit_2 package, so rebuild this
23 # package if you change the SERIAL_CONSOLE setting
24 # the following is the port for the cm-x270 L module
25 # I think the W module would use ttyS0, but has
26 # not been tested.  This can be overwritten in 
27 # local.conf
28 SERIAL_CONSOLE ?= "38400 ${CMX270_CONSOLE_SERIAL_PORT}"
29
30 # used by opie-collections.inc
31 ROOT_FLASH_SIZE ?= "32"
32
33 # for NAND flash.
34 EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pad --no-cleanmarkers;\
35         sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
36         -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
37         -e 0x20000 -p; \
38         cd ${DEPLOY_DIR_IMAGE}; \
39         rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \
40         ln -s ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
41         "
42
43 MACHINE_FEATURES = "kernel26 pcmcia usbhost usbgadget pcmcia touchscreen alsa"
44
45 # to program the compulab NAND flash, the following scheme is suggested.  Create
46 # a small rootfs that can fit in NOR flash using the following config:
47 #   - Angstrom distro
48 #   - uclibc (set ANGSTROM_MODE = "uclibc" in local.conf)
49 #   - angstrom-minimal-image-with-mtd-utils bitbake target
50 #   - put the following in your local.conf
51 #     - IMAGE_FSTYPES = "jffs2 tar cpio.gz"
52 # now, when you build the image, a cpio.gz will be generated
53 # that can be used as an initramfs.  You can boot into this image and then
54 # program the main rootfs jffs2 image in NAND flash using mtd-utils
55 # you can select booting the initramfs, or the main nand rootfs by using
56 # the "ramdisk on", or "ramdisk off" commands in the bootloader
57 #
58
59