UCM-iMX8M-Mini: Android: Running from SD card

From Compulab Mediawiki
Jump to: navigation, search

Introduction

This article provides instructions needed to install the Android image on SD card using a Linux Host workstation. The image provides full boot system including U-Boot, Linux kernel, device driver modules and necessary filesystems.

Preparation steps

  • Use a Linux PC workstation,equipped with a USB SD card reader and a micro-SD Card. Any commercially available micro-SD card of 16GB (or more) may be used for the installation. The device name of the SD card on your Linux PC hereinafter is referred as /dev/sdX.
  • Obtain the UCM-iMX8M-Mini Android image:
- Download the compressed UCM-iMX8M-Mini Android image from CompuLab website.
  • Prepare the uSD card:
sudo dd if=/dev/zero bs=1M count=16 of=/dev/sdX
sudo partprobe /dev/sdX
  • Deflate the image to the uSD card:
unzip -p ucm-imx8m-mini_android.zip | sudo dd bs=1M of=/dev/sdX
OR
- Build your own Android image from source
and
- Deploy it on the uSD

Boot from the SD-card

  • Insert the prepared SD card into the socket P23
  • Power on the board
  • Press and hold SW6 (RESET) and SW7 (ALT_BOOT) buttons
  • Release SW6 and then SW7

The system will boot into Android.