Import xPack OpenOCD 0.12.0-7 and GNU Make 4.4.1 from x86_64-w64-mingw32.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Texas Instruments (TI) TNETC4401, MIPS32 DOCSIS-tailored SoC (4Kc-based)
|
||||
# Used in Knovative KC-100 and Motorola Surfboard SB5120 cable modems.
|
||||
# Datasheet: https://brezn.muc.ccc.de/~mazzoo/DOCSIS/tnetc4401.pdf
|
||||
transport select jtag
|
||||
set _TARGETNAME tnetc4401
|
||||
set _CPUTAPID 0x0000100f
|
||||
jtag newtap $_TARGETNAME tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id $_CPUTAPID
|
||||
target create $_TARGETNAME mips_m4k -chain-position $_TARGETNAME.tap -endian big
|
||||
|
||||
# May need to halt manually before calling reset init
|
||||
$_TARGETNAME configure -event reset-init {
|
||||
halt
|
||||
echo "Attempting to disable watchdog..."
|
||||
mwb phys 0xa8610b00 0 256
|
||||
halt
|
||||
wait_halt
|
||||
}
|
||||
Reference in New Issue
Block a user