Difference between revisions of "CM-QS600: Android: Getting started"
Line 27: | Line 27: | ||
}} | }} | ||
--> | --> | ||
+ | |||
+ | * Enter ''fastboot mode'' following either of the options: | ||
+ | # There is no valid ''boot'' partition - this is the factory default in which the 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 - usually the case when android was previously installed on the device. | ||
+ | #: In this case, the device will boot from it. | ||
+ | #: Accessing Android command line, one can observe and then destroy ''boot'' partition signature ("ANDROID"), effectively making ''boot'' partition invalid, going back to option '''1''' after reboot. | ||
+ | <pre> | ||
+ | # dd if=/dev/block/platform/msm_sdcc.1/by-name/boot bs=1 count=7 | ||
+ | # echo -n "X" | dd of=/dev/block/platform/msm_sdcc.1/by-name/boot bs=1 count=1 | ||
+ | </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 07:35, 4 November 2014
Contents
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.
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.
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 - this is the factory default in which the 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 - usually the case when android was previously installed on the device.
- In this case, the device will boot from it.
- Accessing Android command line, one can observe and then destroy boot partition signature ("ANDROID"), effectively making boot partition invalid, going back to option 1 after reboot.
# dd if=/dev/block/platform/msm_sdcc.1/by-name/boot bs=1 count=7 # echo -n "X" | dd of=/dev/block/platform/msm_sdcc.1/by-name/boot bs=1 count=1
- 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.