diff options
Diffstat (limited to 'recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb')
-rw-r--r-- | recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 80 |
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 | ||
15 | PLAT_SFX = "" | 15 | PLAT_SFX = "" |
16 | PLAT_SFX_j7 = "j721e" | 16 | PLAT_SFX_j7 = "j721e" |
17 | PLAT_SFX_j7-hs-evm = "j721e" | ||
17 | PLAT_SFX_j7200-evm = "j7200" | 18 | PLAT_SFX_j7200-evm = "j7200" |
18 | PLAT_SFX_j7200-hs-evm = "j7200" | 19 | PLAT_SFX_j7200-hs-evm = "j7200" |
19 | PLAT_SFX_j721s2-evm = "j721s2" | 20 | PLAT_SFX_j721s2-evm = "j721s2" |
@@ -31,7 +32,7 @@ PV = "${CORESDK_RTOS_VERSION}" | |||
31 | CLEANBROKEN = "1" | 32 | CLEANBROKEN = "1" |
32 | PR = "${INC_PR}.0" | 33 | PR = "${INC_PR}.0" |
33 | 34 | ||
34 | # Secure Build | 35 | # Secure Build |
35 | DEPENDS += "openssl-native" | 36 | DEPENDS += "openssl-native" |
36 | 37 | ||
37 | FILES_${PN} += "${base_libdir}" | 38 | FILES_${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 | ||
143 | do_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 | |||
120 | do_install_j7200-evm() { | 155 | do_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 | ||
261 | ALTERNATIVE_${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 | |||
226 | ALTERNATIVE_${PN}_j7 = "\ | 280 | ALTERNATIVE_${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" | |||
295 | TARGET_C66_1_j7 = "j7-c66_1-fw" | 349 | TARGET_C66_1_j7 = "j7-c66_1-fw" |
296 | TARGET_C7X_0_j7 = "j7-c71_0-fw" | 350 | TARGET_C7X_0_j7 = "j7-c71_0-fw" |
297 | 351 | ||
352 | TARGET_MAIN_R5FSS0_0_SIGNED_j7-hs-evm = "j7-main-r5f0_0-fw-sec" | ||
353 | TARGET_MAIN_R5FSS0_1_SIGNED_j7-hs-evm = "j7-main-r5f0_1-fw-sec" | ||
354 | TARGET_MAIN_R5FSS1_0_SIGNED_j7-hs-evm = "j7-main-r5f1_0-fw-sec" | ||
355 | TARGET_MAIN_R5FSS1_1_SIGNED_j7-hs-evm = "j7-main-r5f1_1-fw-sec" | ||
356 | TARGET_C66_0_SIGNED_j7-hs-evm = "j7-c66_0-fw-sec" | ||
357 | TARGET_C66_1_SIGNED_j7-hs-evm = "j7-c66_1-fw-sec" | ||
358 | TARGET_C7X_0_SIGNED_j7-hs-evm = "j7-c71_0-fw-sec" | ||
359 | |||
298 | TARGET_MCU_R5FSS0_0_j7200-evm = "j7200-mcu-r5f0_0-fw" | 360 | TARGET_MCU_R5FSS0_0_j7200-evm = "j7200-mcu-r5f0_0-fw" |
299 | TARGET_MCU_R5FSS0_1_j7200-evm = "j7200-mcu-r5f0_1-fw" | 361 | TARGET_MCU_R5FSS0_1_j7200-evm = "j7200-mcu-r5f0_1-fw" |
300 | TARGET_MAIN_R5FSS0_0_j7200-evm = "j7200-main-r5f0_0-fw" | 362 | TARGET_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}" | |||
345 | ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}" | 407 | ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}" |
346 | ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X_0}" | 408 | ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X_0}" |
347 | 409 | ||
410 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0_SIGNED}" | ||
411 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1_SIGNED}" | ||
412 | ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0_SIGNED}" | ||
413 | ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1_SIGNED}" | ||
414 | ALTERNATIVE_LINK_NAME[j7-c66_0-fw-sec] = "${base_libdir}/firmware/${TARGET_C66_0_SIGNED}" | ||
415 | ALTERNATIVE_LINK_NAME[j7-c66_1-fw-sec] = "${base_libdir}/firmware/${TARGET_C66_1_SIGNED}" | ||
416 | ALTERNATIVE_LINK_NAME[j7-c71_0-fw-sec] = "${base_libdir}/firmware/${TARGET_C7X_0_SIGNED}" | ||
417 | |||
348 | ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" | 418 | ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" |
349 | ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" | 419 | ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" |
350 | ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" | 420 | ALTERNATIVE_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 | |||
383 | ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66" | 453 | ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66" |
384 | ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71" | 454 | ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71" |
385 | 455 | ||
456 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f.signed" | ||
457 | ALTERNATIVE_TARGET[j7-main-r5f0_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f.signed" | ||
458 | ALTERNATIVE_TARGET[j7-main-r5f1_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release_strip.xer5f.signed" | ||
459 | ALTERNATIVE_TARGET[j7-main-r5f1_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release_strip.xer5f.signed" | ||
460 | ALTERNATIVE_TARGET[j7-c66_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release_strip.xe66.signed" | ||
461 | ALTERNATIVE_TARGET[j7-c66_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66.signed" | ||
462 | ALTERNATIVE_TARGET[j7-c71_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71.signed" | ||
463 | |||
386 | ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" | 464 | ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" |
387 | ALTERNATIVE_TARGET[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" | 465 | ALTERNATIVE_TARGET[j7200-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" |
388 | ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f" | 466 | ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f" |