imx-boot: add dummy dek blob to encrypt MX8MN modules.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
827d2e9a4d
commit
8c616ee84b
|
|
@ -70,6 +70,10 @@ mkimage is compatible for this use, and using it saves us from having to \
|
||||||
maintain a custom recipe."
|
maintain a custom recipe."
|
||||||
ln -sf ${STAGING_DIR_NATIVE}${bindir}/mkimage ${BOOT_STAGING}/mkimage_uboot
|
ln -sf ${STAGING_DIR_NATIVE}${bindir}/mkimage ${BOOT_STAGING}/mkimage_uboot
|
||||||
cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin
|
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 () {
|
do_compile () {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue