Modify the updater behavior when no update is needed.

In this CL, if the device firmware is not updated, the
device will not be rebooted. The way it is done is by
adding an extra state in the updating procedure. When
the firmware version matches the one in the CrOS release,
the mimo will not reboot.

BUG=chromium:706485
TEST=emerge-guado mimo-updater builds successfully, and after power-on,
mimo is working properly.
CQ-DEPEND=CL:509956, CL:*372588

Change-Id: Iacf5bb7be0bfd976493e45d8a552372d65674671
Reviewed-on: https://chromium-review.googlesource.com/511663
Commit-Ready: Jen-Chieh Huang <jenchiehhuang@chromium.org>
Tested-by: Jen-Chieh Huang <jenchiehhuang@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
1 file changed
tree: efde71510e6074eea138e8031108b0848b61d22a
  1. conf/
  2. common.mk
  3. LICENSE
  4. Makefile
  5. mimo_fw_updater.cc
  6. README.md
README.md

MIMO-updater is a utility to upgrade the displaylink FW in the MIMO device.

Requirements

The GNU C/C++ library and libusb 1.0 are required.

Building

At the top level of the directory.

$ make

Alternatively at Chromium OS development environment,

$ emerge-${BOARD} mimo-updater

How to use

$ mimo-updater $${FW file name}