projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/target/ti_k3: Rename m4 target as general purpose mcu
[fw/openocd]
/
tcl
/
target
/
rk3308.cfg
diff --git
a/tcl/target/rk3308.cfg
b/tcl/target/rk3308.cfg
index d3d409eaf19844011069b870593d1d1378597155..7f957da0668543bda1e28c1eb00d9fef27749f14 100644
(file)
--- a/
tcl/target/rk3308.cfg
+++ b/
tcl/target/rk3308.cfg
@@
-28,7
+28,7
@@
swd newdap $_CHIPNAME cpu -expected-id $_DAP_TAPID -ignore-version
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
target create $_CHIPNAME.ahb mem_ap -dap $_CHIPNAME.dap -ap-num 0
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
target create $_CHIPNAME.ahb mem_ap -dap $_CHIPNAME.dap -ap-num 0
-# declare the
8
main application cores
+# declare the
4
main application cores
set _TARGETNAME $_CHIPNAME.core
set _smp_command ""
set _TARGETNAME $_CHIPNAME.core
set _smp_command ""
@@
-45,7
+45,7
@@
set $_TARGETNAME.cti(3) 0x8101b000
set _cores 4
for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
set _cores 4
for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
- cti create cti$_core -dap $_CHIPNAME.dap -
ctibase
[set $_TARGETNAME.cti($_core)] -ap-num 0
+ cti create cti$_core -dap $_CHIPNAME.dap -
baseaddr
[set $_TARGETNAME.cti($_core)] -ap-num 0
set _command "target create ${_TARGETNAME}$_core aarch64 \
-dap $_CHIPNAME.dap -coreid $_core -cti cti$_core \
set _command "target create ${_TARGETNAME}$_core aarch64 \
-dap $_CHIPNAME.dap -coreid $_core -cti cti$_core \
@@
-53,6
+53,7
@@
for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
if { $_core != 0 } {
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
if { $_core != 0 } {
set _smp_command "$_smp_command ${_TARGETNAME}$_core"
+ set _command "$_command -defer-examine"
} else {
# uncomment to use hardware threads pseudo rtos
# set _command "$_command -rtos hwthread"
} else {
# uncomment to use hardware threads pseudo rtos
# set _command "$_command -rtos hwthread"