- Sep 23, 2023
-
-
Tim Newsome authored
In case the target needs a moment to recover from the tap/system reset that might have been performed earlier. Change-Id: Ifb899098b37d30ebd9024ebc309abbe53bedd906 Signed-off-by:Tim Newsome <tim@sifive.com>
-
- Sep 12, 2023
-
-
Tim Newsome authored
From upstream
-
- Sep 09, 2023
-
-
Tim Newsome authored
target/riscv_semihosting: Make the unknown operation number an error
-
Tim Newsome authored
target/riscv: cleanup riscv_enumerate_triggers()
-
- Sep 08, 2023
-
-
Tim Newsome authored
target/riscv: Reject size 2 soft breakpoints when C extension not supported
-
- Sep 07, 2023
-
-
Evgeniy Naydanov authored
1. Propagate error codes. 2. Disable leftover triggers in case `tinfo` is supported. Change-Id: Ie20edb4d8b9245e13ac8757bf6afe549ac99c4f1 Signed-off-by:Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
-
Marek Vrbka authored
Previously, an unknown semihosting operation number was logged as debug. This patch changes it and few other places to be logged as error instead. Change-Id: I83cae5ca1e3daed440f92b08bd372bfffbbad63c Signed-off-by:Marek Vrbka <marek.vrbka@codasip.com>
-
- Sep 04, 2023
-
-
Marek Vrbka authored
This patch disables software breakpoints of size 2 for targets which don't support compressed instructions. Change-Id: I8200b22a51c97ba2aa89e6328beadde8dd35cdd5 Signed-off-by:Marek Vrbka <marek.vrbka@codasip.com>
-
- Aug 31, 2023
-
-
Tim Newsome authored
target/riscv: Don't write to zero.
-
- Aug 30, 2023
-
-
Tim Newsome authored
Change-Id: I6e7c0866291dd87946a4fd49d9bfe4cddefb3957
-
Tim Newsome authored
riscv: simplify state management during examine
-
- Aug 25, 2023
-
-
Marek Vrbka authored
During a previous patch, the ignoring of writes to register zero was deleted. This patch restores it to the original. Change-Id: Ieb028a5b2e3f691e4847713c7bc809e10726e18c Signed-off-by:Marek Vrbka <marek.vrbka@codasip.com>
-
- Aug 24, 2023
-
-
Tim Newsome authored
target/riscv: Add support for Sv57 (and Sv57x4) translation mode
-
Tim Newsome authored
fix crash when we try to read vector register on a running target
-
- Aug 19, 2023
-
-
Tim Newsome authored
target/riscv: fix execute_fence
-
- Aug 18, 2023
-
-
Parshintsev Anatoly authored
This also fixes a bug when, after `examine` completion, the target still has `unknown` status. To reproduce this one spike, it is enough to do the following: --- // make sure spike harts are halted openocd ... -c init -c 'echo "[targets]"' --- this behavior is quite dangerous and leads to segfaults in some cases Change-Id: I13915f7038ad6d0251d56d2d519fbad9a2f13c18 Signed-off-by:Parshintsev Anatoly <anatoly.parshintsev@syntacore.com>
-
Parshintsev Anatoly authored
Change-Id: I0e140d69faa67f8817310cf18a4db3c581013de2 Signed-off-by:Parshintsev Anatoly <anatoly.parshintsev@syntacore.com>
-
Tim Newsome authored
[riscv] refactor functions that register read/write via progbuf
-
- Aug 17, 2023
-
-
Xiang W authored
This patch improves the following issues: 1. Makes it compatible with targets with progbufsize == 1. 2. Although exceptions don’t update any registers, but do end execution of the progbuf. This will make fence rw, rw impossible to execute. Change-Id: I2208fd31ec6a7dae6e61c5952f90901568caada6 Signed-off-by:Xiang W <wxjstz@126.com>
-
- Aug 15, 2023
-
-
Parshintsev Anatoly authored
The motivation for this refactor is to fixup error handling for some corner cases. These functions attempt to cache S0 register and only then perform a bunch of extra checks to figure out if the requested register is valid one in this context. The problem is that there are few corner cases when _*progbuf functions could receive a GPR as an input. For example, an abstract read could fail (for whatever reason) leading to infinite recursion: ```` save S0 -> read S0 -> save S0 -> read S0 -> ... ``` The case described above could be fixed by adding extra sanitity checks, however I decided to make these functions more modular since I find self-contained functions easier to read. Change-Id: I01f57bf474ca45ebb67a30cd4d8fdef21f307c7d Signed-off-by:Parshintsev Anatoly <anatoly.parshintsev@syntacore.com>
-
Tim Newsome authored
target/riscv: improve error handling in trigger setup
-
Tim Newsome authored
add diagnostics for non-implemented data watchpoints
-
- Aug 14, 2023
-
-
Kirill Radkin authored
Also fix Sv48x4 translation mode
-
- Aug 03, 2023
-
-
Evgeniy Naydanov authored
Change-Id: I235973a3c44fb3d934925c74ffee47f8bd96de0d Signed-off-by:Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
-
- Aug 02, 2023
-
-
Parshintsev Anatoly authored
Change-Id: If5031c6d8cea1bfcc34bb65fd766f232498ed7ea Signed-off-by:Parshintsev Anatoly <anatoly.parshintsev@syntacore.com>
-
Tim Newsome authored
target/riscv: OpenOCD fails with assert during running "reset" command
-
- Aug 01, 2023
-
-
Kirill Radkin authored
OpenOCD fails in the presence of inactive/unresponsive cores I faced with case when inactive core returns 0 while reading dtmcontrol. This leads to failure on assert: "addrbits != 0" in "dbus_scan". Also change "read_bits","poll_target" funcs to avoid a lot lines in logs Change-Id: If852126755317789602b7372c5c5732183fff6c5 Signed-off-by:Kirill Radkin <kirill.radkin@syntacore.com>
-
- Jul 31, 2023
-
-
Tim Newsome authored
Merge up to a3ed1240 from upstream.
-
- Jul 27, 2023
-
-
Tim Newsome authored
target/riscv: support multiple DMs
-
- Jul 26, 2023
-
-
Mark Zhuang authored
Change-Id: I0d65bf9b33fb6d10c33f4f038045832594579e58 Signed-off-by:Mark Zhuang <mark.zhuang@spacemit.com>
-
Mark Zhuang authored
Support assign DMI address of the debug module by pass -dbgbase to the target create command Change-Id: I774c3746567f6e6d77c43a62dea5e9e67bb25770 Signed-off-by:Mark Zhuang <mark.zhuang@spacemit.com>
-
Mark Zhuang authored
prepare for support multiple DMs Change-Id: Ia313006376e4fa762449343e5522b59d3bfd068a Signed-off-by:Mark Zhuang <mark.zhuang@spacemit.com>
-
- Jul 24, 2023
-
-
Tim Newsome authored
target/riscv: Add target name logging to most log prints.
-
Marek Vrbka authored
This patch adds target logging to logging instances where it makes sense. This is especially useful when debugging multiple targets at once, such as multicore systems. Change-Id: Ia9861f3fa0e6e5908b683c2a8280659c3c264395 Signed-off-by:Marek Vrbka <marek.vrbka@codasip.com>
-
- Jul 22, 2023
-
-
Tim Newsome authored
Fix Checkpatch and Sparse tool warnings
-
- Jul 21, 2023
-
-
Erhan Kurubas authored
Besides checkpatch, now upstream codes are scanning with Sparse semantic checker tool. This commit addresses some Sparse and checkpatch warnings. Change-Id: I0e3e9f15220d8829c5708897af27aa86a8f90c07 Signed-off-by:Erhan Kurubas <erhan.kurubas@espressif.com>
-
Erhan Kurubas authored
Below warnings are fixed. 1- A function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 2- error: variable set but not used [-Werror,-Wunused-but-set-variable] Signed-off-by:
Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I1cf14b8e5e3e732ebc9cacc4b1cb9009276a8ea9 Reviewed-on: https://review.openocd.org/c/openocd/+/7569 Reviewed-by:
Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
-
Tim Newsome authored
github/ci Make Spike64-2 tests run regardless of Spike32 tests result
-
Tim Newsome authored
Update espressif chips
-
- Jul 20, 2023
-
-
Tim Newsome authored
Run spike tests on `riscv` branch.
-