summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb')
-rw-r--r--recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb80
1 files changed, 79 insertions, 1 deletions
diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
index 19ea93f1..78faeae3 100644
--- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
+++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -14,6 +14,7 @@ inherit update-alternatives
14 14
15PLAT_SFX = "" 15PLAT_SFX = ""
16PLAT_SFX_j7 = "j721e" 16PLAT_SFX_j7 = "j721e"
17PLAT_SFX_j7-hs-evm = "j721e"
17PLAT_SFX_j7200-evm = "j7200" 18PLAT_SFX_j7200-evm = "j7200"
18PLAT_SFX_j7200-hs-evm = "j7200" 19PLAT_SFX_j7200-hs-evm = "j7200"
19PLAT_SFX_j721s2-evm = "j721s2" 20PLAT_SFX_j721s2-evm = "j721s2"
@@ -31,7 +32,7 @@ PV = "${CORESDK_RTOS_VERSION}"
31CLEANBROKEN = "1" 32CLEANBROKEN = "1"
32PR = "${INC_PR}.0" 33PR = "${INC_PR}.0"
33 34
34# Secure Build 35# Secure Build
35DEPENDS += "openssl-native" 36DEPENDS += "openssl-native"
36 37
37FILES_${PN} += "${base_libdir}" 38FILES_${PN} += "${base_libdir}"
@@ -57,6 +58,28 @@ do_install_prepend_j7-hs-evm() {
57 mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \ 58 mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
58 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \ 59 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
59 ) 60 )
61 (
62 cd ${RTOS_IPC_FW_DIR}; \
63 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu2_0_release_strip.xer5f \
64 ipc_echo_test_mcu2_0_release_strip.xer5f.signed; \
65 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu2_1_release_strip.xer5f \
66 ipc_echo_test_mcu2_1_release_strip.xer5f.signed; \
67 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu3_0_release_strip.xer5f \
68 ipc_echo_test_mcu3_0_release_strip.xer5f.signed; \
69 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu3_1_release_strip.xer5f \
70 ipc_echo_test_mcu3_1_release_strip.xer5f.signed; \
71 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c66xdsp_1_release_strip.xe66 \
72 ipc_echo_test_c66xdsp_1_release_strip.xe66.signed; \
73 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c66xdsp_2_release_strip.xe66 \
74 ipc_echo_test_c66xdsp_2_release_strip.xe66.signed; \
75 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c7x_1_release_strip.xe71 \
76 ipc_echo_test_c7x_1_release_strip.xe71.signed; \
77 )
78 (
79 cd ${RTOS_ETH_FW_DIR}; \
80 ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh app_remoteswitchcfg_server_strip.xer5f \
81 app_remoteswitchcfg_server_strip.xer5f.signed;
82 )
60} 83}
61 84
62# J7 HS support 85# J7 HS support
@@ -117,6 +140,18 @@ do_install_j7() {
117 install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR} 140 install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
118} 141}
119 142
143do_install_append_j7-hs-evm() {
144 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
145 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_1_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
146 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu3_0_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
147 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu3_1_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
148 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c66xdsp_1_release_strip.xe66.signed ${LEGACY_IPC_FW_DIR}
149 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c66xdsp_2_release_strip.xe66.signed ${LEGACY_IPC_FW_DIR}
150 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_1_release_strip.xe71.signed ${LEGACY_IPC_FW_DIR}
151 # ETH firmware
152 install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f.signed ${LEGACY_ETH_FW_DIR}
153}
154
120do_install_j7200-evm() { 155do_install_j7200-evm() {
121 install -d ${LEGACY_IPC_FW_DIR} 156 install -d ${LEGACY_IPC_FW_DIR}
122 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR} 157 install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
@@ -223,6 +258,25 @@ ALTERNATIVE_${PN}_am62xx = "\
223 am62-main-r5f0_0-fw \ 258 am62-main-r5f0_0-fw \
224 " 259 "
225 260
261ALTERNATIVE_${PN}_j7-hs-evm = "\
262 j7-mcu-r5f0_0-fw \
263 j7-mcu-r5f0_1-fw \
264 j7-main-r5f0_0-fw \
265 j7-main-r5f0_1-fw \
266 j7-main-r5f1_0-fw \
267 j7-main-r5f1_1-fw \
268 j7-c66_0-fw \
269 j7-c66_1-fw \
270 j7-c71_0-fw\
271 j7-main-r5f0_0-fw-sec \
272 j7-main-r5f0_1-fw-sec \
273 j7-main-r5f1_0-fw-sec \
274 j7-main-r5f1_1-fw-sec \
275 j7-c66_0-fw-sec \
276 j7-c66_1-fw-sec \
277 j7-c71_0-fw-sec \
278 "
279
226ALTERNATIVE_${PN}_j7 = "\ 280ALTERNATIVE_${PN}_j7 = "\
227 j7-mcu-r5f0_0-fw \ 281 j7-mcu-r5f0_0-fw \
228 j7-mcu-r5f0_1-fw \ 282 j7-mcu-r5f0_1-fw \
@@ -295,6 +349,14 @@ TARGET_C66_0_j7 = "j7-c66_0-fw"
295TARGET_C66_1_j7 = "j7-c66_1-fw" 349TARGET_C66_1_j7 = "j7-c66_1-fw"
296TARGET_C7X_0_j7 = "j7-c71_0-fw" 350TARGET_C7X_0_j7 = "j7-c71_0-fw"
297 351
352TARGET_MAIN_R5FSS0_0_SIGNED_j7-hs-evm = "j7-main-r5f0_0-fw-sec"
353TARGET_MAIN_R5FSS0_1_SIGNED_j7-hs-evm = "j7-main-r5f0_1-fw-sec"
354TARGET_MAIN_R5FSS1_0_SIGNED_j7-hs-evm = "j7-main-r5f1_0-fw-sec"
355TARGET_MAIN_R5FSS1_1_SIGNED_j7-hs-evm = "j7-main-r5f1_1-fw-sec"
356TARGET_C66_0_SIGNED_j7-hs-evm = "j7-c66_0-fw-sec"
357TARGET_C66_1_SIGNED_j7-hs-evm = "j7-c66_1-fw-sec"
358TARGET_C7X_0_SIGNED_j7-hs-evm = "j7-c71_0-fw-sec"
359
298TARGET_MCU_R5FSS0_0_j7200-evm = "j7200-mcu-r5f0_0-fw" 360TARGET_MCU_R5FSS0_0_j7200-evm = "j7200-mcu-r5f0_0-fw"
299TARGET_MCU_R5FSS0_1_j7200-evm = "j7200-mcu-r5f0_1-fw" 361TARGET_MCU_R5FSS0_1_j7200-evm = "j7200-mcu-r5f0_1-fw"
300TARGET_MAIN_R5FSS0_0_j7200-evm = "j7200-main-r5f0_0-fw" 362TARGET_MAIN_R5FSS0_0_j7200-evm = "j7200-main-r5f0_0-fw"
@@ -345,6 +407,14 @@ ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}"
345ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}" 407ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}"
346ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X_0}" 408ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X_0}"
347 409
410ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0_SIGNED}"
411ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1_SIGNED}"
412ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0_SIGNED}"
413ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1_SIGNED}"
414ALTERNATIVE_LINK_NAME[j7-c66_0-fw-sec] = "${base_libdir}/firmware/${TARGET_C66_0_SIGNED}"
415ALTERNATIVE_LINK_NAME[j7-c66_1-fw-sec] = "${base_libdir}/firmware/${TARGET_C66_1_SIGNED}"
416ALTERNATIVE_LINK_NAME[j7-c71_0-fw-sec] = "${base_libdir}/firmware/${TARGET_C7X_0_SIGNED}"
417
348ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" 418ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
349ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" 419ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
350ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" 420ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
@@ -383,6 +453,14 @@ ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test
383ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66" 453ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66"
384ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71" 454ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71"
385 455
456ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f.signed"
457ALTERNATIVE_TARGET[j7-main-r5f0_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f.signed"
458ALTERNATIVE_TARGET[j7-main-r5f1_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release_strip.xer5f.signed"
459ALTERNATIVE_TARGET[j7-main-r5f1_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release_strip.xer5f.signed"
460ALTERNATIVE_TARGET[j7-c66_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release_strip.xe66.signed"
461ALTERNATIVE_TARGET[j7-c66_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66.signed"
462ALTERNATIVE_TARGET[j7-c71_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71.signed"
463
386ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" 464ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f"
387ALTERNATIVE_TARGET[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" 465ALTERNATIVE_TARGET[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f"
388ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f" 466ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f"