From 390720c283992a0a6e8d7aea94924a15d3c8e900 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Fri, 13 May 2022 11:12:58 -0400 Subject: [PATCH] tcl: Add support for Kontron SMARC-sAL28 This commit is adapted from [1]. [1] https://review.openocd.org/c/openocd/+/4999 Signed-off-by: Michael Walle Signed-off-by: Heiko Thiery [ adapted to use common configuration ] Signed-off-by: Sean Anderson Change-Id: I9a428371694e7864e03055b8de18a55a7843b8c2 Reviewed-on: https://review.openocd.org/c/openocd/+/6977 Tested-by: jenkins Reviewed-by: Antonio Borneo --- tcl/board/kontron_sl28.cfg | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tcl/board/kontron_sl28.cfg diff --git a/tcl/board/kontron_sl28.cfg b/tcl/board/kontron_sl28.cfg new file mode 100644 index 000000000..9816f3802 --- /dev/null +++ b/tcl/board/kontron_sl28.cfg @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Kontron SMARC-sAL28 + +transport select jtag +reset_config srst_only srst_nogate + +jtag newtap unknown0 tap -irlen 12 + +set _CPUS 2 +source [find target/ls1028a.cfg] + +source [find tcl/cpld/altera-epm240.cfg] + +adapter speed 2000