tools: add firmware recovery helpers

This adds a set of helper functions with the aim to make it possible
to flash mass-market devices without RTFMing altogether (i.e. to
obsolete GPL-violating proprietary tjtag and other similar software).

Real-life tested on an RT-N16 and WRT54GL.

Change-Id: I197a9b28a5f386803f081057c4b4ebf2f9c447b1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1850
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Paul Fertser
2013-12-30 22:33:43 +04:00
committed by Spencer Oliver
parent 302a3a8fed
commit c8161b013c
2 changed files with 119 additions and 0 deletions
+11
View File
@@ -7973,6 +7973,17 @@ storage bit in the device is tested as zero and as one.
Run all of the above tests over a specified memory region.
@end deffn
@section Firmware recovery helpers
@cindex Firmware recovery
OpenOCD includes an easy-to-use script to faciliate mass-market
devices recovery with JTAG.
For quickstart instructions run:
@example
openocd -f tools/firmware-recovery.tcl -c firmware_help
@end example
@node TFTP
@chapter TFTP
@cindex TFTP