|Subject:||How to force EL2 mode when booting ELF32 file as kernel on CortexA7 or CortexA15|
|Date:||Sat, 4 Jul 2020 22:27:33 +0200|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0|
Hi,When booting an ELF32 file as "kernel" then Qemu seems to always start in SVC (EL1) mode.
When booting a "non ELF32" file (a bzimage or any other binary image) as "kernel" then Qemu seems to start in HYP (EL2) mode if the processor supports this mode (it seems to then emulate the uboot behavior)
Is there a way to tell Qemu to start in HYP (EL2) mode (or even EL3 mode) when booting an ELF file as kernel (assuming the processor supports it)?
|[Prev in Thread]||Current Thread||[Next in Thread]|