This is an automated email from Gerrit.

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

-- gerrit

commit 881d442ddbdeaa8e6b23f1ebd7f55f1bc8999f99
Author: Tarek BOCHKATI <[email protected]>
Date:   Fri Feb 19 15:23:34 2021 +0100

    tcl/target: add BCM2835 configuration file
    
    This is the Broadcom chip used in the Raspberry Pi Model A, B, B+,
    the Compute Module, and the Raspberry Pi Zero.
    
    Partial information are available in raspberry pi website:
    https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835
    
    Change-Id: Ifeb012952473d624327e8c010ac5c886d9473aa0
    Signed-off-by: Tarek BOCHKATI <[email protected]>

diff --git a/tcl/target/bcm2835.cfg b/tcl/target/bcm2835.cfg
new file mode 100644
index 0000000..8f9dfa3
--- /dev/null
+++ b/tcl/target/bcm2835.cfg
@@ -0,0 +1,24 @@
+# This is the Broadcom chip used in the Raspberry Pi Model A, B, B+,
+# the Compute Module, and the Raspberry Pi Zero.
+
+# Partial information are available in raspberry pi website:
+# https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835
+
+if { [info exists CHIPNAME] } {
+       set  _CHIPNAME $CHIPNAME
+} else {
+       set  _CHIPNAME bcm2835
+}
+
+if { [info exists DAP_TAPID] } {
+       set _DAP_TAPID $DAP_TAPID
+} else {
+       set _DAP_TAPID 0x07b7617F
+}
+
+jtag newtap $_CHIPNAME cpu -expected-id $_DAP_TAPID -irlen 5
+adapter speed 4000
+
+dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
+
+target create $_CHIPNAME.cpu arm11 -chain-position $_CHIPNAME.arm

-- 


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

Reply via email to