diff options
| author | Denys Dmytriyenko <denys@ti.com> | 2017-08-10 01:22:24 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2017-08-09 15:25:14 -0400 |
| commit | a18d57af8384ced25996739bb66d197c69efb77b (patch) | |
| tree | ea3dc1c4f2d9b889ff6ebdca9296f7949bb50a79 | |
| parent | ee2c1d67fff592a659f5671eb1940c63ff2da0c2 (diff) | |
| download | meta-ti-ti2017.03.tar.gz | |
ti-ipc-rtos: add default symlinks for Keystone DSP firmware imagesti2017.03-rc4ti2017.03
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
| -rw-r--r-- | recipes-ti/ipc/ti-ipc-rtos_git.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bb b/recipes-ti/ipc/ti-ipc-rtos_git.bb index 01ef7a00..f4eefa85 100644 --- a/recipes-ti/ipc/ti-ipc-rtos_git.bb +++ b/recipes-ti/ipc/ti-ipc-rtos_git.bb | |||
| @@ -72,8 +72,35 @@ do_install() { | |||
| 72 | cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true | 72 | cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | KFDSPNUM = "0" | ||
| 76 | KFDSPNUM_k2hk = "8" | ||
| 77 | KFDSPNUM_k2l-evm = "4" | ||
| 78 | KFDSPNUM_keystone = "1" | ||
| 79 | |||
| 80 | KFPLAT = "" | ||
| 81 | KFPLAT_k2hk = "TCI6638K2K" | ||
| 82 | KFPLAT_k2l-evm = "TCI6630K2L" | ||
| 83 | KFPLAT_k2e = "C66AK2E" | ||
| 84 | KFPLAT_k2g = "TCI66AK2G02" | ||
| 85 | |||
| 75 | ALTERNATIVE_PRIORITY = "5" | 86 | ALTERNATIVE_PRIORITY = "5" |
| 76 | 87 | ||
| 88 | pkg_postinst_${PN}-fw_keystone () { | ||
| 89 | i=0 | ||
| 90 | while [ $i -lt ${KFDSPNUM} ]; do | ||
| 91 | update-alternatives --install /lib/firmware/keystone-dsp$i-fw keystone-dsp$i-fw ipc/ti_platforms_evm${KFPLAT}_core0/messageq_single.xe66 ${ALTERNATIVE_PRIORITY} | ||
| 92 | i=$(($i + 1)) | ||
| 93 | done | ||
| 94 | } | ||
| 95 | |||
| 96 | pkg_postrm_${PN}-fw_keystone () { | ||
| 97 | i=0 | ||
| 98 | while [ $i -lt ${KFDSPNUM} ]; do | ||
| 99 | update-alternatives --remove keystone-dsp$i-fw ipc/ti_platforms_evm${KFPLAT}_core0/messageq_single.xe66 | ||
| 100 | i=$(($i + 1)) | ||
| 101 | done | ||
| 102 | } | ||
| 103 | |||
| 77 | pkg_postinst_${PN}-fw_omap-a15 () { | 104 | pkg_postinst_${PN}-fw_omap-a15 () { |
| 78 | update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} | 105 | update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} |
| 79 | update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} | 106 | update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} |
