
HiKey970
Update Image Guide
1 Base Firmware Files a
nd Installation
Issue 01 (2018-03-11) HiSilicon Proprietary and Confidential
Copyright © HiSilicon Technologies Co., Ltd.
2
Remove modemmanager. At least in Ubuntu 14.04 and 16.04 verions, we found a
conflicting issue if modemmanager is installed and active. Modemmanager monitors
ttyUSBx's incoming data, when it reads some given pattern, it will send some bytes back
into the tty as response. And those bytes sent by modemmanager can make board side
recovery flashing tool confuse and fail. Solution is to uninstall this service. If you have a
doubt whether you are safe to remove it or not, double confirm here: ModemManager
homepage.
$ sudo dpkg -s modemmanager
$ sudo apt-get remove modemmanager
Android SDK “Platform-Tools” for Linux can be downloaded here
Use terminal to clone this repository into desired folder and cd into
tools-images-HiKey970
$ git clone https://github.com/96boards-hikey/tools-images-hikey970.git
$ cd tools-images-hiKey970
1.3 Step 3: Enter recovery/forced-download mode on
HiKey970:
Remove power from the board
Change Jumper/DIP switch settings, to enter recovery/forced-download mode:
Name Switch State
Auto Power up Switch 1 ON
Recovery Switch 2 ON
Fastboot Switch 3 ON
Apply power to the board using 96Boards compliant power supply
Insert USB Type-C cable (OTG port) to the board, and connect the other end to your
Linux PC
Check whether there is a device node "/dev/ttyUSBx". If there is, it means your PC has
detected the target board; If there is not, try to repeat previous steps.
1.4 Step 4: Flash base firmware
Once again using the terminal on your host machine, execute the following command. Be sure
to replace /dev/ttyUSBx with the USB value detected by your machine.
$ sudo ./reco ery-flash.sh /de /ttyUSBx
After it completes, the base firmware will be flashed to the device, this does not mean OS.
The board will then be in fastboot mode.