Update InstallDebianRPB-16.03.md

Added installation instruction content.
This commit is contained in:
Robert Wolff 2016-06-03 10:40:59 -07:00
parent 0fae78ace8
commit 263dc1403c

View file

@ -32,6 +32,122 @@ This method requires the following hardware:
>Note the location of all downloads, they will be needed once you access your instruction set
***
#### Step 4: Choose your host computer to access your instruction set
#### Step 4: Install Debian Using Fastboot with Linux host
- [Linux](InstallDebianRPB-16.03.md)
This section show how to install the Linaro based Debian operating system to your DragonBoard™ 410c using the fastboot method on a Linux host computer.
1 - **Make sure fastboot is set up on host computer**
- Android SDK “Tools only” for Linux can be downloaded <a href="http://developer.android.com/sdk" target="_blank">here</a>
- 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, <a href="https://youtu.be/W_zlydVBftA" target="_blank">click here</a> for a short tutorial video
2 - **Connect host computer to DragonBoard™ 410c**
- DragonBoard™ 410c must be powered off (unplugged from power)
- Make sure microSD card slot on DragonBoard™ 410c is empty
- S6 switch on DragonBoard™ 410c must be set to 0-0-0-0. All switches should be in “off” position
- Connect USB to microUSB cable from host computer to DragonBoard™ 410c
3 - **Boot DragonBoard™ 410c into fastboot mode**
**Please read all bullet points before attempting**
- Press and hold the Vol (-) button on the DragonBoard™ 410c, this is the S4 button. DragonBoard™ 410c should still NOT be powered on
- While holding the Vol (-) button, power on the DragonBoard™ 410c by plugging it in
- Once DragonBoard™ 410c is plugged into power, release your hold on the Vol (-) button.
- Wait for about 20 seconds.
- Board should boot into fastboot mode.
From the connected host machine terminal window, run the following commands:
```shell
# Check to make sure device is connected and in fastboot mode
$ fastboot devices
```
Typically it will show as bellow
```shell
de82318 fastboot
```
**At this point you should be connected to your DragonBoard™ 410c with a USB to microUSB cable. Your DragonBoard™ 410c should be booted into fastboot mode and ready to be flashed with the appropriate images.**
4 - **Flash Bootloader**
- Use host computer
- Open "Terminal" application
- Recall location of Bootloader download.
- The bootloader file should be named `dragonboard410c_bootloader_emmc_linux-XX`
- XX represents the release number of the Bootloader
- `cd` to the directory with your unzipped **Bootloader Folder**
```shell
$ cd <extraction directory>
#Example:
cd /Users/YourUserName/Downloads
#<extraction directory> = /Users/YourUserName/Downloads
#For this example we assume the "Bootloader" is in the Downloads folder.
$ cd <unzipped Bootloader folder>
#Example:
cd dragonboard410c_bootloader_emmc_linux-40
#<unzipped Bootloader folder> = dragonboard410c_bootloader_emmc_linux-40
#This example took place during release 40
# This command will execute the flashall script within the bootloader folder
$ ./flashall
```
5 - **Recall location of `boot` and `rootfs` download from the downloads page**
- You should have downloaded the `boot` file
- You should have downloaded ONE of rootfs` file (Either `Developer` or `Desktop - ALIP` version)
6 - **Unzip both 'boot' and 'rootfs' files**
7 - **Flash `boot` image and `rootfs` to the DragonBoard™ 410c**
- Use host computer
- Use "Terminal" application
- Recall location of extracted(unzipped) `boot` file
- Recall location of extracted(unzipped) `rootfs` file (`Developer` or `Desktop - ALIP`)
- `cd` to the directory with your unzipped `boot` and `rootfs` files
- From within extraction directory, execute the following commands:
```shell
# (Once again) Check to make sure fastboot device connected
$ sudo fastboot devices
# It will show similar to bellow if the device is connected successfully
de82318 fastboot
# cd to the directory the boot image and were extracted
$ cd <extraction directory>
# Make sure you have properly unzipped the boot and rootfs downloads
$ sudo fastboot flash boot boot-linaro-jessie-qcom-snapdragon-arm64-**BUILD#**.img
$ sudo fastboot flash rootfs linaro-jessie-developer-qcom-snapdragon-arm64-**BUILD#**.img
```
**Note**: Replace **BUILD#** in the above commands with the file-specific date/build stamp.
8 - **Reboot DragonBoard™ 410c**
- Unplug power to DragonBoard™ 410c
- Unplug micro USB cable from DragonBoard™ 410c
- Ensure HDMI connection to monitor
- Ensure keyboard and/or mouse connection (Depending on your rootfs selection)
- Plug power back into DragonBoard™ 410c
- Wait for board to boot up
- Board will boot into either command line or desktop depending on rootfs
**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 DragonBoard™ 410c!**