huddly-hpk-updater: configure Clownfish cameras in dual stream mode

If the camera being updated is a Clownfish (IQ without microphones),
and firmware update was successful or not needed,
verify that dual stream mode is set,
otherwise, set dual stream mode and reboot camera for new mode to take
effect.

BUG=b:140016674
TEST=Manual: deployed camera in boxfish mode and verified that no
configuration is performed.
TEST=Manual: deployed camera in clownfish single stream mode and
verified that dual stream mode is set and camera is rebooted.
TEST=Manual: deployed camera in clownfish dual stream mode and verified
that no further configuration is done and no reboot is performed.

Change-Id: I100bd00aa892988e981e404919ca198c6ef0de81
Reviewed-on: https://chromium-review.googlesource.com/1772885
Tested-by: Kyle Williams <kdgwill@chromium.org>
Commit-Ready: Torleiv Sundre <torleiv@huddly.com>
Commit-Ready: Kyle Williams <kdgwill@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Kyle Williams <kdgwill@chromium.org>
Reviewed-by: Matthew Ziegelbaum <ziegs@chromium.org>
2 files changed
tree: e0bae52c0e09c8be07f2749e70924b02d0cbc113
  1. conf/
  2. src/
  3. .gitignore
  4. COMMIT-QUEUE.ini
  5. common.mk
  6. LICENSE
  7. Makefile
  8. OWNERS
  9. README.md
README.md

Huddly-updater is a utility to upgrade the huddly camera firmware.

Requirements

TODO: The GNU C library, libusb 1.0 and libudev are required.

Building

At the root of the repository,

$ make

Alternatively at Chromium OS development environment,

$ emerge-$${BOARD} huddly-updater

How to use

$ huddly-updater --help

TODO

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.