diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-16 12:34:45 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-16 12:48:05 -0700 |
commit | 771bb94e09ad1915c18a581ba35edd75c8903837 (patch) | |
tree | 024b9c0698f65af03d5754a800cecff7bfdf1555 | |
parent | cfa5b6dbf36e5e08749fa8b0792271d02196504d (diff) | |
download | riscv-tests-771bb94e09ad1915c18a581ba35edd75c8903837.zip riscv-tests-771bb94e09ad1915c18a581ba35edd75c8903837.tar.gz riscv-tests-771bb94e09ad1915c18a581ba35edd75c8903837.tar.bz2 |
Link the infinate loop at 0x10000000
Spike appears to have a problem geterating DTS at 0x80000000.
-rwxr-xr-x | debug/programs/infinite_loop | bin | 6344 -> 9288 bytes | |||
-rwxr-xr-x | debug/targets/spike/link.lds | 2 | ||||
-rw-r--r-- | debug/testlib.py | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/debug/programs/infinite_loop b/debug/programs/infinite_loop Binary files differindex 628fd24..0cf68cb 100755 --- a/debug/programs/infinite_loop +++ b/debug/programs/infinite_loop diff --git a/debug/targets/spike/link.lds b/debug/targets/spike/link.lds index b86b2b7..01d0e3d 100755 --- a/debug/targets/spike/link.lds +++ b/debug/targets/spike/link.lds @@ -4,7 +4,7 @@ SECTIONS { /* Leave some space for pk's data structures, which includes tohost/fromhost * which are special addresses we ought to leave alone. */ - . = 0x80010000; + . = 0x10010000; .text : { *(.text.entry) diff --git a/debug/testlib.py b/debug/testlib.py index ecb0431..858c75c 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -74,6 +74,8 @@ class Spike(object): if timeout: cmd = ["timeout", str(timeout)] + cmd + cmd += ["-m0x10000000:0x10000000"] + if halted: cmd.append('-H') if with_jtag_gdb: |