Age | Commit message (Collapse) | Author | Files | Lines |
|
This binary comes from
https://github.com/timsifive/freedom-u540-c000-bootloader/tree/board_setup2,
which will hopefully be accepted upstream.
|
|
The impetus for this was mostly that after my Ubuntu upgrade, pylint
suddenly starting to apply python3 rules, and I suppose it's time to
adopt python 3 now that it's been released for more than a decade.
|
|
* Parse inf/nan floats.
* Enable mstatus.fs in SimpleF18Test
Also accept "unable to fetch" message when FPRs aren't supported.
* Add config files for HiFive Unleashed.
* Add configs to flash HiFive Unleashed.
All tests pass.
|
|
The latest OpenOCD doesn't need (nor support) this anymore.
|
|
Hopefully this is enough information that I can simply point people who
submit OpenOCD changes to it, and they can run the tests themselves.
|
|
Instead of relying on $RISCV. Using $RISCV was common in the early
days, but nowadays many tools are simply installed alongside the rest of
the system.
|
|
* Let the debugger enable mstatus.F if necessary.
* Ignore (some) gdb debug output.
* Increase timeout.
* Make newer version of pylint happy.
|
|
|
|
|
|
* Parse floats the way mainline gdb prints them.
For 64-bit floats, it shows both float and double results. Now more
tests pass using mainline gdb.
* Disable ANSI when talking to gdb.
Helps more tests pass with mainline gdb.
* Parse {float=...,double=...} in "info registers"
Makes tests work better with mainline gdb.
|
|
Also work with the new command line options that were renamed in
https://github.com/riscv/riscv-isa-sim/pull/299
|
|
|
|
Passes on spike and Arty. Won't merge until
https://github.com/riscv/riscv-openocd/pull/364 merges.
|
|
This test confirms that in SMP configurations OpenOCD halts the harts
near-simulatenously. (It'll also check for resume, but that's not
implemented yet so commented out for now.)
|
|
* WIP
* Use hwthread everywhere.
* Test `-rtos hwthread`.
Also tweak timeouts a bit so that we don't have ridiculous timeouts for
simple operations.
* Tweak timeouts so tests pass on a loaded system.
|
|
Add testing of run-test/idle cases.
|
|
|
|
|
|
This test used to false pass on 64-bit targets because gdb doesn't like
using Intel hex files on 64-bit targets.
|
|
Increase some timeouts in case memory access is slow.
|
|
This is a pretty old bug. I limited the size to 256KB because against
spike my machine gets about 8KB/s, and I don't want to wait forever for
`make` to pass.
|
|
|
|
Tweak debug tests to run out of flash.
|
|
|
|
|
|
|
|
|
|
TriggerDmode, ProgramHwWatchpoint, ProgramSwWatchpoint.
|
|
Only TriggerDmode still fails.
|
|
Not all tests pass when run out of flash yet, but it's getting a lot
closer. The ones still failing on HiFive1-flash are: DebugSymbols,
Hwbp2, InstantHaltTest, TriggerDmode, TriggerLoadAddressInstant, and
TriggerStoreAddressInstant.
|
|
|
|
Gdb and OpenOCD were fixed so we don't have to accept broken behavior
anymore.
|
|
Also tiny cleanups, making pylint happy.
|
|
|
|
|
|
|
|
Reset address translation/perms before PrivChange
|
|
gdb in riscv-tools doesn't automatically create a "custom" group like
mainline gdb does.
|
|
Only works against spike, where I've implemented some custom debug
registers to test against.
|
|
We already did this for PrivTest.
Hopefully solves #155, but I haven't been able to reproduce it.
|
|
Now that OpenOCD can tell gdb exactly which watchpoint was hit, this
test exposes another problem:
https://github.com/riscv/riscv-openocd/issues/295
For now neuter the test so the testsuite can still be useful.
|
|
|
|
@timsifive we are debugging intermittent failures.
|
|
|
|
This allows me to see the final valgrind output on OpenOCD, so I can
watch for memory leaks when using --server_cmd "valgrind
--leak-check=full openocd".
|
|
Add debug test, which checks that openocd correctly switch active thread on any hart halt.
|
|
It's failing (intermittently?). See eg.
https://travis-ci.org/riscv/riscv-tools/builds/418928412?utm_source=github_status&utm_medium=notification
|
|
any hart halt.
|
|
|
|
Newer gdb requires more debug info in order to "watch data" in this
test. I'm not sure how to make that debug info happen, so instead we
tell it the address to use.
|