From 1a600bcdede1931441084d63669d6a469c6558e7 Mon Sep 17 00:00:00 2001 From: Gonzalo Ruiz Date: Thu, 28 May 2020 09:41:12 +0200 Subject: [PATCH] u-boot-dey: allow bootscript signing for ccimx8mn TRUSTFENCE_SIGN_MODE for ccimx8mn is "HAB", although the BOOTLOADER_IMAGE_RECIPE is "imx-boot". https://jira.digi.com/browse/DEL-7024 Signed-off-by: Gonzalo Ruiz --- meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc b/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc index 1599ddcd7..6903319c7 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc +++ b/meta-digi-arm/recipes-bsp/u-boot/digi-u-boot.inc @@ -171,7 +171,7 @@ do_deploy_append() { [ -n "${TRUSTFENCE_SIGN_MODE}" ] && export CONFIG_SIGN_MODE="${TRUSTFENCE_SIGN_MODE}" # Sign boot script - if [ "${TRUSTFENCE_SIGN_MODE}" = "HAB" ] && [ "${BOOTLOADER_IMAGE_RECIPE}" = "u-boot" ]; then + if [ "${TRUSTFENCE_SIGN_MODE}" = "HAB" ]; then TMP_SIGNED_BOOTSCR="$(mktemp ${WORKDIR}/bootscr-signed.XXXXXX)" trustfence-sign-kernel.sh -p "${DIGI_FAMILY}" -b "${DEPLOYDIR}/boot.scr" "${TMP_SIGNED_BOOTSCR}" mv "${TMP_SIGNED_BOOTSCR}" "${DEPLOYDIR}/boot.scr"