8. Change boot device as eMMC or SD card.
For Rev. B boards:
• Change sw1101 to 01110010 and change sw1102 to 00101010 if you want to boot from eMMC.
• Change sw1101 to 01000110 and change sw1102 to 00110100 if you want to boot from SD card.
For Rev. C boards:
• Change sw1101 to 0110110010 and change sw1102 to 0001010100 if you want to boot from eMMC.
• Change sw1101 to 0110110010 and change sw1102 to 0001101000 if you want to boot from SD card.
3.4 Booting
After downloading the images, reboot the board using the power on/off switch.
3.4.1 Booting with Single MIPI-to-HDMI or MIPI panel display
In the U-Boot prompt, set the U-Boot environment variables as follows:
• i.MX 8M Mini EVK LPDDR4 Board:
U-Boot > setenv bootargs console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200
init=/init androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale
cma=800M androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware
transparent_hugepage=never androidboot.wifivendor=qca androidboot.wificountrycode=CN
U-Boot > saveenv
• i.MX 8M Mini EVK DDR4 Board:
U-Boot > setenv bootargs console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200
init=/init androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale
cma=800M androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware
transparent_hugepage=never androidboot.wifivendor=bcm androidboot.wificountrycode=CN
U-Boot > saveenv
With the settings above, 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
3.4.2 Booting with Single MIPI-to-HDMI display and audio playback
based on Cortex-M4 FreeRTOS
In the U-Boot prompt, set the U-Boot environment variables as follows:
• i.MX 8M Mini EVK LPDDR4 Board:
U-Boot > setenv bootargs console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200
init=/init androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale
cma=800M androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware
transparent_hugepage=never androidboot.wifivendor=qca androidboot.wificountrycode=CN
U-Boot > setenv bootcmd "bootmcu && boota mmc0" # for SD boot
U-Boot > setenv bootcmd "bootmcu && boota mmc1" # for emmc boot
U-Boot > saveenv
• i.MX 8M Mini EVK DDR4 Board:
U-Boot > setenv bootargs console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200
init=/init androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale
cma=800M androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware
transparent_hugepage=never androidboot.wifivendor=bcm androidboot.wificountrycode=CN
Working with the i.MX 8M Mini EVK Board
Android™ Quick Start Guide, Rev. P9.0.0_2.0.0-ga, 04/2019
8
NXP Semiconductors