• On Linux system, open the shell terminal. For example, you can execute a command as follows:
> sudo ./uuu_imx_android_flash.sh -f imx8qm -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 imx8qm -a -e
When the command above is executed, the default images will be flashed into eMMC slot a for 8QuadMax.
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 LVDS-to-HDMI/MIPI-to-HDMI display, it does not need to use -d
option.
• To test MIPI panel output, execute the tool with "-d mipi-panel".
• To test physical HDMI display, execute the tool with "-d hdmi".
• 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.
8. Change boot device as eMMC or SD card.
• Change SW2 to switch the board back to 000100 (from 1-6 bit) to enther eMMC boot mode.
• Change SW2 to sithch the board back to 001100 (from 1-6 bit) to enther SD boot mode.
5.4 Booting
After downloading the images, boot the board by connecting it to the power supply.
5.4.1 Booting with LVDS-to-HDMI/MIPI-to-HDMI display
In the U-Boot prompt, set the U-Boot environment variables as follows:
U-Boot > setenv bootargs console=ttyLP0,115200 earlycon=lpuart32,0x5a060000,115200 init=/
init androidboot.console=ttyLP0 consoleblank=0 androidboot.hardware=freescale
androidboot.fbTileSupport=enable cma=800M@0x960M-0xe00M androidboot.primary_display=imx-drm
firmware_class.path=/vendor/firmware transparent_hugepage=never
androidboot.wificountrycode=CN
U-Boot > saveenv
Working with the i.MX 8QuadMax MEK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
NXP Semiconductors
23