Clone this repo:
  1. 64388ca Speedup sis-updater using extra firmware changed detection by Stefan Adolfsson · 3 weeks ago master
  2. a411ff3 Fix issue with upgrade running when not needed by Stefan Adolfsson · 3 weeks ago
  3. b507250 Speedup sis-updater by adding parameter to assume a single device by Stefan Adolfsson · 3 weeks ago
  4. 3d7c74c Modify a piece of misleading log by Zhongze Hu · 7 weeks ago
  5. 793f51c Use logging instead of printf in sis fw updater by Zhongze Hu · 3 months ago factory-eve-9667.B stabilize-9693.B stabilize-9756.B stabilize-9765.7.B

SiS Firmware Updater

Description

The code was proviced by SiS and modified by Google. Modifications include:

  • Cleaning the code according to Google C++ coding style. Eliminating compiling errors.
  • Adding a feature that the updater can take the device name from input parameters. Blinded search is only required when input device name is invalid.
  • Adding a feature that the updater will compare FW version before actual update. If the FW versions on device and in Chrome OS are same, the updater will terminate.
  • Adding a input flag specifying whether the device is in recovery mode (FW update fails last time). The flag value is determined by VID from udev rule.

Requirements

On Linux, should run as root.

Build

At the root of the repository: make.

Under Chrome OS development enviroment: emerge-${BOARD} sis-updater.

How to use

Just run ./sis-updater.