Install Android or Debian Using Fastboot on 96Board 410C

This post provides an alternative method for installing images onto the DB410c. This is for advanced users that plan to be flashing many versions of the OS into the DB410c.

Prerequisites:

The bootloader on this board supports fastboot. The developer should first make sure that fastboot is installed on the host PC. If you are using Ubuntu/Debian on your host PC use the following command to install fastboot:
1 sudo apt-get install android-tools-fastboot
The DB410c must have been imaged with fastboot previously. There are two ways to do this:
by following the procedure outlined in the Create / Install a Rescue Image section of this document
by following the procedure in the Installing Image using an SD Card Image section of this document
Install Linaro/Debian release

Flash the bootloader into on-board eMMC

Download the latest Ubunutu bootloader zip located here

Flash the eMMC with the bootloader:

unzip the bootloader that was downloaded in the previous step. Note the directory that is it located in.
assure that a micro USB cable is connected from the micro-USB port on the DB410c to the host PC
assure micro SD Card slot is empty on the DB410c
set the S6 switch on the DB410c to: 0-0-0-0 {SD Boot set to off}
power on the DB410c into fastboot mode
Press and hold the Vol (-) button on the DB410c (S4)
While pressing S4 button, power up the DB410c. It will come up in fastboot mode
from the host PC terminal window, run the following commands:
?
1
2
3
4
5
6
7

Check to make sure fastboot device connected. If not resolve

sudo fastboot devices

cd to the directory the bootloader zip file was extracted

cd

sudo ./flashall
The bootloader is now installed on the DB410c.

Flash the Linaro/Debian release

This section assumes the DB410c is still in fastboot mode from the previous section. This procedure also assumes that the developer will be using the latest build.

Flash the Linaro/Debian boot image and root file system by performing the following steps:

Initiate the download of the latest Debian boot image zip by clicking here
Initiate the download of the latest Debian Root File System(RootFS) zip by clicking hereTheir names will be similar to the following:
./boot-linaro-jessie-qcom-snapdragon-arm64-BUILD#.img.gz
./linaro-jessie-developer-qcom-snapdragon-arm64-BUILD#.img.gz
Where BUILD# is the date/Build stamp for the downloaded file

Note: The procedure above loads the command line debian, denoted by “developer” in the name. If the user wishes to load a graphical X version based on LXDE, click here and use this file in the place of the above RootFS file for the rest of this install. This file’s name will be similar to the following:

linaro-jessie-alip-qcom-snapdragon-arm64-BUILD#.img.gz
Flash the boot image and rootfs to the DB410c by executing the following commands from the host PC:
?
1
2
3
4
5
6
7
8
9

Check to make sure fastboot device connected. If not resolve

sudo fastboot devices

cd to the directory the boot image and RootFS were extracted

cd

gunzip *.img.gz
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.

Now reboot the DB410c using the following sequence and it will boot to the command prompt:

Unplug the power to the DB410c
Unplug the micro USB fastboot cable
Plug the power back into the DB410c
Note: the username and password are both “linaro” when the login information is requested.

Install Android release

Flash the bootloader into on-board eMMC

Download the latest Android bootloader zip located here.

Flash the eMMC with the Android Bootloader:

unzip the bootloader that was downloaded in the previous step. Note the directory that is it located in.
assure that a micro USB cable is connected from the micro-USB port on the DB410c to the host PC
assure micro SD Card slot is empty on the DB410c
set the S6 switch on the DB410c to: 0-0-0-0 {SD Boot set to off}
power on the DB410c into fastboot mode
Press and hold the Vol (-) button on the DB410c (S4)
While pressing S4 button, power up the DB410c. It will come up in fastboot mode
from the host PC terminal window, run the following commands:
?
1
2
3
4
5
6
7

Check to make sure fastboot device connected. If not resolve

sudo fastboot devices

cd to the directory the bootloader zip file was extracted

cd

sudo ./flashall
The bootloader is now installed on the DB410c.

Flash the Android release

This section assumes the DB410c is still in fastboot mode from the previous section. This procedure also assumes that the developer will be using the latest build.

Flash the Android boot build by performing the following steps:

Download the following files from the latest build folder to a local folder on the host PC by clicking on the six links below:boot.img.tar.xz
system.img.tar.xz
userdata.img.tar.xz
recovery.img.tar.xz
persist.img.tar.xz
cache.img.tar.xz
Now to unzip and flash the files to the DB410c. From the host PC command line, execute the following:

?
1
2
3
4
5
6
7
for f in *.tar.xz; do tar xJf $f; done
sudo fastboot flash boot boot.img
sudo fastboot flash system system.img
sudo fastboot flash userdata userdata.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash persist persist.img
sudo fastboot flash cache cache.img
Reboot the DB410c by following the steps below, and it will boot Android:

Unplug the power from the DB410c
Unplug the micro USB cable so that that it will boot into USB Host mode
plug the power back into the DB410c
Note: This make take a bit of time during the initial bringup.

Congratulations! You now have an Android experience running on your desktop!

This is quite interesting, it looks like you've done some good research.

But this is an Arduinu Yun forum - what is the connection with Arduino in general, and with the Yun specifically?