[U-Boot] [PATCH v3 06/13] ARM: HYP/non-sec: allow relocation to secure RAM

Marc Zyngier marc.zyngier at arm.com
Thu Feb 19 14:58:45 CET 2015


On 18/02/15 17:42, surya.satyavolu at sirabtech.com wrote:
> I am trying to bring up xen suing u-boot that has this patch.
> Unfortunately as soon as the code tries to call _nonsec_init through
> secure_ram_addr in arm7_init_nonsec function in virt-v7.c I get an
> undefined instruction exception. I suspect the
> CONFIG_ARMV7_SECURE_BASE needs to be defined to a particular value.
> What should that be defined to for omap5432?

I'm afraid you're barking up the wrong tree.

TI, in its infinite wisdom, drops directly to *non-secure*. So, there is
nothing you can actually do (maybe there's a way to go back to secure
mode, but that's certainly not documented).

The consequence of the above is that you cannot implement PSCI on
OMAP4/5. You'll have to add you own code to promote your CPUs to HYP
(there is a secure call for this).

Good luck,

	M.
-- 
Jazz is not dead. It just smells funny...


More information about the U-Boot mailing list