From: Palmer Dabbelt Date: Tue, 16 May 2017 19:34:45 +0000 (-0700) Subject: Link the infinate loop at 0x10000000 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=771bb94e09ad1915c18a581ba35edd75c8903837;p=riscv-tests.git Link the infinate loop at 0x10000000 Spike appears to have a problem geterating DTS at 0x80000000. --- diff --git a/debug/programs/infinite_loop b/debug/programs/infinite_loop index 628fd24..0cf68cb 100755 Binary files a/debug/programs/infinite_loop and b/debug/programs/infinite_loop differ 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: