Table 8. Options for uuu_imx_android_flash tool
(continued)
Option
Description
-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.
-c card_size
Specifies which partition table image file to flash. For
8QuadXPlus, it can be followed with "7" or "28". If
this option is not used, default "partition-table.img" is
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 8QuadXPlus, 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 imx8qxp -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 imx8qxp -a -e
When the command above is executed, the default images will be flashed into eMMC slot a for 8QuadXPlus.
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".
• 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.
Working with the i.MX 8QuadXPlus MEK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
28
NXP Semiconductors