Praneeth, I know we discussed doing signing in u-boot do_compile, but it appears not optimal and to avoid any corner cases it's better to do signing in ti-rtos-firmware do_install. That way signing is done once and can be used by other packages that need it. See the modified patch I sent.
-- Denys On Fri, Mar 26, 2021 at 11:53:51AM -0500, praneeth via lists.yoctoproject.org wrote: > From: Praneeth Bajjuri <[email protected]> > > DM firmware is added now as part of the uboot build process. > This patch fixes HS signing and build including the new DM firmware. > > Signed-off-by: Praneeth Bajjuri <[email protected]> > --- > recipes-bsp/u-boot/u-boot-ti.inc | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/recipes-bsp/u-boot/u-boot-ti.inc > b/recipes-bsp/u-boot/u-boot-ti.inc > index e5f92f4b..5cae1c15 100644 > --- a/recipes-bsp/u-boot/u-boot-ti.inc > +++ b/recipes-bsp/u-boot/u-boot-ti.inc > @@ -57,6 +57,14 @@ S = "${WORKDIR}/git" > TI_SECURE_DEV_PKG ?= "" > export TI_SECURE_DEV_PKG > > +do_compile_prepend_j7-hs-evm() { > + ( cd ${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/pdk-ipc/; \ > + mv ipc_echo_testb_mcu1_0_release_strip.xer5f > ipc_echo_testb_mcu1_0_release_strip.xer5f.unsigned; \ > + ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh > ipc_echo_testb_mcu1_0_release_strip.xer5f.unsigned > ipc_echo_testb_mcu1_0_release_strip.xer5f; \ > + ) > +} > + > + > SYSROOT_DIRS += "/boot" > > # SPL (Second Program Loader) to be loaded over UART > -- > 2.17.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13581): https://lists.yoctoproject.org/g/meta-ti/message/13581 Mute This Topic: https://lists.yoctoproject.org/mt/81633035/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
