summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/cm-x270.conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 12:41:50 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 12:41:50 +0000
commit45dc7ba72bb986757ee6a71596f0cc2aae078f9b (patch)
treec3f39340e49934afa0ea295c566b3466d4e02a61 /meta/conf/machine/cm-x270.conf
parent7bdce63ffd0e868f1b60bbc29d7e26d5196b7422 (diff)
downloadpoky-45dc7ba72bb986757ee6a71596f0cc2aae078f9b.tar.gz
cm-x270: merged support for misc NAND chips (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3526 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/machine/cm-x270.conf')
-rw-r--r--meta/conf/machine/cm-x270.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/conf/machine/cm-x270.conf b/meta/conf/machine/cm-x270.conf
index 69a9964755..1b6188753e 100644
--- a/meta/conf/machine/cm-x270.conf
+++ b/meta/conf/machine/cm-x270.conf
@@ -6,6 +6,7 @@ TARGET_ARCH = "arm"
6GUI_MACHINE_CLASS ?= "bigscreen" 6GUI_MACHINE_CLASS ?= "bigscreen"
7 7
8PREFERRED_PROVIDER_virtual/kernel = "linux" 8PREFERRED_PROVIDER_virtual/kernel = "linux"
9PREFERRED_VERSION_linux ?= "2.6.23"
9 10
10PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt" 11PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt"
11 12
@@ -16,6 +17,13 @@ require conf/machine/include/tune-xscale.inc
16# the following line to your local.conf: 17# the following line to your local.conf:
17# CMX270_CONSOLE_SERIAL_PORT = "ttyS0" 18# CMX270_CONSOLE_SERIAL_PORT = "ttyS0"
18 19
20# NAND flash eraseblock size
21# most of the older cm-x270 modules are populated with NAND flash
22# that have 128KiB eraseblocks. Recently, a user encounted
23# a device that has 16KiB eraseblocks. The following define
24# can be overridden in local.conf if you have one of these devices.
25CMX270_NAND_ERASEBLOCK_SIZE ?= "0x20000"
26
19# the following is for the cm-x270 L module 27# the following is for the cm-x270 L module
20CMX270_CONSOLE_SERIAL_PORT ?= "ttyS1" 28CMX270_CONSOLE_SERIAL_PORT ?= "ttyS1"
21 29
@@ -31,10 +39,10 @@ SERIAL_CONSOLE ?= "38400 ${CMX270_CONSOLE_SERIAL_PORT}"
31ROOT_FLASH_SIZE ?= "32" 39ROOT_FLASH_SIZE ?= "32"
32 40
33# for NAND flash. 41# for NAND flash.
34EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pad --no-cleanmarkers;\ 42EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${CMX270_NAND_ERASEBLOCK_SIZE} --pad --no-cleanmarkers;\
35 sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ 43 sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
36 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ 44 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
37 -e 0x20000 -p; \ 45 -e ${CMX270_NAND_ERASEBLOCK_SIZE} -p; \
38 cd ${DEPLOY_DIR_IMAGE}; \ 46 cd ${DEPLOY_DIR_IMAGE}; \
39 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \ 47 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 \ 48 ln -s ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \