Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-19 | Delete E300Sim.pydebug-delete-sim | Megan Wachs | 1 | -17/+0 | |
This file is wrong (the .cfg file isn't right) and not used by anything. | |||||
2018-04-02 | Use `gdb_report_register_access_error enable` | Tim Newsome | 4 | -0/+6 | |
2018-03-27 | Test debug authentication. | Tim Newsome | 3 | -3/+18 | |
Also halt instead of reset spike targets, which tests a more complicated code path. | |||||
2018-03-01 | Test debugging with/without a program buffer | Tim Newsome | 3 | -3/+3 | |
2018-03-01 | Ensure an error when reading a non-existent CSR. | Tim Newsome | 4 | -0/+16 | |
2018-02-07 | Link scripts shouldn't be executable. | Tim Newsome | 1 | -0/+0 | |
2017-12-27 | Test FPRs that aren't XLEN in size. | Tim Newsome | 4 | -4/+6 | |
Cover all combinations of 32,64 bit XLEN with F and FD extensions. Finishes Issue https://github.com/riscv/riscv-openocd/issues/110 | |||||
2017-10-24 | Increase dual-core RV64 timeouts. | Tim Newsome | 2 | -2/+2 | |
I need this for CompareSections to pass when I instrument spike to be really slow. | |||||
2017-09-29 | Fix tests to work in multi-gdb mode. | Tim Newsome | 9 | -4/+48 | |
The Gdb class now can handle connecting to more than one gdb. It enumerates the harts across all connections, and when asked to select a hart, it transparently sends future gdb commands to the correct instance. Multicore tests still have to be aware of some differences. The main one is that when executing 'c' in RTOS mode, all harts resume, while in multi-gdb mode only the current one resumes. Additionally, gdb doesn't set breakpoints until 'c' is issued, so the hart where breakpoints are set needs to be resumed before other harts might see them. | |||||
2017-09-21 | Add coverage for single-core non-rtos OpenOCD. | Tim Newsome | 4 | -3/+19 | |
2017-09-19 | Allow multiple reset vectors. | Tim Newsome | 2 | -2/+2 | |
Some boards have jumpers that control the reset vector, and forcing them one way or another is more annoying than dealing with it in software. | |||||
2017-09-01 | Use 32-bit link script for 32-bit target. | Tim Newsome | 1 | -1/+1 | |
2017-08-28 | This file isn't ready yet. | Tim Newsome | 1 | -11/+0 | |
2017-08-28 | Increase remotetimeout for spike targets. | Tim Newsome | 5 | -0/+15 | |
On overloaded systems, when executing compare-sections, otherwise gdb might hit a timeout and the compare-sections code doesn't deal with it. (You get an error message complaining that 130 is not a valid hex digit.) | |||||
2017-08-28 | Make pylint happy. | Tim Newsome | 3 | -3/+3 | |
2017-08-28 | WIP multicore testing. | Tim Newsome | 4 | -0/+8 | |
2017-08-28 | Make the debug tests aware of multicore. | Tim Newsome | 11 | -38/+63 | |
Targets now contain an array of harts. When running a regular test, one hart is selected to run the test on while the remaining harts are parked in a safe infinite loop. There's currently only one test that tests multicore behavior, but there could be more. The infrastructure should be able to support heterogeneous multicore, but I don't have a target like that to test with. | |||||
2017-08-10 | Give these sim targets a chance of passing. | Tim Newsome | 2 | -3/+7 | |
Also make sure vsim.log makes it into the generated log file. | |||||
2017-06-26 | Move target definition into individual files. | Tim Newsome | 21 | -148/+74 | |
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-15 | Test 64-bit addressing. | Tim Newsome | 4 | -0/+53 | |
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-05-16 | Link the infinate loop at 0x10000000 | Palmer Dabbelt | 1 | -1/+1 | |
Spike appears to have a problem geterating DTS at 0x80000000. | |||||
2017-05-16 | debug: Update OpenOCD configs. | Megan Wachs | 2 | -5/+4 | |
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-04-18 | debug: Don't halt out of reset. It's unrealistic. Use a program which loops ↵ | Megan Wachs | 1 | -1/+2 | |
(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 | Merge remote-tracking branch 'origin/newprogram' into debug-0.13 | Megan Wachs | 5 | -7/+10 | |
2017-04-17 | Merge remote-tracking branch 'origin/priv-1.10' into HEAD | Megan Wachs | 5 | -5/+5 | |
2017-04-14 | debug: checkpoint of trying to get simulation tests working | Megan Wachs | 5 | -5/+7 | |
2017-04-14 | debug: working with newprogram branch | Megan Wachs | 2 | -3/+4 | |
2017-03-29 | Change the global pointer symbol to __global_pointer$ | Palmer Dabbelt | 5 | -5/+5 | |
This changed a while ago in binutils. | |||||
2017-03-03 | Resurrect spike debug support | Palmer Dabbelt | 1 | -0/+17 | |
2017-02-17 | Add HiFive1 target. | Tim Newsome | 2 | -0/+57 | |
2016-10-18 | Pull port number from VCS output and pass to OpenOCD. | Richard Xia | 2 | -0/+2 | |
2016-10-03 | Add test for memory read from invalid address. | Tim Newsome | 1 | -0/+2 | |
2016-08-11 | Add FreedomU500 & incorporate feedback | Megan Wachs | 5 | -18/+47 | |
2016-08-08 | Add U500 Target | Megan Wachs | 2 | -0/+53 | |
2016-08-08 | Added FreedomE300 Simulator target | Megan Wachs | 2 | -0/+53 | |
2016-07-27 | Rename m2gl_m2s to freedom-e300. | Tim Newsome | 2 | -0/+0 | |
It's possible to flash the Freedom E300 onto different FPGA boards, and then debug them in the exact same way. | |||||
2016-07-19 | I think I've finally got malloc working right. | Tim Newsome | 2 | -4/+7 | |
Now gdb can call functions and change strings. | |||||
2016-07-18 | Increase TCK speed. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Bump up speed. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Update IDCODE. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Add simple register tests. | Tim Newsome | 1 | -1/+1 | |
Make the RegsTest case a bit more comprehensible. | |||||
2016-07-18 | Add block test. | Tim Newsome | 2 | -5/+4 | |
2016-07-18 | All tests pass with spike now. | Tim Newsome | 2 | -262/+0 | |
I did comment out a couple. | |||||
2016-07-18 | Made some progress towards working with spike. | Tim Newsome | 2 | -0/+166 | |
I'm writing all the tests so they should just work on real hardware, too. | |||||
2016-07-18 | WIP on debug testing. | Tim Newsome | 3 | -0/+183 | |
./gdbserver.py --m2gl_m2s --openocd "$HOME/SiFive/openocd/src/openocd -s $HOME/SiFive/openocd/tcl" -- RegsTest.test_write_gprs doesn't fail in a completely crazy way. |