Skip to content

Commit bb4c7e3

Browse files
Adrien Grasseinborneoa
authored andcommitted
tcl/ngultra: Use newly created armv8r target
ngultra cores are cortex-r52, so use armv8r target now its created. Change-Id: If2d22593ab1e200ac15e7b883c70937acf1d2a59 Signed-off-by: Adrien Grassein <[email protected]> Signed-off-by: Adrien Charruel <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/8658 Reviewed-by: Antonio Borneo <[email protected]> Tested-by: jenkins
1 parent 4275280 commit bb4c7e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tcl/target/ngultra.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ dap create $_CHIPNAME.coresight.dap -chain-position $_CHIPNAME.coresight.cpu
3636
for { set _core 0 } { $_core < $_cores } { incr _core } {
3737
cti create cti.$_core -dap $_CHIPNAME.coresight.dap -ap-num 0 \
3838
-baseaddr [lindex $CTIBASE $_core]
39-
# Cores are armv8-r but works with aarch64 (since armv8-r not directly supported by openocd yet).
4039
if { $_core == 0} {
41-
target create core.$_core aarch64 -dap $_CHIPNAME.coresight.dap \
40+
target create core.$_core armv8r -dap $_CHIPNAME.coresight.dap \
4241
-ap-num 0 -dbgbase [lindex $DBGBASE $_core] -cti cti.$_core
4342
} else {
44-
target create core.$_core aarch64 -dap $_CHIPNAME.coresight.dap \
43+
target create core.$_core armv8r -dap $_CHIPNAME.coresight.dap \
4544
-ap-num 0 -dbgbase [lindex $DBGBASE $_core] -cti cti.$_core -defer-examine
4645
}
4746
}

0 commit comments

Comments
 (0)