summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/machine/blueangel.conf35
-rw-r--r--packages/linux/xanadux-ba-2.6_2.6.12.bb17
2 files changed, 52 insertions, 0 deletions
diff --git a/conf/machine/blueangel.conf b/conf/machine/blueangel.conf
new file mode 100644
index 0000000000..ef9bd3419e
--- /dev/null
+++ b/conf/machine/blueangel.conf
@@ -0,0 +1,35 @@
+#@TYPE: Machine
+#@NAME: HTC Blueangel
+#@DESCRIPTION: Machine configuration for the HTC Blueangel device
+
+KERNEL ?= "kernel26"
+
+OVERRIDES =. "${KERNEL}:"
+
+TARGET_ARCH = "arm"
+IPKG_ARCHS = "all arm armv4 armv4t armv5e armv5te ipaqpxa blueangel"
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/kernel_kernel26 = "xanadux-ba-2.6"
+PREFERRED_PROVIDER_virtual/kernel = "xanadux-ba-2.6"
+
+BOOTSTRAP_EXTRA_DEPENDS = "ipaq-boot-params"
+BOOTSTRAP_EXTRA_DEPENDS_append_kernel26 = " xanadux-ba-2.6 udev module-init-tools"
+
+BOOTSTRAP_EXTRA_RDEPENDS = "kernel ipaq-boot-params ${@linux_module_packages('${BA_MODULES}', d)}"
+BOOTSTRAP_EXTRA_RDEPENDS_append_kernel26 = " udev module-init-tools"
+
+BA_MODULES_kernel26 = " evdev tsdev himalaya_tsc2200 himalaya_ts3 asic3_mmc mmc_core g_ether blueangel_battery \
+ pcmcia-core hci_uart blueangel_pcmcia snd-mixer-oss blueangel_audio blueangel_rom blueangel_kp"
+# pxa2xx_udc is built in to the kernel
+
+SERIAL_CONSOLE = "115200 tts/2 vt100"
+
+USE_VT = "0"
+
+include conf/machine/handheld-common.conf
+
+GUI_MACHINE_CLASS = "smallscreen"
+ROOT_FLASH_SIZE = "32"
+
+# optimize images, but build feeds without using tune-xscale so as to retain backwards compatibility
+include conf/machine/tune-xscale.conf
diff --git a/packages/linux/xanadux-ba-2.6_2.6.12.bb b/packages/linux/xanadux-ba-2.6_2.6.12.bb
new file mode 100644
index 0000000000..7935fe7196
--- /dev/null
+++ b/packages/linux/xanadux-ba-2.6_2.6.12.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Xanadux Blueangel kernel based on the hh 2.6.12"
+MAINTAINER = "Ian Jordan <immolo@lycos.co.uk>"
+LICENSE = "GPL"
+PR="r0"
+
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/xanadux;method=pserver;module=linux-2.6-xda;tag=K2-6-12-hh2-xda0-ba0"
+S = "${WORKDIR}/linux-2.6-xda"
+
+COMPATIBLE_HOST = "arm.*-linux"
+
+inherit kernel
+
+do_configure() {
+ cp arch/arm/configs/blueangel_defconfig .config || die "No default configuration for ${MACHINE} available."
+ yes '' | oe_runmake oldconfig
+}
+