I'm new to this booting process.
I'm trying to boot from ATF to Linux (by passing Uboot/UEFI) on an Intel Agilex board.
I have follow the instruction over here -> https://trustedfirmware-a.readthedocs.io/en/v2.2/getting_started/user-guide.html#boot-of-a-preloaded-kernel-image-on-base-fvp but with no success.
Here is the UART log (via ARM development studio):
INFO: DDR: DRAM calibration success.INFO: Scrubbing ECCINFO: Error in response: 1f0002ffERROR: S2F bridge enable: Timeout waiting for idle ackINFO: Error in response: 1f0001ffINFO: Error in response: 1f0001ffNOTICE: BL2: v2.4.1(debug):rel_socfpga_v2.4.1_21.09.01_prNOTICE: BL2: Built : 16:38:38, Sep 14 2021INFO: BL2: Doing platform setupINFO: BL2: Loading image id 3INFO: BL2: Loading image id 5NOTICE: BL2: Booting BL31INFO: Entry point address = 0x1000INFO: SPSR = 0x3cdASSERT: plat/intel/soc/agilex/bl31_plat_setup.c:53BACKTRACE: START: assert0: EL3: 0x64101: EL3: 0x88582: EL3: 0x3a2c3: EL3: 0x12f04: EL3: 0x1118BACKTRACE: END: assert
I found the root cause for this issue.
Actually the issue happen when using Agilex ATF source which is not supporting the Linux boot.
There is another common arm plat source code supporting the RESET_TO_BL31 = 1 and ARM_LINUX_AS_BL33 = 1 build option.