This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2097

-- gerrit

commit 26462fb519bc3517e3af3faed22306e3f40ee214
Author: Lee Bowyer <[email protected]>
Date:   Sun Apr 6 20:06:14 2014 +0400

    tcl: bcm6348 target config, BT HomeHub v1 board config
    
    Also add the board to the firmware recovery script.
    
    Change-Id: I4f9c895dae171df7249e3b1c0563b288518b9fe0
    Signed-off-by: Lee Bowyer <[email protected]>
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/tcl/board/bt-homehubv1.cfg b/tcl/board/bt-homehubv1.cfg
new file mode 100644
index 0000000..c50c7d2
--- /dev/null
+++ b/tcl/board/bt-homehubv1.cfg
@@ -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
index 0000000..2540b51
--- /dev/null
+++ b/tcl/target/bcm6348.cfg
@@ -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
diff --git a/tcl/tools/firmware-recovery.tcl b/tcl/tools/firmware-recovery.tcl
index ee1a284..4531149 100644
--- a/tcl/tools/firmware-recovery.tcl
+++ b/tcl/tools/firmware-recovery.tcl
@@ -5,6 +5,7 @@ set known_boards {
     "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 { } {

-- 

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to