Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi TI Expert,
I'm using the MCU SDK: mcu_plus_sdk_am64x_10_00_00_20.
I've already use the OPT Keywriter to program the TI's dummpy keys into SMPK, SMEK.
and I've built secure 'SBL' and secure 'FreeRTOS Application'.
I can boot the secure 'SBL' but failed to boot secure application. SBL boot failed at 'Bootloader_socAuthImage', specifically, "respParam.flag = 0x0", refer to following screenshot:
My SBL's build command is:
'
python C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/security/security_common/tools/boot/signing/rom_image_gen.py
--swrv 1 --sbl-enc
--enc-key C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/security/security_common/tools/boot/signing/custMek_am64x_am243x.txt
--sbl-bin C:/git/ark-mpu-2-7-snarc/App/BL/im_pmc/sbl_qspi_flash/Debug/sbl_qspi_flash.bin --sysfw-bin C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-enc.bin
--sysfw-inner-cert C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-enc-cert.bin
--boardcfg-blob C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/drivers/sciclient/sciclient_default_boardcfg/am64x/boardcfg_blob_flex.bin
--sbl-loadaddr 0x70000000 --sysfw-loadaddr 0x44000 --bcfg-loadaddr 0x7B000
--key C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/security/security_common/tools/boot/signing/custMpk_am64x_am243x.pem
--debug DBG_FULL_ENABLE --rom-image sbl_qspi.Debug.hs.tiimage
'
My Application's build command is:
'
python C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/security/security_common/tools/boot/signing/appimage_x509_cert_gen.py
--bin C:/git/ark-mpu-2-7-snarc/App/PM/dsp/Project/CCS/A53/Release/pm_am64x-a53ss0-0.appimage
--authtype 1 --key C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/security/security_common/tools/boot/signing/custMpk_am64x_am243x.pem
--enc y
--enckey C:/git/ark-mpu-2-7-snarc/Environment/Bsp/AM64x/SDK/mcu_plus_sdk_am64x_10_00_00_20/source/security/security_common/tools/boot/signing/custMek_am64x_am243x.txt
--output C:/git/ark-mpu-2-7-snarc/App/PM/dsp/Project/CCS/A53/Release/pm_am64x-a53ss0-0.appimage.hs
'
One more information is that: if I tried not to encrypt the application image by setting 'ENC_ENABLED?=no' in 'devconfig.mak', application can be booted.