|
From: <ge...@op...> - 2019-04-03 19:03:37
|
This is an automated email from Gerrit. Leonard Crestez (leo...@nx...) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5036 -- gerrit commit 93f2abca55613c597d93984a9e0588ae2c40c138 Author: Leonard Crestez <leo...@nx...> Date: Wed Apr 3 19:07:56 2019 +0300 target/imx8m: Cleanup defaults * Add mem_ap for direct access to axi bus (without halting cpu) * Mark m4 core with -defer-examine because it's not used by default * Make a53.0 default target since it's the boot core Change-Id: Id031533c5d4af346eb08a9ac2532fa1bca602913 Signed-off-by: Leonard Crestez <leo...@nx...> diff --git a/tcl/target/imx8m.cfg b/tcl/target/imx8m.cfg index 5d7acbe..8322273 100644 --- a/tcl/target/imx8m.cfg +++ b/tcl/target/imx8m.cfg @@ -52,7 +52,13 @@ for { set _core 0 } { $_core < $_cores } { incr _core } { } eval $_smp_command -targets $_TARGETNAME.0 # declare the auxiliary Cortex-M4 core on AP #4 -target create ${_CHIPNAME}.m4 cortex_m -dap ${_CHIPNAME}.dap -ap-num 4 +target create ${_CHIPNAME}.m4 cortex_m -dap ${_CHIPNAME}.dap -ap-num 4 \ + -defer-examine + +# direct access to main axi bus +target create ${_CHIPNAME}.axi mem_ap -dap ${_CHIPNAME}.dap -ap-num 0 + +# default target is A53 core 0 +targets $_TARGETNAME.0 -- |