summaryrefslogtreecommitdiff
path: root/conf/machine/compulab-pxa270.conf
blob: b0f6952eba921ab20d493adbac0fc28b6af459ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#@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.conf

# used by sysvinit_2
# the following is the for the cm-x270 L module
# I think the W module would use ttyS0, but has
# not been tested
SERIAL_CONSOLE ?= "38400 ttyS1"

# used by opie-collections.inc
ROOT_FLASH_SIZE ?= "32"

# for NAND flash.
EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pad=0x20000 --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"

# the following is require for building tiny images that can fit in NOR flash.
# recommend using uclibc, Angstrom, and angstrom-minimal-image bitbake target
# note, if these are define in your local.conf, they will be overwritten
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "mtd-utils ipkg"
IMAGE_FSTYPES ?= "jffs2 tar cpio.gz"