IOT-LINK: U-Boot: Recovery

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

Getting Recovery U-Boot Firmware Image

unzip iot-link_firmware-recovery-image.zip -d /path/to/iot-link-firmware

Flashing U-Boot Firmware

  • IOT-LINK USB SDP port is located behind the back panel. Remove the back panel to access the USB SDP connector.
  • Connect the SDP port with the host Linux station USB port using a standard micro-USB cable.
  • Power off the device via the main DC input.
  • Power on
  • Run:
uuu -lsusb
Expected output:
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-7-g54b900c

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion      Serial_no
        ====================================================================
        1:731    MX93    SDPS:   0x1FC9 0x014E   0x0001
  • Flash U-Boot Firmware.
sudo uuu -b emmc /path/to/firmware/flash.bin
  • 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
  • Press a key to prevent a possible autoboot and get into the U-Boot command prompt
  • Restore default boot environment, save it and reset device:
env default -a ; saveenv ; reset