X-Git-Url: https://git.gag.com/?p=fw%2Fopenocd;a=blobdiff_plain;f=tcl%2Ftarget%2Fimx8m.cfg;h=af424c1c3b71223acd5afcf817d4e20458ed3c9f;hp=9a8bfecb1c667be20c4e156567aa9bc0b43dc517;hb=f23ac683430ffb08b511dd02afc93bc1f454a017;hpb=334a187e64121cb1f8bf6f07f5400e0e5ba8c0ff diff --git a/tcl/target/imx8m.cfg b/tcl/target/imx8m.cfg index 9a8bfecb1..af424c1c3 100644 --- a/tcl/target/imx8m.cfg +++ b/tcl/target/imx8m.cfg @@ -38,13 +38,14 @@ for { set _core 0 } { $_core < $_cores } { incr _core } { -baseaddr [lindex $CTIBASE $_core] set _command "target create $_TARGETNAME.$_core aarch64 -dap $_CHIPNAME.dap \ - -dbgbase [lindex $DBGBASE $_core] -cti $_CTINAME.$_core" + -dbgbase [lindex $DBGBASE $_core] -cti $_CTINAME.$_core -coreid $_core" if { $_core != 0 } { # non-boot core examination may fail set _command "$_command -defer-examine" set _smp_command "$_smp_command $_TARGETNAME.$_core" } else { + set _command "$_command -rtos hwthread" set _smp_command "target smp $_TARGETNAME.$_core" }