iMX6 Rex Ultra Recovery

From Voipac Wiki
Revision as of 22:13, 19 March 2021 by Voipac (talk | contribs) (Created page with "Category:iMX6 Rex Development kit Category:iMX6 Rex Ultra Category:iMX6 Rex Recovery <!-- --> <div style="float:right">__TOC__</div> == Description == Recovery pro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Recovery procedure consist from following steps:

  • Loading bootloader binary over USB OTG interface
  • Flashing bootloader over Ethernet
  • Erasing bootloader environment
  • Reseting module

Recommended SW

  • Mfg tools
  • Serial adapter with terminal application
  • TFTP server
  • DHCP server (optional)

Configuration

Updating bootloader

Download U-Boot image:

cd /srv/tftp/imx6/
wget https://www.voipac.com/downloads/imx/iMX6_Rex/Module/bin/uboot/u-boot-imx6-rexultra-2.4.imx

Use the downloaded file to update the bootloader:

setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1

mw.b 0x10800000 0xFF 0x80000;if tftp 0x10800000 imx6/u-boot-imx6-rexultra-2.4.imx; then if sf probe 2:2; then sf erase 0x0 0x80000;sf write 0x10800000 0x400 0x7fc00; fi; fi
reset


Creating bootable SD card

Follow these steps to prepare the SD card