Hi OP-TEE Experts,
We are trying to setup the optee-demo on a ARMv7 based Freescale LS1021a SoC.
During the same, I was trying to figure out various possibilities regarding OP-TEE boot flow on ARMv7.
Currently the boot flow which we have implemented looks like: boot-loader->OP-TEE->boot-loader->linux.
I was thinking if the boot-flow could be like: boot-loader->OP-TEE->linux. Regarding this I was able to figure out a macro in optee_os CFG_TEE_GDB_BOOT (refer [1]) which is used to save linux boot args from GDB to boot preloaded linux.
So can I use this macro to save boot args passed from boot-loader and directly pass on control to linux from optee_os or can I create another macro CFG_TEE_LINUX_BOOT to perform the same function as CFG_TEE_GDB_BOOT does?
If someone can help clarify this it would be very much appreciated.
[1]
https://github.com/OP-TEE/optee_os/blob/master/core/arch/arm/kernel/generic_entry_a32.S
Thanks and regards,
Sumit