Revamp the main function of huddly firmware updater

Performs reboot if the device is in abnormal Bootloader mode.
Converting the APP mode to Bootloader mode.
Invoke Flasher.

BUG=chromium:710302
TEST=Build package for Guado board

Change-Id: I39f460ac2f63889f83964700d7155a2d0f8e0bc9
Reviewed-on: https://chromium-review.googlesource.com/487404
Commit-Ready: Jiwoong Lee <porce@chromium.org>
Tested-by: Jiwoong Lee <porce@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
2 files changed
tree: 58ebfcf4aa7ee40ca9d15f2929899618dddea003
  1. conf/
  2. src/
  3. .gitignore
  4. common.mk
  5. LICENSE
  6. Makefile
  7. 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.