Open phial3 opened 2 months ago
in Makefile change QEMU_MACHINE_TYPE = raspi4b
Makefile
QEMU_MACHINE_TYPE = raspi4b
then
make test BSP=rpi4
error:
Boot test - rpi4 docker run -t --rm -v /Users/admin/Workspace/rust/github.com/rust-raspberrypi-OS-tutorials/04_safe_globals:/work/tutorial -w /work/tutorial -v /Users/admin/Workspace/rust/github.com/rust-raspberrypi-OS-tutorials/04_safe_globals/../common:/work/common rustembedded/osdev-utils:2021.12 ruby ../common/tests/dispatch.rb qemu-system-aarch64 -M raspi4b -serial stdio -display none -kernel kernel8.img ------------------------------------------------------------------- 🦀 Running 1 console I/O tests ------------------------------------------------------------------- 1. Checking for the string: 'Stopping here'.................. Console log: ------------------------------------------------------------------- ❌ Failure: Boot test: #<Errno::EIO: Input/output error @ io_fillbuf - fd:5 /dev/pts/1> - QEMU might have quit early ------------------------------------------------------------------- make: *** [test_boot] Error 1
I don't know what is needed to get QEMU running as an emulator for Pi 4. I doubt Pi 5 has a full emulator available at this point, although I haven't checked.
Perhaps someone else has more info?
in
Makefile
changeQEMU_MACHINE_TYPE = raspi4b
then
error: