background image

 

HiKey970 

Update Image Guide 

2  Hisi-idt

 

Issue 01 (2018-03-11) 

HiSilicon Proprietary and Confidential          

Copyright © HiSilicon Technologies Co., Ltd. 

4

 

Hisi-idt 

A tool for downloading binaries to soc ram and ddr through serial port. 

2.1 Command 

Linux: 

sudo python hisi-idt.py -d 

/dev/ttyUSB

x

 --img1 ./ sec_usb_xloader.img  

          –-img2 ./sec_usb_xloader2.img --img3 ./l-loader.bin 

Windows: 

python hisi-idt.py -d 

comm

xx

 --img1 sec_usb_xloader.img  

          –-img2 sec_usb_xloader2.img --img3 l-loader.bin 

2.2 Download Steps 

a. Insert USB cable and connect with PC;   

b. Enter force downloand mode: 

For hikey970 board: sw2402     

 swich 1 mode:    ON  

 swich 2 mode:    ON 

 swich 3 mode:    ON 

 

release “Reset” key then will enter into “force download” mode; 

c. Check if there have the device node “/dev/ttyUSBx”, if there have device node that means 
the PC has detected the target board; d. Use command "sudo python hisi-idt.py" to run the 
script; after idt download binaries successfully, it will print out below log: 

+----------------------+ 

 Serial:  /dev/ttyUSB1 

Summary of Contents for HiKey970

Page 1: ...HiKey970 Update Image Guide Issue 01 Date 2018 03 11 ...

Page 2: ...d the customer All or part of the products services and features described in this document may not be within the purchase scope or the usage scope Unless otherwise specified in the contract all statements information and recommendations in this document are provided AS IS without warranties guarantees or representations of any kind either express or implied The information in this document is sub...

Page 3: ...3 11 HiSilicon Proprietary and Confidential Copyright HiSilicon Technologies Co Ltd i Change History Changes between document issues are cumulative The latest document issue contains all the changes made in earlier issues Issue 01 2018 03 11 The first version ...

Page 4: ... ii 1 Base Firmware Files and Installation 1 1 1 Step 1 Materials and Preperations 1 1 2 Step 2 Dependencies 1 1 3 Step 3 Enter recovery forced download mode on HiKey970 2 1 4 Step 4 Flash base firmware 2 1 5 Step 5 Explore other modes proceed to OS installation 3 1 6 Troubleshooting 3 2 Hisi idt 4 2 1 Command 4 2 2 Download Steps 4 2 3 Burn Images 5 2 4 Troubleshooting 5 ...

Page 5: ...terial and Preperations Step 2 Dependencies Step 3 Enter recovery forced download mode on HiKey970 Step 4 Flash Base Firmware Step 5 Explore other modes proceed to OS installation Troubleshooting 1 1 Step 1 Materials and Preperations Materials HiKey970 USB Type A Host machine to USB Type C 96Boards cable 96Boards compliant power supply To boot into fastboot mode everytime set switch 1 3 to ON stat...

Page 6: ...red 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 t...

Page 7: ...umentation landing page Switch Normal Mode Fastboot Mode Recovery Mode Switch 1 ON ON ON Switch 2 OFF OFF ON Switch 3 OFF ON ON 1 6 Troubleshooting If recovery script recovery flash sh dev ttyUSBx fail to run to completion and you see waiting for any device in a loop then try uninstalling modem manager from your host machine The script will work after that Don t forget to install modem manager bac...

Page 8: ...t py d commxx img1 sec_usb_xloader img img2 sec_usb_xloader2 img img3 l loader bin 2 2 Download Steps a Insert USB cable and connect with PC b Enter force downloand mode For hikey970 board sw2402 swich 1 mode ON swich 2 mode ON swich 3 mode ON release Reset key then will enter into force download mode c Check if there have the device node dev ttyUSBx if there have device node that means the PC has...

Page 9: ... by input below commands sudo echo 12D1 3609 sys bus usb serial drivers option1 new_id sudo makenod dev ttyUSB0 c 188 0 b Need supervisor permission for hisi idt py sudo python hisi idt py c Need supervisor permission for fastboot sudo fastboot d If download binaries failed with below message Sending fastboot1 img failed failed Usually this means you are using the wrong ttyUSBx device the reason i...

Page 10: ......

Reviews: