Files
OpenCellular/util
Tom Wai-Hong Tam 12495e2b40 flash_ec: Set a 10-minute timeout for flashing EC
The flash_ec script is called by the lab infrastructure to flash
the EC firmware of DUT. To prevent the EC flashing tool hanged
forever (may be caused by some bugs), set a 10-minute timeout to
force it to be killed.

BRANCH=none
BUG=chromium:514810
TEST=Patched the change to servo v3. Triggered flash_ec to flash EC
on Jerry. Set the timeout to a small value to force to kill itself.

test2:
  ./flash_ec --board=hadoken   # or samus, anything using openocd
  remove the USB cable half way through (openocd hangs)
  ps au | grep openocd

Change-Id: I39ad8659b41764fd0dba30a86eca301fbbc5243f
Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/289247
Commit-Queue: Myles Watson <mylesgw@chromium.org>
2015-08-04 19:21:57 +00:00
..
2015-06-18 19:07:00 +00:00
2015-07-25 01:22:32 +00:00
2015-07-25 01:22:32 +00:00
2015-06-18 19:07:00 +00:00
2015-04-17 01:47:34 +00:00
2013-07-01 16:14:16 -07:00
2015-06-18 19:07:00 +00:00
2015-07-25 01:22:32 +00:00
2015-07-25 01:22:32 +00:00
2012-11-01 14:09:34 -07:00
2015-07-16 05:15:34 +00:00
2014-02-17 17:35:43 +00:00
2015-06-18 19:07:00 +00:00
2014-01-15 04:52:54 +00:00
2015-04-24 05:07:45 +00:00