0

I have been trying to set up a RPi 3b emulation on QEMU for testing software related to the framebuffer, and have got it working including networking, but not video.

Doing ls /dev/, I can't find the framebuffer, but QEMU detects the bcm2835-fb. Is there something wrong with my OS or my setup? Am I just missing a step? How could I fix this?

The command I'm currently using is:

sudo qemu-system-aarch64 \
 -M raspi3b \
 -append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootdelay=1" \
 -dtb bcm2710-rpi-3-b.dtb \
 -sd 2022年01月28日-raspios-bullseye-armhf-lite.img \
 -kernel kernel8.img \
 -m 1G \
 -smp 4 \
 -usb -device usb-mouse -device usb-kbd \
 -device usb-net,netdev=net0 \
 -netdev user,id=net0,hostfwd=tcp::5555-:22
asked Feb 28, 2022 at 14:17

1 Answer 1

2

Currently (march 2022), QEMU's framebuffer isn't compatible with the most recent RPi linux kernel, so the solution right now is to just use an older version of raspios. Buster with linux-4.19 works for me.

answered Mar 1, 2022 at 20:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.