Difference between revisions of "CM-QS600: Android: Getting started"

From Compulab Mediawiki
Jump to: navigation, search
(New page: == Overview == The following outlines the procedure necessary to install Android on CM-QS600. == Installation target media == CM-QS600 uses on-board eMMC as root file system medium. {{Not...)
 
(Boot)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
The following outlines the procedure necessary to install Android on CM-QS600.
+
The following outlines the procedure necessary to install Android on the CompuLab CM-QS600 System-on-Module / Computer-on-Module.
  
 
== Installation target media ==
 
== Installation target media ==
Line 7: Line 7:
  
 
== Installation onto eMMC ==
 
== Installation onto eMMC ==
=== Preconditions ===
+
=== Preparation steps ===
 +
[[Image:SB-QS600-top.jpg|right|thumb|CM-QS600 evaluation kit. Top view.]]
 +
[[Image:SB-QS600-bottom.jpg|right|thumb|CM-QS600 evaluation kit. Bottom view.]]
 
* CM-QS600 evaluation kit.
 
* CM-QS600 evaluation kit.
 
* PC workstation with installed [[Android: Fastboot setup | fastboot]] client software.
 
* PC workstation with installed [[Android: Fastboot setup | fastboot]] client software.
* Connect HDMI display to the CM-QS600 (optional).
+
* Connect HDMI display to the CM-QS600 ''(optional)''.
* Connect [[CM-QS600: Android: Serial console connection | serial console]] to the CM-QS600 (optional).
+
* Connect [[CM-QS600: Android: Serial console connection | 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 [[Android: Fastboot setup | fastboot]] protocol.
 
* Connect USB cable between the CM-QS600 USB OTG (P7) jack and PC workstation, in order to enable [[Android: Fastboot setup | fastboot]] protocol.
 +
* Connect RTC battery to P15.
  
 
=== Flashing Android image ===
 
=== Flashing Android image ===
* Download prebuilt [http://compulab.co.il/products/computer-on-modules/cm-qs600/#devres Android image].
+
* Download [http://www.compulab.co.il/products/computer-on-modules/cm-qs600/#devres Android software package].
  
* Decompress the file, in order to get Android partition images.
+
* Decompress the file, in order to access Android partition images.
<!--
+
 
{{Note|Extracting '''.tar.xz''' archive is done<br/>
+
* Enter ''fastboot mode'' - this should happen automatically, as CM-QS600 arrives with no valid boot partition.
in '''Linux''' command line:
+
{{Note | There exist additional options for [[Android: Fastboot setup#Forcing fastboot mode | forcing fastboot mode]].}}
<pre>
 
$ tar -xJf <filename.tar.xz> -C <dest. directory>
 
</pre>
 
in '''Windows''': with the aid of ''7-zip'' application
 
}}
 
-->
 
  
 
* 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:
Line 32: Line 29:
 
$ fastboot flash boot    boot.img
 
$ fastboot flash boot    boot.img
 
$ fastboot flash system  system.img
 
$ fastboot flash system  system.img
 +
$ fastboot flash cache    cache.img
 
$ fastboot flash userdata userdata.img
 
$ fastboot flash userdata userdata.img
$ fastboot flash cache    cache.img
 
</pre>
 
 
<!--
 
* Flash boot partition to the EMMC with the aid of ''fastboot'' utility:
 
<pre>
 
$ fastboot flash boot    boot.img
 
 
</pre>
 
</pre>
  
* Flash file system image to an SD-card (at least 2GB in size)
+
* Reboot the CM-QS600 evaluation system:
{{Note|Flashing SD-card image is done<br/>
 
in '''Linux''' command line:
 
<pre>
 
$ sudo dd if=rootfs.img of=/dev/sdx
 
</pre>
 
in '''Windows''': with the aid of [https://wiki.ubuntu.com/Win32DiskImager  Win32 Disk Imager] application.
 
}}
 
 
 
* Insert SD-card into (P5) SD-card slot.
 
-->
 
 
 
* Proceed to boot, issuing
 
 
<pre>
 
<pre>
 
$ fastboot reboot
 
$ fastboot reboot
Line 61: Line 40:
 
=== Boot ===
 
=== Boot ===
 
* Power on
 
* Power on
* Within 3 seconds the device should start booting into Android.
+
* Wait for the boot process to complete
: Within 60 seconds the HDMI display should start showing ''signs of life''.
 
 
 
== Post Install Procedure ==
 
* Upon first boot, proceed to '''Settings'''->'''Developer options''', check '''Stay awake ... while charging''' to prevent the device from going to suspended state.
 
{{Note|If '''Developer options''' item is hidden (as is the default in release build), re-introduce it proceeding to '''Settings'''->'''About tablet''' and clicking on '''Build number''' 7 times consequently.}}
 
  
 
== See Also ==
 
== See Also ==
* [[CM-QS600: Android: Serial console connection]]
+
* [http://compulab.co.il/products/computer-on-modules/cm-qs600/#devres  CM-QS600 development resources]
* [[Android: Fastboot setup]]
+
* [[CM-QS600: Android: Software package | Software package contents]]
* [[Android: ADB setup]]
+
* [[CM-QS600: Android: Serial console connection | Serial console connection]]
 +
* [[Android: Fastboot setup | Fastboot setup]]
 +
* [[Android: ADB setup | ADB setup]]
  
 
[[Category:Android]]
 
[[Category:Android]]
 
[[Category:CM-QS600]]
 
[[Category:CM-QS600]]

Latest revision as of 10:49, 21 October 2015

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

Preparation steps

CM-QS600 evaluation kit. Top view.
CM-QS600 evaluation kit. Bottom view.
  • 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 access Android partition images.
  • Enter fastboot mode - this should happen automatically, as CM-QS600 arrives with no valid boot partition.
Admolition note.png There exist additional options for forcing fastboot mode.
  • 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
  • Reboot the CM-QS600 evaluation system:
$ fastboot reboot

Boot

  • Power on
  • Wait for the boot process to complete

See Also