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