From 7143ea953417a4058843e201179c01172d7efe70 Mon Sep 17 00:00:00 2001 From: Gonzalo Ruiz Date: Sun, 14 Jun 2020 13:02:44 +0200 Subject: [PATCH] trustfence: use correct u-boot image for sdcard When the Bootloader is an 'u-boot' select the correct u-boot signed image to compose the sdcard artifact. Signed u-boot artifacts start with 'u-boot-dtb-signed-'. Signed-off-by: Gonzalo Ruiz --- meta-digi-arm/classes/image_types_digi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/classes/image_types_digi.bbclass b/meta-digi-arm/classes/image_types_digi.bbclass index c695d2e44..f30b47b04 100644 --- a/meta-digi-arm/classes/image_types_digi.bbclass +++ b/meta-digi-arm/classes/image_types_digi.bbclass @@ -283,7 +283,7 @@ IMAGE_CMD_sdcard() { # Set u-boot image to flash depending on whether TRUSTFENCE_SIGN is enabled if [ "${TRUSTFENCE_SIGN}" = "1" ]; then if [ "${BOOTLOADER_IMAGE_RECIPE}" = "u-boot" ]; then - SDIMG_BOOT="$(readlink -e ${SDIMG_BOOTLOADER} | sed -e 's,u-boot-,u-boot-signed-,g')" + SDIMG_BOOT="$(readlink -e ${SDIMG_BOOTLOADER} | sed -e 's,u-boot-,u-boot-dtb-signed-,g')" else SDIMG_BOOT="$(readlink -e ${SDIMG_BOOTLOADER} | sed -e 's,imx-boot-,imx-boot-signed-,g')" fi