1 These instruction should help you in flashing the bootloader 2 and AOSP images built from sources. 3 Detailed instructions on how to setup the Board can be found 4 here: 5 https://github.com/96boards/documentation/wiki/HiKeyGettingStarted 6 7 For 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 17 Link 1-2 causes HiKey to auto-power up when power is installed. Link 18 3-4 causes the HiKey SoC internal ROM to start up in at a special 19 "install bootloader" mode which will install a supplied bootloader 20 from the microUSB OTG port into RAM, and will present itself to a 21 connected PC as a ttyUSB device. 22 23 Note: The HiKey board will remain in USB load mode for 90 seconds 24 from power up. If you take longer than 90 seconds to start the install 25 then power cycle the board before trying again. 26 27 Wait about 5 seconds and then check that the HiKey board has been 28 recognized by your Linux PC: 29 $ ls /dev/ttyUSB* 30 or 31 $ dmesg 32 33 34 Run the flash-all.sh script after building AOSP for hikey with the right 35 right UART recognised in the above command: 36 $ ./flash-all.sh /dev/ttyUSBX [4g] 37 38 Remove the link 3-4 and power on the board. 39