• 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 the board's sw802 (boot mode) to 10 (from 1-2 bit) to leave serial
download mode.
• Change SW801 to switch the board back to 1100 (SD boot mode).
• Change SW801 to switch the board back to 0010 (eMMC boot mode).
4.4 Booting
After downloading the images, boot the board by connecting it to the power supply.
4.4.1 Booting with single display: HDMI display
In the U-Boot prompt, set the U-Boot environment variables as follows:
• i.MX 8M Quad EVK B3/B4 Board:
U-Boot > setenv bootargs console=ttymxc0,115200 earlycon=imxuart,0x30860000,115200
init=/init androidboot.gui_resolution=1080p androidboot.console=ttymxc0 consoleblank=0
androidboot.hardware=freescale cma=1280M androidboot.primary_display=imx-drm
firmware_class.path=/vendor/firmware transparent_hugepage=never
androidboot.fbTileSupport=enable androidboot.wifivendor=qca
androidboot.wificountrycode=CN
U-Boot > saveenv
• i.MX 8M Quad EVK Rev. A Board:
U-Boot > setenv bootargs console=ttymxc0,115200 earlycon=imxuart,0x30860000,115200
init=/init androidboot.gui_resolution=1080p androidboot.console=ttymxc0 consoleblank=0
androidboot.hardware=freescale cma=1280M androidboot.primary_display=imx-drm
firmware_class.path=/vendor/firmware transparent_hugepage=never
androidboot.fbTileSupport=enable androidboot.wifivendor=bcm
androidboot.wificountrycode=CN
U-Boot > saveenv
With above settings, the Android platform does not start the shell console. To disable selinux, append
"androidboot.selinux=permissive" to the U-Boot's bootargs. Boot environment variables are as follows:
U-Boot > setenv append_bootargs androidboot.selinux=permissive
U-Boot > saveenv
4.4.2 Booting with single display: MIPI-to-HDMI display
In the U-Boot prompt, set the U-Boot environment variables as follows:
Working with the i.MX 8M Quad EVK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
16
NXP Semiconductors