summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/zaurus-2.6.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/zaurus-2.6.inc')
-rw-r--r--meta/conf/machine/include/zaurus-2.6.inc72
1 files changed, 0 insertions, 72 deletions
diff --git a/meta/conf/machine/include/zaurus-2.6.inc b/meta/conf/machine/include/zaurus-2.6.inc
deleted file mode 100644
index aec61c7cfb..0000000000
--- a/meta/conf/machine/include/zaurus-2.6.inc
+++ /dev/null
@@ -1,72 +0,0 @@
1# Zaurus specific configuration for kernel 2.6
2# Additionally, clamshell specific stuff in zaurus-clamshell.inc
3
4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te"
6PACKAGE_EXTRA_ARCHS_collie = ""
7
8MACHINE_KERNEL_VERSION = "2.6"
9
10ERASEBLOCKSIZE = "0x4000"
11ERASEBLOCKSIZE_akita = "0x20000"
12
13EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${ERASEBLOCKSIZE} --pad --faketime -n"
14IMAGE_CMD_jffs2 = "mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}"
15EXTRA_IMAGEDEPENDS += "zaurus-updater"
16
17SERIAL_CONSOLE = "115200 ttyS0"
18SERIAL_CONSOLE_collie = "115200 ttySA0"
19
20PREFERRED_PROVIDER_virtual/kernel = "linux-rp"
21PREFERRED_PROVIDER_xserver = "xserver-kdrive"
22
23PCMCIA_MANAGER ?= "pcmciautils"
24
25MACHINE_FEATURES = "kernel26 apm alsa pcmcia irda usbgadget keyboard touchscreen screen vfat"
26MACHINE_FEATURES_append_tosa = " usbhost wifi "
27MACHINE_FEATURES_append_akita = " usbhost "
28MACHINE_FEATURES_append_spitz = " usbhost ext2 "
29
30MACHINE_EXTRA_RDEPENDS = "zaurusd"
31MACHINE_EXTRA_RRECOMMENDS_c7x0 = "kernel-module-snd-soc-corgi kernel-module-pxa2xx-cs kernel-module-pcmcia"
32MACHINE_EXTRA_RRECOMMENDS_akita = "kernel-module-snd-soc-spitz kernel-module-pxa2xx-cs kernel-module-pcmcia"
33MACHINE_EXTRA_RRECOMMENDS_spitz = "kernel-module-snd-soc-spitz"
34MACHINE_EXTRA_RRECOMMENDS_poodle = "kernel-module-snd-soc-poodle"
35
36GUI_MACHINE_CLASS = "bigscreen"
37GUI_MACHINE_CLASS_collie = "smallscreen"
38GUI_MACHINE_CLASS_poodle = "smallscreen"
39
40KERNEL_IMAGE_MAXSIZE = "1294336"
41KERNEL_IMAGE_MAXSIZE_collie = "1048576"
42
43MACHINE_POSTPROCESS_COMMAND = "zaurus_make_installkit"
44
45zaurus_make_installkit () {
46 cd ${DEPLOY_DIR_IMAGE}
47 rm -rf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/
48 mkdir ${IMAGE_NAME}-installkit/
49
50 # Get the latest kernel using the zImage-<machine>.bin symlink
51 cp zImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage
52
53 if [ "${MACHINE}" = "spitz" ]; then
54 cp gnu-tar ${IMAGE_NAME}-installkit/
55 cp ${IMAGE_NAME}.rootfs.tar.gz ${IMAGE_NAME}-installkit/hdimage1.tgz
56 else
57 [ -f ${IMAGE_NAME}.rootfs.jffs2 ] && cp ${IMAGE_NAME}.rootfs.jffs2 ${IMAGE_NAME}-installkit/initrd.bin
58 fi
59
60 # All zaurus machines except collie need updater.sh
61 if [ "${MACHINE}" != "collie" ]; then
62 cp updater.sh.${MACHINE} ${IMAGE_NAME}-installkit/updater.sh
63 fi
64
65 tar czf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tgz ${IMAGE_NAME}-installkit/
66 md5sum ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tgz > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit.tgz.md5
67 rm -rf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/
68}
69
70# Don't include kernels in standard images for Zaurus machines
71RDEPENDS_kernel-base = ""
72KERNEL_IMAGETYPE = "zImage"