Add instructions for how to launch qemu
authorMichael Nolan <mtnolan2640@gmail.com>
Wed, 25 Mar 2020 17:26:15 +0000 (13:26 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Wed, 25 Mar 2020 17:26:15 +0000 (13:26 -0400)
src/soc/simulator/qemu_test/README.md [new file with mode: 0644]
src/soc/simulator/qemu_test/launch.sh [new file with mode: 0755]

diff --git a/src/soc/simulator/qemu_test/README.md b/src/soc/simulator/qemu_test/README.md
new file mode 100644 (file)
index 0000000..32f90ee
--- /dev/null
@@ -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 (executable)
index 0000000..2844553
--- /dev/null
@@ -0,0 +1 @@
+qemu-system-ppc64 -machine powernv9 -nographic -s -S -kernel kernel.bin