commit | 927748584ce871cdebe4ec076d0632ff91f45f87 | [log] [tgz] |
---|---|---|
author | Jiwoong Lee <porce@google.com> | Thu Apr 20 09:32:46 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Tue Apr 25 05:51:49 2017 |
tree | 70d2d1aba7d594c9b6eacfd359c820704e1aa97e | |
parent | fccd5f6e7494a938e08ab8aa677fb523c8289fb1 [diff] |
Implement UsbDevice class BUG=chromium:710302 TEST=Build huddly-updater package for Guado board. Read peripheral fw version. UsbDevice class handles the usb device specified by the vendor ID and product ID. It lists up the vendor specific commands as VendorRequest enum. It implements vendor specific USB read/write/boot operations. This is the first set, and implements basic read, and querying the firmware version. Change-Id: I355fb5b02ac448da28fad9aaa99b653d56636c52 Reviewed-on: https://chromium-review.googlesource.com/483141 Commit-Ready: Jiwoong Lee <porce@chromium.org> Tested-by: Jiwoong Lee <porce@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>
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.