qemu aarch64 cannot boot linux kernel v4.6+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I tested the latest qemu-system-aarch64 cannot boot linux mainline kernel since v4.6 from https:/
Environment info:
# host
ubuntu 16.04
# qemu
Master branch from git://git.
# build command
./configure --target-
make
# qemu commmand
qemu-system-
Error info:
No error prompted, actually no any log which means I couldn't see the usually kernel boot message.
Debug info:
I did a git bisect on linux, and found with this kernel commit, qemu failed to boot. Parent of 406e308770a92bd
commit 406e308770a92bd
Author: James Morse <email address hidden>
Date: Fri Feb 5 14:58:47 2016 +0000
arm64: add ARMv8.2 id_aa64mmfr2 boiler plate
ARMv8.2 adds a new feature register id_aa64mmfr2. This patch adds the
cpu feature boiler plate used by the actual features in later patches.
Signed-off-by: James Morse <email address hidden>
Reviewed-by: Suzuki K Poulose <email address hidden>
Signed-off-by: Catalin Marinas <email address hidden>
The main change in the patch is to add reg_id_aa64mmfr2 in to arch/arm64/
Can you please help check how to fix it?
Thanks
- Joey
Changed in qemu: | |
status: | New → Fix Released |
This bug was fixed in QEMU commit e20d84c1407d43d, back in 2016. Are you sure you're running the version of QEMU which you've just built, and not the installed system one (which is likely to be older)? Your command line suggests you're running the system one. The newly built binary will be ./aarch64- softmmu/ qemu-system- aarch64 in the build directory (and you can check using the --version option what binary you're running).