Wiki Home » rex » recovery

recovery

Last modified by Administrator on 2018/10/21 17:16

Info

Description

Recovery procedure consists from following steps:

  • Loading bootloader binary over usb
  • Flashing bootloader over Ethernet
  • Erasing bootloader environment
  • Reseting module

Requirements

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

Update

Hint: Erase Bootloader environment or load the default environment.

Bootloader

Yocto

IMX6 Basic module (Production)

SH

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

U-BOOT

setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1

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

IMX6 Pro module (Production)

SH

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

U-BOOT

setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1

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

IMX6 Ultra module (Production)

SH

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

U-BOOT

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

Android KK 4.4.2

IMX6 DualLite module (Prototype)

SH

cd /srv/tftp/imx6/
wget https://www.voipac.com/downloads/imx/iMX6_Rex/Module/bin/android/kk442/u-boot-0x27800000_imx6dl_20160410.bin

U-BOOT

setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1

mw.b 0x10800000 0xFF 0x80000;tftp 0x10800000 imx6/u-boot-0x27800000_imx6dl_20160410.bin;sf probe 3:2;sf erase 0x0 0x80000;sf write 0x10800000 0x0 0x80000
reset

IMX6 Pro module (Production)

SH

cd /srv/tftp/imx6/
wget https://www.voipac.com/downloads/imx/iMX6_Rex/Module/bin/android/kk442/u-boot-0x27800000_imx6q_20160410.bin

U-BOOT

setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1

mw.b 0x10800000 0xFF 0x80000;tftp 0x10800000 imx6/u-boot-0x27800000_imx6q_20160410.bin;sf probe 3:2;sf erase 0x0 0x80000;sf write 0x10800000 0x0 0x80000
reset

SD card image

Initial steps

Create working directory

mkdir -pv ~/workdir/imx6/rootfs/yocto

Download & Extract binary files

cd ~/workdir/imx6/rootfs/yocto
wget https://www.voipac.com/downloads/imx/iMX6_Rex/Module/bin/yocto/fsl-image-gui-imx6-rexbasic-1.2.sdcard
wget https://www.voipac.com/downloads/imx/iMX6_Rex/Module/bin/yocto/fsl-image-gui-imx6-rexpro-1.2.sdcard

Create Bootable SD card

Windows

Following example is for IMX6 Basic module.

USBWriter-imx6-tinyrexbasic-step01.png
USBWriter-imx6-tinyrexbasic-step02.png
USBWriter-imx6-tinyrexbasic-step03.png
USBWriter-imx6-tinyrexbasic-step04.png

Linux

IMX6 Basic module (Production)

sudo dd if=fsl-image-gui-imx6-rexbasic-1.2.sdcard of=/dev/mmcblk0

IMX6 Pro module (Production)

sudo dd if=fsl-image-gui-imx6-rexpro-1.2.sdcard of=/dev/mmcblk0

Configuration

Load custom device tree file

Tags:
Created by Administrator on 2015/10/07 15:08

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.1 - Documentation