Clone this repo:
  1. 237ad18 sis-updater: use unversioned libchrome libraray. by Qijiang Fan · 2 days ago master
  2. a20cb69 sis-updater: remove libchrome BASE_VER macro guard by hscham · 5 days ago stabilize-rust-13562.B
  3. c0f1440 sis-updater: rename LoggingSettings.log_file by hscham · 5 weeks ago firmware-volteer-13521.B release-R87-13505.B stabilize-13525.B stabilize-13532.B stabilize-rust-13514.B stabilize-rust-13555.B
  4. 5674fc8 sis-updater: use ${SYSROOT}/usr/share/libchrome/BASE_VER by Qijiang Fan · 3 months ago factory-trogdor-13443.B factory-zork-13427.B firmware-zork-13421.B firmware-zork-13434.B release-R86-13421.B stabilize-13421.42.B stabilize-13421.53.B stabilize-13421.73.B stabilize-13421.80.B stabilize-13482.B stabilize-quickfix-13421.74.B
  5. dae836f sis-updater: use libbrillo not libbrillo-BASE_VER. by Qijiang Fan · 3 months ago

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.