This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Arm Trusted firmware as bootloader for A53

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

Parents
  • 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:

    -- 0x1bffffff
    NOTICE: Memreg 2 0x34000000 -- 0x37ffffff
    NOTICE: Memreg 3 0x38000000 -- 0x3bffffff
    NOTICE: Memreg 4 0x60000000 -- 0x6fffffff
    NOTICE: Memreg 5 0x70000000 -- 0x7fffffff
    NOTICE: Memreg 6 0x80000000 -- 0xffffffff
    NOTICE: Memreg 7 0x400000000 -- 0x43fffffff
    NOTICE: Memreg 8 0x880000000 -- 0x97fffffff
    NOTICE: Non-secure Partitioning Succeeded
    NOTICE: BL31: v2.3():
    NOTICE: BL31: Built : 15:21:46, Aug 24 2020
    INFO: GICv3 with legacy support detected.
    INFO: ARM GICv3 driver initialized in EL3
    INFO: BL31: Initializing runtime services
    INFO: BL31: cortex_a53: CPU workaround for 855873 was applied
    INFO: BL31: Preparing for EL3 exit to normal world
    INFO: Entry point address = 0x80020000
    INFO: SPSR = 0x3c9

    Can someone explain the "Entry point address" ? Is it possible to launch secondary BL or app or other A53 cores ? Any examples ?

    Thanks

Reply
  • 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:

    -- 0x1bffffff
    NOTICE: Memreg 2 0x34000000 -- 0x37ffffff
    NOTICE: Memreg 3 0x38000000 -- 0x3bffffff
    NOTICE: Memreg 4 0x60000000 -- 0x6fffffff
    NOTICE: Memreg 5 0x70000000 -- 0x7fffffff
    NOTICE: Memreg 6 0x80000000 -- 0xffffffff
    NOTICE: Memreg 7 0x400000000 -- 0x43fffffff
    NOTICE: Memreg 8 0x880000000 -- 0x97fffffff
    NOTICE: Non-secure Partitioning Succeeded
    NOTICE: BL31: v2.3():
    NOTICE: BL31: Built : 15:21:46, Aug 24 2020
    INFO: GICv3 with legacy support detected.
    INFO: ARM GICv3 driver initialized in EL3
    INFO: BL31: Initializing runtime services
    INFO: BL31: cortex_a53: CPU workaround for 855873 was applied
    INFO: BL31: Preparing for EL3 exit to normal world
    INFO: Entry point address = 0x80020000
    INFO: SPSR = 0x3c9

    Can someone explain the "Entry point address" ? Is it possible to launch secondary BL or app or other A53 cores ? Any examples ?

    Thanks

Children