UCM-iMX8M-Mini: Android: Deployment by means of UUU
Introduction
This article describes flashing Android OS image using Universal Update Utility (hereinafter UUU). This way is recommended for deployment of OS images onto a storage.
NOTE: It is up to developer to setup UUU. Follow the instruction to install the tools.
Flashing
Change to target directory:
cd android_build/out/target/product/ucm_imx8m_mini
Connect the UCM to a PC host via the socket P17, using a USB-A – micro-USB-B cable. Avoid usage of external USB hubs, direct connection of the cable to the PC is preferred. Switch the SoM to Serial Download mode:
- make sure the slot P23 is empty,
- press and hold the button SW7 ALT_BOOT, press and release the button SW6 RESET,
- then release SW7 ALT_BOOT.
Run the flashing script (superuser rights may be required):
./uuu_imx_android_flash.sh -f imx8mm -t emmc
Boot from the eMMC
- make sure the deployment is completed with no error,
- reboot the system: press and release the button SW6 RESET.
The system will boot into Android.