[meta-ti] [morty/master][PATCH] ti-ipc-rtos: Add default links for rproc firmware for omapl138

Sam Nelson sam.nelson at ti.com
Wed May 3 09:09:37 PDT 2017


By default rproc firmware default link is added as message_single.xe66
for omapl138

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-ti/ipc/ti-ipc-rtos.inc    | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/recipes-ti/ipc/ti-ipc-rtos.inc
index 5fead3f..e76c1e4 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -37,7 +37,7 @@ S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
 RELEASE_TYPE = "ENG"
 RELEASE_SUFFIX = "_eng"
 
-PR = "${INC_PR}.r0"
+PR = "${INC_PR}.r1"
 
 DEPENDS_append_keystone = " ti-cgt6x-native \
                             gcc-arm-none-eabi-native \
diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bb b/recipes-ti/ipc/ti-ipc-rtos_git.bb
index 018634c..112dfcc 100644
--- a/recipes-ti/ipc/ti-ipc-rtos_git.bb
+++ b/recipes-ti/ipc/ti-ipc-rtos_git.bb
@@ -87,3 +87,11 @@ pkg_postrm_${PN}-fw_omap-a15 () {
   update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4
   update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4
 }
+
+pkg_postinst_${PN}-fw_omapl138 () {
+  update-alternatives --install /lib/firmware/rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 ${ALTERNATIVE_PRIORITY}
+}
+
+pkg_postrm_${PN}-fw_omapl138 () {
+  update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
+}
-- 
1.9.1



More information about the meta-ti mailing list