We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I can build bl31.bin for my i.MX8QM EVK (Arm Trusted Firmware open source reference) which can act as an Armv8-A bootloader.
I am NOT intending to include any u-boot binary in my test image. Is this possible ?
Can anyone suggest how to build a Cortex-A53 test image for i.MX8QM EVK with bl31.bin as the bootloader ? Any documentation or information ?
Thanks
Following up with more info:
I'm able to boot the imx8qm using Arm Trusted FW and start an A53 core without u-boot. Just used the scfw_tcm.bin, mx8qm-ahab-container.img and bl31.bin to boot it. The debug console (for bl31) looks like this:
-- 0x1bffffffNOTICE: Memreg 2 0x34000000 -- 0x37ffffffNOTICE: Memreg 3 0x38000000 -- 0x3bffffffNOTICE: Memreg 4 0x60000000 -- 0x6fffffffNOTICE: Memreg 5 0x70000000 -- 0x7fffffffNOTICE: Memreg 6 0x80000000 -- 0xffffffffNOTICE: Memreg 7 0x400000000 -- 0x43fffffffNOTICE: Memreg 8 0x880000000 -- 0x97fffffffNOTICE: Non-secure Partitioning SucceededNOTICE: BL31: v2.3():NOTICE: BL31: Built : 15:21:46, Aug 24 2020INFO: GICv3 with legacy support detected.INFO: ARM GICv3 driver initialized in EL3INFO: BL31: Initializing runtime servicesINFO: BL31: cortex_a53: CPU workaround for 855873 was appliedINFO: BL31: Preparing for EL3 exit to normal worldINFO: Entry point address = 0x80020000INFO: SPSR = 0x3c9
Can someone explain the "Entry point address" ? Is it possible to launch secondary BL or app or other A53 cores ? Any examples ?
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/bl31/bl31_main.c
Entry point address is the first instruction address of next loaded image.
> Is it possible to launch secondary BL or app or other A53 cores ? Any examples ?
Yes, you can boot the secondary BL on other CA53 cores. Actually Arm Trusted Firmware is a good example for MP core booting.
- git.trustedfirmware.org/.../
-