commit | d1657dda42865b76537fad2c5068563f437151c5 | [log] [tgz] |
---|---|---|
author | Jiwoong Lee <porce@google.com> | Thu Aug 24 21:05:34 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri Aug 25 03:41:13 2017 |
tree | d0ed24360356b6ffcc606c6c72e0cfc44c083490 | |
parent | 85b099e68c84891a01f99aa6be42e6e4a5e687a5 [diff] |
Bail out the huddly-updater upon losing the device in the middle of the update. The situation may occur when the USB cable gets unplugged or the USB power supply is low. BUG=chromium:750834 TEST=Build guado package. Run on DUT. Shut the USB port down in the middle of the firmware upgrade, during buffer allocation, image uploading, image committing respectively. Change-Id: I00dd6cabeb936ecda7de2c750844ab702305a837 Reviewed-on: https://chromium-review.googlesource.com/633845 Commit-Ready: Jiwoong Lee <porce@chromium.org> Tested-by: Jiwoong Lee <porce@chromium.org> Reviewed-by: Zhongze Hu <frankhu@google.com>
Huddly-updater is a utility to upgrade the huddly camera firmware.
TODO: The GNU C library, libusb 1.0 and libudev are required.
At the root of the repository,
$ make
Alternatively at Chromium OS development environment,
$ emerge-$${BOARD} huddly-updater
$ huddly-updater --help
It will also provide assistant tools to query the firmware version of the firmware installed in the huddly camera, that of a binary blob file.