[oe-commits] Michael 'Mickey' Lauer : openezx-kernel: add current git kernel from openezx project

GIT User account git at amethyst.openembedded.net
Sat Nov 22 13:00:03 UTC 2008


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

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Fri Nov 21 20:34:20 2008 +0100

openezx-kernel: add current git kernel from openezx project
DEFAULT_PREFERENCE = -1 until we have tested that

---

 conf/distro/include/sane-srcrevs.inc |    1 +
 packages/linux/openezx-kernel_git.bb |   51 ++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index cbff119..1ce8d75 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -123,6 +123,7 @@ SRCREV_pn-osb-browser ?= "125"
 SRCREV_pn-osb-jscore ?= "117"
 SRCREV_pn-osb-nrcit ?= "125"
 SRCREV_pn-osb-nrcore ?= "126"
+SRCREV_pn-openezx-kernel ?= "cd10215486503506f53667d69958cc547a510cce"
 SRCREV_pn-openmoko-agpsui ?= "7"
 SRCREV_pn-openmoko-alsa-scenarios ?= "4732"
 SRCREV_pn-openmoko-appearance ?= "3262"
diff --git a/packages/linux/openezx-kernel_git.bb b/packages/linux/openezx-kernel_git.bb
new file mode 100644
index 0000000..f6ff307
--- /dev/null
+++ b/packages/linux/openezx-kernel_git.bb
@@ -0,0 +1,51 @@
+DESCRIPTION = "OpenEZX 2.6 Linux Development Kernel for the Motorola EZX GSM phones"
+AUTHOR = "The OpenEZX Team <openezx-devel at lists.openezx.org>"
+HOMEPAGE = "http://www.openezx.org"
+KV = "2.6.27"
+PV = "${KV}+gitr${SRCREV}"
+PR = "r0"
+
+require linux.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "\
+  git://git.openezx.org/openezx.git;protocol=git \
+"
+S = "${WORKDIR}/git"
+
+##############################################################
+# kernel image resides on a seperate flash partition (for now)
+# But we can flash it from userspace (flash_unlock /dev/mtdX && flash_eraseall /dev/mtdX && flashcp /boot/zImage /dev/mtdX)
+# so lets make a package of it. What about a postinst that flashes the new kernel?
+
+COMPATIBLE_HOST = "arm.*-linux"
+COMPATIBLE_MACHINE = '(a780|e680|a910|a1200|rorkre2|rokre6)'
+
+# For now the code for serial console is disabled in compress.c
+#CMDLINE_CON = "console=ttyS2,115200n8 console=tty1 "
+CMDLINE_CON = "console=tty1 "
+
+CMDLINE_ROOT = "root=/dev/mmcblk0p2 rootfstype=ext2 rootwait=1"
+CMDLINE_NFSROOT = "root=/dev/nfs rootfstype=nfs nfsroot=192.168.0.200:/export/ezx-image rootdelay=1 "
+# Uncomment to enable dyntick
+#CMDLINE_OTHER = "dyntick=enable"
+CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}'
+CMDLINE_IP = "ip=192.168.0.202:192.168.0.200:192.168.0.200:255.255.255.0"
+CMDLINE_MEM = "mem=32M at 0xA0000000 mem=16M at 0xAC000000"
+CMDLINE = "${CMDLINE_CON} ${CMDLINE_ROOT} ${CMDLINE_IP} ${CMDLINE_ROTATE} ${CMDLINE_OTHER} ${CMDLINE_DEBUG} ${CMDLINE_MEM}"
+# Uncomment to use root-over-nfs-over-usb
+#CMDLINE_NFSROOT_USB = "${CMDLINE_CON} ${CMDLINE_NFSROOT} ${CMDLINE_IP} ${CMDLINE_ROTATE} ${CMDLINE_OTHER} ${CMDLINE_DEBUG} ${CMDLINE_MEM}"
+
+# 1024x1024 once was the maximum kernel size for boot-over-usb -- is it still?
+#KERNEL_IMAGE_MAXSIZE = "1294336"
+
+###############################################################
+# module configs specific to this kernel
+#
+#module_autoload_pxaficp_ir = "pxaficp_ir"
+#module_autoload_snd-pcm-oss = "snd-pcm-oss"
+
+do_configure_prepend() {
+	install -m 0644 ${S}/arch/arm/configs/ezx_defconfig ${WORKDIR}/defconfig
+}





More information about the Openembedded-commits mailing list