Table 2. Options for uuu_imx_android_flash tool
(continued)
Option
Description
-t target_dev
Specifies the target device. For i.MX 8M Mini, it can
be "emmc" and "sd". If this option is not used,
images are flashed to eMMC.
-daemon
Run UUU in Daemon mode. This option is used to
flash multiple boards of the same type.
-i
If the script is executed with this option, no images
will be flashed. The script loads U-Boot to RAM and
executes to fastboot mode. this option is used for
development.
Obviously, "-m" and "-d m4" should be used together.
• On Linux system, open the shell terminal. For example, you can execute a command as follows:
> sudo ./uuu_imx_android_flash.sh -f imx8mm -a -e
• On Windows system, open the command line interface in administrator mode. The corresponding command is as
follows:
> .\uuu_imx_android_flash.bat -f imx8mm -a -e
When the command above is executed, the default images will be flashed into eMMC slot a for i.MX 8M Mini.
NOTE
• To flash the SD card, execute the tool with "-t sd". To flash eMMC, it does
not need to use -t option.
• If your SD card is 16 GB or the on-board eMMC is used as the boot device, it
does not need to use -c option.
• If your SD card is 32 GB, execute the tool with "-c 28".
• If your SD card is 8 GB, execute the tool with "-c 7".
• To test MIPI-DSI to HDMI output with LPDDR4 on board, it does not need
to use -d option.
• To test MIPI-DSI to HDMI output with DDR4 on board, execute the tool
with "-d ddr4".
• To test MIPI panel output with LPDDR4 on board, execute the tool with "-d
mipi-panel".
• To test MIPI-to-HDMI output and audio playback based on Cortex-M4
FreeRTOS with LPDDR4 on board, execute the tool with "-m" and "-d m4".
• uuu_imx_android_flash.bat generates a temporary file under the current
working directory. Make sure you have Write permission under the current
working directory.
• If uuu_imx_android_flash.bat is used to flash images on a remote server
through samba, you need to map the remote resource to the local environment
first. Take the following command as an example:
> net use z: \\10.193.108.179\daily_images
"z" in the command represents an available drive letter. It can be other
available drive letter.
6. Wait for the uuu_imx_android_flash execution to complete. If there is not any error, you will get information on the
command window indicating that images are already flashed.
7. Power off the board.
Working with the i.MX 8M Mini EVK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
NXP Semiconductors
7