This is a cache of https://www.96boards.org/documentation/consumer/fcue/installation/mac-sd.md.html. It is a snapshot of the page at 2024-10-31T01:45:12.025+0000.
Linux Host Installation for boardname - 96Boards

Mac OS X Host

This section show how to install an operating system to your Helio X20 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 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
  • Note: Everything on microSD card will be lost by the end of this procedure.

####Step 2: Find SD Card Device name

  • You may need a MicroSD card adapter if your host computer only has an SD card slot
  • On the 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 (example: /dev/disk1)
  • 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 that you got from downloads page.
  • This file will be needed for the next step.

####Step 4: Unzip SD Card Install Image

  • Uncompress or unzip the SD Card Install Image . With Mac OS X, you can use the Finder app to locate the file and then double click to automatically unzip the file.
  • When unzipped, a folder (ex: heliox20_sdcard_install_debian-83) will be created with the following contents:
    • An install Image (.img) (ex: db410c_sd_install_debian.img)
    • Readme or license.txt

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

  • On the host computer, open the “Terminal” application (Press Command+Space bar and type “Terminal”)
  • cd to the directory with your unzipped SD Card Install Image
cd <extraction directory>

#Example:
#<extraction directory> = /Users/YourUserName/downloads
#For this example we assume the "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 SD Card download will be a folder. This folder should be found 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 or 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 where Y is Android or Debian.
    • db410c_sd_install_Y.img
  • This .img file is what will be flashed or copied to your SD Card.

####Step 7: Flash 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
$ sudo sync

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 without the partition name. For example, ‘of=/dev/disk1’
  • If you get an error message “Resource Busy”, you will need to unmount the SD card without removing it from the host computer.
    • Option 1:
    • In the Applications folder, find and click on the Utilities folder.
    • Click on the Disk Utility program to run it
    • Select the device that represents the SD card
    • Click on unmount and leave the SD card in the computer
    • Retry the ‘$ sudo dd if=db410c_sd_install_Y.img of=/dev/XXX bs=4m’
    • Option 2:
    • In the terminal window, enter this command:
      $ sudo umount /dev/<device name>
      
  • 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 You may see a popup window that tells you the device is Not readable by the operating system. Ignore the message and remove the MicroSD card from the host computer.

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