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 <Gonzalo.Ruiz@digi.com>
This commit is contained in:
parent
e8f721a0b2
commit
7143ea9534
|
|
@ -283,7 +283,7 @@ IMAGE_CMD_sdcard() {
|
||||||
# Set u-boot image to flash depending on whether TRUSTFENCE_SIGN is enabled
|
# Set u-boot image to flash depending on whether TRUSTFENCE_SIGN is enabled
|
||||||
if [ "${TRUSTFENCE_SIGN}" = "1" ]; then
|
if [ "${TRUSTFENCE_SIGN}" = "1" ]; then
|
||||||
if [ "${BOOTLOADER_IMAGE_RECIPE}" = "u-boot" ]; 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
|
else
|
||||||
SDIMG_BOOT="$(readlink -e ${SDIMG_BOOTLOADER} | sed -e 's,imx-boot-,imx-boot-signed-,g')"
|
SDIMG_BOOT="$(readlink -e ${SDIMG_BOOTLOADER} | sed -e 's,imx-boot-,imx-boot-signed-,g')"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue