tnetc4401.cfg 695 B

12345678910111213141516171819
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Texas Instruments (TI) TNETC4401, MIPS32 DOCSIS-tailored SoC (4Kc-based)
  3. # Used in Knovative KC-100 and Motorola Surfboard SB5120 cable modems.
  4. # Datasheet: https://brezn.muc.ccc.de/~mazzoo/DOCSIS/tnetc4401.pdf
  5. transport select jtag
  6. set _TARGETNAME tnetc4401
  7. set _CPUTAPID 0x0000100f
  8. jtag newtap $_TARGETNAME tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id $_CPUTAPID
  9. target create $_TARGETNAME mips_m4k -chain-position $_TARGETNAME.tap -endian big
  10. # May need to halt manually before calling reset init
  11. $_TARGETNAME configure -event reset-init {
  12. halt
  13. echo "Attempting to disable watchdog..."
  14. mwb phys 0xa8610b00 0 256
  15. halt
  16. wait_halt
  17. }