tcl/target/ti_k3: Add AM263 SoC 48/7948/2
authorNishanth Menon <nm@ti.com>
Tue, 17 Oct 2023 21:00:27 +0000 (16:00 -0500)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 11 Nov 2023 18:45:52 +0000 (18:45 +0000)
Add support for the TI K3 family AM263 SoC.

For further details, see https://www.ti.com/lit/pdf/spruim2

Change-Id: I9a91b3d675511661dfc2710a7183bd59b98da133
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7948
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/ti_k3.cfg

index e4a235b299a717252e32c8ee84b81cacb2150115..24b3fae879e5b4297b1e49a39852c77dc7e4ca0c 100644 (file)
@@ -4,6 +4,8 @@
 # Texas Instruments K3 devices:
 # * AM243: https://www.ti.com/lit/pdf/spruim2
 #  Has 4 R5 Cores, M4F and an M3
+# * AM263: https://www.ti.com/lit/pdf/spruj17
+#  Has 4 R5 Cores and an M3
 # * AM625: https://www.ti.com/lit/pdf/spruiv7a
 #  Has 4 ARMV8 Cores and 1 R5 Core and an M4F
 # * AM62A7: https://www.ti.com/lit/pdf/spruj16a
@@ -73,6 +75,22 @@ set _mem_ap_num 2
 
 # Set configuration overrides for each SOC
 switch $_soc {
+       am263 {
+               set _K3_DAP_TAPID 0x2bb7d02f
+
+               # Mem-ap port
+               set _mem_ap_num 6
+
+               # AM263 has 0 ARMV8 CPUs
+               set _armv8_cores 0
+
+               # AM263 has 2 cluster of 2 R5s cores.
+               set _r5_cores 4
+               set R5_NAMES {main0_r5.0 main0_r5.1 main1_r5.0 main1_r5.1}
+               set R5_DBGBASE {0x90030000 0x90032000 0x90050000 0x90052000}
+               set R5_CTIBASE {0x90038000 0x90039000 0x90058000 0x90059000}
+               set _r5_ap_num 5
+       }
        am654 {
                set _K3_DAP_TAPID 0x0bb5a02f
 

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)