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

How to load a bare metal EL3 program onto the hardware?

In order to load a baremetal EL3 program onto the FVP, first you create your program and then build it so that the image base is at 0x14000000 (--image-base = 0x14000000) and then set the FVP option when running, -C soc.scc.boot_gpr_2=0x14000000 -C soc.scc.boot_gpr_3=0. To download EL3 bare metal to the FVP from Development Studio, you make sure the program at 0x14000000 is a branch to self loop first.

When running these two scenarios on the Hardware how do I set the AP reset address to 14000000 to run the EL3 program? Do I need to modify io_V010f.txt file on the SD card?

SOCCON: 0x118c 0x00000000; SOC SCC BOOT_GPR3

To:

SOCCON: 0x118c 0x14000000; SOC SCC BOOT_GPR3

Also when I copy the el3prog.bin file to the SOFTWARE directory will it pick it up or does it need to have a recognised name/format?. For example, for the TFA payload baremetal (EL2 program), this needs to be fip.bin

Many thanks