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/3923
-- gerrit commit df69ea8b0e6013a0eab72a174af688abe7471eb0 Author: Didrik Lundberg <[email protected]> Date: Mon Jul 6 14:14:52 2015 +0200 Confirmed functionality of minimodule.cfg. Added Tcl code for Raspberry Pi 2 Model B debug target. Change-Id: Ibe4e5f13b1e8ce471076dbc11aa977ad4e13c8e7 Signed-off-by: Paul Fertser <[email protected]> diff --git a/tcl/interface/ftdi/minimodule.cfg b/tcl/interface/ftdi/minimodule.cfg index 57249df..4dd50d5 100644 --- a/tcl/interface/ftdi/minimodule.cfg +++ b/tcl/interface/ftdi/minimodule.cfg @@ -4,11 +4,6 @@ # http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf # -echo "WARNING!" -echo "This file was not tested with real interface, it is based on code in ft2232.c." -echo "Please report your experience with this file to openocd-devel mailing list," -echo "so it could be marked as working or fixed." - interface ftdi ftdi_device_desc "FT2232H MiniModule" ftdi_vid_pid 0x0403 0x6010 diff --git a/tcl/target/raspberrypi2.cfg b/tcl/target/raspberrypi2.cfg new file mode 100644 index 0000000..2873ac1 --- /dev/null +++ b/tcl/target/raspberrypi2.cfg @@ -0,0 +1,43 @@ +telnet_port 4444 + +gdb_port 3333 + +adapter_khz 1000 + +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME bcmrpi2 +} + +if { [info exists DAP_TAPID] } { + set _DAP_TAPID $DAP_TAPID +} else { + set _DAP_TAPID 0x4ba00477 +} + +jtag newtap $_CHIPNAME dap -expected-id $_DAP_TAPID -irlen 4 -ircapture 0x01 -irmask 0x0f + +set _TARGETNAME0 $_CHIPNAME.cpu0 +set _TARGETNAME1 $_CHIPNAME.cpu1 +set _TARGETNAME2 $_CHIPNAME.cpu2 +set _TARGETNAME3 $_CHIPNAME.cpu3 + +target create $_TARGETNAME0 cortex_a -chain-position $_CHIPNAME.dap -coreid 0 -dbgbase 0x80010000 +target create $_TARGETNAME1 cortex_a -chain-position $_CHIPNAME.dap -coreid 1 -dbgbase 0x80012000 +target create $_TARGETNAME2 cortex_a -chain-position $_CHIPNAME.dap -coreid 2 -dbgbase 0x80014000 +target create $_TARGETNAME3 cortex_a -chain-position $_CHIPNAME.dap -coreid 3 -dbgbase 0x80016000 +target smp $_TARGETNAME0 $_TARGETNAME1 $_TARGETNAME2 $_TARGETNAME3 + +$_TARGETNAME0 configure -event gdb-attach { + cortex_a dbginit +} +$_TARGETNAME1 configure -event gdb-attach { + cortex_a dbginit +} +$_TARGETNAME2 configure -event gdb-attach { + cortex_a dbginit +} +$_TARGETNAME3 configure -event gdb-attach { + cortex_a dbginit +} -- ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
