Hello everyone
I am in the process of porting EDK2 to a Quad core Aarch64 based SOC.
The SOC has a built-in BootROM running in EL3. When the BootROM completes loading
The image it transfers control to the loaded image in EL3 to allow installing a secure monitor
Since we have an on chip primary loader (i.e. BootROM) I used the 2nd stage template as a basis for my port
So in my flow BootROM loads FD image to main memory and jumps to the entry point in EL3
I quickly found out however that EDK2 expects to be executed in EL2 or EL1.
It was a bit surprising actually. I expected EDK2 to also act is a secure monitor and handle the PSCI calls as well.
I guess I am missing something in the functional partition.
To get to the point I would like to ask;
-
Who handles PSCI in Juno. I noticed the existence of ATF binaries such as bl0 and bl3 under Juno. Does it mean Juno works with combination of ATF and EDK2 ?
-
Is there a simple way to switch to EL2 using EDK2 packages. I guess the Sec part is supposed to do that, right ?
Thanks
-------------------
Yehuda Yitschak
Marvell Semiconductor Ltd.