If the board is 2GB LPDDR4 in commercial or industrial temperature, use
If the board is 4GB LPDDR4, use
"ser3" stands for console debug port in SMARC definition. In this example, we uses SER3 as debug port. If user uses SER0 as your debug port, make change to "ser0" instead. Same as SER1 and SER2.
To change the debug port, in addition to u-boot defconfig and uEnv.txt files, you also need to modify plat/imx/imx8m/imx8mm/include/platform_def.h in the imx-atf. Find "#define IMX_BOOT_UART_BASE U(0x30890000)" and change to the correct address that defined in uEnv.txt file.
The SMARC-iMX8MM module always boot up from the on-module eMMC flash. The factory default will be flash.bin pre-installed with SER3 as console output. In some cases when the eMMC flash is empty or needs to be upgraded. Users can shunt crossed the TEST# to ground. In this way, the SMARC-iMX8MM module will boot up to carrier SD card, if TEST# pin is shunt crossed. The flash.bin image are the same, the difference is how you flash flash.bin. This will be explained in the "Setup SD card" section.