IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: U-Boot: Recovery

From Compulab Mediawiki
Revision as of 10:06, 29 November 2022 by Igor (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

unzip iot-gate-imx8plus_firmware-recovery-image.zip -d /path/to/iot-gate-imx8plus-firmware
  inflating: /path/to/iot-gate-imx8plus-firmware/flash.bin.d1d8  
  inflating: /path/to/iot-gate-imx8plus-firmware/flash.bin.d2d4  

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 IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device.
  • Connect the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS micro-USB Programming (PROG) port with the workstation USB port using a standard micro-USB cable.
  • Power on the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device
  • Issue following command:
#> uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.4-0-gbdea8bd

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion
        ==================================================
        1:533    MX865   SDPS:   0x1FC9 0x0146   0x0002
  • Flash U-Boot Firmware. Replace <DRAM_CONF> with the actual value:
#> sudo uuu -v -b emmc /path/to/iot-gate-imx8plus-firmware/flash.bin.<DRAM_CONF>
  • Make sure the deployment is completed with no error

After Installation

  • Turn off the device
  • Disconnect the micro-USB cable from device's programming port
  • Turn on the device