aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/linksys-wag200g.cfg
blob: aa4887f9484636530b4c4a42bbd376e8499996bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# 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