X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftools%2Ffirmware-recovery.tcl;h=9d7e0fce848dca903340ddff1e3c96ca3e3f9f9a;hb=7c6d379cf4434c69a977af4f417fe1ab1f3f9178;hp=45311490faaef902305a078f8b3216a8e337a3ec;hpb=47830f0ebf8135758b372d2a84eb370bf03f901d;p=fw%2Fopenocd diff --git a/tcl/tools/firmware-recovery.tcl b/tcl/tools/firmware-recovery.tcl index 45311490f..9d7e0fce8 100644 --- a/tcl/tools/firmware-recovery.tcl +++ b/tcl/tools/firmware-recovery.tcl @@ -3,8 +3,11 @@ echo "Use -c firmware_help to get help\n" set known_boards { "asus-rt-n16 ASUS RT-N16" + "asus-rt-n66u ASUS RT-N66U" + "linksys-wag200g Linksys WAG200G" "linksys-wrt54gl Linksys WRT54GL v1.1" "netgear-dg834v3 Netgear DG834G v3" + "tp-link_tl-mr3020 TP-LINK TL-MR3020" "bt-homehubv1 BT HomeHub v1" } @@ -26,7 +29,7 @@ dump_part save partition's contents to a file erase_part erase the given partition flash_part erase, flash and verify the given partition ram_boot load binary file to RAM and run it -adapter_khz set JTAG clock frequency in kHz +adapter speed set JTAG clock frequency in kHz For example, to clear nvram and reflash CFE on an RT-N16 using TUMPA, run: openocd -f interface/ftdi/tumpa.cfg -f tools/firmware-recovery.tcl \\ @@ -35,8 +38,8 @@ openocd -f interface/ftdi/tumpa.cfg -f tools/firmware-recovery.tcl \\ shutdown } -# set default, can be overriden later -adapter_khz 1000 +# set default, can be overridden later +adapter speed 1000 proc get_partition { name } { global partition_list