Skip to content

Instantly share code, notes, and snippets.

@harrkout
Created February 1, 2024 08:20
Show Gist options
  • Save harrkout/0472f4f78cd3ae94d0e5693a1c7f7f3a to your computer and use it in GitHub Desktop.
Save harrkout/0472f4f78cd3ae94d0e5693a1c7f7f3a to your computer and use it in GitHub Desktop.
QEMU_Raspberry_PI_3b_Script
#!/bin/bash
qemu-system-aarch64 -machine raspi3b -cpu cortex-a53 -smp 4 -m 1G -kernel kernel8.img \
-dtb bcm2710-rpi-3-b.dtb -sd 2023-02-21-raspios-bullseye-arm64-lite.img \
-append "root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4" \
-usbdevice keyboard -usbdevice mouse -device usb-net,netdev=net0\
-netdev user,id=net0,hostfwd=tcp::2022-:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment