1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-06 10:50:37 +00:00

ti-rtos-firmware: sign DM firmware for J721e HS platform

U-boot build process requires DM firmware to be signed for J7 HS.
It's better for ti-rtos-firmware package (that delivers DM firmware) to sign
it once and provide signed version to other packages, instead of U-boot needing
to re-sign it during build in staging location.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
This commit is contained in:
Praneeth Bajjuri
2021-03-27 00:14:52 +00:00
committed by Yogesh Siraswar
parent d54da74494
commit 9ada213d1e
@@ -76,6 +76,18 @@ DEPENDS += "openssl-native"
FILES_${PN} += "${base_libdir}"
TI_SECURE_DEV_PKG ?= ""
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
do_install_prepend_j7-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${S}/firmware/pdk-ipc/; \
mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
)
}
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${D}${base_libdir}