4.3 Flashing board images
The board image files can be flashed into the target board using Universal Update Utility (UUU).
For the UUU binary file, download it from github:
.
To achieve more flexibility, two script files are provided to invoke UUU to automatically flash all Android images.
• uuu_imx_android_flash.sh for Linux OS
• uuu_imx_android_flash.bat for Windows OS
For this release, these two scripts are validated on UUU 1.2.91 version. Download corresponding version from github:
• For Linux OS, download the file named "uuu".
• For Windows OS, download the file named "uuu.exe".
Because the two script files will direclty invoke UUU, make sure that UUU is in a path contained by the system environment
variable of "PATH".
Perform the following steps to download the board images:
1. Download the UUU binary file from github as described before. Install UUU into a directory contained by the system
environment variable of "PATH".
2. Make the board enter serial download mode.
Change the board's sw802 (boot mode) to 01 (from 1-2 bit) to enter serial download mode.
3. Power on the board. Use the USB cable on the board USB 3.0 port to connect your PC with the board.
NOTE
• There are two USB ports on the i.MX 8M Quad EVK board: USB-to-UART,
USB 3.0. The USB-to-UART port can be referenced as debug UART, and the
USB 3.0 port can be referenced as USB in the hardware image above. The
debug UART can be used to watch the log of the hardware boot processing.
• The SD card must be plugged in after the board is powered on.
4. Decompress release_package/android_p9.0.0_2.0.0-ga_image_8mqevk.tar.gz, which contains the image files and
uuu_imx_android_flash tool.
5. Execute the uuu_imx_android_flash tool to flash images.
The uuu_imx_android_flash tool can be executed with options to get help information and specify the images to be
flashed. For i.MX 8M Quad board, related options are described as follows
Table 4. Options for uuu_imx_android_flash
tool
Option
Description
-h
Displays the help information of this tool.
-f
soc_name
Specifies the SoC information. For 8M Quad, it
should be "imx8mq". This option is mandatory.
-a
Only flashes slot a. If this option and "-b" option are
not used, slots a and b are both flashed.
-b
Only flashes slot b. If this option and "-a" option are
not used, slots a and b are both flashed.
Table continues on the next page...
Working with the i.MX 8M Quad EVK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
14
NXP Semiconductors