Skip to content

Instantly share code, notes, and snippets.

@sulincix
Created August 26, 2023 12:49
Show Gist options
  • Save sulincix/fdccab36d0aeaae181540971a117addc to your computer and use it in GitHub Desktop.
Save sulincix/fdccab36d0aeaae181540971a117addc to your computer and use it in GitHub Desktop.
emulate rpi on qemu
qemu-system-aarch64 \
-m 1024 \
-M raspi3b \
-kernel kernel8.img \
-dtb bcm2710-rpi-3-b-plus.dtb \
-sd devuan.img \
-append "console=ttyAMA0 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4" \
-device usb-net,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::2222-:22 \
-usb -device usb-mouse -device usb-kbd \
# -nographic \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment