Skip to contentSkip to conversation

ipumm-fw: Install map file into the targetfs

PATCH New Karthik Ramanan 1 participant 1 message Jul 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 file changed, 3 insertions(+), 1 deletion(-)
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"
Signature · 1 line
1.9.1