aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-05-15 15:36:34 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-05-15 16:33:38 -0700
commitbf6049ed15c8a96472ad33dc9a1ad666ed2cba68 (patch)
tree19a7a19d83b265988c03a8d69f98e1f469aa534e
parent39b657d2831147636f29d7f3ec8ee339753892b8 (diff)
downloadriscv-tests-bf6049ed15c8a96472ad33dc9a1ad666ed2cba68.zip
riscv-tests-bf6049ed15c8a96472ad33dc9a1ad666ed2cba68.tar.gz
riscv-tests-bf6049ed15c8a96472ad33dc9a1ad666ed2cba68.tar.bz2
Don't use the RTOS, and do "reset halt"
This is the most reliable way to run the tests for now.
-rw-r--r--debug/targets/spike/openocd.cfg7
1 files changed, 4 insertions, 3 deletions
diff --git a/debug/targets/spike/openocd.cfg b/debug/targets/spike/openocd.cfg
index 29f5040..2742335 100644
--- a/debug/targets/spike/openocd.cfg
+++ b/debug/targets/spike/openocd.cfg
@@ -8,11 +8,12 @@ set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv
+#target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv
+target create $_TARGETNAME riscv -chain-position $_TARGETNAME
gdb_report_data_abort enable
init
-halt
+reset halt
-echo "Ready for Remote Connections" \ No newline at end of file
+echo "Ready for Remote Connections"