imx28.cfg 789 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # i.MX28 config file.
  3. # based off of the imx21.cfg file.
  4. reset_config trst_and_srst
  5. #jtag nTRST and nSRST delay
  6. adapter srst delay 100
  7. jtag_ntrst_delay 100
  8. if { [info exists CHIPNAME] } {
  9. set _CHIPNAME $CHIPNAME
  10. } else {
  11. set _CHIPNAME imx28
  12. }
  13. if { [info exists ENDIAN] } {
  14. set _ENDIAN $ENDIAN
  15. } else {
  16. set _ENDIAN little
  17. }
  18. # Note above there is 1 tap
  19. # The CPU tap
  20. if { [info exists CPUTAPID] } {
  21. set _CPUTAPID $CPUTAPID
  22. } else {
  23. set _CPUTAPID 0x079264f3
  24. }
  25. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  26. # Create the GDB Target.
  27. set _TARGETNAME $_CHIPNAME.cpu
  28. target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
  29. arm7_9 dcc_downloads enable