From ef7b6b4d61dd6dd16e26dd8f77712c9c6816c718 Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Thu, 10 Dec 2009 00:59:01 +0100 Subject: Zaurus: initial 2.6.32 support. No defconfigs yet. --- conf/machine/include/zaurus-kernel.inc | 3 +++ recipes/linux/linux_2.6.32.bb | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/conf/machine/include/zaurus-kernel.inc b/conf/machine/include/zaurus-kernel.inc index d9f1c1ba85..1ba4a3422d 100644 --- a/conf/machine/include/zaurus-kernel.inc +++ b/conf/machine/include/zaurus-kernel.inc @@ -3,6 +3,9 @@ MACHINE_KERNEL_VERSION = "2.6" PREFERRED_PROVIDER_virtual/kernel = "linux-rp" + +# Starting with 2.6.32 linux-rp is deprecated +#PREFERRED_PROVIDER_virtual/kernel = "linux" PREFERRED_PROVIDER_virtual/kernel_collie = "linux" PREFERRED_PROVIDER_virtual/kernel_tosa = "linux" diff --git a/recipes/linux/linux_2.6.32.bb b/recipes/linux/linux_2.6.32.bb index 7f2ef0a2e8..99db01bf8b 100644 --- a/recipes/linux/linux_2.6.32.bb +++ b/recipes/linux/linux_2.6.32.bb @@ -7,6 +7,12 @@ S = "${WORKDIR}/linux-${PV}" # Mark archs/machines that this kernel supports DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_simone = "1" +DEFAULT_PREFERENCE_akita = "-1" +DEFAULT_PREFERENCE_c7x0 = "-1" +DEFAULT_PREFERENCE_collie = "-1" +DEFAULT_PREFERENCE_poodle = "-1" +DEFAULT_PREFERENCE_spitz = "-1" +DEFAULT_PREFERENCE_tosa = "-1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \ file://defconfig" @@ -24,3 +30,17 @@ SRC_URI_append_simone = " \ file://ep93xx/ep93xx-touchscreen.patch;patch=1 \ file://ep93xx/ep93xx-spi.patch;patch=1 \ file://ep93xx/ep93xx-cpuinfo.patch;patch=1 " + +# Zaurus family bootloader patches +RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" +ZAURUSPATCHES = " ${RPSRC}/pxa-linking-bug-r1.patch;patch=1;status=unmergable;name=pxa-linking-bug-r1 " +SRC_URI[pxa-linking-bug-r1.md5sum] = "1e2a99787260c3566033e7f41180e2c8" +SRC_URI[pxa-linking-bug-r1.sha256sum] = "785d2680022325ad54c1593082dce902f5fee31dae4c1922ba43956b1dcfcd8b" + +# Machine specific patches +SRC_URI_append_akita = "${ZAURUSPATCHES}" +SRC_URI_append_c7x0 = "${ZAURUSPATCHES}" +SRC_URI_append_collie = "${ZAURUSPATCHES}" +SRC_URI_append_poodle = "${ZAURUSPATCHES}" +SRC_URI_append_spitz = "${ZAURUSPATCHES}" +SRC_URI_append_tosa = "${ZAURUSPATCHES}" -- cgit v1.2.3