Difference between revisions of "MCM-iMX8M-Plus: U-Boot: Recovery"

From Compulab Mediawiki
Jump to: navigation, search
(Created page with "= Introduction = This article describes flashing U-Boot firmware image with a Linux Host using Universal Update Utility (hereinafter '''UUU'''). {{Note|Follow the [https://gi...")
 
 
Line 6: Line 6:
 
= Getting Recovery U-Boot Firmware Image =
 
= Getting Recovery U-Boot Firmware Image =
  
* Download the MCM-iMX8M-Plus Yocto Linux package from [https://www.compulab.com/products/computer-on-modules/mcm-imx8m-plus-nxp-i-mx-8m-plus-som-system-on-module-computer/#devres CompuLab website].
+
* Download the MCM-iMX8M-Plus Yocto Linux package from [https://www.compulab.com/products/computer-on-modules/mcm-imx8m-plus-nxp-i-mx-8m-plus-som-system-on-module/#devres CompuLab website].
 
:It's referred to as ''mcm-imx8m-plus_yocto-linux_YYYY-MM-DD.zip'' further in the article
 
:It's referred to as ''mcm-imx8m-plus_yocto-linux_YYYY-MM-DD.zip'' further in the article
 
* Extract the archive:
 
* Extract the archive:
Line 36: Line 36:
 
= Flashing U-Boot Firmware =
 
= Flashing U-Boot Firmware =
 
* Turn off the MCM-iMX8M-Plus evaluation board
 
* Turn off the MCM-iMX8M-Plus evaluation board
* Populate '''E19''' jumper
+
* Populate '''E19''' '''ALT-BOOT''' jumper  
* Connect the MCM-iMX8M-Plus evaluation board USB type-C [https://mediawiki.compulab.com/w/index.php?title=MCM-iMX8M-Plus:_Evaluation_Kit:_Getting_Started connector] '''J5''' with the workstation USB port using a standard USB type-C cable.
+
* Connect the MCM-iMX8M-Plus evaluation board micro-USB [https://mediawiki.compulab.com/w/index.php?title=MCM-iMX8M-Plus:_Evaluation_Kit:_Getting_Started connector] '''P24''' with the workstation USB port using a standard micro USB cable.
 
* Power on the MCM-iMX8M-Plus evaluation board
 
* Power on the MCM-iMX8M-Plus evaluation board
* Issue following command:
+
* To verify the SoC started in SDP mode, from the Host PC issue the following command:
 
<pre>
 
<pre>
 
uuu -lsusb
 
uuu -lsusb
Line 60: Line 60:
 
= After Installation =
 
= After Installation =
 
* Turn off the device
 
* Turn off the device
* Disconnect the USB type-C cable from type-C connector
+
* Disconnect the cable from P24 connector
 
* Remove '''E19''' jumper
 
* Remove '''E19''' jumper
 
* Turn on the device
 
* Turn on the device

Latest revision as of 14:28, 16 April 2026

Introduction

This article describes flashing U-Boot firmware image with a Linux Host using Universal Update Utility (hereinafter UUU).


Admolition note.png Follow the Universal Update Utility instructions to install and setup UUU tool on a workstation.

Getting Recovery U-Boot Firmware Image

It's referred to as mcm-imx8m-plus_yocto-linux_YYYY-MM-DD.zip further in the article
  • Extract the archive:
unzip mcm-imx8m-plus_yocto-linux_YYYY-MM-DD.zip -d /path/to/mcm-imx8m-plus_yocto-linux

Determining RAM size

Determine the correct DRAM size according to the label located on the bottom side of the device. DRAM size is encoded in the unit's D option.
Use the table below to determine DRAM_CONF value:

Product D Option DRAM_CONF
D1 d1d8
D2 d2d4
D4 d2d4
D8 d1d8

Flashing U-Boot Firmware

  • Turn off the MCM-iMX8M-Plus evaluation board
  • Populate E19 ALT-BOOT jumper
  • Connect the MCM-iMX8M-Plus evaluation board micro-USB connector P24 with the workstation USB port using a standard micro USB cable.
  • Power on the MCM-iMX8M-Plus evaluation board
  • To verify the SoC started in SDP mode, from the Host PC issue the following command:
uuu -lsusb
Expected output:
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-3-gcbff795

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion
        ==================================================
        1:131    MX865   SDPS:   0x1FC9 0x0146   0x0002
  • Flash U-Boot Firmware. Replace <DRAM_CONF> with the actual value:
sudo uuu -v -b emmc /path/to/mcm-imx8m-plus_yocto-linux/bootloader/imx-boot_mcm-imx8m-plus_<DRAM_CONF>
  • Make sure the deployment is completed with no error

After Installation

  • Turn off the device
  • Disconnect the cable from P24 connector
  • Remove E19 jumper
  • Turn on the device
  • Restore default boot environment