Table 4. Options for uuu_imx_android_flash tool
(continued)
Option
Description
-c card_size
Specifies which partition table image file to flash. For
8M Quad, it can be followed with "7" or "28". If this
option is not used, default "partition-table.img" is
flashed.
-d
dev
Specifies some images with "dev" in its name. For
8M Quad, it can be "b3", "dual", "mipi-b3", "mipi-
panel-b3", "mipi-panel", "mipi". If this option is not
used, default dtbo and vbmeta images are flashed.
-e
Erases user data after images are flashed.
-D
directory
Specifies the directory in which there are the images
to be flashed. If this option is not used, images in the
current working directory are flashed.
-t target_dev
Specifies the target device. For 8M Quad, 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.
• On Linux system, open the shell terminal. For example, you can execute a command as follows:
> sudo ./uuu_imx_android_flash.sh -f imx8mq -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 imx8mq -a -e
When the command above is executed, the default images will be flashed into eMMC slot a for 8M Quad.
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 feature on i.MX 8MQuad B4 and Rev. A board:
• To test HDMI output, it does not need to use -d option.
• To test MIPI-to-HDMI output, execute the tool with "-d mipi".
• To test MIPI panel output, execute the tool with "-d mipi-panel".
• To test HDMI and MIPI-to-HDMI dual output, execute the tool with "-
d dual".
• To test feature on i.MX 8M Quad B3 board:
• To test HDMI output, execute the tool with "-d b3".
• To test MIPI-to-HDMI output, execute the tool with "-d mipi-b3".
• To test MIPI panel output, execute the tool with "-d mipi-panel-b3".
Working with the i.MX 8M Quad EVK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
NXP Semiconductors
15