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

后端 未结 1 661
清歌不尽
清歌不尽 2020-12-07 04:34

I have downloaded latest qemu Windows version then run below line

qemu-system-aarch64 -M virt,gic_version=3 -cpu cortex-a53 -smp 2 -nographic 
-m 2048 -kerne         


        
相关标签:
1条回答
  • 2020-12-07 05:12

    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).

    0 讨论(0)
提交回复
热议问题