Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker image rustembedded/osdev-utils:2021.12 unsupported for raspi4 and raspi5 #218

Open
phial3 opened this issue Aug 23, 2024 · 1 comment

Comments

@phial3
Copy link

phial3 commented Aug 23, 2024

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
@BartMassey
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants