increase dvbapp PR.
[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 TARGET_ARCH = "arm"
5 GUI_MACHINE_CLASS ?= "bigscreen"
6
7 PREFERRED_PROVIDER_virtual/kernel = "linux"
8
9 PACKAGE_EXTRA_ARCHS = " iwmmxt"
10
11 require conf/machine/include/tune-xscale.inc
12
13 # console serial port.  If you have a L module
14 # the below works.  If you have a W module, add
15 # the following line to your local.conf:
16 #   CMX270_CONSOLE_SERIAL_PORT = "ttyS0"
17
18 # NAND flash eraseblock size
19 # most of the older cm-x270 modules are populated with NAND flash
20 # that have 128KiB eraseblocks.  Recently, a user encounted
21 # a device that has 16KiB eraseblocks.  The following define
22 # can be overridden in local.conf if you have one of these devices.
23 CMX270_NAND_ERASEBLOCK_SIZE ?= "0x20000"
24
25 # the following is for the cm-x270 L module
26 CMX270_CONSOLE_SERIAL_PORT ?= "ttyS1"
27
28 # used by sysvinit_2 package, so rebuild this
29 # package if you change the SERIAL_CONSOLE setting
30 # the following is the port for the cm-x270 L module
31 # I think the W module would use ttyS0, but has
32 # not been tested.  This can be overwritten in 
33 # local.conf
34 SERIAL_CONSOLE ?= "38400 ${CMX270_CONSOLE_SERIAL_PORT}"
35
36 # used by opie-collections.inc
37 ROOT_FLASH_SIZE ?= "32"
38
39 # for NAND flash.
40 EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${CMX270_NAND_ERASEBLOCK_SIZE} --pad --no-cleanmarkers;\
41         sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
42         -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
43         -e ${CMX270_NAND_ERASEBLOCK_SIZE} -p; \
44         cd ${DEPLOY_DIR_IMAGE}; \
45         rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \
46         ln -s ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \
47         "
48
49 MACHINE_FEATURES = "kernel26 pcmcia usbhost usbgadget pcmcia touchscreen alsa iwmmxt"
50
51 # to program the compulab NAND flash, the following scheme is suggested.  Create
52 # a small rootfs that can fit in NOR flash using the following config:
53 #   - Angstrom distro
54 #   - uclibc (set ANGSTROMLIBC = "uclibc" in local.conf)
55 #   - angstrom-minimal-image-with-mtd-utils bitbake target
56 #   - put the following in your local.conf
57 #     - IMAGE_FSTYPES = "jffs2 tar cpio.gz"
58 # now, when you build the image, a cpio.gz will be generated
59 # that can be used as an initramfs.  You can boot into this image and then
60 # program the main rootfs jffs2 image in NAND flash using mtd-utils
61 # you can select booting the initramfs, or the main nand rootfs by using
62 # the "ramdisk on", or "ramdisk off" commands in the bootloader
63 #
64
65