|
From: openocd-gerrit <ope...@us...> - 2023-09-23 14:33:34
|
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 30375c6439ee97f60d729db747f01fb4eb2cf495 (commit)
via a7b77ac84f86dbdc447fcbf7822cb240b3916008 (commit)
from d8575ab8ab025af78b5b27ad575e4104b4cce520 (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 30375c6439ee97f60d729db747f01fb4eb2cf495
Author: Nishanth Menon <nm...@ti...>
Date: Wed Sep 6 10:26:48 2023 -0500
tcl/board: Add TI am62pevm config
Add basic connection details with AM62P SK/EVM
For further details, see: https://www.ti.com/lit/zip/sprr487
Signed-off-by: Nishanth Menon <nm...@ti...>
Change-Id: I1ba5e0c7627cf09cc8c221701bc44f73523a4574
Reviewed-on: https://review.openocd.org/c/openocd/+/7893
Tested-by: jenkins
Reviewed-by: Antonio Borneo <bor...@gm...>
Reviewed-by: Bryan Brattlof <he...@br...>
diff --git a/tcl/board/ti_am62pevm.cfg b/tcl/board/ti_am62pevm.cfg
new file mode 100644
index 000000000..2322b3d94
--- /dev/null
+++ b/tcl/board/ti_am62pevm.cfg
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Texas Instruments SK-AM62P: https://www.ti.com/lit/zip/sprr487
+#
+
+# AM62P SK/EVM has an xds110 onboard.
+source [find interface/xds110.cfg]
+
+transport select jtag
+
+# default JTAG configuration has only SRST and no TRST
+reset_config srst_only srst_push_pull
+
+# delay after SRST goes inactive
+adapter srst delay 20
+
+if { ![info exists SOC] } {
+ set SOC am62p
+}
+
+source [find target/ti_k3.cfg]
+
+adapter speed 2500
commit a7b77ac84f86dbdc447fcbf7822cb240b3916008
Author: Nishanth Menon <nm...@ti...>
Date: Wed Sep 6 10:21:09 2023 -0500
tcl/target/ti_k3: Add AM62P SoC
Add support for the TI K3 family AM62P SoC. This SoC is built on the
same base of AM62A7, so reuse the configuration with the exception of
the JTAG ID and the actual name used for the R5 core (moved from main
domain to wakeup domain).
For further details, see https://www.ti.com/lit/pdf/spruj83
Signed-off-by: Nishanth Menon <nm...@ti...>
Change-Id: I3a80be9e71204ed7697e51ac1ad488ef405744ef
Reviewed-on: https://review.openocd.org/c/openocd/+/7892
Reviewed-by: Bryan Brattlof <he...@br...>
Reviewed-by: Antonio Borneo <bor...@gm...>
Tested-by: jenkins
diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg
index beb98edca..01e11c69f 100644
--- a/tcl/target/ti_k3.cfg
+++ b/tcl/target/ti_k3.cfg
@@ -18,6 +18,8 @@
# Has 4 ARMV8 Cores and 1 R5 Core and an M4F
# * AM62a7: https://www.ti.com/lit/pdf/spruj16a
# Has 4 ARMV8 Cores and 2 R5 Cores
+# * AM62P: https://www.ti.com/lit/pdf/spruj83
+# Has 4 ARMV8 Cores and 2 R5 Cores
#
source [find target/swj-dp.tcl]
@@ -130,16 +132,17 @@ switch $_soc {
set _dmem_emu_base_address_map_to 0x1d500000
set _dmem_emu_ap_list 1
}
+ am62p -
am62a7 {
set _K3_DAP_TAPID 0x0bb8d02f
- # AM62a7 has 1 clusters of 4 A53 cores.
+ # AM62a7/AM62P has 1 cluster of 4 A53 cores.
set _armv8_cpu_name a53
set _armv8_cores 4
set ARMV8_DBGBASE {0x90010000 0x90110000 0x90210000 0x90310000}
set ARMV8_CTIBASE {0x90020000 0x90120000 0x90220000 0x90320000}
- # AM62a7 has 2 cluster of 1 R5s core.
+ # AM62a7/AM62P has 2 cluster of 1 R5 core.
set _r5_cores 2
set R5_NAMES {main0_r5.0 mcu0_r5.0}
set R5_DBGBASE {0x9d410000 0x9d810000}
@@ -149,6 +152,12 @@ switch $_soc {
set CM3_CTIBASE {0x20001000}
# Sysctrl power-ap unlock offsets
set _sysctrl_ap_unlock_offsets {0xf0 0x78}
+
+ # Overrides for am62p
+ if { "$_soc" == "am62p" } {
+ set _K3_DAP_TAPID 0x0bb9d02f
+ set R5_NAMES {wkup0_r5.0 mcu0_r5.0}
+ }
}
j721e {
set _K3_DAP_TAPID 0x0bb6402f
-----------------------------------------------------------------------
Summary of changes:
tcl/board/{ti_am62a7evm.cfg => ti_am62pevm.cfg} | 7 +++----
tcl/target/ti_k3.cfg | 13 +++++++++++--
2 files changed, 14 insertions(+), 6 deletions(-)
copy tcl/board/{ti_am62a7evm.cfg => ti_am62pevm.cfg} (75%)
hooks/post-receive
--
Main OpenOCD repository
|