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

From Compulab Mediawiki
Jump to: navigation, search

Introduction

The following scenarios may render the device inoperable:

  • U-Boot update failure
  • U-Boot update using an incorrect or corrupted image

In such cases, the boot loader must be recovered in order to restore device operation.

Creating the Recovery SD Card

unzip -p iot-gate-imx8_firmware-recovery-image.zip | sudo dd status=progress of=/dev/sdX 
Where /dev/sdX is the host system device node for the microSD card.

Flashing the Device U-Boot

  • Insert the recovery SD card into the IOTG-ACC-M2SD module (see evaluation kit).
  • Power off the IOT-GATE-iMX8/SBC-IOT-iMX8 unit.
  • Connect the debug console.
  • Install the IOTG-ACC-M2SD module in socket P14 (first remove the secondary storage module, if installed).
  • Install the jumper E1.
  • Power on the IOT-GATE-iMX8/SBC-IOT-iMX8 unit.
  • Wait untill the SUCCESS printout appears on the console.
  • Power off the IOT-GATE-iMX8/SBC-IOT-iMX8 unit.
  • Remove the module IOTG-ACC-M2SD and jumper E1.
  • Power on the IOT-GATE-iMX8/SBC-IOT-iMX8 unit.
  • Verify the device boots successfully.