This is an automated email from Gerrit.

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

-- gerrit

commit 61eb863c63dd4c17bc47a5fe320dea7bbf6a3131
Author: Oleksij Rempel <[email protected]>
Date:   Tue Jun 30 20:36:16 2015 +0200

    tcl/target|board: add config Atheros ar2315
    
    Add configs for Atheros ar2313 MIPS based WiSoC and
    board based on this chip: La Fonera FON2200
    
    Change-Id: Ibfdbfc9c2beca6cf436c9ee5e493b08bfb55ac85
    Signed-off-by: Oleksij Rempel <[email protected]>

diff --git a/tcl/board/la_fonera-fon2200.cfg b/tcl/board/la_fonera-fon2200.cfg
new file mode 100644
index 0000000..53f1ed9
--- /dev/null
+++ b/tcl/board/la_fonera-fon2200.cfg
@@ -0,0 +1,8 @@
+source [find target/atheros_ar2315.cfg]
+
+reset_config trst_and_srst
+
+# setup working area somewhere in kseg1.
+# kseg1 = 0xa0000000 - 0xbfffffff. It is unmapped uncached kernel segment.
+# starting with 0xb8000000 we have differen HW IOs
+$_TARGETNAME configure -work-area-phys 0xa0000000 -work-area-size 0x1000
diff --git a/tcl/target/atheros_ar2315.cfg b/tcl/target/atheros_ar2315.cfg
new file mode 100644
index 0000000..92ad376
--- /dev/null
+++ b/tcl/target/atheros_ar2315.cfg
@@ -0,0 +1,16 @@
+if { [info exists CHIPNAME] } {
+       set _CHIPNAME $_CHIPNAME
+} else {
+       set _CHIPNAME ar2315
+}
+
+if { [info exists CPUTAPID] } {
+       set _CPUTAPID $CPUTAPID
+} else {
+       set _CPUTAPID 0x00000001
+}
+
+jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME

-- 

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to