Difference between revisions of "UCM-iMX8M-Plus: U-Boot: Recovery"
(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...") |
(No difference)
|
Revision as of 11:24, 23 February 2023
Contents
Introduction
This article describes flashing U-Boot firmware image with a Linux Host using Universal Update Utility (hereinafter UUU).
Follow the Universal Update Utility instructions to install and setup UUU tool on a workstation. |
Getting Recovery U-Boot Firmware Image
- Download the UCM-iMX8M-Plus Yocto Linux package from CompuLab website.
- It's referred to as ucm-imx8m-plus_yocto-linux_YYYY-MM-DD.zip further in the article
- Extract the archive:
unzip ucm-imx8m-plus_yocto-linux_YYYY-MM-DD.zip -d /path/to/ucm-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 UCM-iMX8M-Plus evaluation board
- Populate E19 jumper
- Connect the UCM-iMX8M-Plus evaluation board USB type-C connector J5 with the workstation USB port using a standard USB type-C cable.
- Power on the UCM-iMX8M-Plus evaluation board
- Issue 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/ucm-imx8m-plus_yocto-linux/bootloader/imx-boot_ucm-imx8m-plus_<DRAM_CONF>
- Make sure the deployment is completed with no error
After Installation
- Turn off the device
- Disconnect the USB type-C cable from type-C connector
- Remove E19 jumper
- Turn on the device
- Restore default boot environment