Created
March 25, 2026 19:57
-
-
Save sbz/e7f2175a6572842854ca734a9b6f6144 to your computer and use it in GitHub Desktop.
qemu arm scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # FreeBSD aarch 64 | |
| echo "Exit with C-A x" | |
| qemu-system-aarch64 \ | |
| -nographic \ | |
| -machine virt \ | |
| -cpu cortex-a53 -smp cores=4 \ | |
| -m 2048 \ | |
| -bios /usr/share/AAVMF/AAVMF_CODE.fd \ | |
| -drive if=virtio,id=hd,format=raw,file=FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img \ | |
| -rtc base=utc,clock=host \ | |
| -device ramfb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Armbian community Rockpro64 | |
| qemu-system-arm -m 1G,slots=3,maxmem=4G \ | |
| -machine type=virt -cpu cortex-a7 -dtb dtb/sun8i-h3-nanopi-neo.dtb \ | |
| -smp 4 \ | |
| -kernel vmlinuz-5.10.12-sunxi -initrd uInitrd-5.10.12-sunxi -append "earlyprintk #loglevel=8 earlycon=uart8250,mmio32,0x1c28000,115200n8 console=ttyS0 root=/dev/mmcblk0p1" \ | |
| -no-reboot -nographic -serial stdio -monitor none \ | |
| -hda Armbian_community_25.5.0-trunk.256_Rockpro64_bookworm_current_6.12.19_minimal.img \ | |
| -nic user,model=allwinner-sun8i-emac,hostfwd=tcp::50022-:22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment