Difference between revisions of "IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: U-Boot: Recovery"

From Compulab Mediawiki
Jump to: navigation, search
Line 2: Line 2:
 
This article describes flashing U-Boot firmware image with a Linux Host using Universal Update Utility (hereinafter '''UUU''').
 
This article describes flashing U-Boot firmware image with a Linux Host using Universal Update Utility (hereinafter '''UUU''').
  
{{Note|Follow the [https://github.com/NXPmicro/mfgtools/blob/master/README.md Universal Update Utility instructions] to install and setup UUU tool on a workstation.}}
+
{{Note|Follow the [https://github.com/NXPmicro/mfgtools/blob/master/README.md Universal Update Utility instructions] to install and setup the UUU tool on a host Linux station.}}
  
 
= Getting Recovery U-Boot Firmware Image =
 
= Getting Recovery U-Boot Firmware Image =
* Download the [https://www.compulab.com/wp-content/uploads/2022/11/iot-gate-imx8plus_firmware-recovery-image.zip U-Boot recovery images archive].
+
* Download the [https://www.compulab.com/wp-content/uploads/2022/11/iot-gate-imx8plus_firmware-recovery-image.zip U-Boot recovery images archive]. to the host Linux station.
* Extract the archive:
+
* Extract the archive on the host Linux station:
 
<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
Line 12: Line 12:
  
 
= Determining RAM size =
 
= 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''' [https://www.compulab.com/products/iot-gateways/iot-gate-imx8plus-industrial-arm-iot-gateway/#specs option].<br>
+
Determine the correct DRAM size of the IOT-GATE-IMX8PLUS according to the label located on the bottom side of the device. DRAM size is encoded in the unit's '''D''' [https://www.compulab.com/products/iot-gateways/iot-gate-imx8plus-industrial-arm-iot-gateway/#specs option].<br>
 
Use the table below to determine '''DRAM_CONF''' value:
 
Use the table below to determine '''DRAM_CONF''' value:
  
Line 33: Line 33:
  
 
= Flashing U-Boot Firmware =
 
= Flashing U-Boot Firmware =
* Turn off the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device.
+
* Power 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.
+
* Connect the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS micro-USB Programming (PROG) port with the host Linux station USB port using a standard micro-USB cable.
* Power on the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device
+
* Power on the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device via the main DC input.
* Issue following command:
+
* Issue the following commands on the host Linux station:
 
<pre>
 
<pre>
 
uuu -lsusb
 
uuu -lsusb
Line 57: Line 57:
 
= After Installation =
 
= After Installation =
 
* Turn off the device
 
* Turn off the device
* Disconnect the micro-USB cable from device's programming port
+
* Disconnect the micro-USB cable from the device's programming port
 
* Turn on the device
 
* Turn on the device

Revision as of 11:07, 27 February 2023

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 the UUU tool on a host Linux station.

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 of the IOT-GATE-IMX8PLUS 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

  • Power off the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device.
  • Connect the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS micro-USB Programming (PROG) port with the host Linux station USB port using a standard micro-USB cable.
  • Power on the IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS device via the main DC input.
  • Issue the following commands on the host Linux station:
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 the device's programming port
  • Turn on the device