Skip to content

Instantly share code, notes, and snippets.

View luyaohan1001's full-sized avatar
:bowtie:
Pushed more code today!

luyaohan1001

:bowtie:
Pushed more code today!
View GitHub Profile
@luyaohan1001
luyaohan1001 / RaspberryPi4-qemu.md
Created September 14, 2024 16:48 — forked from cGandom/RaspberryPi4-qemu.md
Emulating Raspberry Pi 4 with Qemu

Emulating Raspberry Pi 4 with Qemu

Just a quick update before we dive in: what we're actually doing here is running Raspberry Pi OS (64-bit) on a QEMU virtual ARM setup. This isn't full-blown hardware emulation of the Raspberry Pi 4, but more about creating a virtual environment for the OS. It doesn't mimic all the specific hardware features of the Pi 4, but it's pretty useful and great for general testing. I turned to this solution mainly to extract a modified sysroot from the Raspberry Pi OS, something not readily available in other resources. For those looking into detailed emulation of the actual Raspberry Pi 4's hardware in QEMU, check out this link for the latest updates: https://gitlab.com/qemu-project/qemu/-/issues/1208.

Hope it helps! :D

Shortcomings: No GUI yet, only console.

Steps