-
Notifications
You must be signed in to change notification settings - Fork 0
DragonBoard™ 410c Linux Install
<<< Back to DragonBoard™ 410c Crossroads
This Users Guide provides a general overview for getting started with Debian installations on the DragonBoard™ 410c.
If you have found this page without having downloaded the appropriate files, please return to the DragonBoard™ 410c Crossroads to choose your download path!
This section show how to install the Linaro based Debian operating system to your DragonBoard™ 410c using the SD Card method on a Linux host computer.
- Step 1: Prepare MicroSD card
- Step 2: Find SD Card Device name
- Step 3: Recall Download Location
- Step 4: Unzip Debian SD Card Install Image
- Step 5: Go to directory with Debian SD Card Install Image folder using Terminal
- Step 6: Locate SD Card Install Image
- Step 7: Install Image onto SD Card
- Step 8: Prepare DragonBoard™ 410c with SD card
- Step 9: Install Linaro/Debian onto DragonBoard™ 410c
####Step 1: Prepare MicroSD card
- Ensure data from mircoSD card is backed up
- Everything on microSD card will be lost by the end of this procedure.
####Step 2: Find SD Card Device name
- Use host computer
- Open "Terminal" application
- Remove SD card from host computer and run the following command:
$ lsblk
- Note all recognized disk names
- Insert SD card and run the following command (again):
$ lsblk
- Note the newly recognized disk. This will be your SD card.
- Remember your SD card device name, it will be needed in Step 7.
####Step 3: Recall Download Location
- Locate SD card install file from Downloads page.
- This file will be needed for the next step.
####Step 4: Unzip Debian SD Card Install Image
- When unzipped, you will have a folder with the following contents:
- Linaro/Debian Install Image (.img)
- Readme
####Step 5: Go to directory with Debian SD Card Install Image folder using Terminal
- Use host computer
- Open "Terminal" application
-
cd
to the directory with your unzipped Debian SD Card Install Image
$ cd <extraction directory>
#Example:
#<extraction directory> = /home/YourUserName/Downloads
#For this example we assume the "Debian SD Card Install Image" is in the Downloads folder.
$ cd /home/YourUserName/Downloads
####Step 6: Locate SD Card Install Image
- Make sure you are in the extraction directory
Unzipped Debian SD Card download will be a folder. This folder should be listed in your directory. Type ls
from command line for a list of files that can be found in your current directory:
$ ls
#output
dragonboard410c_sdcard_install_debian-XX
- Unzipped folder should be called dragonboard410c_sdcard_install_debian-XX, where XX represents the Debian release number
-
cd
into this directory
$ cd dragonboard410c_sdcard_install_debian-XX
- Inside this folder you will find the install image
db410c_sd_install_debian.img
- This
.img
file is what will be flashed to your SD Card.
####Step 7: Install Image onto SD Card
Checklist:
- SD card inserted into host computer
- Recall SD Card device name from Step 2
- From within the dragonboard410c_sdcard_install_debian-XX folder, using the Terminal execute the following commands:
Execute:
$ sudo dd if=db410c_sd_install_debian.img of=/dev/XXX bs=4M oflag=sync status=noxfer
Note:
-
if=db410c_sd_install_debian.img
: should match the name of the image that was downloaded. -
of=/dev/XXX
: XXX should match the name of the SD Card device name from Step 2. Be sure to use the device name with out the partition. - This command will take some time to execute. Be patient and avoid tampering with the terminal until process has ended.
- Once SD card is done flashing, remove from host computer and set aside for Step 8
####Step 8: Prepare DragonBoard™ 410c with SD card
- Make sure DragonBoard™ 410c is unplugged from power
- Set S6 switch on DragonBoard™ 410c to
0-1-0-0
, "SD Boot switch" should be set to "ON".- Please see "1.1 Board Overview" on page 7 from DragonBoard™ 410c Hardware Manual if you cannot find S6
- Connect an HDMI monitor to the DragonBoard™ 410c with an HDMI cable, and power on the monitor
- Plug a USB keyboard and/or mouse into either of the two USB connectors on the DragonBoard™ 410c
- Insert the microSD card into the DragonBoard™ 410c
- Plug power adaptor into DragonBoard™ 410c, wait for board to boot up.
####Step 9: Install Linaro/Debian onto DragonBoard™ 410c
- If Steps 1 - 8 were followed correctly, the above screen should be visible from your DragonBoard™ 410c
- Select the image to install and click “Install” (or type “i”). OS will be installed into the eMMC memory
- This process can take a few minutes to complete
- Upon completion, “Flashing has completed and OS has installed successfully....” message will appear.
Before clicking "OK":
- Remove the SD Card
- Set S6 switch on DragonBoard™ 410c to
0-0-0-0
, all switches should be set to "OFF" - Now click "OK" button and allow DragonBoard™ 410c to reboot.
Congratulations! You are now booting your newly installed operating system directly from eMMC on the DragonBoard™ 410c!
This section show how to install the Linaro based Debian operating system to your DragonBoard™ 410c using the SD Card method on a Mac OS X host computer.
- Step 1: Prepare MicroSD card
- Step 2: Find SD Card Device name
- Step 3: Recall Download Location
- Step 4: Unzip Debian SD Card Install Image
- Step 5: Go to directory with Debian SD Card Install Image folder using Terminal
- Step 6: Locate SD Card Install Image
- Step 7: Install Image onto SD Card
- Step 8: Prepare DragonBoard™ 410c with SD card
- Step 9: Install Linaro/Debian onto DragonBoard™ 410c
####Step 1: Prepare MicroSD card
- Ensure data from mircoSD card is backed up
- Everything on microSD card will be lost by the end of this procedure.
####Step 2: Find SD Card Device name
- Use host computer
- Open "Terminal" application (Press Command+Space bar and type "Terminal")
- Remove SD card from host computer and run the following command:
diskutil list
- Note all recognized disk names
- Insert SD card and run the following command (again):
diskutil list
- Note the newly recognized disk. This will be your SD card.
- Remember your SD card device name, it will be needed in Step 7.
####Step 3: Recall Download Location
- Locate SD card install file from Downloads page.
- This file will be needed for the next step.
####Step 4: Unzip Debian SD Card Install Image
- When unzipped, this download will be a folder with the falling contents
- Linaro/Debian Install Image (.img)
- Readme
####Step 5: Go to directory with Debian SD Card Install Image folder using Terminal
- Use host computer
- Open "Terminal" application (Press Command+Space bar and type "Terminal")
-
cd
to the directory with your unzipped Debian SD Card Install Image
cd <extraction directory>
#Example:
#<extraction directory> = /Users/YourUserName/Downloads
#For this example we assume the "Debian SD Card Install Image" is in the Downloads folder.
cd /Users/YourUserName/Downloads
####Step 6: Locate SD Card Install Image
- Make sure you are in the extraction directory
Unzipped Debian SD Card download will be a folder. This folder should be listed in your directory. Type ls
from command line for a list of files that can be found in your current directory:
ls
#output
dragonboard410c_sdcard_install_debian-XX
- Unzipped folder should be called dragonboard410c_sdcard_install_debian-XX, where XX represents the Debian release number
-
cd
into this directory
cd dragonboard410c_sdcard_install_debian-XX
- Inside this folder you will find the install image
db410c_sd_install_debian.img
- This
.img
file is what will be flashed to your SD Card.
####Step 7: Install Image onto SD Card
Checklist:
- SD card inserted into host computer
- Recall SD Card device name from Step 2
- From within the dragonboard410c_sdcard_install_debian-XX folder, using the Terminal execute the following commands:
Execute:
$ sudo dd if=db410c_sd_install_debian-YY.img of=/dev/XXX bs=4m
$ sudo sync
Note:
-
if=db410c_sd_install_debian.img
: should match the name of the image that was downloaded. -
of=/dev/XXX
: XXX should match the name of the SD Card device name from Step 2. Be sure to use the device name with out the partition. - This command will take some time to execute. Be patient and avoid tampering with the terminal until process has ended.
- Once SD card is done flashing, remove from host computer and set aside for Step 8
####Step 8: Prepare DragonBoard™ 410c with SD card
- Make sure DragonBoard™ 410c is unplugged from power
- Set S6 switch on DragonBoard™ 410c to
0-1-0-0
, "SD Boot switch" should be set to "ON".- Please see "1.1 Board Overview" on page 7 from DragonBoard™ 410c Hardware Manual if you cannot find S6
- Connect an HDMI monitor to the DragonBoard™ 410c with an HDMI cable, and power on the monitor
- Plug a USB keyboard and/or mouse into either of the two USB connectors on the DragonBoard™ 410c
- Insert the microSD card into the DragonBoard™ 410c
- Plug power adaptor into DragonBoard™ 410c, wait for board to boot up.
####Step 9: Install Linaro/Debian onto DragonBoard™ 410c
- If Steps 1 - 8 were followed correctly, the above screen should be visible from your DragonBoard™ 410c
- Select the image to install and click “Install” (or type “i”). OS will be installed into the eMMC memory
- This process can take a few minutes to complete
- Upon completion, “Flashing has completed and OS has installed successfully....” message will appear.
Before clicking "OK":
- Remove the SD Card
- Set S6 switch on DragonBoard™ 410c to
0-0-0-0
, all switches should be set to "OFF" - Now click "OK" button and allow DragonBoard™ 410c to reboot.
Congratulations! You are now booting your newly installed operating system directly from eMMC on the DragonBoard™ 410c!
This section show how to install the Linaro based Debian operating system to your DragonBoard™ 410c using the SD Card method on a Windows host computer.
- Step 1: Prepare MicroSD card
- Step 2: Recall Download Location
- Step 3: Unzip Debian SD Card Install Image
- Step 4: Download the Win32DiskImager tool
- Step 5: Use Win32DiskImager tool to flash Debian onto SD Card
- Step 6: Prepare DragonBoard™ 410c with SD card
- Step 7: Install Linaro/Debian onto DragonBoard™ 410c
####Step 1: Prepare MicroSD card
- Ensure data from mircoSD card is backed up
- Everything on microSD card will be lost by the end of this procedure.
####Step 3: Recall Download Location
- Locate SD card install file from Downloads page.
- This file will be needed for the next step.
####Step 3: Unzip Debian SD Card Install Image
- When unzipped, this download will be a folder with the falling contents
- Linaro/Debian Install Image (.img)
- Readme
####Step 4: Download the Win32DiskImager tool
- Win32DiskImager tool (Direct Download / Go to Site)
####Step 5: Use Win32DiskImager tool to flash Debian onto SD Card
- Open Win32DiskImager tool
- Click the folder icon in the top right
- Find your way to the appropriate
.img
file (This is why you need to remember the location of your extracted image.)
- Insert your microSD card (through a USB SD card-reader, if necessary)
- Select the correct device and click "write" There may be a warning about corrupting the device. Click "Yes" to proceed.
- This process may take a few minutes, be patient and wait for a completion notice.
- Upon completion you should see the following pop-up:
- Eject SD Card and proceed to next Step
####Step 6: Prepare DragonBoard™ 410c with SD card
- Make sure DragonBoard™ 410c is unplugged from power
- Set S6 switch on DragonBoard™ 410c to
0-1-0-0
, "SD Boot switch" should be set to "ON".- Please see "1.1 Board Overview" on page 7 from DragonBoard™ 410c Hardware Manual if you cannot find S6
- Connect an HDMI monitor to the DragonBoard™ 410c with an HDMI cable, and power on the monitor
- Plug a USB keyboard and/or mouse into either of the two USB connectors on the DragonBoard™ 410c
- Insert the microSD card into the DragonBoard™ 410c
- Plug power adaptor into DragonBoard™ 410c, wait for board to boot up.
####Step 7: Install Linaro/Debian onto DragonBoard™ 410c
- If Steps 1 - 6 were followed correctly, the above screen should be visible from your DragonBoard™ 410c
- Select the image to install and click “Install” (or type “i”). OS will be installed into the eMMC memory
- This process can take a few minutes to complete
- Upon completion, “Flashing has completed and OS has installed successfully....” message will appear.
Before clicking "OK":
- Remove the SD Card
- Set S6 switch on DragonBoard™ 410c to
0-0-0-0
, all switches should be set to "OFF" - Now click "OK" button and allow DragonBoard™ 410c to reboot.
Congratulations! You are now booting your newly installed operating system directly from eMMC on the DragonBoard™ 410c!
##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
- Step 2: Connect host computer to DragonBoard™ 410c
- Step 3: Boot DragonBoard™ 410c into fastboot mode
- Step 4: Flash Bootloader
- Step 5: Recall location of
boot
androotfs
download from the downloads page - Step 6: Unzip both 'boot' and 'rootfs' files
- Step 7: Flash
boot
image androotfs
to the DragonBoard™ 410c - Step 8: Reboot DragonBoard™ 410c
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.
- Wait for about 20 seconds.
- 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
Typically it will show as bellow
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.
- 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
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.
- You should have downloaded the
boot
file - You should have downloaded ONE of rootfs
file (Either
Developeror
Desktop - ALIP` version)
- Use host computer
- Use "Terminal" application
- Recall location of extracted(unzipped)
boot
file - Recall location of extracted(unzipped)
rootfs
file (Developer
orDesktop - ALIP
) -
cd
to the directory with your unzippedboot
androotfs
files - From within extraction directory, execute the following commands:
# (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.
- 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!
This section show how to install the Linaro based Debian operating system to your DragonBoard™ 410c using the fastboot method on a Mac OS X host computer.
- Step 1: Make sure fastboot is set up on host computer
- Step 2: Connect host computer to DragonBoard™ 410c
- Step 3: Boot DragonBoard™ 410c into fastboot mode
- Step 4: Flash Bootloader
- Step 5: Recall location of
boot
androotfs
download from the downloads page - Step 6: Unzip both 'boot' and 'rootfs' files
- Step 7: Flash
boot
image androotfs
to the DragonBoard™ 410c - Step 8: Reboot DragonBoard™ 410c
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.
- 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
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.
- You should have downloaded the
boot
file - You should have downloaded ONE of rootfs
file (Either
Developeror
Desktop - ALIP` version)
- Use host computer
- Use "Terminal" application
- Recall location of extracted(unzipped)
boot
file - Recall location of extracted(unzipped)
rootfs
file (Developer
orDesktop - ALIP
) -
cd
to the directory with your unzippedboot
androotfs
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.
- 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!
This section will explain the fastboot method for installation of the Linux images onto the DragonBoard™ 410c.
Please watch this optional video tutorial if you are having trouble following the document.