From: OpenOCD-Gerrit <ope...@us...> - 2022-08-20 15:32:31
|
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 be2e5c6c35f77fecb4df2a19cec05cceac500ca9 (commit) from 9ffeedb5794e5ebe7b3a7d7fd63fde4d7124c0dd (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 be2e5c6c35f77fecb4df2a19cec05cceac500ca9 Author: Jae Hyun Yoo <qui...@qu...> Date: Thu Jan 20 12:07:58 2022 -0800 tcl/interface: add linuxgpiod cfg for Aspeed AST2600 Add linuxgpiod cfg for Aspeed AST2600 for a case if JTAG master needs to be implemented using linuxgpiod intead of hardware JTAG master mode. These AST2600 GPIOs will be mapped to JTAG/SWD signals. +-----------+-------------+-------------+ | signal | GPIO name | gpio offset | +-----------+-------------+-------------+ | TCK/SWCLK | GPIOI2 | 66 | | TMS/SWDIO | GPIOI3 | 67 | | TDI | GPIOI1 | 65 | | TDO | GPIOI4 | 68 | | nTRST | GPIOI0 | 64 | +-----------+-------------+-------------+ Signed-off-by: Jae Hyun Yoo <qui...@qu...> Change-Id: I19278402b0895be12d38c0ecea8fdbc56fd491b8 Reviewed-on: https://review.openocd.org/c/openocd/+/7112 Reviewed-by: Antonio Borneo <bor...@gm...> Tested-by: jenkins diff --git a/tcl/interface/ast2600-gpiod.cfg b/tcl/interface/ast2600-gpiod.cfg new file mode 100644 index 000000000..5cad02fbd --- /dev/null +++ b/tcl/interface/ast2600-gpiod.cfg @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +# Use AST2600 GPIO through linuxgpiod +# +# +-----------+-------------+-------------+ +# | signal | GPIO name | gpio offset | +# +-----------+-------------+-------------+ +# | TCK/SWCLK | GPIOI2 | 66 | +# | TMS/SWDIO | GPIOI3 | 67 | +# | TDI | GPIOI1 | 65 | +# | TDO | GPIOI4 | 68 | +# | nTRST | GPIOI0 | 64 | +# +-----------+-------------+-------------+ + +adapter driver linuxgpiod + +adapter gpio trst 64 -chip 0 +adapter gpio tdi 65 -chip 0 +adapter gpio tck 66 -chip 0 +adapter gpio swclk 66 -chip 0 +adapter gpio tms 67 -chip 0 +adapter gpio swdio 67 -chip 0 +adapter gpio tdo 68 -chip 0 + +reset_config trst_only separate trst_push_pull ----------------------------------------------------------------------- Summary of changes: tcl/interface/ast2600-gpiod.cfg | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tcl/interface/ast2600-gpiod.cfg hooks/post-receive -- Main OpenOCD repository |