Dear all, I have a Linux kernel v5.10.27 build for arm64 architecture that is runnable on Gem5. Now I want to run it on Qemu-system-aarch64, but I haven't figure out the proper command and parameters yet. Here is the few things I have tried: - qemu-system-aarch64 -M vexpress-a15 --cpu cortex-a15 -m 2048 --kernel output/vmlinux >From the Gem5 source code, I know Gem5 implements Arm CoreTile Express A15x2 (V2P-CA15) (from the comment in src/dev/arm/RealView.py). It has Cortex-A15. So I chose the parameters like above. However, it showed the following error:
qemu-system-aarch64: Trying to execute code outside RAM or ROM at 0x0000000004000000 The reason I think is vexpress-a15 and cortex-a15 are arm architecture, not arm64. I tried a few other parameters like cortex-a53, cortex-a57, versatileab, versatilepb, but all of them do not work. So how can I run the kernel on Qemu? And besides, I wonder how Gem5 implements Arm CoreTile Express A15x2 (ARM arch) and supports ARMv8 (arm64 arch) at the same time? Best regards, Duc Anh
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s