-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add JTAG Debug Module support for Ibex core #58
Merged
rivos-eblot
merged 44 commits into
lowRISC:ot-darjeeling-8.2.0
from
rivos-eblot:dev/ebl/jtag_sync
Mar 19, 2024
Merged
Add JTAG Debug Module support for Ibex core #58
rivos-eblot
merged 44 commits into
lowRISC:ot-darjeeling-8.2.0
from
rivos-eblot:dev/ebl/jtag_sync
Mar 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
do_trigger_action was introduced by commit d1c1114 and takes a trigger index as parameter. riscv_cpu_debug_excp_handler is also changed to call do_trigger_action but is passing an action enum value (DBG_ACTION_BP) into the trigger index parameter. Change do_trigger_action parameter from a trigger index to a trigger_action_t to satisfy all callers. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
cpu_handle_guest_debug() calls this function and we want to call guest debugging from alternative debug implementation(s) to GDB. Signed-off-by: Emmanuel Blot <[email protected]>
This matches the common syntax for qemu_log calls Signed-off-by: Emmanuel Blot <[email protected]>
RISC-V DM supports up to 2 dscratch registers; many implementations use 2. Signed-off-by: Emmanuel Blot <[email protected]>
This is the default configuration with OpenTitan project. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
This enables accessing CSR register names for trace/log purposes. Signed-off-by: Emmanuel Blot <[email protected]>
Accessing a CSR in debug mode should not reset debug mode. This should be a transient state to allow accessing CSR register in debug mode. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
* cpu_handle_guest_debug may delegate debug exception handling to debug_request * cpu_exec_loop may delegate single stepping handling to debug_enable_singlestep Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…nabled Signed-off-by: Emmanuel Blot <[email protected]>
Note that DCSR STEPIE is not yet supported. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…epping Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
This reverts commit b1c5948, now that pyot.py has been fixed. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…g-tidy Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
loiclefort
approved these changes
Mar 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (already reviewed and tested at Rivos)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.