From: jmqemuml@durval.com
To: qemu-arm@nongnu.org, qemu-discuss@nongnu.org
Cc: jmqemuml@durval.com
Subject: How to create a Raspberry QEMU VM emulating the physical hardware as close as possible
Date: Thu, 27 Jan 2022 12:43:33 -0300 [thread overview]
Message-ID: <20220127154333.GC487@angmar.tmp.com.br> (raw)
Hello everyone,
I have a Raspberry Pi 4 model B v1.4 with 8GB RAM, and I need to create a VM in it as close to the physical hardware as possible (no need to be the exact RPi4 hardware, RPi3 or RPi2 would also work).
The reason is because I need to run this semi-closed software which comes only in a bootable SD image: https://github.com/victronenergy/venus/wiki/raspberrypi-install-venus-image
The host RPi is running Devuan Chimaera 4.0 (systemd-less Debian Bullseye derivative) and I'm using the QEMU v6.1 packages straight from its backports repo.
I've got so far as to extracting the image and trying to run it with
qemu-system-arm -M raspi2b -vnc :50 -drive file=~/tape/victron/venusos_rpi/venus-image-raspberrypi2-20210411203709-v2.66.rootfs.rpi-sdimg,format=raw,index=0,media=disk
The result is that the QEMU process starts and keeps running, and I can connect via VNC to port 5950 to see the VM screen, but VNC shows only a black screen.
What am I doing wrong? Has anyone managed to emulate a physical RPi in QEMU yet?
Additionally, hints on how to debug this or other things to try would be most welcome.
Cheers,
--
Durval Menezes.
reply other threads:[~2022-01-27 16:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220127154333.GC487@angmar.tmp.com.br \
--to=jmqemuml@durval.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-discuss@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.