bcm2835.cfg 639 B

123456789101112131415161718192021222324
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # This is the Broadcom chip used in the Raspberry Pi Model A, B, B+,
  3. # the Compute Module, and the Raspberry Pi Zero.
  4. # Partial information is available in raspberry pi website:
  5. # https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835
  6. if { [info exists CHIPNAME] } {
  7. set _CHIPNAME $CHIPNAME
  8. } else {
  9. set _CHIPNAME bcm2835
  10. }
  11. if { [info exists DAP_TAPID] } {
  12. set _DAP_TAPID $DAP_TAPID
  13. } else {
  14. set _DAP_TAPID 0x07b7617F
  15. }
  16. jtag newtap $_CHIPNAME cpu -expected-id $_DAP_TAPID -irlen 5
  17. adapter speed 4000
  18. target create $_CHIPNAME.cpu0 arm11 -chain-position $_CHIPNAME.cpu