From 08e6efe31f80139864473014b721c69ed09bb2d0 Mon Sep 17 00:00:00 2001 From: Aniket Limaye Date: Thu, 5 Dec 2024 23:35:47 +0530 Subject: meta-ti-extras: ti-ipc-rtos: Deploy ipc firmware Early boot of remote processors from SPL stage of bootloader requires the remoteproc firmware to be present in the boot partition. Deploy this rproc IPC firmware so that it can be copied to the boot partitions of the wic images. Signed-off-by: Aniket Limaye --- meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb index 999993ea..4f45273c 100644 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb @@ -2,6 +2,8 @@ require recipes-ti/ipc/ti-ipc.inc require recipes-ti/ipc/ti-ipc-common.inc require ti-ipc-rtos.inc +inherit deploy + DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" PACKAGES =+ "${PN}-fw" @@ -99,3 +101,14 @@ pkg_postinst:${PN}-fw:omapl138 () { pkg_postrm:${PN}-fw:omapl138 () { update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 } + +do_deploy() { + install -d ${DEPLOYDIR} +} + +do_deploy:append:omap-a15() { + install -d ${DEPLOYDIR}/ipc + install -m 0644 ${S}/packages/ti/ipc/tests/bin/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${DEPLOYDIR}/ipc/dra7-ipu1-fw.xem4 +} + +addtask deploy after do_install -- cgit v1.2.3-54-g00ecf