[oe-commits] Stefan Schmidt : linux-palmpre: Add kernel recipe for the Palm Pre.

git version control git at git.openembedded.org
Fri Sep 25 00:17:11 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: de00ea5152804f562b47bd9171375eb64519c49d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=de00ea5152804f562b47bd9171375eb64519c49d

Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date:   Thu Sep 24 23:54:31 2009 +0000

linux-palmpre: Add kernel recipe for the Palm Pre.

We use a standard 2.6.24 as base and apply the palm patch on top of it. That
should give us the identical kernel. (hope dies last) :) The output still needs
to be tested on a real device.

---

 conf/checksums.ini                    |    4 ++++
 recipes/linux/linux-palmpre_2.6.24.bb |   15 +++++++++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index ac0f85e..ba83130 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -16074,6 +16074,10 @@ sha256=d4e67c0935ffb2a4158234bff92cc791b83177866009fc9b2214104e0038dbdb
 md5=f0e143ed696bb064804cf0970718b414
 sha256=7aad0d9df138fa99332a82ca69eb07504b04e9b0a3cdb405ce872ca3bd4f44ac
 
+[http://palm.cdnetworks.net/opensource/1.1.0/linux-2.6.24-patch.gz]
+md5=1c5547aa497a7eae9fa52ed4df4b0f11
+sha256=5f7c232f9216ce45f0ab0045098cd2b21b6f2f8a7668bffd2e06040a5b87ba84
+
 [http://avr32linux.org/twiki/pub/Main/LinuxPatches/linux-2.6.24.3.atmel.3.tar.bz2]
 md5=952715cc523f4a77e7c5f94f608594c0
 sha256=d26a1de101692958fbca1d1be40fe52bd605636baea616a3e8ed96e422a3648d
diff --git a/recipes/linux/linux-palmpre_2.6.24.bb b/recipes/linux/linux-palmpre_2.6.24.bb
new file mode 100644
index 0000000..9d5bc20
--- /dev/null
+++ b/recipes/linux/linux-palmpre_2.6.24.bb
@@ -0,0 +1,15 @@
+require linux.inc
+
+DESCRIPTION = "Linux kernel for Palm Pre. Original version of Palm, Inc."
+KERNEL_IMAGETYPE = "uImage"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+           http://palm.cdnetworks.net/opensource/1.1.0/linux-2.6.24-patch.gz;patch=1 \
+           "
+
+S = "${WORKDIR}/linux-2.6.24"
+
+# We try to build the identical kernel as Palms here, use their defconfig.
+do_configure_prepend() {
+        install -m 0644 ${S}/arch/arm/configs/omap_sirloin_3430_defconfig ${WORKDIR}/defconfig
+}





More information about the Openembedded-commits mailing list