From 40c5ec1f0df4bed1d78b1d0d019b399450d87ced Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Wed, 25 Mar 2020 13:26:15 -0400 Subject: [PATCH] Add instructions for how to launch qemu --- src/soc/simulator/qemu_test/README.md | 8 ++++++++ src/soc/simulator/qemu_test/launch.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 src/soc/simulator/qemu_test/README.md create mode 100755 src/soc/simulator/qemu_test/launch.sh 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 -- 2.30.2