Summary of Contents for NXP Semiconductors i.MX 8M Mini
Page 1
UG10157 Android Quick Start Guide Rev. android-14.0.0_2.0.0 — 9 August 2024 User guide Document information Information Content Keywords Android, i.MX, android-14.0.0_2.0.0 Abstract This document guides you through the processes of downloading and running this release package. It only explains how to download and run the default release image with the default configuration.
• MEK board and Platform 3 Working with the i.MX 8M Mini EVK Board 3.1 Board hardware The figure below shows the different components of the i.MX 8M Mini EVK LPDDR4 board. UG10157 All information provided in this document is subject to legal disclaimers.
Page 6
Figure 6. i.MX 8MIC PDM Microphone board Note: • i.MX 8M Mini EVK LPDDR4 Rev. C board and i.MX 8M Mini EVK DDR4 Rev. C board are supported in this release. • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI-to-HDMI adapter to the "MIPI DSI"...
UG10157 NXP Semiconductors Android Quick Start Guide • "i.MX 8M Mini EVK REV C" indicates the revision of the base board. 3.2 Board images The table below describes the location in the board partitions of the software images in android-14.0.0_2.
Page 8
Android Verify Boot metadata image to support MIPI-to- vbmeta-imx8mm.img partitions. HDMI output on the i.MX 8M Mini EVK LPDDR4 board. vbmeta-imx8mm-m4.img vbmeta_a and vbmeta_b Android Verify Boot metadata image to support MIPI-to- partitions. HDMI output and audio playback based on Cortex-M4 Free RTOS on the i.MX 8M Mini EVK LPDDR4 board.
5. Execute the uuu_imx_android_flash tool to flash images. The uuu_imx_android_flash tool can be executed with options to get help information and specify the images to be flashed. For i.MX 8M Mini board, related options are described as follows. Table 2. Options for uuu_imx_android_flash tool...
Page 10
-t target_dev Specifies the target device. For i.MX 8M Mini EVK, it can be emmc and sd. If this option is not used, images are flashed to eMMC. Run UUU in daemon mode. This option is used to flash multiple boards of the same -daemon type.
• For i.MX 8M Mini EVK DDR4 board: execute the command with -u ddr4 -d ddr4 -t sd. • For i.MX 8M Mini EVK with audio board: To test low power audio, execute the tool with -d m4 -m. See the Android User's Guide (UG10156) for more steps to make the low-power audio work.
3.4.2 Booting with Single MIPI-DSI-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 cma=800M@0x400M-0xb80M androidboot.primary_display=imx-drm firmware_class.path=/ vendor/firmware loop.max_part=7 transparent_hugepage=never...
Page 15
UG10157 NXP Semiconductors Android Quick Start Guide Figure 11. i.MX 8MIC PDM Microphone board Note: • i.MX 8M Nano EVK LPDDR4 board and i.MX 8M Nano EVK DDR4 board are supported in this release. • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI-to-HDMI adapter to the "MIPI DSI"...
UG10157 NXP Semiconductors Android Quick Start Guide 4.2 Board images The table below describes the location in the board partitions of the software images in android-14.0.0_2. 0.0_image_8mnevk.tar.gz. Table 3. Board images Image name Download target Description spl-imx8mn-dual.bin 32 kB offset of MMC.
UG10157 NXP Semiconductors Android Quick Start Guide Table 3. Board images ...continued Image name Download target Description vendor_boot-debug.img vendor_boot_a and Used in the VTS test with GSI system image. vendor_boot_b partitions. vbmeta_a and vbmeta_b Android Verify Boot metadata image to support MIPI-to- vbmeta-imx8mn.img...
UG10157 NXP Semiconductors Android Quick Start Guide Table 3. Board images ...continued Image name Download target Description dtbo-imx8mn-mipi- dtbo_a and dtbo_b Device Tree image to support RM67199 MIPI panel output partitions. on the i.MX 8M Nano EVK LPDDR4 board. panel.img dtbo_a and dtbo_b...
Page 19
UG10157 NXP Semiconductors Android Quick Start Guide 4. Decompress release_package/android-14.0.0_2.0.0_image_8mnevk.tar.gz. The package contains the image files and uuu_imx_android_flash tool. 5. Execute the uuu_imx_android_flash tool to flash images. The uuu_imx_android_flash tool can be executed with options to get help information and specify the images to be flashed.
UG10157 NXP Semiconductors Android Quick Start Guide • On the Windows system, open the command-line interface in administrator mode. The corresponding command is as follows: > uuu_imx_android_flash.bat -f imx8mn -a -e -u trusty-dual When the command above is executed, spl-imx8mn-trusty-dual.bin is flashed, bootloader- imx8mn-trusty-dual.img with other default images are flashed into eMMC slot a for i.MX 8M Nano...
Page 23
UG10157 NXP Semiconductors Android Quick Start Guide Figure 13. i.MX 8M Plus EVK board back view Figure 14. i.MX mini SAS cable with DSI-to-HDMI adapter Figure 15. i.MX mini SAS cable with LVDS-to-HDMI adapter UG10157 All information provided in this document is subject to legal disclaimers.
Page 27
UG10157 NXP Semiconductors Android Quick Start Guide Figure 21. OS08A20 CSI MIPI camera Figure 22. PCIE8997 (AW-CM276) Figure 23. i.MX 8M Plus EVK PCM512 audio board (for powersave image) Note: • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI-to-HDMI adapter to the "MIPI DSI"...
UG10157 NXP Semiconductors Android Quick Start Guide • To test the LVDS panel display, use two i.MX mini SAS cables to connect the LVDS panel to the "LVDS0" and "LVDS1" ports. Provide 5V power through the DC jack on the LVDS panel or connect pin3 with pin4 of pin header j7 beside the DC jack.
Page 29
UG10157 NXP Semiconductors Android Quick Start Guide Table 5. Board images ...continued Image name Download target Description partition-table.img 0 kB offset of eMMC user partition GPT partition table image for single-bootloader or SD card. condition and the target storage device should be larger than 13 GB.
UG10157 NXP Semiconductors Android Quick Start Guide Table 5. Board images ...continued Image name Download target Description dtbo-imx8mp-mipi- dtbo_a and dtbo_b partitions. Device Tree image to support RM67199 MIPI panel output. panel.img dtbo_a and dtbo_b partitions. Device Tree image to support RM67191 MIPI panel dtbo-imx8mp-mipi- panel-rm67191.img...
Page 32
UG10157 NXP Semiconductors Android Quick Start Guide Table 6. Options for uuu_imx_android_flash tool Option Description Displays help information of this tool. -f soc_name Specifies SoC information. For i.MX 8M Plus EVK, it should be imx8mp. This option is mandatory. Only flashes slot a. If this option and -b option are not used, slots a and b are both flashed.
Page 33
UG10157 NXP Semiconductors Android Quick Start Guide Note: • -u followed with a parameter and containing trusty cannot be used together with -t sd, because Trusty OS cannot boot from SD card. • To flash SD card, execute the tool with -t sd. To flash eMMC, it does not need to use -t option.
UG10157 NXP Semiconductors Android Quick Start Guide 5.4 Booting After downloading the images, you can boot the board by connecting it to the power supply. 5.4.1 Booting with single display: HDMI/MIPI-to-HDMI/MIPI panel/LVDS panel/dual-channel LVDS to HDMI or multiple displays In the U-Boot prompt, set the U-Boot environment variables as follows: U-Boot >...
UG10157 NXP Semiconductors Android Quick Start Guide 6 Working with the i.MX 8M Quad WEVK Board 6.1 Board hardware The figures below show the different components of the i.MX 8M Quad EVK board. Figure 24. i.MX 8M Quad WEVK board UG10157 All information provided in this document is subject to legal disclaimers.
Page 38
UG10157 NXP Semiconductors Android Quick Start Guide Figure 28. MX8-DSI-OLED1 MIPI panel Figure 29. OV5640 CSI MIPI camera Figure 30. PCIE9098 (Murata LBEE5ZZ1XL) Note: • i.MX 8M Quad WEVK Rev. A board is supported in this release. UG10157 All information provided in this document is subject to legal disclaimers.
UG10157 NXP Semiconductors Android Quick Start Guide • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI-to-HDMI adapter to the "MIPI DSI" port. • To test the MIPI panel display, connect the i.MX MIPI panel to the "MIPI DSI" port.
UG10157 NXP Semiconductors Android Quick Start Guide Table 7. Board images ...continued Image name Download target Description u-boot-imx8mq-wevk- An image containing U-Boot and ATF, used by UUU for i.MX 8M Quad WEVK board. It is not flashed to MMC. uuu.imx 0 kB offset of MMC.
UG10157 NXP Semiconductors Android Quick Start Guide Table 7. Board images ...continued Image name Download target Description vendor_dlkm.img Logical partitions vendor_ Vendor dynamically loadable kernel module image. dlkm_a and vendor_ dlkm_b in super partition. product.img Logical partition product_ Product image. a and product_b in super partition.
Page 42
UG10157 NXP Semiconductors Android Quick Start Guide Change the board's SW802 (boot mode) to 01 (from 1-2 bit) to enter serial download mode. 3. Power on the board. Use the USB cable on the board USB 3.0 port to connect your PC with the board.
Page 43
UG10157 NXP Semiconductors Android Quick Start Guide Table 8. Options for uuu_imx_android_flash tool ...continued Option Description -usb usb_path Specifies a USB path like 1:1 to monitor. It can be used multiple times to specify more than one path. • On the Linux system, open the shell terminal. For example, you can execute a command as follows: >...
UG10157 NXP Semiconductors Android Quick Start Guide • If uuu_imx_android_flash.bat is used to flash images on a remote server through Samba, map the remote resource to the local environment first. Take the following command as an example: > net use z: \\192.168.1.1\daily_images "z"...
UG10157 NXP Semiconductors Android Quick Start Guide Note: • To test the camera, connect the i.MX CSI MIPI camera to the "CSI" port. • To test EPDC display, connect the EPDC display to the base board of i.MX 8ULP EVK, the connector on the base board can be found near the silkprint of "NXP".
Page 51
UG10157 NXP Semiconductors Android Quick Start Guide Table 9. Board images ...continued Image name Download target Descriptions u-boot-imx8ulp-9x9- An image containing U-Boot and ATF, used by UUU for the i.MX 8ULP EVK 9x9 board. It is not flashed to evk-uuu.imx MMC.
UG10157 NXP Semiconductors Android Quick Start Guide Table 9. Board images ...continued Image name Download target Descriptions vbmeta-imx8ulp-lpa. vbmeta_a and vbmeta_b Android Verify Boot metadata image to support the partitions. Low Power Audio feature on the i.MX 8ULP EVK. vbmeta_a and vbmeta_b Android Verify Boot metadata image to support the vbmeta-imx8ulp-lpd.
Page 53
UG10157 NXP Semiconductors Android Quick Start Guide For the UUU binary file, download it from GitHub: uuu release page on GitHub. To achieve more flexibility, two script files are provided to invoke UUU to automatically flash all Android images. • uuu_imx_android_flash.sh for Linux OS •...
Page 54
UG10157 NXP Semiconductors Android Quick Start Guide Table 10. Options for uuu_imx_android_flash tool ...continued Option Description -daemon Runs UUU in daemon mode. This option is used to flash multiple boards of the same type. If the script is executed with this option, no image is flashed. The script just loads U-Boot to RAM and executes to fastboot mode.
UG10157 NXP Semiconductors Android Quick Start Guide 7.4 Booting After downloading the images, boot the board by connecting it to the power supply. 7.4.1 Booting with MIPI panel display In the U-Boot prompt, set the U-Boot environment variables as follows: U-Boot >...
UG10157 NXP Semiconductors Android Quick Start Guide 8 Working with the i.MX 8QuadMax MEK Board 8.1 Board hardware The figures below show the different components of the i.MX 8QuadMax MEK board. Figure 37. i.MX 8QuadMax MEK board Figure 38. i.MX mini SAS cable with DSI-to-HDMI adapter UG10157 All information provided in this document is subject to legal disclaimers.
UG10157 NXP Semiconductors Android Quick Start Guide Figure 42. PCIE9098 (Murata LBEE5ZZ1XL) Note: • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI-to-HDMI adapter to the "HDMI DSI" port. • To test the LVDS-to-HDMI display, use the i.MX mini SAS cable to connect the LVDS-to-HDMI adapter to the "LVDS0/LVDS1"...
Page 59
UG10157 NXP Semiconductors Android Quick Start Guide Table 11. Board images ...continued Image name Download target Description u-boot-imx8qm.imx 0 kB offset of eMMC and 32 An image containing U-Boot and ATF for the i.MX 8Quad kB offset of SD card. Max MEK board.
UG10157 NXP Semiconductors Android Quick Start Guide Table 11. Board images ...continued Image name Download target Description vbmeta-imx8qm-sof.img vbmeta_a and vbmeta_b Android Verify Boot metadata image to support the Sound partitions. Open Firmware audio output. Logical partitions system_ System image. system.img a and system_b in super partition.
Page 61
UG10157 NXP Semiconductors Android Quick Start Guide To achieve more flexibility, two script files are provided to invoke UUU to automatically flash all Android images. • uuu_imx_android_flash.sh for Linux OS • uuu_imx_android_flash.bat for Windows OS For this release, these two scripts are validated on UUU 1.4.182 version. Download the corresponding version from GitHub: •...
Page 62
UG10157 NXP Semiconductors Android Quick Start Guide Table 12. Options for uuu_imx_android_flash tool ...continued Option Description -D directory Specifies the directory in which there are the images to be flashed. For uuu_imx_ android_flash.bat, it must be followed with an absolute path. If this option is not used, images in the current working directory are flashed.
UG10157 NXP Semiconductors Android Quick Start Guide • To test the Sound Open Firmware audio output, execute the tool with -d sof. • To test multiple displays, execute the tool with -u md -d md. Four display ports can be used for display: –...
UG10157 NXP Semiconductors Android Quick Start Guide Figure 45. i.MX mini SAS cable with LVDS-to-HDMI adapter Figure 46. OV5640 CSI MIPI camera Figure 47. PCIE9098 (Murata LBEE5ZZ1XL) Note: • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI to HDMI adapter to the "MIPI DSI"...
Page 67
UG10157 NXP Semiconductors Android Quick Start Guide Table 13. Board images ...continued Image name Download target Description spl-imx8qxp-c0- 0 kB offset of eMMC or 32 kB Secondary program loader image without Trusty related offset of SD card. configurations for the i.MX 8QuadXPlus MEK board with the dual.bin...
Page 68
UG10157 NXP Semiconductors Android Quick Start Guide Table 13. Board images ...continued Image name Download target Description boot.img boot_a and boot_b AOSP GKI boot image. It contains the AOSP generic kernel partitions. image and generic ramdisk. boot_a and boot_b Boot image built with i.MX kernel tree for debugging.
UG10157 NXP Semiconductors Android Quick Start Guide Table 13. Board images ...continued Image name Download target Description dtbo-imx8qxp- dtbo_a and dtbo_b Device Tree image to support the MIPI panel (RM67191) display. partitions. mipi-panel- rm67191.img dtbo-imx8qxp-sof. dtbo_a and dtbo_b Device Tree image to support the Sound Open Firmware audio partitions.
Page 70
UG10157 NXP Semiconductors Android Quick Start Guide Table 14. Options for uuu_imx_android_flash tool Option Description Displays the help information of this tool. -f soc_name Specifies SoC information. For i.MX 8QuadXPlus MEK, it should be imx8qxp. This option is mandatory. Only flashes slot a. If this option and -b option are not used, slots a and b are both flashed.
UG10157 NXP Semiconductors Android Quick Start Guide • 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.
UG10157 NXP Semiconductors Android Quick Start Guide U-Boot > saveenv 9.5 Board reboot After you have completed download and setup, reboot the board and wait for the Android platform to boot up. 10 Working with the i.MX 95 EVK Board 10.1 Board hardware...
Page 73
UG10157 NXP Semiconductors Android Quick Start Guide Figure 49. i.MX 95 EVK board back view Figure 50. i.MX mini SAS cable with DSI-to-HDMI adapter Figure 51. i.MX mini SAS cable with LVDS-to-HDMI adapter UG10157 All information provided in this document is subject to legal disclaimers.
Page 76
UG10157 NXP Semiconductors Android Quick Start Guide Figure 54. AUDIO-IO board Figure 55. i.MX CSI MIPI Camera AP1302 Figure 56. PCIE9098 (U-Blox JODY-W3) Note: • i.MX 95 EVK Rev. A board is supported in this release. UG10157 All information provided in this document is subject to legal disclaimers.
UG10157 NXP Semiconductors Android Quick Start Guide • To test the MIPI-DSI to HDMI display, use the i.MX mini SAS cable to connect the DSI-to-HDMI adapter to the "MIPI DSICSI" port. • To test the LVDS-to-HDMI display, use the i.MX mini SAS cable to connect the LVDS-to-HDMI adapter to the "LVDS0"...
Page 78
UG10157 NXP Semiconductors Android Quick Start Guide Image name Download target Description init_boot.img init_boot_a and Contains generic ramdisk. init_boot_b partitions. Vendor boot image. It contains vendor ramdisk, kernel vendor_boot.img vendor_boot_a and vendor_boot_b commandline, and bootconfig. partitions. Used in the VTS test with the GSI system image.
UG10157 NXP Semiconductors Android Quick Start Guide Image name Download target Description dtbo-imx95.img dtbo_a and dtbo_b Device Tree image to support the MIPI-to-HDMI display, and partitions. supoort the AP1302 camera on the i.MX 95 EVK board. dtbo_a and dtbo_b Device Tree image to support the LVDS-to-HDMI diaplay on the dtbo-imx95-lvds0.
Page 80
UG10157 NXP Semiconductors Android Quick Start Guide 4. Decompress release_package/android-14.0.0_2.0.0_image_95evk.tar.gz. The package contains the image files and uuu_imx_android_flash tool. 5. Execute the uuu_imx_android_flash tool to flash images. The uuu_imx_android_flash tool can be executed with options to get help information and specify the images to be flashed.
UG10157 NXP Semiconductors Android Quick Start Guide Note: • -u followed with a parameter and containing trusty cannot be used together with -t sd, because Trusty OS cannot boot from SD card. • To flash SD card, execute the tool with -t sd. To flash eMMC, it does not need to use -t option.
NXP Semiconductors. In the event that customer uses the product for design-in and use in In no event shall NXP Semiconductors be liable for any indirect, incidental, automotive applications to automotive specifications and standards, punitive, special or consequential damages (including - without limitation - customer (a) shall use the product without NXP Semiconductors’...
Page 85
Overview ............2 Working with the i.MX 8ULP EVK Board ..45 Hardware Requirements ......... 2 Board hardware ..........45 Working with the i.MX 8M Mini EVK Board images ..........50 Board ..............2 Flashing board images ........52 Board hardware ..........2 Booting .............55...
Need help?
Do you have a question about the i.MX 8M Mini and is the answer not in the manual?
Questions and answers