CM-QS600: Android: Getting started

From Compulab Mediawiki
Revision as of 11:15, 5 November 2014 by Nadav (talk | contribs)
Jump to: navigation, search

Overview

The following outlines the procedure necessary to install Android on the CompuLab CM-QS600 System-on-Module / Computer-on-Module.

Installation target media

CM-QS600 uses on-board eMMC as root file system medium.

Admolition note.png Additional media might be enabled in the coming releases.

Installation onto eMMC

Preconditions

  • CM-QS600 evaluation kit.
  • PC workstation with installed fastboot client software.
  • Connect HDMI display to the CM-QS600 (optional).
  • Connect serial console to the CM-QS600 (optional).
  • Connect USB cable between the CM-QS600 USB OTG (P7) jack and PC workstation, in order to enable fastboot protocol.
  • Connect RTC battery to P15.

Flashing Android image

  • Decompress the file, in order to get Android partition images.
  • Enter fastboot mode following either of the options:
  1. There is no valid boot partition (which is how CM-QS600 comes out of the box).
    In this case, the device will enter fastboot mode upon power on.
  2. There is a valid boot partition (i.e. CM-QS600 was pre-installed with OS).
    In this case, the device will boot from it.
    Reboot to bootloader by issuing on either workstation
    $ adb reboot bootloader
    or Android device itself
    # reboot bootloader
  • Flash each partition image file to the eMMC with the aid of fastboot utility:
$ fastboot flash boot     boot.img
$ fastboot flash system   system.img
$ fastboot flash cache    cache.img
$ fastboot flash userdata userdata.img


  • Proceed to boot, issuing
$ fastboot reboot

Boot

  • Power on
  • Within 3 seconds the device should start booting into Android.
Within 60 seconds the HDMI display should start showing signs of life.

See Also