QEMU默认未提供CPU类型创建及ARMv8-A 32位适配问题
QEMU中ARMv8-A架构CPU的32位模式仿真问题
执行qemu-system-arm -machine virt -cpu cortex-a53命令时,会收到错误提示:
qemu-system-arm: unable to find CPU model 'cortex-a53'
但执行qemu-system-aarch64 -machine virt -cpu cortex-a53命令则可正常运行。
根据ARM官方文档,Cortex-A53和Cortex-A72基于ARMv8-A架构,同时支持AArch32与AArch64模式,但QEMU的qemu-system-arm(通常用于仿真32位ARM系统)无法适配这两款CPU型号。
已知QEMU中qemu-system-arm对应32位ARM系统(AArch32),qemu-system-aarch64对应64位ARM系统(AArch64)。Cortex-A53和Cortex-A72在QEMU中默认仅以64位模式存在,且目前QEMU未提供ARMv8-A架构的32位Cortex-A32 CPU型号。
有以下技术疑问:
- 是否可在
qemu-system-arm(AArch32模式)中运行Cortex-A53、Cortex-A72这类同时支持32位与64位的ARMv8-A架构CPU? - 如何在QEMU中创建32位ARMv8-A CPU型号?
- 对于在QEMU中以32位(AArch32,ARMv8-A)模式运行Cortex-A53/72,有哪些可行建议?
内容的提问来源于stack exchange,提问作者Purgoufr
相关产品推荐
相关产品推荐

