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>
30 lines
991 B
INI
30 lines
991 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#
|
|
# Linksys WAG200G Router
|
|
#
|
|
# The stock firmware Flash layout is organized as follow:
|
|
#
|
|
# Start End Device
|
|
# 0x90000000 0x90020000 /dev/mtdblock/2
|
|
# 0x90020000 0x900d0000 /dev/mtdblock/1
|
|
# 0x900d0000 0x903a0000 /dev/mtdblock/0
|
|
# 0x903a0000 0x903e0000 /dev/mtdblock/5
|
|
# 0x903e0000 0x903f0000 /dev/mtdblock/3
|
|
# 0x903f0000 0x90400000 /dev/mtdblock/4
|
|
|
|
set partition_list {
|
|
adam2 { "Adam2 bootloader" 0x90000000 0x00020000 }
|
|
kernel { "Kernel" 0x90020000 0x000b0000 }
|
|
rootfs { "Root FS" 0x900d0000 0x002d0000 }
|
|
lang { "Minix language part" 0x903a0000 0x00040000 }
|
|
config { "Firmware config" 0x903e0000 0x00010000 }
|
|
adam2env { "Adam2 environment" 0x903f0000 0x00010000 }
|
|
}
|
|
|
|
source [find target/ti/ar7.cfg]
|
|
|
|
# External 4MB MXIC 29LV320MBTC Flash (Manufacturer/Device: 0x00c2 0x227e)
|
|
set _FLASHNAME $_CHIPNAME.flash
|
|
flash bank $_FLASHNAME cfi 0x90000000 0x00400000 2 2 $_TARGETNAME
|