)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"0156d3f41b6abd619587410bb736b5c68b8ab863","unresolved":true,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is the result of squashing cherry-picked commits from the [RISC-V"},{"line_number":10,"context_line":"fork]:"},{"line_number":11,"context_line":"commit c96a24a30775689a928d22d30c3c43cda38b8b94"},{"line_number":12,"context_line":"(\"Add Digilent JTAG-HS2 cJTAG configuration\"),"},{"line_number":13,"context_line":"commit 342ca4a8326ee3e4d3edaae45a228e8b4219b45e"},{"line_number":14,"context_line":"(\"Fix Digilent JTAG-HS2 cJTAG configuration script\")."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"e76f7d08_7e8daf03","line":11,"updated":"2026-07-31 14:19:54.000000000","message":"This SHA1 is not in the history of OpenOCD upstream so the build system returns error.\nUse instead:\n```\nThis is the result of squashing cherry-picked commits\n[1] (\"Add Digilent JTAG-HS2 cJTAG configuration\"), and\n[2] (\"Fix Digilent JTAG-HS2 cJTAG configuration script\")\nfrom the RISC-V fork.\n\nLink: https://github.com/riscv-collab/riscv-openocd/commit/c96a24a30775689a928d22d30c3c43cda38b8b94 [1]\nLink: https://github.com/riscv-collab/riscv-openocd/commit/342ca4a8326ee3e4d3edaae45a228e8b4219b45e [2]\n```","commit_id":"6fd67c8f13d00f97b7d6b60aad48ff0a750fd118"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"bed9668c3ffc541fb98a0194925c96c3f130f55e","unresolved":true,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is the result of squashing cherry-picked commits from the [RISC-V"},{"line_number":10,"context_line":"fork]:"},{"line_number":11,"context_line":"commit c96a24a30775689a928d22d30c3c43cda38b8b94"},{"line_number":12,"context_line":"(\"Add Digilent JTAG-HS2 cJTAG configuration\"),"},{"line_number":13,"context_line":"commit 342ca4a8326ee3e4d3edaae45a228e8b4219b45e"},{"line_number":14,"context_line":"(\"Fix Digilent JTAG-HS2 cJTAG configuration script\")."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"8739e330_be787190","line":11,"in_reply_to":"e76f7d08_7e8daf03","updated":"2026-07-31 15:04:25.000000000","message":"Similar issue in\nhttps://review.openocd.org/c/openocd/+/9820\nhttps://review.openocd.org/c/openocd/+/9821","commit_id":"6fd67c8f13d00f97b7d6b60aad48ff0a750fd118"}],"tcl/interface/ftdi/digilent-hs2-cjtag.cfg":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"0156d3f41b6abd619587410bb736b5c68b8ab863","unresolved":true,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"reset_config none"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"# These signals are used for cJTAG escape sequence on initialization only"},{"line_number":13,"context_line":"ftdi layout_signal TCK -data 0x0001"},{"line_number":14,"context_line":"ftdi layout_signal TDI -data 0x0002"},{"line_number":15,"context_line":"ftdi layout_signal TDO -input 0x0004"}],"source_content_type":"text/x-ttcn-cfg","patch_set":1,"id":"5fb3262e_908fdf4b","line":12,"updated":"2026-07-31 14:19:54.000000000","message":"Do we really need a new file for cJTAG?\nMy understanding is that the driver ftdi allows setting multiple layout signals in the same config file:\n- JTAG_SEL\n- LED\n- nSRST\n- nTRST\n- SWD_EN\n- SWDIO_OE\n- TCK\n- TDI\n- TDO\n- TMS\n- TMSC_EN\n\nwith some of them only used in SWD, other only in cJTAG.\nI think you can simply add the following lines to the existing `digilent-hs2.cfg`.\nWould you mind checking if it really works?","commit_id":"6fd67c8f13d00f97b7d6b60aad48ff0a750fd118"}]}
