Hi
I'm trying to leverage the ARM Trustzone technology present in the ARM Cortex-A8 processor to run security sensitive applications in the 'secure world', and I'm using a Beagleboard, which is based on an OMAP3530 processor.
To achieve this, I need to setup the secure world with my own environment, and therefore I need to interpose my own code before the system exits to non-secure mode. In order to intercept the execution early on at bootstrap, I've built my own firmware based on [1], but apparently, at this point, the system is already in non-secure mode. My guess then is that this transition happens even earlier and it is done by the ROM code. I've checked the OMAP35x manual, but there's not much information about this, and the only relevant reference seems to suggest that there are only three services running in monitor mode for L2 cache setup.
My question is: is there a way to interpose and run some setup code before the system exits the secure mode so that I can make use of the ARM Trustzone feature? What tools would I need to make this work? Or this is simply not possible in OMAP3530?
I really appreciate your help.
Nuno