smp8634.cfg 710 B

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # script for Sigma Designs SMP8634 (eventually even SMP8635)
  3. if { [info exists CHIPNAME] } {
  4. set _CHIPNAME $CHIPNAME
  5. } else {
  6. set _CHIPNAME smp8634
  7. }
  8. if { [info exists ENDIAN] } {
  9. set _ENDIAN $ENDIAN
  10. } else {
  11. set _ENDIAN little
  12. }
  13. if { [info exists CPUTAPID] } {
  14. set _CPUTAPID $CPUTAPID
  15. } else {
  16. set _CPUTAPID 0x08630001
  17. }
  18. adapter srst delay 100
  19. jtag_ntrst_delay 100
  20. reset_config trst_and_srst separate
  21. # jtag scan chain
  22. # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  23. jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1
  24. set _TARGETNAME $_CHIPNAME.cpu
  25. target create $_TARGETNAME mips_m4k -endian $_ENDIAN