I am trying to build GoldVIP's Bootloader without SAF.
I disabled the following items:
Bist, eMcem, SafetyBase, sBoot, sCheck, Rm
And I also disabled the following items:
CryptoDal -> Disable HSE Memory Partitioning
SysDal -> SystemPowerUpConfig_0->Rm_Init
After building, I uploaded it to the target board, and the initial boot was successful, but on the second boot, only the "bootloader 0x2 ComDal_Init() done." log appears.
Do you know why?
1) First Boot Log
bootloader 0x2 ComDal_Init() done. bootloader 0x2 CryptoDal HSE status HSE_STATUS_RNG_INIT_OK
bootloader 0x2 CryptoDal HSE status HSE_STATUS_INIT_OK
bootloader 0x2 CryptoDal HSE status HSE_STATUS_CUST_SUPER_USER
bootloader 0x2 HSE FW Version: 0.1.0_1.0.9
bootloader 0x2 CryptoDal performed the key catalogs format
bootloader 0x2 Secure boot activation in progress.
bootloader 0x2 Secure boot activation finished in 177.671 milliseconds.
bootloader 0x2 ComDal_Init() done.
bootloader 0x2 CryptoDal HSE status HSE_STATUS_RNG_INIT_OK
bootloader 0x2 CryptoDal HSE status HSE_STATUS_INIT_OK
bootloader 0x2 CryptoDal HSE status HSE_STATUS_INSTALL_OK
bootloader 0x2 CryptoDal HSE status HSE_STATUS_BOOT_OK
bootloader 0x2 CryptoDal HSE status HSE_STATUS_CUST_SUPER_USER
bootloader 0x2 CryptoDal HSE status HSE_STATUS_PRIMARY_SYS_IMAGE
bootloader 0x2 HSE FW Version: 0.1.0_1.0.9
bootloader 0x2 CryptoDal skipped the key catalogs format
bootloader 0x2 Bootloader secure boot is enabled.
bootloader 0x2 Bootloader initialization complete.
bootloader 0x2 Application 0 image fragment 0 of size 524288 was loaded from QSPI, address 0x201240.
bootloader 0x2 Application 0 image fragment 0 was loaded in 12.346 milliseconds.
bootloader 0x2 Application A53_0 was loaded.
bootloader 0x2 Application 1 image fragment 0 of size 3145728 was loaded from QSPI, address 0x400000.
bootloader 0x2 Application 1 image fragment 0 was loaded in 26.435 milliseconds.
bootloader 0x2 Application M7_0 was loaded.
NOTICE:
status: Error
NOTICE: BL2: v2.5(release):bsp39.0-2.5-dirty
NOTICE: BL2: Built : 10:17:55, Dec 8 2023
NOTICE: BL2: Booting BL31
I/TC:
I/TC: Non-secure external DT found
I/TC: OP-TEE version: bsp39.0-3.18-dev (gcc version 11.4.0 (GCC)) #1 Tue Nov 28 17:25:43 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: Initializing virtualization support
I/TC: Primary CPU switching to normal world boot
2) Second Boot Log
bootloader 0x2 ComDal_Init() done.