From: Carlos Hernandez <ceh@ti.com>
To: <meta-arago@arago-project.org>
Subject: [PATCH] Define linux-am335x-upstream-staging recipe
Date: Wed, 5 Dec 2012 16:39:18 -0500 [thread overview]
Message-ID: <50BFBF06.7050107@ti.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
AUTOREV recipe for github.com/hvaibhav/am335x-linux.git
Please consider for meta-arago. Thanks,
Carlos
[-- Attachment #2: 0003-Define-linux-am335x-upstream-staging-recipe.patch --]
[-- Type: text/x-patch, Size: 2203 bytes --]
From 193cdfd5104d55d6b71973e41b0874d7cd6f591a Mon Sep 17 00:00:00 2001
From: Carlos Hernandez <ceh@ti.com>
Date: Tue, 4 Dec 2012 17:32:18 -0500
Subject: [PATCH 03/12] Define linux-am335x-upstream-staging recipe
AUTOREV recipe for github.com/hvaibhav/am335x-linux.git
Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
.../linux/linux-am335x-upstream-staging_git.bb | 48 ++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb
diff --git a/meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb b/meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb
new file mode 100644
index 0000000..61454cf
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb
@@ -0,0 +1,48 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+KERNEL_IMAGETYPE = "uImage"
+
+inherit kernel
+require setup-dtb.inc
+
+# Stage the power management firmware before building the kernel
+DEPENDS += "am33x-cm3"
+
+KERNEL_DEVICETREE_am335x-evm = "arch/arm/boot/dts/am335x-evm.dts"
+
+COMPATIBLE_MACHINE = "ti33x"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "am335x-upstream-staging"
+
+SRCREV = "${AUTOREV}"
+PV = "3.7"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR_append = "r11+gitr${SRCPV}"
+
+KVER = "${PV}"
+PSPREL = "-prerelease"
+
+# Override the SRC_URI from the linux-omap3.inc file
+SRC_URI = "git://github.com/hvaibhav/am335x-linux.git;protocol=git;branch=${BRANCH} \
+"
+
+do_setup_defconfig() {
+ :
+}
+
+do_configure() {
+ make ARCH=arm omap2plus_defconfig
+}
+
+# Copy the am33x-cm3 firmware if it is available
+do_compile_prepend() {
+ if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ]
+ then
+ cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware"
+ fi
+}
--
1.7.0.4
reply other threads:[~2012-12-05 21:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50BFBF06.7050107@ti.com \
--to=ceh@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.