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 <a-limaye@ti.com>
This commit is contained in:
Aniket Limaye authored and Ryan Eatmon committed 2024-12-06 09:20:21 -06:00
1 parent 963140e3b5
commit 08e6efe31f
1 file changed
+13
@@ -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