This is a cache of https://www.96boards.org/documentation/consumer/fcue/installation/linux-sd.md.html. It is a snapshot of the page at 2024-12-18T01:42:58.276+0000.
Linux Host Installation for boardname - 96Boards

Linux Host

This section show how to install an operating system to your Helio X20 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 SD Card Install Image
  • Step 5: Go to directory with SD Card Install Image folder using Terminal
  • Step 6: Locate SD Card Install Image
  • Step 7: Install Image onto SD Card
  • Step 8: Prepare Helio X20 with SD card
  • Step 9: Install image onto Helio X20

####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 SD Card Install Image

  • When unzipped, you will have a folder with the following contents:
    • Install Image (.img)
    • Readme

####Step 5: Go to directory with SD Card Install Image folder using Terminal

  • Use host computer
  • Open “Terminal” application
  • cd to the directory with your unzipped SD Card Install Image
$ cd <extraction directory>

#Example:
#<extraction directory> = /home/YourUserName/Downloads
#For this example we assume the "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 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
heliox20_sdcard_install_Y-XX
  • Unzipped folder should be called heliox20_sdcard_install_Y-XX, where Y can be Android of debian and XX represents the release number
  • cd into this directory
$ cd heliox20_sdcard_install_Y-XX
  • Inside this folder you will find the install image
    • db410c_sd_install_Y.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 heliox20_sdcard_install_Y-XX folder, using the Terminal execute the following commands:

Execute:

$ sudo dd if=db410c_sd_install_Y.img of=/dev/XXX bs=4M oflag=sync status=noxfer

Note:

  • if=db410c_sd_install_Y.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 Helio X20 with SD card

  • Make sure Helio X20 is unplugged from power
  • Set S6 switch on Helio X20 to 0-1-0-0, “SD Boot switch” should be set to “ON”.
  • Connect an HDMI monitor to the Helio X20 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 Helio X20
  • Insert the microSD card into the Helio X20
  • Plug power adaptor into Helio X20, wait for board to boot up.

####Step 9: Install image onto Helio X20

  • If Steps 1 - 8 were followed correctly, the above screen should be visible from your Helio X20
  • 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 Helio X20 to 0-0-0-0, all switches should be set to “OFF”
  • Now click “OK” button and allow Helio X20 to reboot.

Congratulations! You are now booting your newly installed operating system directly from eMMC on the Helio X20!