From e30afac76793f8ac3b4a5d3bf077408bfa82c34a Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Sat, 6 Oct 2007 19:05:10 +0000 Subject: rename compulab-pxa270 machine to cm-x270 --- conf/machine/cm-x270.conf | 59 +++++++++++++++++++++++++++++++++++++++ conf/machine/compulab-pxa270.conf | 59 --------------------------------------- 2 files changed, 59 insertions(+), 59 deletions(-) create mode 100644 conf/machine/cm-x270.conf delete mode 100644 conf/machine/compulab-pxa270.conf (limited to 'conf') diff --git a/conf/machine/cm-x270.conf b/conf/machine/cm-x270.conf new file mode 100644 index 0000000000..c712c3728e --- /dev/null +++ b/conf/machine/cm-x270.conf @@ -0,0 +1,59 @@ +#@TYPE: Machine +#@Name: Compulab cm-x270 +#@DESCRIPTION: Machine configuration for Compulab cm-x270 computer module +#OLDEST_KERNEL = "2.6.16" +TARGET_ARCH = "arm" +PREFERRED_VERSION_compulab-pxa270 = "2.6.22" +GUI_MACHINE_CLASS ?= "bigscreen" + +PREFERRED_PROVIDER_virtual/kernel = "compulab-pxa270" +PACKAGE_EXTRA_ARCHS = "armv4 armv5te" + +require conf/machine/include/tune-xscale.inc + +# console serial port. If you have a L module +# the below works. If you have a W module, add +# the following line to your local.conf: +# CMX270_CONSOLE_SERIAL_PORT = "ttyS0" + +# the following is for the cm-x270 L module +CMX270_CONSOLE_SERIAL_PORT ?= "ttyS1" + +# used by sysvinit_2 package, so rebuild this +# package if you change the SERIAL_CONSOLE setting +# the following is the port for the cm-x270 L module +# I think the W module would use ttyS0, but has +# not been tested. This can be overwritten in +# local.conf +SERIAL_CONSOLE ?= "38400 ${CMX270_CONSOLE_SERIAL_PORT}" + +# used by opie-collections.inc +ROOT_FLASH_SIZE ?= "32" + +# for NAND flash. +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pad --no-cleanmarkers;\ + 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_LINK_NAME}.rootfs-summary.jffs2; \ + ln -s ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \ + " + +MACHINE_FEATURES = "kernel26 pcmcia usbhost usbgadget pcmcia touchscreen alsa" + +# to program the compulab NAND flash, the following scheme is suggested. Create +# a small rootfs that can fit in NOR flash using the following config: +# - Angstrom distro +# - uclibc (set ANGSTROM_MODE = "uclibc" in local.conf) +# - angstrom-minimal-image-with-mtd-utils bitbake target +# - put the following in your local.conf +# - IMAGE_FSTYPES = "jffs2 tar cpio.gz" +# now, when you build the image, a cpio.gz will be generated +# that can be used as an initramfs. You can boot into this image and then +# program the main rootfs jffs2 image in NAND flash using mtd-utils +# you can select booting the initramfs, or the main nand rootfs by using +# the "ramdisk on", or "ramdisk off" commands in the bootloader +# + + diff --git a/conf/machine/compulab-pxa270.conf b/conf/machine/compulab-pxa270.conf deleted file mode 100644 index ff0eb42a11..0000000000 --- a/conf/machine/compulab-pxa270.conf +++ /dev/null @@ -1,59 +0,0 @@ -#@TYPE: Machine -#@Name: Compulab PXA270 system -#@DESCRIPTION: Machine configuration for Compulab PXA270 system -#OLDEST_KERNEL = "2.6.16" -TARGET_ARCH = "arm" -PREFERRED_VERSION_compulab-pxa270 = "2.6.22" -GUI_MACHINE_CLASS ?= "bigscreen" - -PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}" -PACKAGE_EXTRA_ARCHS = "armv4 armv5te" - -require conf/machine/include/tune-xscale.inc - -# console serial port. If you have a L module -# the below works. If you have a W module, add -# the following line to your local.conf: -# CMX270_CONSOLE_SERIAL_PORT = "ttyS0" - -# the following is for the cm-x270 L module -CMX270_CONSOLE_SERIAL_PORT ?= "ttyS1" - -# used by sysvinit_2 package, so rebuild this -# package if you change the SERIAL_CONSOLE setting -# the following is the for the cm-x270 L module -# I think the W module would use ttyS0, but has -# not been tested. This can be overwritten in -# local.conf -SERIAL_CONSOLE ?= "38400 ${CMX270_CONSOLE_SERIAL_PORT}" - -# used by opie-collections.inc -ROOT_FLASH_SIZE ?= "32" - -# for NAND flash. -EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pad --no-cleanmarkers;\ - 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_LINK_NAME}.rootfs-summary.jffs2; \ - ln -s ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \ - " - -MACHINE_FEATURES = "kernel26 pcmcia usbhost usbgadget pcmcia touchscreen alsa" - -# to program the compulab NAND flash, the following scheme is suggested. Create -# a small rootfs that can fit in NOR flash using the following config: -# - Angstrom distro -# - uclibc (set ANGSTROM_MODE = "uclibc" in local.conf) -# - angstrom-minimal-image-with-mtd-utils bitbake target -# - put the following in your local.conf -# - IMAGE_FSTYPES = "jffs2 tar cpio.gz" -# now, when you build the image, a cpio.gz will be generated -# that can be used as an initramfs. You can boot into this image and then -# program the main rootfs jffs2 image in NAND flash using mtd-utils -# you can select booting the initramfs, or the main nand rootfs by using -# the "ramdisk on", or "ramdisk off" commands in the bootloader -# - - -- cgit v1.2.3