On 08/07/2014 09:53 AM, Peter Maydell wrote: > On 7 August 2014 14:43, Christopher Covington <c...@codeaurora.org> wrote: >> On 08/07/2014 08:03 AM, Peter Maydell wrote: >>> No, because at the moment our AArch64 TCG implementation >>> (and the way we configure KVM) assumes that the highest >>> exception level is running AArch64. We might fix this eventually, >>> though. >> >> When EL3 and EL2 support is added, the bootloader will >> presumably have to be modified to make the switch from >> EL3 into EL2. In my experience switching into AArch32 >> EL2 instead of AArch64 EL2 is an easy option to add. > > I think the biggest difficulty is not the code to actually > do the switch but figuring out what the command line > UI to request "start in AArch32" ought to be and how that > then gets plumbed into the code to do the actual work.
ELF-32 file passed to -kernel seems to me like a reasonable place to start. Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.