mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-22 03:46:27 +00:00
4157732bd8
For historical reasons, no license information was added to the tcl files. This makes trivial adding the SPDX tag through script: fgrep -rL SPDX tcl/board | while read a;do \ sed -i '1{i# SPDX-License-Identifier: GPL-2.0-or-later\n }' $a;done With no specific license information from the author, let's extend the OpenOCD project license GPL-2.0-or-later to the files. Change-Id: Ibcf7da62e842aafd036a78db9ea2b9f11f79af16 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7028 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@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
|