pi3.sh (295B)
1 #!/bin/sh 2 3 os=bin/9pi3.bin 4 5 qemu-system-aarch64\ 6 -M raspi3 -m 1024 \ 7 -serial mon:stdio\ 8 -nographic\ 9 -no-reboot\ 10 -gdb tcp::7000 -S\ 11 -kernel $os & 12 13 aarch64-linux-musl-gdb bin/9pi3.elf 14 15 kill $! 16 17 # -machine type=raspi3\ 18 #image must be a multiple of 4 bytes 19 #kernel execution begins at 0x80000