Hi all,
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 recommend to fix one problem after the other. According the user guide, the first output should be:
INFO: DDR: DRAM calibration success. INFO: ECC is disabled.
And not
BenLim said:INFO: Scrubbing ECCINFO: Error in response: 1f0002ff
Hi Bastian,
Could you please share with me which section mentioned about the ECC?
I'm able to boot with the same setting if I included the UEFI. However I have no luck while replacing the UEFI with Linux at the same mem addr
Same errors? You should find out what causes the ECC Error. Likely reading the sources.
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.
Thank you so much for helping with this wonderful article.