mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-08-15 02:34:47 +10:00
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 <agrassein@nanoxplore.com> Signed-off-by: Adrien Charruel <acharruel@nanoxplore.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8658 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
parent
4275280698
commit
bb4c7e3233
@ -36,12 +36,11 @@ dap create $_CHIPNAME.coresight.dap -chain-position $_CHIPNAME.coresight.cpu
|
||||
for { set _core 0 } { $_core < $_cores } { incr _core } {
|
||||
cti create cti.$_core -dap $_CHIPNAME.coresight.dap -ap-num 0 \
|
||||
-baseaddr [lindex $CTIBASE $_core]
|
||||
# Cores are armv8-r but works with aarch64 (since armv8-r not directly supported by openocd yet).
|
||||
if { $_core == 0} {
|
||||
target create core.$_core aarch64 -dap $_CHIPNAME.coresight.dap \
|
||||
target create core.$_core armv8r -dap $_CHIPNAME.coresight.dap \
|
||||
-ap-num 0 -dbgbase [lindex $DBGBASE $_core] -cti cti.$_core
|
||||
} else {
|
||||
target create core.$_core aarch64 -dap $_CHIPNAME.coresight.dap \
|
||||
target create core.$_core armv8r -dap $_CHIPNAME.coresight.dap \
|
||||
-ap-num 0 -dbgbase [lindex $DBGBASE $_core] -cti cti.$_core -defer-examine
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user