Other Parts Discussed in Thread: SYSCONFIG
Hello,
I am evaluating AM64xx for Industrial Automation project. As part of that, I am trying to boot Linux and R5 application from SD card.
I have created Multicore Image with all the required binaries(Hello World Application for R5, ATF, OPTEE, A53 SPL as described in latest SDK documentation). Boot Images are loading fine. R5 application is running.
Even Linux Kernel also booting when executing with CCS Debugger as a Step Over command at "status = Bootloader_runCpu(bootHandle, &bootImageInfo.cpuInfo[CSL_CORE_ID_A53SS0_0]);" in SBL. But when I ran it directly after loop variable set to 0, then fails at SPL.
Failure Log:
DMSC Firmware Version 9.0.7--v09.00.07 (Kool Koala)
DMSC Firmware revision 0x9
DMSC ABI revision 3.1
[BOOTLOADER_PROFILE] Boot Media : SD Card
[BOOTLOADER_PROFILE] Boot Image Size : 883 KB
[BOOTLOADER_PROFILE] Cores present :
a530-0
[BOOTLOADER PROFILE] SYSFW init : 2us
[BOOTLOADER PROFILE] System_init : 361428us
[BOOTLOADER PROFILE] Drivers_open : 97781us
[BOOTLOADER PROFILE] Board_driversOpen : 0us
[BOOTLOADER PROFILE] Sciclient Get Version : 9926us
[BOOTLOADER PROFILE] File read from SD card : 80330us
[BOOTLOADER PROFILE] CPU load : 1325369us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 1874841us
Image loading done, switching to application ...
NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c80
NOTICE: BL31: Built : 08:04:54, Dec 19 2023
I/TC:
I/TC: OP-TEE version: 3.20.0 (gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)) #2 Tue Dec 19 07:06:50 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.7--v09.00.07 (Kool Koala)')
E/TC:0 0 tee_otp_get_hw_unique_key:87 Could not get HUK
E/TC:0 0 call_initcalls:43 Initcall __text_start + 0x00063c10 failed
I/TC: Activated SA2UL device
E/TC:0 0 sa2ul_init:104 Could not change TRNG firewall owner
E/TC:0 0 call_initcalls:43 Initcall __text_start + 0x00063c18 failed
I/TC: Primary CPU switching to normal world boot
E/TC:0 0
E/TC:0 0 Core data-abort at address 0x10 (translation fault)
E/TC:0 0 esr 0x96000005 ttbr0 0x9e894000 ttbr1 0x00000000 cidr 0x0
E/TC:0 0 cpu #0 cpsr 0x800003c4
E/TC:0 0 x0 0000000000000010 x1 0000000000000001
E/TC:0 0 x2 0000000000000000 x3 0000000000000000
E/TC:0 0 x4 000000009e868000 x5 0000000000ffffff
E/TC:0 0 x6 0000000000000002 x7 000000009e89c190
E/TC:0 0 x8 0000000000000020 x9 000000009e89c190
E/TC:0 0 x10 0000000000000000 x11 0000000000000000
E/TC:0 0 x12 0000000000000000 x13 000000009e85d8ef
E/TC:0 0 x14 0000000000000000 x15 0000000000000000
E/TC:0 0 x16 000000009e813e34 x17 0000000000000000
E/TC:0 0 x18 0000000000000000 x19 000000009e89eca0
E/TC:0 0 x20 000000009e89eca8 x21 0000000000000007
E/TC:0 0 x22 000000009e874000 x23 000000009e874b50
E/TC:0 0 x24 0000000100000000 x25 0000000000000000
E/TC:0 0 x26 0000000000000000 x27 0000000000000000
E/TC:0 0 x28 0000000000000000 x29 000000009e89ec30
E/TC:0 0 x30 000000009e80e524 elr 000000009e80e544
E/TC:0 0 sp_el0 000000009e89ec30
E/TC:0 0 TEE load address @ 0x9e800000
E/TC:0 0 Call stack:
E/TC:0 0 0x9e80e544
E/TC:0 0 Panic 'unhandled pageable abort' at core/arch/arm/kernel/abort.c:572 <abort_handler>
E/TC:0 0 TEE load address @ 0x9e800000
E/TC:0 0 Call stack:
E/TC:0 0 0x9e808844
E/TC:0 0 0x9e8152b0
E/TC:0 0 0x9e808020
E/TC:0 0 0x9e80553c
I think it is related to SCI Client.
Any help would be highly appreciated.
Thank you.