tcl: bcm6348 target config, BT HomeHub v1 board config 97/2097/2
authorLee Bowyer <lee@sodnpoo.com>
Sun, 6 Apr 2014 16:06:14 +0000 (20:06 +0400)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 14 Apr 2014 18:15:24 +0000 (18:15 +0000)
Also add the board to the firmware recovery script.

Change-Id: I4f9c895dae171df7249e3b1c0563b288518b9fe0
Signed-off-by: Lee Bowyer <lee@sodnpoo.com>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2097
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/bt-homehubv1.cfg [new file with mode: 0644]
tcl/target/bcm6348.cfg [new file with mode: 0644]
tcl/tools/firmware-recovery.tcl

diff --git a/tcl/board/bt-homehubv1.cfg b/tcl/board/bt-homehubv1.cfg
new file mode 100644 (file)
index 0000000..c50c7d2
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# BT HomeHub v1
+#
+
+set partition_list {
+    CFE       { Bootloader              0xbe400000 0x00020000 }
+    firmware  { "Kernel+rootfs"         0xbe420000 0x007d0000 }
+    fisdir    { "FIS Directory"         0xbebf0000 0x0000f000 }
+    nvram     { "Config space"          0xbebff000 0x00001000 }
+}
+
+source [find target/bcm6348.cfg]
+
+set _FLASHNAME $_CHIPNAME.norflash
+flash bank $_FLASHNAME cfi 0xbe400000 0x00800000 2 2 $_TARGETNAME
diff --git a/tcl/target/bcm6348.cfg b/tcl/target/bcm6348.cfg
new file mode 100644 (file)
index 0000000..2540b51
--- /dev/null
@@ -0,0 +1,9 @@
+set _CHIPNAME bcm6348
+set _CPUID 0x0634817f
+
+adapter_khz 1000
+
+jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME
index ee1a2844ccda05d956a84108e816612334b64de3..45311490faaef902305a078f8b3216a8e337a3ec 100644 (file)
@@ -5,6 +5,7 @@ set known_boards {
     "asus-rt-n16               ASUS RT-N16"
     "linksys-wrt54gl           Linksys WRT54GL v1.1"
     "netgear-dg834v3           Netgear DG834G v3"
     "asus-rt-n16               ASUS RT-N16"
     "linksys-wrt54gl           Linksys WRT54GL v1.1"
     "netgear-dg834v3           Netgear DG834G v3"
+    "bt-homehubv1              BT HomeHub v1"
 }
 
 proc firmware_help { } {
 }
 
 proc firmware_help { } {

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)