From c11ecd13ba6debe74c73fb0164d3553c0a047f81 Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Wed, 1 Jun 2016 16:18:07 -0700 Subject: [PATCH] Update InstallDebianRPB-16.03.md --- .../HiKey/InstallDebianRPB-16.03.md | 70 ++++++++++++++++++- 1 file changed, 67 insertions(+), 3 deletions(-) diff --git a/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/InstallDebianRPB-16.03.md b/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/InstallDebianRPB-16.03.md index a8df5f6..ba8d6c7 100644 --- a/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/InstallDebianRPB-16.03.md +++ b/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/InstallDebianRPB-16.03.md @@ -39,9 +39,73 @@ This method requires the following hardware: *** -#### Step 4: Choose your host computer to access your instruction set +#### Step 4: Install Debian Using Fastboot with Linux host -- [Linux]() +This section show how to install the Linaro based Debian operating system to your HiKey using the fastboot method on a Linux host computer. -*** + +**Make sure fastboot is set up on host computer** + +- Android SDK “Tools only” for Linux can be downloaded here +- The Linux “Tools Only” SDK download does not come with fastboot, you will need to use the Android SDK Manager to install platform-tools. +- To do this follow the “SDK Readme.txt” instructions included in your SDK “Tools Only” download. + +If you are still having trouble setting up fastboot, click here for a short tutorial video + +**Boot HiKey into Fastboot mode using J15 header** + +- Link pins 1 and 2 +- Link pins 5 and 6 +- Connect host computer to HiKey board using USB to microUSB cable + +Name | Link | State +---- | ---- | ----- +Auto Power up | Link 1-2 | closed +Boot Select | Link 3-4 | open +GPIO3-1 | Link 5-6 | closed + +- Power on HiKey board by plugging in power adapter +- Esure HiKey is detected by host computere +- Wait for about 10 seconds +- Open Terminal application and execute the following: + +```shell +$ sudo fastboot devices +0123456789abcdef fastboot +``` + +>Note: If your HiKey is not being detected by fastboot, you might want to try [Board Recovery](https://github.com/96boards/documentation/wiki/HiKey-Board-Recovery) and return to this step once your board is ready + +**Install Operating System update using downloaded files** + +>**NOTE:** the ptable must be flashed first. Wait for a few seconds after the reboot command to allow the bootloader to restart using the new partition table. + +```shell +$ sudo fastboot flash ptable .img +$ sudo fastboot reboot +$ sudo fastboot flash boot .uefi.img +$ sudo fastboot flash system hikey-jessie_alip_2015MMDD-nnn-Xg.emmc.img +``` + +**Reboot HiKey into new OS** + +- Wait untill all files have been flashed onto HiKey board +- Power down HiKey by unplugging the power adapter +- Remove microUSB cable from HiKey +- Remove Link 5-6 from J15 header + +Name | Link | State +---- | ---- | ----- +Auto Power up | Link 1-2 | closed +Boot Select | Link 3-4 | open +GPIO3-1 | Link 5-6 | open + +- Plug mouse/keyboard USB into type A USB ports +- Power up HiKey by plugging in power adapter + + +**Note:** the **username** and **password** are both **“linaro”** when the login information is requested. + +**Congratulations! You are now booting your newly installed OS directly +from eMMC on the HiKey!**