jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / tcl / target / ngultra.cfg
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (C) 2022 by NanoXplore, France - all rights reserved
3 #
4 # configuration file for NG-Ultra SoC from NanoXplore.
5 # NG-Ultra is a quad-core Cortex-R52 SoC + an FPGA.
6 #
7 transport select jtag
8 adapter speed 10000
9
10 if { [info exists CHIPNAME] } {
11 set _CHIPNAME $CHIPNAME
12 } else {
13 set _CHIPNAME NGULTRA
14 }
15
16 if { [info exists CHIPCORES] } {
17 set _cores $CHIPCORES
18 } else {
19 set _cores 4
20 }
21
22 set DBGBASE {0x88210000 0x88310000 0x88410000 0x88510000}
23 set CTIBASE {0x88220000 0x88320000 0x88420000 0x88520000}
24
25 # Coresight access to the SoC
26 jtag newtap $_CHIPNAME.coresight cpu -irlen 4 -expected-id 0x6BA00477
27
28 # Misc TAP devices
29 jtag newtap $_CHIPNAME.soc cpu -irlen 7 -expected-id 0xFAAA0555
30 jtag newtap $_CHIPNAME.pmb unknown1 -irlen 5 -expected-id 0xBA20A005
31 jtag newtap $_CHIPNAME.fpga fpga -irlen 4 -ignore-version -ignore-bypass
32
33 # Create the Coresight DAP
34 dap create $_CHIPNAME.coresight.dap -chain-position $_CHIPNAME.coresight.cpu
35
36 for { set _core 0 } { $_core < $_cores } { incr _core } {
37 cti create cti.$_core -dap $_CHIPNAME.coresight.dap -ap-num 0 \
38 -baseaddr [lindex $CTIBASE $_core]
39 # Cores are armv8-r but works with aarch64 (since armv8-r not directly supported by openocd yet).
40 if { $_core == 0} {
41 target create core.$_core aarch64 -dap $_CHIPNAME.coresight.dap \
42 -ap-num 0 -dbgbase [lindex $DBGBASE $_core] -cti cti.$_core
43 } else {
44 target create core.$_core aarch64 -dap $_CHIPNAME.coresight.dap \
45 -ap-num 0 -dbgbase [lindex $DBGBASE $_core] -cti cti.$_core -defer-examine
46 }
47 }
48
49 # Create direct APB and AXI interfaces
50 target create APB mem_ap -dap $_CHIPNAME.coresight.dap -ap-num 0
51 target create AXI mem_ap -dap $_CHIPNAME.coresight.dap -ap-num 1

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)