Skip to content

Fastboot lin mac win

Robert Wolff edited this page Feb 21, 2016 · 2 revisions

##Linux Host

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.



Step 1: 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

Step 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

Step 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.
  • Board should boot into fastboot mode.

From the connected host machine terminal window, run the following commands:

# Check to make sure device is connected and in fastboot mode

fastboot devices

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.

Step 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
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

Flash Linaro/Debian Release

In this section we will flash all remaining parts of the operating system. In order to do this we will be using the fastboot commands that are now readily available to us in our Terminal command line.

Step 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 rootfsfile (EitherDeveloperorDesktop - ALIP` version)

Step 6: Unzip both 'boot' and 'rootfs' files

Step 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:
# (Once again) Check to make sure fastboot device connected
sudo fastboot devices

# 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.

Step 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!

Mac OSX Host

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.



Step 1: 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

Step 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

Step 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.
  • Board should boot into fastboot mode.

From the connected host machine terminal window, run the following commands:

# Check to make sure device is connected and in fastboot mode

fastboot devices

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.

Step 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
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

Flash Linaro/Debian Release

In this section we will flash all remaining parts of the operating system. In order to do this we will be using the fastboot commands that are now readily available to us in our Terminal command line.

Step 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 rootfsfile (EitherDeveloperorDesktop - ALIP` version)

Step 6: Unzip both 'boot' and 'rootfs' files

Step 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:
# (Once again) Check to make sure fastboot device connected
sudo fastboot devices

# 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.

Step 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!


Windows Host (In Progress)

Getting Started

This section will explain the fastboot method for installation of the Linux images onto the DragonBoard™ 410c.

Step 1: Make sure fastboot is set up on host computer. Android SDK “Tools only” for Windows can be downloaded here

  • The Windows “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(Coming soon) for a short tutorial video

Step 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

Step 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.
  • Board should boot into fastboot mode.

From the connected host machine terminal window, run the following commands:

# Check to make sure fastboot device is connected

fastboot devices

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.


Flash Bootloader into on-board eMMC

In this section we will continue by downloading and flashing the bootloader onto your DragonBoard™ 410c. This will be achieved by accessing and executing a script located in the downloaded bootloader folder.

Step 1: Download Bootloader

Bootloader zip

Step 2: Flash Bootloader

Open up terminal and execute the following commands:

# cd to the directory the bootloader zip file was extracted
cd <extraction directory>

#rename flashall to flashall.bat and execute

flashall.bat

Note: fastboot, bootloader files, and flashall.bat script must all be in the same directory.

The bootloader is now installed on the DragonBoard™ 410c!


Flash Linaro/Debian Release

In this section we will flash all remaining parts of the operating system. In order to do this we will be using the fastboot commands that are now readily available to us in our Terminal command line.

Step 1: Download boot and rootfs

The way you experience this operating system will be based on which rootfs you choose for your board. Once downloaded, their names should be similar to what you see here:

Debian boot image: boot-linaro-jessie-qcom-snapdragon-arm64-BUILD#.img.gz

Developer rootfs: linaro-jessie-developer-qcom-snapdragon-arm64-BUILD#.img.gz

or

ALIP-Desktop rootfs: linaro-jessie-alip-qcom-snapdragon-arm64-BUILD#.img.gz

Where BUILD# is the date/Build stamp for the downloaded file

Step 2: Flash 'boot' and 'rootfs' to DragonBoard™ 410c

Flash the boot image and rootfs to the DragonBoard™ 410c by executing the following commands from the host PC:

Note: 'fastboot', 'boot' file, and 'rootfs' file must all be in the same directory.

# Check to make sure fastboot device connected.  If not resolve
$ fastboot devices

# cd to the directory the boot image and RootFS were extracted
$ cd <extraction directory>

# Make sure you have properly unzipped the boot and rootfs downloads
fastboot flash boot boot-linaro-jessie-qcom-snapdragon-arm64-**BUILD#**.img
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 DragonBoard™ 410c using the following sequence and it will boot to the command prompt:

  • Unplug the power to the DragonBoard™ 410c
  • Unplug the micro USB fastboot cable
  • Make sure you are plugged in to a HDMI monitor, keyboard and/or mouse depending on your rootfs
  • Plug the power back into the DragonBoard™ 410c

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!


Clone this wiki locally