2022-06-12 16:48:05 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2017-06-12 10:28:03 -05:00
|
|
|
#
|
|
|
|
# board configuration for Tocoding Poplar
|
|
|
|
#
|
|
|
|
|
|
|
|
# board does not feature anything but JTAG
|
|
|
|
transport select jtag
|
|
|
|
|
2019-08-23 08:51:00 -05:00
|
|
|
adapter speed 10000
|
2017-06-12 10:28:03 -05:00
|
|
|
|
|
|
|
# SRST-only reset configuration
|
|
|
|
reset_config srst_only srst_push_pull
|
|
|
|
|
2020-10-26 11:54:55 -05:00
|
|
|
source [find target/hi3798.cfg]
|
2017-06-12 10:28:03 -05:00
|
|
|
|
|
|
|
# make sure the default target is the boot core
|
|
|
|
targets ${_TARGETNAME}0
|
|
|
|
|
|
|
|
proc core_up { args } {
|
|
|
|
global _TARGETNAME
|
|
|
|
|
|
|
|
# examine remaining cores
|
2022-03-01 16:21:20 -06:00
|
|
|
foreach _core $args {
|
2017-06-12 10:28:03 -05:00
|
|
|
${_TARGETNAME}$_core arp_examine
|
|
|
|
}
|
|
|
|
}
|