Created
March 7, 2025 12:13
-
-
Save zeldin/c6a09b12a4ef8b2e654a08963bc55e36 to your computer and use it in GitHub Desktop.
aarch64_be guest script
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/sh | |
KERNEL="$(dirname "$0")"/Image | |
CMDLINE="earlycon console=ttyAMA0 quiet $@" | |
exec taskset 0x39 qemu-system-aarch64 -machine virt -cpu host -enable-kvm -nographic -smp 1 -m 2048 -virtfs local,path=/usr/aarch64_be-unknown-linux-gnu,mount_tag=root9p,security_model=passthrough,id=root9p -virtfs local,path=/home,mount_tag=home9p,security_model=passthrough,id=home9p -kernel "$KERNEL" -append "$CMDLINE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment