blob: b58cd96a79ab0083eb1f3d1bf4999598a6b0cc50 [file] [log] [blame]
Vishal Bhojca1fbcd2015-12-16 00:25:24 +05301These instruction should help you in flashing the bootloader
2and AOSP images built from sources.
3Detailed instructions on how to setup the Board can be found
4here:
5https://github.com/96boards/documentation/wiki/HiKeyGettingStarted
6
7For flashing the bootloader, the top two links should be installed
8(closed) and the 3rd link should be removed (open):
9
10---------------------------------------------------------
11| Name | Link | State |
12| Auto Power up | Link 1-2 | closed |
13| Boot Select | Link 3-4 | closed |
14| GPIO3-1 | Link 5-6 | open |
15---------------------------------------------------------
16
17Link 1-2 causes HiKey to auto-power up when power is installed. Link
183-4 causes the HiKey SoC internal ROM to start up in at a special
19"install bootloader" mode which will install a supplied bootloader
20from the microUSB OTG port into RAM, and will present itself to a
21connected PC as a ttyUSB device.
22
23Note: The HiKey board will remain in USB load mode for 90 seconds
24from power up. If you take longer than 90 seconds to start the install
25then power cycle the board before trying again.
26
27Wait about 5 seconds and then check that the HiKey board has been
28recognized by your Linux PC:
29$ ls /dev/ttyUSB*
30or
31$ dmesg
32
33
34Run the flash-all.sh script after building AOSP for hikey with the right
35right UART recognised in the above command:
Dmitry Shmidt06cb4cd2016-01-27 11:00:33 -080036$ ./flash-all.sh /dev/ttyUSBX [4g]
Vishal Bhojca1fbcd2015-12-16 00:25:24 +053037
38Remove the link 3-4 and power on the board.