tcl/board: add Linksys WRT54GL v1.1 board config

Tested flashing a real v1.1 device.

Change-Id: Ie0d202b9fded8b92e731d93e0ef17be415a75fc8
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1852
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
__archive__
Paul Fertser 2013-12-31 19:07:47 +04:00 committed by Spencer Oliver
parent faedb14772
commit 302a3a8fed
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#
# Linksys WRT54GL v1.1
#
source [find target/bcm5352e.cfg]
set partition_list {
CFE { Bootloader 0x1c000000 0x00040000 }
firmware { "Kernel+rootfs" 0x1c040000 0x003b0000 }
nvram { "Config space" 0x1c3f0000 0x00010000 }
}
# External 4MB NOR Flash (Intel TE28F320C3BD90 or similar)
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x1c000000 0x00400000 2 2 $_TARGETNAME

7
tcl/target/bcm5352e.cfg Normal file
View File

@ -0,0 +1,7 @@
set _CHIPNAME bcm5352e
set _CPUID 0x0535217f
jtag newtap $_CHIPNAME cpu -irlen 8 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME mips_m4k -endian little -chain-position $_TARGETNAME