Skip to content

Commit

Permalink
tcl/target/ti_k3: Add coreid identification to SMP processors
Browse files Browse the repository at this point in the history
Describe the SMP Armv8 cores in SMP configuration with coreid
explicitly called out. This allows for gdb session to call the smp
behavior clearly.

Change-Id: Ie43be22db64737bbb66181f09d3c83567044f3ac
Signed-off-by: Dubravko Srsan <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/7897
Reviewed-by: Antonio Borneo <[email protected]>
Tested-by: jenkins
  • Loading branch information
dsrsan authored and borneoa committed Oct 7, 2023
1 parent 871276c commit 7abb93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcl/target/ti_k3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ for { set _core 0 } { $_core < $_armv8_cores } { incr _core } {
cti create $_CTINAME.$_armv8_cpu_name.$_core -dap $_CHIPNAME.dap -ap-num 1 \
-baseaddr [lindex $ARMV8_CTIBASE $_core]

target create $_TARGETNAME.$_armv8_cpu_name.$_core aarch64 -dap $_CHIPNAME.dap \
target create $_TARGETNAME.$_armv8_cpu_name.$_core aarch64 -dap $_CHIPNAME.dap -coreid $_core \
-dbgbase [lindex $ARMV8_DBGBASE $_core] -cti $_CTINAME.$_armv8_cpu_name.$_core -defer-examine

set _v8_smp_targets "$_v8_smp_targets $_TARGETNAME.$_armv8_cpu_name.$_core"
Expand Down

0 comments on commit 7abb93a

Please sign in to comment.