tcl/target/rk3308.cfg: add defer-examine
authorJiri Kastner <cz172638@gmail.com>
Wed, 16 Dec 2020 19:51:06 +0000 (20:51 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 26 Dec 2020 15:47:52 +0000 (15:47 +0000)
only core0 is brought up by bootloader

Change-Id: I1d6b5e6ba7498beadbf3805f4271f0197e411bd5
Signed-off-by: Jiri Kastner <cz172638@gmail.com>
Reviewed-on: http://openocd.zylin.com/5980
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li>
tcl/target/rk3308.cfg

index b55109312c8aa59f6fa197e326ae6f4a67dcdb67..7f957da0668543bda1e28c1eb00d9fef27749f14 100644 (file)
@@ -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
 
-# declare the 8 main application cores
+# declare the 4 main application cores
 set _TARGETNAME $_CHIPNAME.core
 set _smp_command ""
 
@@ -53,6 +53,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
 
     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"