This is an automated email from Gerrit.

Felipe Balbi (ba...@ti.com) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/2602

-- gerrit

commit 01948a2ef5c63b8c057191f7e5e40a40031cad05
Author: Felipe Balbi <ba...@ti.com>
Date:   Fri Mar 13 17:10:42 2015 -0500

    tcl: target: am437x.cfg: pass correct dbgbase
    
    Since commit ec9ccaa28849 (arm_adi_v5: make dap_lookup_cs_component()
    traverse subtables and handle multicore) AM437x devices can't be used
    with OpenOCD anymore. The reason is that dbgbase used to be set to zero
    before that commit and that just happens to work with AM437x devices.
    
    A more robust solution is to pass correct dbgbase when creating the
    target, which this commit does.
    
    Signed-off-by: Felipe Balbi <ba...@ti.com>
    Change-Id: Iaf2617804324de8094b25137943e08b84f14c75f

diff --git a/tcl/target/am437x.cfg b/tcl/target/am437x.cfg
index e9a6606..d6e1afa 100644
--- a/tcl/target/am437x.cfg
+++ b/tcl/target/am437x.cfg
@@ -45,7 +45,7 @@ jtag configure $_CHIPNAME.jrc -event post-reset "runtest 100"
 # Cortex A9 target
 #
 set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.dap
+target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.dap -dbgbase 
0x80000000
 
 # SRAM: 64K at 0x4030.0000; use the first 16K
 $_TARGETNAME configure -work-area-phys 0x40300000 -work-area-size 0x4000

-- 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to