CL-SOM-iMX8: Android: Installation

From Compulab Mediawiki
Jump to: navigation, search

Overview

The following outlines the procedure necessary to install Android on the CompuLab CL-SOM-iMX8 System-on-Module.

Installation onto eMMC

Preparation steps

  • Set-up the CL-SOM-iMX8 eval-kit (SBC-iMX8) as detailed in Getting started with CL-SOM-iMX8 Evaluation Kit
  • SD-card with minimal capacity of 4GB, which will serve as boot medium and root file system.
  • PC workstation for creating bootable SD-card.

Prepare Installer SD-card

  • Download CL-SOM-iMX8 Android Installation Image.
  • Flash the bootable image to the SD-card, issuing on a PC workstation:
    unzip -p /path/to/cl-som-imx8_android-o8-installer-4G.img.zip | sudo dd of=/dev/sdX bs=1M

Installer Boot

  • Insert bootable SD-card into SD-card slot (P13).
  • Power on.
  • Press and hold SW5 and SW6.
  • Release SW5 and then after 3 seconds release SW6.
  • Wait for the boot process to complete.

Deployment onto eMMC

  • Open up a terminal window and issue cl-o8-deploy
    cl-o8-deploy
  • Select and confirm the destination device /dev/mmcblk0
Admolition warning.png All data on the /dev/mmcblk0 will be destroyed
  • Wait for the boot process to complete and reboot the board.

Android eMMC Boot

  • Remove the SD-card.
  • Power on.
  • Wait for the boot process to complete.

Removing Android from eMMC

Andorid Oreo 8 comes with a U-Boot that allows booting the Andoid Image only.
In order to let the board boot a Yocto CompuLab Image, a correct U-Boot must be provided.

Admolition note.png The Android Installer can be used for it. It has all tools installed.

Restoring stock U-Boot

Make use of cl-uboot in order to restore a stock U-Boot.

  • Boot up the board using the Android Installer Image
  • Open up a terminal window and issue cl-uboot
    cl-uboot

See Also