|
From: openocd-gerrit <ope...@us...> - 2026-05-08 17:11:07
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via b9735335e50456d80bfe0f4875dbb8df377ddecd (commit)
via a28990fdb4dd3b9a6e776007aedf9e1f315781b9 (commit)
from eec70f407f9b3219fb578d4b0f6de3e1154244ec (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b9735335e50456d80bfe0f4875dbb8df377ddecd
Author: Antonio Borneo <bor...@gm...>
Date: Fri May 1 21:48:34 2026 +0200
adapters/xvc: doc: point to xvc-gpiod project
The project xvc-gpiod can be used to test the xvc driver.
Add the link to the documentation.
Change-Id: I4e303d17d0702b1b0532f8818a9f560ddf7641ff
Signed-off-by: Antonio Borneo <bor...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9607
Tested-by: jenkins
Reviewed-by: zapb <de...@za...>
diff --git a/doc/openocd.texi b/doc/openocd.texi
index aee1e4c5e..2b70054f8 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -3872,6 +3872,10 @@ This implementation is XVC protocol 1.0/1.1 compatible. However, 'mrd' and 'mwr'
extensions introduced in version 1.1 are not supported. Refer to:
@url{https://github.com/Xilinx/XilinxVirtualCable} for protocol specification.
+An implementation of XVC server to gpiod is available in
+@url{https://pypi.org/project/xvc-gpiod}
+and is suitable for testing this driver.
+
Example configuration:
@example
commit a28990fdb4dd3b9a6e776007aedf9e1f315781b9
Author: Marc Schink <de...@za...>
Date: Sun Apr 19 12:01:14 2026 +0200
adapters/xvc: Remove noisy debug output
The current debug output clutters the logs while adding little useful
information. Move them as LOG_DEBUG_IO().
Change-Id: I4b6261520e471194be7807e4205cd1ba05df15bc
Signed-off-by: Marc Schink <de...@za...>
Signed-off-by: Antonio Borneo <bor...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9583
Tested-by: jenkins
diff --git a/src/jtag/drivers/xvc.c b/src/jtag/drivers/xvc.c
index d5a5810f3..6e875e481 100644
--- a/src/jtag/drivers/xvc.c
+++ b/src/jtag/drivers/xvc.c
@@ -125,7 +125,7 @@ static int xvc_flush(void)
if (!xvc_used_bits) {
// Nothing to send, so we don't expect any bit back either.
last_used_bits = 0;
- LOG_DEBUG("XVC flush: no bits to flush");
+ LOG_DEBUG_IO("XVC flush: no bits to flush");
return ERROR_OK;
}
@@ -149,8 +149,8 @@ static int xvc_flush(void)
memcpy(xvc_send_buf + cp_offset, xvc_tdi_buf, number_of_bytes);
cp_offset += number_of_bytes;
// Updates the number of bytes used.
- LOG_DEBUG("XVC flush: cp_offset: %zu", cp_offset);
- LOG_DEBUG("XVC flush: used_bits: %d", xvc_used_bits);
+ LOG_DEBUG_IO("XVC flush: cp_offset: %zu", cp_offset);
+ LOG_DEBUG_IO("XVC flush: used_bits: %d", xvc_used_bits);
int written = write_socket(xvc_fd, xvc_send_buf, cp_offset);
if (written != (int)cp_offset) {
-----------------------------------------------------------------------
Summary of changes:
doc/openocd.texi | 4 ++++
src/jtag/drivers/xvc.c | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|