commit | 49c6ec6391dee82abd41fa0f734a6531ccc1b23d | [log] [tgz] |
---|---|---|
author | Jiwoong Lee <porce@google.com> | Fri May 19 08:00:39 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Sat May 20 20:58:03 2017 |
tree | 7b763a30cdadede5fe21d57160b5da653d6acf45 | |
parent | 8a29911a21a9750a8e0a4aaf34d1e0053747e89e [diff] |
Accommodate minijail0's restriction in huddly udev rule The huddly updater fails to access the huddly device booting in a different mode with a different PID, when it is invoked from udev rule via minijail0. See the Bug for detail. This CL is to workaround this permission restriction. Invoke huddly-updater with separate command line option (thus separate work flow) upon detection of different mode of the huddly camera device. --prep option will perform upgrade eligibility check, and switch to bootloader bootloader mode if necessary. --burn option will flash the device. BUG=chromium:724200 TEST=Build package for Guado board. Run on CFM. CQ-DEPEND=CL:509033 Change-Id: I6e382afc47e32623e44d54ebe12ecc75f08cb4e4 Reviewed-on: https://chromium-review.googlesource.com/509271 Commit-Ready: Jiwoong Lee <porce@chromium.org> Tested-by: Jiwoong Lee <porce@chromium.org> Reviewed-by: Simon Que <sque@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.