Difference between revisions of "CM-QS600: Android: Getting started"
| Line 34: | Line 34: | ||
| # There is a valid ''boot'' partition (i.e. CM-QS600 was pre-installed with OS). | # There is a valid ''boot'' partition (i.e. CM-QS600 was pre-installed with OS). | ||
| #: In this case, the device will boot from it. | #: In this case, the device will boot from it. | ||
| − | #:  | + | #: Reboot to bootloader by issuing on either workstation <pre>$ adb reboot bootloader</pre> | 
| − | <pre> | + | #: or Android device itself <pre># reboot bootloader</pre> | 
| − | |||
| − | |||
| − | </pre> | ||
| * Flash each partition image file to the eMMC with the aid of ''fastboot'' utility: | * Flash each partition image file to the eMMC with the aid of ''fastboot'' utility: | ||
Revision as of 11:15, 5 November 2014
Contents
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.
|   | 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
- Download prebuilt Android image.
- Decompress the file, in order to get Android partition images.
- Enter fastboot mode following either of the options:
- 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.
 
- 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.
