qemu-aarch64-static0: unable to find CPU model 'cortex-a76'
wrljet opened this issue · 3 comments
wrljet commented
Is there a way for this to include a newer (or patched) qemu to support cortex-a76, such as found in Raspberry Pi 5?
++ sudo chroot /home/actions/temp/arm-runner/mnt /bin/sh -c 'command -v /bin/sh'
qemu-aarch64-static0: unable to find CPU model 'cortex-a76'
See: this qemu patch
Thanks for any assistance,
Bill
bvobart commented
Going by
Lines 102 to 127 in 98b8d5a
cpu
parameter for this action, provided that the latest version of QEMU bundled with Ubuntu 22.04 (currently the default image used by this action) supports it.pguyot commented
Exactly. This can be achieved by:
- using a container or runner that has an apt package with the qemu patch and installing them, so that:
apt install -y qemu qemu-user-static
doesn't overwrite the patched qemu version - passing cpu parameter.
Question is: what is the use case where exactly emulating the Raspberry Pi 5 CPU makes sense. Is it worth the effort and the longer CI time?