Flashing Modular Vision MX8M-Plus
The Modular Vision MX8M-Plus device follows the generic sequence with some additional steps.
A special bootloader is needed during the flashing step. This should be downloaded into the current working directory from this link:
flash.bin - Bootloader variant to write to the eMMC
Additionally, a special configuration file for UUU, namely flash.lst, must be downloaded from this link:
flash.lst - UUU Configuration file
The steps that need to be followed are as such:
-
Copy the
flash.binfile inside the UUU folder. -
Decompress the
.wic.bz2image file, e.g. using$ bzip2 -d <image_name>.wic.bz2. -
Rename the decompressed image file to
_image, e.g. using$ mv <image_name>.wic _image. -
Enable "Serial Downloader Mode" according to the next section, to allow the device to be flashed.
Flashing the device
The "Serial Downloader mode" section of the NXP SOC flashing can be followed to trigger "Serial Downloader Mode" on the device. A safer alternative can be found below. This alternative is recommended as it does not alter the eMMC's contents.
Recommended method
The boot sequence must be interrupted with a keypress in the debug console, in order to get access to the U-Boot prompt. The command line will look as follows:
MX SECO U-Boot >
Run the following command in the U-Boot terminal:
fastboot 1
The device has now entered Serial Downloader mode, and will seem unresponsive. Upon power cycling the effect of this command is reverted, and the device's eMMC contents are unaffected. One can simply repeat this procedure to enter Serial Downloader mode again.
The commands described in the Serial Downloader Mode section of the NXP SOC Flashing guide can also be used, but are not recommended. Please heed the warning on the generic instructions, that by using those commands instead the device will not be able to boot until a new bootloader has been flashed.
The flash command needs to be adapted to use the UUU configuration file:
$ sudo ./uuu flash.lst
After issuing the command, the flashing operation will initiate and a progress bar will appear. Once the operation is finished, the terminal on the host side will look as such:
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.165-0-g7347a80
Success 1 Failure 0
5:12 8/ 8 [Done ] FB: done
The device is ready to use and will boot to Clea OS after performing a power cycle operation.