Skip to contentSkip to conversation

Karthik Ramanan : ipumm-fw: Install map file into the targetfs

PATCH Arago Project git 1 participant 1 message Jul 20, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: krogoth
Commit: f0385d19a2aea72566849b20060189ac12c2826f
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=f0385d19a2aea72566849b20060189ac12c2826f
Author: Karthik Ramanan <[email protected]>
Date:   Tue Jul 12 12:58:40 2016 +0000

ipumm-fw: Install map file into the targetfs

This will be required to analyze the remoteproc crash related issues, whenever it occurs.

---

 recipes-bsp/ipumm-fw/ipumm-fw_git.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +3 -1
index 331c25d..3f55847 100644
@@ -53,10 +53,12 @@ do_compile() {
 }
 
 TARGET = "dra7-ipu2-fw.xem4"
+TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map"
 
 do_install() {
     install -d ${D}${base_libdir}/firmware
     install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
+    install -m 0644 ${S}/${TARGET_MAP} ${D}${base_libdir}/firmware/${TARGET}.map
 }
 
 ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4"
@@ -66,4 +68,4 @@ ALTERNATIVE_PRIORITY = "20"
 
 FILES_${PN} += "${base_libdir}/firmware/*"
 
-PR = "r1"
+PR = "r2"