All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] recovery-kernel: add recovery kernel dtb build for K2L and K2E
@ 2015-05-27 20:32 hzhang
  2015-05-29 13:46 ` Zhang, Hao
  2015-05-29 19:34 ` Denys Dmytriyenko
  0 siblings, 2 replies; 3+ messages in thread
From: hzhang @ 2015-05-27 20:32 UTC (permalink / raw)
  To: meta-arago

From: Hao Zhang <hzhang@ti.com>

The patch adds the Linux recovery kernel device tree build for K2L and
K2E devices based on kernel v3.10.72.

Signed-off-by: Hao Zhang <hzhang@ti.com>
---
 .../recovery-kernel/recovery-kernel_1.0.bb         |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb b/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
index ad3528e..6e4f9c7 100644
--- a/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
+++ b/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
@@ -1,10 +1,10 @@
 DESCRIPTION = "Recovery kernel building for Keystone EVM"
 LICENSE = "GPLv2"
 
-PR = "r2"
+PR = "r3"
 COMPATIBLE_MACHINE = "keystone"
-BRANCH = "master"
-SRCREV = "9bc93706b37c39c3a95593dc3d56773e9b7425ad"
+BRANCH = "v3.10.72/master"
+SRCREV = "b9bad8fccc5f9c6bcd78363982b3249a15f193fb"
 SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}"
 S = "${WORKDIR}/git"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 FILES_${PN} += "${bindir}/crashdump"
 LINUX_ZIMAGE = "zImage"
 KERNEL_MACHINE ?= "keystone2_recovery_defconfig"
-KERNEL_DTBTYPE = "k2hk-evm-recovery.dtb"
+KERNEL_DTBTYPE = "k2hk-evm-recovery.dtb k2l-evm-recovery.dtb k2e-evm-recovery.dtb "
 CRASHDIR = "crashdump"
 ARCH = "${TARGET_ARCH}"
 CROSS_COMPILE = "${TARGET_PREFIX}"
@@ -27,11 +27,17 @@ do_configure () {
 do_compile() {
 	make ${LINUX_ZIMAGE} KALLSYMS_EXTRA_PASS=1
 	make ${KERNEL_DTBTYPE}
-	dtc -I dtb -O dtb -p 2048 -o ${KERNEL_DTBTYPE} arch/arm/boot/dts/${KERNEL_DTBTYPE}
+        for d in ${KERNEL_DTBTYPE}
+        do
+            dtc -I dtb -O dtb -p 2048 -o $d arch/arm/boot/dts/$d
+        done
 }
 
 do_install () {
 	install -d ${D}${bindir}/${CRASHDIR}/
 	install ${S}/arch/arm/boot/${LINUX_ZIMAGE} ${D}${bindir}/${CRASHDIR}
-	install ${S}/${KERNEL_DTBTYPE} ${D}${bindir}/${CRASHDIR}
+        for d in ${KERNEL_DTBTYPE}
+        do
+            install ${S}/$d ${D}${bindir}/${CRASHDIR}
+        done
 }
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-29 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27 20:32 [PATCH] recovery-kernel: add recovery kernel dtb build for K2L and K2E hzhang
2015-05-29 13:46 ` Zhang, Hao
2015-05-29 19:34 ` Denys Dmytriyenko

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.