diff options
author | Chirag Shilwant <c-shilwant@ti.com> | 2023-01-12 16:57:55 +0530 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-01-18 10:55:30 -0600 |
commit | 739306a769e799f8840df9113bdb0b3a2804ba98 (patch) | |
tree | 2074cd5cb51812f85c8769143cbab13e4ed58945 | |
parent | 46a3978c6cfff43487546875161f55d5cd3c72fb (diff) | |
download | meta-ti-739306a769e799f8840df9113bdb0b3a2804ba98.tar.gz |
am62xx: Add support for secure RTOS IPC Firmware images
- Let's add support for secure RTOS IPC Firmware images for am62xx. This will sign RTOS IPC Firmware for all EVMs based on am62xx (i.e AM62X and AM62X-LP-EVM)
Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb index 47b29632..72d85a6b 100644 --- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | |||
@@ -174,20 +174,18 @@ do_install_prepend_am64xx() { | |||
174 | ) | 174 | ) |
175 | } | 175 | } |
176 | 176 | ||
177 | # Update the am62xx ipc binaries to be consistent with other platforms | ||
178 | do_install_prepend_am62xx() { | ||
179 | ( cd ${RTOS_IPC_FW_DIR}; \ | ||
180 | mv am62-mcu-m4f0_0-fw ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f; \ | ||
181 | ) | ||
182 | } | ||
183 | |||
184 | # AM62Q HS-SE support | 177 | # AM62Q HS-SE support |
185 | do_install_prepend_am62xx-lp-evm() { | 178 | do_install_prepend_am62xx() { |
186 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} | 179 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} |
187 | ( cd ${RTOS_DM_FW_DIR}; \ | 180 | ( cd ${RTOS_DM_FW_DIR}; \ |
188 | mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \ | 181 | mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \ |
189 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \ | 182 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \ |
190 | ) | 183 | ) |
184 | ( cd ${RTOS_IPC_FW_DIR}; \ | ||
185 | mv am62-mcu-m4f0_0-fw ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f; \ | ||
186 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f \ | ||
187 | ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f.signed; \ | ||
188 | ) | ||
191 | } | 189 | } |
192 | 190 | ||
193 | #Install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level | 191 | #Install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level |
@@ -361,13 +359,8 @@ do_install_am64xx() { | |||
361 | do_install_am62xx() { | 359 | do_install_am62xx() { |
362 | install -d ${LEGACY_IPC_FW_DIR} | 360 | install -d ${LEGACY_IPC_FW_DIR} |
363 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR} | 361 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR} |
364 | # DM Firmware | 362 | # Signed Firmware |
365 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} | 363 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR} |
366 | } | ||
367 | |||
368 | do_install_am62xx-lp-evm() { | ||
369 | install -d ${LEGACY_IPC_FW_DIR} | ||
370 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR} | ||
371 | # DM Firmware | 364 | # DM Firmware |
372 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} | 365 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} |
373 | } | 366 | } |
@@ -389,11 +382,6 @@ do_deploy_am62xx() { | |||
389 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} | 382 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} |
390 | } | 383 | } |
391 | 384 | ||
392 | do_deploy_am62xx-lp-evm() { | ||
393 | install -d ${DEPLOYDIR} | ||
394 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} | ||
395 | } | ||
396 | |||
397 | do_deploy_am62axx() { | 385 | do_deploy_am62axx() { |
398 | install -d ${DEPLOYDIR} | 386 | install -d ${DEPLOYDIR} |
399 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} | 387 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} |