rust-raspberrypi-OS-tutorials
rust-raspberrypi-OS-tutorials copied to clipboard
docker image `rustembedded/osdev-utils:2021.12` unsupported for raspi4 and raspi5
in Makefile
change 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