qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* qemu-system-aarch64 hangs in a cortex-a72 test
@ 2025-10-05 16:55 Liviu Ionescu
  2025-10-06  9:55 ` Peter Maydell
  0 siblings, 1 reply; 5+ messages in thread
From: Liviu Ionescu @ 2025-10-05 16:55 UTC (permalink / raw)
  To: QEMU Developers

Hi!

I have a small semihosted test that I use to test the xPack QEMU releases.

The test worked just fine up to 8.2.9, but hangs with 9.0.0 or later, including 10.0.0.

The test is invoked with:

```
$ qemu-system-aarch64 --machine virt --cpu cortex-a72 --kernel hello-world-cortex-a72.elf --nographic -smp 1 -d unimp,guest_errors --semihosting-config enable=on,target=native,arg=hello-world,arg=A7
^C
$
```

The test binary is available from:

- https://github.com/xpack-dev-tools/qemu-arm-xpack/tree/xpack/build-assets/test-assets


I tested on macOS with 9.0.0, 9.0.4, 9.2.4 compiled from sources, and with 10.0.0 from the official Manjaro distribution. The 9.2.4 tests were also performed on Linux, with the same result.

The binary was compiled from sources; I don't have the sources at hand but I can reconstruct them. I do not have a physical board to validate that the test code is functional, I always ran it on QEMU. The test might very well have a problem that was not detected by pre-9.x QEMU, but I'm not familiar enough with A72 to diagnose it. 

Any ideas what changed from 8.x to 9.0 to cause this?

Thank you,

Liviu




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-08 20:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-05 16:55 qemu-system-aarch64 hangs in a cortex-a72 test Liviu Ionescu
2025-10-06  9:55 ` Peter Maydell
2025-10-06 10:04   ` Liviu Ionescu
2025-10-06 10:45     ` Peter Maydell
2025-10-08 20:18       ` Liviu Ionescu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).