From: Michael Nolan Date: Wed, 25 Mar 2020 17:26:15 +0000 (-0400) Subject: Add instructions for how to launch qemu X-Git-Tag: div_pipeline~1634 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40c5ec1f0df4bed1d78b1d0d019b399450d87ced;p=soc.git Add instructions for how to launch qemu --- diff --git a/src/soc/simulator/qemu_test/README.md b/src/soc/simulator/qemu_test/README.md new file mode 100644 index 00000000..32f90eec --- /dev/null +++ b/src/soc/simulator/qemu_test/README.md @@ -0,0 +1,8 @@ +# Qemu test directory + +To launch and debug qemu, run the following: +``` +make +./launch.sh +powerpc64-linux-gnu-gdb -x gdbscript +``` diff --git a/src/soc/simulator/qemu_test/launch.sh b/src/soc/simulator/qemu_test/launch.sh new file mode 100755 index 00000000..28445530 --- /dev/null +++ b/src/soc/simulator/qemu_test/launch.sh @@ -0,0 +1 @@ +qemu-system-ppc64 -machine powernv9 -nographic -s -S -kernel kernel.bin