Difference between revisions of "UCM-iMX8M-Mini: Android: Running from SD card"
imported>Igor.vaisbein (→Preparation steps) |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
= Preparation steps = | = 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 <b>16GB</b> (or more) may be used for the installation. The device name of the SD card on your Linux PC hereinafter is referred as {{filename|/dev/sdX}}. |
− | |||
− | |||
* Obtain the UCM-iMX8M-Mini Android image: | * Obtain the UCM-iMX8M-Mini Android image: | ||
:- Download the compressed UCM-iMX8M-Mini Android image from [https://www.compulab.com/products/computer-on-modules/ucm-imx8m-mini-nxp-i-mx-8m-mini-som-system-on-module-computer/#devres CompuLab website]. | :- Download the compressed UCM-iMX8M-Mini Android image from [https://www.compulab.com/products/computer-on-modules/ucm-imx8m-mini-nxp-i-mx-8m-mini-som-system-on-module-computer/#devres CompuLab website]. | ||
− | : | + | * Prepare the uSD card: |
− | :<pre>unzip -p ucm-imx8m-mini_android | + | :<pre>sudo dd if=/dev/zero bs=1M count=16 of=/dev/sdX</pre> |
+ | :<pre>sudo partprobe /dev/sdX</pre> | ||
+ | *Deflate the image to the uSD card: | ||
+ | :<pre>unzip -p ucm-imx8m-mini_android.zip | sudo dd bs=1M of=/dev/sdX</pre> | ||
:<b>OR</b> | :<b>OR</b> | ||
− | :- | + | :- [[UCM-iMX8M-Mini:_Android:_Building_images|Build your own Android image from source]] |
+ | : and | ||
+ | :- [[UCM-iMX8M-Mini:_Android:_Building_images#Create_a_bootable_SD-card|Deploy it on the uSD]] | ||
=Boot from the SD-card= | =Boot from the SD-card= | ||
− | *Insert the prepared SD card into | + | *Insert the prepared SD card into the socket P23 |
*Power on the board | *Power on the board | ||
*Press and hold SW6 (RESET) and SW7 (ALT_BOOT) buttons | *Press and hold SW6 (RESET) and SW7 (ALT_BOOT) buttons |
Latest revision as of 16:18, 31 January 2022
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.