imx-boot: add dummy dek blob to encrypt MX8MN modules.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
Mike Engel 2020-12-11 12:00:04 +01:00 committed by Gabriel Valcazar
parent 827d2e9a4d
commit 8c616ee84b
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ mkimage is compatible for this use, and using it saves us from having to \
maintain a custom recipe."
ln -sf ${STAGING_DIR_NATIVE}${bindir}/mkimage ${BOOT_STAGING}/mkimage_uboot
cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin
# Create dummy DEK blob
if [ "${TRUSTFENCE_DEK_PATH}" != "0" ]; then
dd if=/dev/zero of=${BOOT_STAGING}/dek_blob_fit_dummy.bin bs=96 count=1 && sync
fi
}
do_compile () {