- Oct 16, 2023
-
-
liangzhen authored
Signed-off-by:liangzhen <zhen.liang@spacemit.com>
-
- Oct 13, 2023
-
-
Tim Newsome authored
debug: Document that pexpect is needed.
-
- Oct 12, 2023
-
-
Tim Newsome authored
Resolves #510.
-
Tim Newsome authored
Disable timer interrupt to fix some bugs
-
- Oct 10, 2023
-
-
liangzhen authored
Signed-off-by:liangzhen <zhen.liang@spacemit.com>
-
- Oct 04, 2023
-
-
Tim Newsome authored
debug: Add Openocd.set_available()
-
- Sep 30, 2023
-
-
Tim Newsome authored
debug: Better interlock when interacting with gdb CLI.
-
Tim Newsome authored
This helper uses dmi_write commands to mark harts available/unavailable.
-
Tim Newsome authored
debug: Make Openocd.targets() tolerate blank lines.
-
Tim Newsome authored
debug: Fix interrupt_all() to restore state.
-
Tim Newsome authored
debug: Add --hart command line option to gdbserver.py
-
- Sep 29, 2023
-
-
Tim Newsome authored
Actually wait for the command to be echoed back. This means we won't be confused if there are extra newlines in gdb output.
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
This lets you reproduce a test running on a specific hart.
-
- Jul 25, 2023
-
-
Tim Newsome authored
debug: Re-enable unavailable tests, and fix them for github
-
- Jul 24, 2023
-
-
Tim Newsome authored
During the github workflow this character is \n, while on my computer it's ' '. I'm sure there's a good reason for that, but it doesn't seem worth figuring out what that reason is.
-
Tim Newsome authored
-
Tim Newsome authored
debug: Actually run tests in github workflow.
-
- Jul 22, 2023
-
-
Tim Newsome authored
This should avoid problems like we just had where bad tests can break the OpenOCD workflow. These tests only run if any debug files are changed, so should have no impact at all on non-debug tests in this repo. This file is copied and then slightly changed from riscv-openocd. New changes are that cacheable steps (building spike, OpenOCD) are stored to the cache even if running the tests fails.
-
- Jul 21, 2023
-
-
Tim Newsome authored
debug: Only run pylint if debug files changed.
-
- Jul 20, 2023
-
-
Tim Newsome authored
Just doing this to make a change in the debug files, which should now cause the pylint workflow to execute.
-
Tim Newsome authored
-
- Jul 19, 2023
-
-
Tim Newsome authored
debug: Disable unavailable tests.
-
Tim Newsome authored
They have issues when run in a github workflow.
-
- Jul 18, 2023
-
-
Tim Newsome authored
debug: Test OpenOCD behavior when harts become unavailable, using new spike mechanism
-
Tim Newsome authored
Use new spike mechanism to test OpenOCD behavior when a hart becomes unavailable, and then available again.
-
Tim Newsome authored
Use new spike mechanism to test OpenOCD behavior when the current hart becomes unavailable while running. Create ThreadTerminated exception.
-
Tim Newsome authored
Use the new spike mechanism to test OpenOCD behavior when a hart becomes unavailable while running. Create CommandException.
-
Tim Newsome authored
It's a bit messy to read the log file to get the output, but it seems to be flushed often so that this works. Also, added the `targets` method for retrieving the list of targets, and `wait_until_running` method to wait until all targets are in a running state.
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
Just so it's easier to quickly comment out code and hard-code the target to use without pylint complaining. This really should be a command line option.
-
- Jul 14, 2023
-
-
Tim Newsome authored
debug: flushregs -> maintenance flush register-cache
-
Tim Newsome authored
flushregs is deprecated.
-
- Jul 13, 2023
-
-
Marek Vrbka authored
* Add an exclude list for known failing Hifive1 tests This commit adds a list of known failing tests based on: https://github.com/riscv/riscv-openocd/issues/869#issue-1769176709 * Fix name of the HiFive1 flash target Signed-off-by:
Marek Vrbka <133884222+MarekVCodasip@users.noreply.github.com> --------- Signed-off-by:
Marek Vrbka <133884222+MarekVCodasip@users.noreply.github.com>
-
- Jul 11, 2023
-
-
Tim Newsome authored
change warning check in RepeatReadTest
-
- Jul 08, 2023
-
-
Tim Newsome authored
debug: Don't rely on RISCV env
-
- Jul 07, 2023
-
-
Evgeniy Naydanov authored
-