Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-07-20 | Add back code to clean up triggers in entry.S | Tim Newsome | 3 | -0/+24 | |
Then for targets that can't handle this because they don't implement hmode, add a target setting that allows that to be specified. | |||||
2017-07-18 | Check all PCs after reset. | Tim Newsome | 1 | -1/+7 | |
2017-07-12 | Print out logs in more failure cases. | Tim Newsome | 1 | -4/+10 | |
2017-07-06 | debug: Make the 'out of reset' tests actually apply reset | mwachs5 | 1 | -0/+5 | |
2017-07-03 | Add gdb_setup to target for arbitrary gdb commands | Tim Newsome | 2 | -0/+7 | |
I'm using this for a target where misa is at an old address, to set riscv use_compressed_breakpoints off | |||||
2017-07-03 | Don't clear triggers during execution. | Tim Newsome | 1 | -9/+0 | |
This shouldn't affect triggers set by the debugger, because running code can't change those. When it does affect them, it breaks Hwbp1 which sets the breakpoint before running the program. | |||||
2017-06-27 | Tolerate missing misa register. | Tim Newsome | 1 | -1/+7 | |
At least in the test programs. There are other places where this causes trouble as well. | |||||
2017-06-26 | Move target definition into individual files. | Tim Newsome | 26 | -284/+184 | |
Instead of defining each target in targets.py, now each target gets its own .py file. This means people can easily keep their own target files around that they may not want to put into the main test source. As part of that, I removed the freedom-u500-sim target since I assume it's only used internally at SiFive. Added a few cleanups as well: * Update README examples, mostly --sim_cmd instead of --cmd. * Allow defining misa in a target, to skip running of ExamineTarget. * Rename target.target() to target.create(), which is less confusing. * Default --sim_cmd to `spike` * Got rid of `use_fpu`, instead looking at F or D in $misa. | |||||
2017-06-22 | Add basic multicore test. | Tim Newsome | 3 | -42/+128 | |
2017-06-20 | Smoketest multicore. | Tim Newsome | 3 | -14/+55 | |
When connecting to gdb, select a random thread and use that for the current test. Also replace infinite_loop with something that will later allow smoketesting of more than one thread. | |||||
2017-06-19 | Write OpenOCD log when it crashes early. | Tim Newsome | 1 | -2/+4 | |
2017-06-16 | Store logs for all tests in logs/ | Tim Newsome | 1 | -30/+58 | |
This creates a record of passing as well as failing tests, and gets rid of the log clutter that you previously ended up with in the current directory. | |||||
2017-06-15 | Test 64-bit addressing. | Tim Newsome | 8 | -29/+90 | |
The spike64 target now links all test programs at 0x7fff_ffff_ffff_0000. Also a minor change to log file naming so that 'make all' works again. I'll fix this better later. | |||||
2017-06-09 | Add final echo to E300/U500 OpenOCD scripts | Tim Newsome | 2 | -0/+2 | |
2017-06-09 | Make HiFive1 testing (mostly) work again | Tim Newsome | 2 | -2/+5 | |
Currently failing: DebugChangeString DebugFunctionCall InstantHaltTest | |||||
2017-06-09 | Fix using defaults for --server_cmd and --sim_cmd | Tim Newsome | 1 | -1/+1 | |
2017-06-09 | Default to openocd, not riscv-openocd | Tim Newsome | 1 | -1/+1 | |
AFAICT the normal build process never builds a binary called riscv-openocd. | |||||
2017-06-05 | Make pylint happy. | Tim Newsome | 3 | -10/+13 | |
If we want we can start using print(), but if so let's consistently use it instead of piecemeal. See also https://stackoverflow.com/questions/28694380/pylint-says-unnecessary-parens-after-r-keyword | |||||
2017-05-23 | Fail if simulator exits early. | Richard Xia | 1 | -0/+6 | |
2017-05-18 | debug: Correct the calling for a 32-bit simulation target | Megan Wachs | 1 | -1/+1 | |
2017-05-17 | Shorten the debug tests | Palmer Dabbelt | 1 | -4/+4 | |
2017-05-17 | Merge pull request #49 from riscv/no_examine_target | Palmer Dabbelt | 1 | -1/+10 | |
No Examine Target | |||||
2017-05-17 | Show the debug logs to stdout, to avoid travis timeouts | Palmer Dabbelt | 1 | -1/+1 | |
2017-05-16 | debug: remove unused auto_int function | Megan Wachs | 1 | -3/+0 | |
2017-05-16 | debug: Allow skipping the ExamineTarget task. | Megan Wachs | 1 | -4/+9 | |
2017-05-16 | debug: Allow skipping the ExamineTarget step by specifying misa | Megan Wachs | 1 | -1/+8 | |
2017-05-16 | Change Spike's RAM location to match the linker script | Palmer Dabbelt | 1 | -2/+2 | |
2017-05-16 | Link the infinate loop at 0x10000000 | Palmer Dabbelt | 3 | -1/+3 | |
Spike appears to have a problem geterating DTS at 0x80000000. | |||||
2017-05-16 | Link in encoding.h instead of providing a path to it | Palmer Dabbelt | 5 | -4/+5 | |
2017-05-16 | debug: Update OpenOCD configs. | Megan Wachs | 2 | -5/+4 | |
2017-05-15 | Disable another PRIV mention, for now | Palmer Dabbelt | 1 | -1/+2 | |
2017-05-15 | Disable the tests that touch PRIV, it's not implemented yet | Palmer Dabbelt | 1 | -62/+63 | |
2017-05-15 | Have the openocd invocation match the spike invocation | Palmer Dabbelt | 1 | -1/+1 | |
2017-05-15 | Disable some failing tests for now | Palmer Dabbelt | 1 | -37/+40 | |
2017-05-15 | Don't rely on Spike's default ISA | Palmer Dabbelt | 1 | -1/+3 | |
2017-05-15 | Don't use the RTOS, and do "reset halt" | Palmer Dabbelt | 1 | -3/+4 | |
This is the most reliable way to run the tests for now. | |||||
2017-05-15 | Let Spike have the default amount of RAM | Palmer Dabbelt | 1 | -1/+0 | |
Without this programs won't run. | |||||
2017-05-15 | Don't build openocd here, it's in riscv-tools now | Palmer Dabbelt | 1 | -1/+5 | |
2017-05-15 | debug: fix the make target for debug-check | Megan Wachs | 1 | -19/+2 | |
2017-05-15 | debug: Use consistent 'sim_cmd' argument. | Megan Wachs | 2 | -2/+2 | |
2017-04-26 | Set FS before reading F registers | Palmer Dabbelt | 1 | -0/+4 | |
2017-04-18 | bump OpenOCD version | Megan Wachs | 1 | -1/+1 | |
2017-04-18 | debug: Don't halt out of reset. It's unrealistic. Use a program which loops ↵ | Megan Wachs | 5 | -5/+20 | |
(actually it just gets an exception anyway). | |||||
2017-04-18 | debug: Use RTOS OpenOCD for Spike for now. | Megan Wachs | 1 | -1/+1 | |
2017-04-17 | debug: Checkpoint restoring Spike functionality | Megan Wachs | 5 | -29/+51 | |
2017-04-17 | Merge remote-tracking branch 'origin/newprogram' into debug-0.13 | Megan Wachs | 9 | -18/+42 | |
2017-04-17 | Merge remote-tracking branch 'origin/priv-1.10' into HEAD | Megan Wachs | 6 | -6/+9 | |
2017-04-14 | debug: checkpoint trying to get 64 bit programs to compile as well. | Megan Wachs | 1 | -0/+3 | |
2017-04-14 | debug: checkpoint of trying to get simulation tests working | Megan Wachs | 8 | -9/+29 | |
2017-04-14 | debug: working with newprogram branch | Megan Wachs | 4 | -10/+11 | |