Move the ti targets to a TI folder. Since the folder is ti, we can
drop the "ti" prefix from the files themselves.
Done via the following script:
mkdir target/ti
FILES=`ls target/ti*.cfg target/omap*.cfg target/am335x.cfg
target/amdm37x.cfg target/icepick.cfg target/stellaris.cfg
target/davinci.cfg`
for cname in $FILES
do
bname=`basename $cname`
nname=`echo $bname|sed -e "s/^ti-//g"|sed -e "s/ti_//g"`
npath="target/ti/$nname"
echo "$cname => $npath"
fref=`git grep $cname .|cut -d ':' -f1|sort -u`
sed -i -e "s&$cname&$npath&g" $fref
git mv $cname $npath
done
Change-Id: I9f94dc6bb01f73721d4ff96be92cb51de2cbf0e2
Suggested-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9203
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
37 lines
1.2 KiB
INI
37 lines
1.2 KiB
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# http://omap.spectrumdigital.com/osk5912/
|
|
|
|
source [find target/ti/omap5912.cfg]
|
|
|
|
# NOTE: this assumes you're using the ARM 20-pin ("Multi-ICE")
|
|
# JTAG connector, and accordingly have J1 connecting pins 1 & 2.
|
|
# The TI-14 pin needs "trst_only", and J1 connecting 2 & 3.
|
|
reset_config trst_and_srst separate
|
|
|
|
# NOTE: boards with XOMAP parts wire nSRST to nPWRON_RESET.
|
|
# That resets everything -- including JTAG and EmbeddedICE.
|
|
# So they must use "reset_config srst_pulls_trst".
|
|
|
|
# NOTE: an expansion board could add a trace connector ... if
|
|
# it does, change this appropriately. And reset_config too,
|
|
# assuming JTAG_DIS reroutes JTAG to that connector.
|
|
etm config $_TARGETNAME 8 demultiplexed full dummy
|
|
etm_dummy config $_TARGETNAME
|
|
|
|
# standard boards populate two 16 MB chips, but manufacturing
|
|
# options or an expansion board could change this config.
|
|
flash bank osk.u1 cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
|
|
flash bank osk.u2 cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
|
|
|
|
proc osk5912_init {} {
|
|
omap5912_reset
|
|
|
|
# detect flash
|
|
flash probe 0
|
|
flash probe 1
|
|
}
|
|
$_TARGETNAME configure -event reset-init { osk5912_init }
|
|
|
|
arm7_9 dcc_downloads enable
|