Difference between revisions of "IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: 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 9: Line 9:
 
<pre>
 
<pre>
 
unzip iot-gate-imx8plus_firmware-recovery-image.zip -d /path/to/iot-gate-imx8plus-firmware
 
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 
 
 
</pre>
 
</pre>
  
Line 40: Line 38:
 
* Issue following command:
 
* Issue following command:
 
<pre>
 
<pre>
#> uuu -lsusb
+
uuu -lsusb
 +
</pre>
 +
: Expected output:
 +
<pre>
 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.4-0-gbdea8bd
 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.4-0-gbdea8bd
  
Line 50: Line 51:
 
* Flash U-Boot Firmware. Replace <DRAM_CONF> with the actual value:
 
* Flash U-Boot Firmware. Replace <DRAM_CONF> with the actual value:
 
<pre>
 
<pre>
#> sudo uuu -v -b emmc /path/to/iot-gate-imx8plus-firmware/flash.bin.<DRAM_CONF>
+
sudo uuu -v -b emmc /path/to/iot-gate-imx8plus-firmware/flash.bin.<DRAM_CONF>
 
</pre>
 
</pre>
 
* Make sure the deployment is completed with no error
 
* Make sure the deployment is completed with no error

Revision as of 12:28, 29 November 2022

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

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
Expected output:
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