openocd/tcl/board/lemaker_hikey.cfg
Matthias Welwarsky 77189db856 tcl: add Hi6220 target and LeMaker HiKey board config
configuration covers all 8 Cortex-A53 cores and auxiliary Cortex-M3
used for power management.

Change-Id: I5509f275aa669abe285f9152935ecdcbcd0c402e
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4009
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2017-02-24 09:54:46 +00:00

27 lines
515 B
INI

#
# board configuration for LeMaker Hikey
#
# board does not feature anything but JTAG
transport select jtag
# SRST-only reset configuration
reset_config srst_only srst_push_pull
source [find target/hi6220.cfg]
# halt the cores when gdb attaches
${_TARGETNAME}0 configure -event gdb-attach "halt"
# make sure the default target is the boot core
targets ${_TARGETNAME}0
proc core_up { args } {
global _TARGETNAME
# examine remaining cores
foreach _core [set args] {
${_TARGETNAME}$_core arp_examine
}
}