From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Date: Thu, 19 Feb 2015 13:58:45 +0000 Subject: [U-Boot] [PATCH v3 06/13] ARM: HYP/non-sec: allow relocation to secure RAM In-Reply-To: References: <1392471397-2158-1-git-send-email-marc.zyngier@arm.com> <1392471397-2158-7-git-send-email-marc.zyngier@arm.com> Message-ID: <54E5EC15.5090106@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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...