diff options
-rw-r--r-- | tcl/board/linksys-wrt54gl.cfg | 15 | ||||
-rw-r--r-- | tcl/target/bcm5352e.cfg | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/tcl/board/linksys-wrt54gl.cfg b/tcl/board/linksys-wrt54gl.cfg new file mode 100644 index 00000000..ffe53ffb --- /dev/null +++ b/tcl/board/linksys-wrt54gl.cfg @@ -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 diff --git a/tcl/target/bcm5352e.cfg b/tcl/target/bcm5352e.cfg new file mode 100644 index 00000000..3f0495a3 --- /dev/null +++ b/tcl/target/bcm5352e.cfg @@ -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 |