This is an automated email from Gerrit.

Greg Ungerer (g...@uclinux.org) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/1690

-- gerrit

commit dc966dd655d7418eb85fa61b3f5c67cebe1030fe
Author: Greg Ungerer <g...@uclinux.org>
Date:   Wed Oct 9 23:15:07 2013 +1000

    armada370: initial support for Marvell Armada 370 family
    
    Initial support for using the jtag interface to the Marvell Armada 370
    family of SoCs.
    
    Change-Id: Id823a567e8805ac622c3c330bc111297c1dae37e
    Signed-off-by: Greg Ungerer <g...@uclinux.org>

diff --git a/jimtcl b/jimtcl
index 2c1eba9..645ed6f 160000
--- a/jimtcl
+++ b/jimtcl
@@ -1 +1 @@
-Subproject commit 2c1eba991e21a6f0b531fb0f83e21f9e6ee7c515
+Subproject commit 645ed6fd4b6f9038c7e1d85d74c3872b3cb9a507
diff --git a/tcl/target/armada370.cfg b/tcl/target/armada370.cfg
new file mode 100644
index 0000000..c9c655e
--- /dev/null
+++ b/tcl/target/armada370.cfg
@@ -0,0 +1,33 @@
+#
+# armada370 -- support for the Marvell Armada/370 CPU family
+#
+# g...@uclinux.org, OCT-2013
+#
+
+if { [info exists CHIPNAME] } {
+   set _CHIPNAME $CHIPNAME
+} else {
+   set _CHIPNAME armada370
+}
+
+if { [info exists CPUTAPID] } {
+   set _CPUTAPID $CPUTAPID
+} else {
+   set _CPUTAPID 0x4ba00477
+}
+
+jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 
$_CPUTAPID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME cortex_a8 -chain-position $_CHIPNAME.dap
+
+proc armada370_dbginit {target} {
+     cortex_a dbginit
+}
+
+$_TARGETNAME configure -event reset-assert-post "armada370_dbginit 
$_TARGETNAME"
+
+# We need to init now, so we can run the apsel command.
+init
+dap apsel 1
+

-- 

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to