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

2015-02-19 Thread Marc Zyngier
On 18/02/15 17:42, surya.satyav...@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 su

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

2015-02-18 Thread surya . satyavolu
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

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

2014-02-15 Thread Marc Zyngier
The current non-sec switching code suffers from one major issue: it cannot run in secure RAM, as a large part of u-boot still needs to be run while we're switched to non-secure. This patch reworks the whole HYP/non-secure strategy by: - making sure the secure code is the *last* thing u-boot execut