qemu-system-aarch64 entering el1 when emulating a53 power up

QEMU’s Cortex-A53 emulation by default only emulates a CPU with EL1, not EL2 or EL3, and therefore (as the architecture requires) we boot up in EL1. If you want a CPU with EL2 or EL3 you need to specifically enable it on the command line, with -machine virtualization=on to enable EL2, and -machine secure=on to enable EL3. Note that EL2 support is very recent and at the moment you’ll need to build from upstream git master to get that (it will be in the upcoming QEMU 2.9.0 release).

Leave a Comment