Skip to content

Instantly share code, notes, and snippets.

@timhughes
Created July 11, 2020 17:37
Show Gist options
  • Save timhughes/8f26d8a94e78f6e1e2819399e399d8d4 to your computer and use it in GitHub Desktop.
Save timhughes/8f26d8a94e78f6e1e2819399e399d8d4 to your computer and use it in GitHub Desktop.
raspberrypi qemu
Get a kernel and the dtb files from
https://www.raspberrypi.org/downloads/raspberry-pi-os/
https://github.com/dhruvvyas90/qemu-rpi-kernel
sudo qemu-system-arm -kernel kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 console=ttyAMA0" -hda raspbian-buster-lite.qcow2 -dtb versatile-pb-buster.dtb -net nic -net user -vnc :0 -net tap,ifname=vnet0,script=no,downscript=no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment