Difference between revisions of "iMX6 Rex Ultra Recovery"

From Voipac Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:iMX6 Rex Development kit]]
+
[[Category:iMX6 Rex Development Kit]]
 
[[Category:iMX6 Rex Ultra]]
 
[[Category:iMX6 Rex Ultra]]
 
[[Category:iMX6 Rex Recovery]]
 
[[Category:iMX6 Rex Recovery]]
Line 5: Line 5:
 
<div style="float:right">__TOC__</div>
 
<div style="float:right">__TOC__</div>
 
== Description ==
 
== Description ==
Recovery procedure consist from following steps:
+
The recovery procedure consists of following steps:
 
* Loading bootloader binary over USB OTG interface
 
* Loading bootloader binary over USB OTG interface
 
* Flashing bootloader over Ethernet
 
* Flashing bootloader over Ethernet
 
* Erasing bootloader environment
 
* Erasing bootloader environment
* Reseting module
+
* Resetting module
  
=== Recommended SW ===
+
=== Recommended Software ===
* [http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_kit/tools&dl=DDR_Stress_Tester_V2.52_Imx6Rex.zip Mfg tools]
+
* [https://downloads.voipac.com/files/iMX6_Rex_Development_Kit/tools/mfgtools-Imx6Rex.zip Mfg tool]
 
* Serial adapter with terminal application
 
* Serial adapter with terminal application
 
* TFTP server
 
* TFTP server
Line 22: Line 22:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
cd /srv/tftp/imx6/
 
cd /srv/tftp/imx6/
wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_kit/module/software/uboot/binaries&dl=u-boot-imx6-rexultra-2.4.imx
+
wget http://downloads.voipac.com/files/iMX6_Rex_Development_Kit/module/software/uboot/binaries/u-boot-imx6-rexultra-2.4.imx
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 10:10, 24 April 2022

Description

The recovery procedure consists of following steps:

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

Recommended Software

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

Configuration

Updating bootloader

Download U-Boot image:

cd /srv/tftp/imx6/
wget http://downloads.voipac.com/files/iMX6_Rex_Development_Kit/module/software/uboot/binaries/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