Info
Description
Recovery procedure consist from following steps:
- Creating bootable SD card
- Reseting module
Requirements
- SD card
- SD card reader
- Linux PC or Windows PC (USBWriter)
Update
Hint: Bootloader environment is part of SD card and is erased during this procedure.
Bootloader
Bootloader is part of SD card image.
SD card image
Initial steps
Create working directory
mkdir -pv ~/workdir/imx6/rootfs/yocto
cd ~/workdir/imx6/rootfs/yocto
wget https://www.voipac.com/downloads/imx/iMX6_TinyRex/Module/bin/yocto/fsl-image-gui-imx6-tinyrexbasic-1.1.sdcard
wget https://www.voipac.com/downloads/imx/iMX6_TinyRex/Module/bin/yocto/fsl-image-gui-imx6-tinyrexpro-1.1.sdcard
wget https://www.voipac.com/downloads/imx/iMX6_TinyRex/Module/bin/yocto/fsl-image-gui-imx6-tinyrexmax-1.1.sdcard
Create Bootable SD card
Windows
Following example is for IMX6 Basic module.




Linux
IMX6 Lite module
IMX6 Basic module
sudo dd if=fsl-image-gui-imx6-tinyrexbasic-1.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
or
gunzip -c fsl-image-gui-imx6-tinyrexbasic-2.3.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
sudo dd if=fsl-image-gui-imx6-tinyrexpro-1.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
or
gunzip -c fsl-image-gui-imx6-tinyrexpro-2.3.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
IMX6 Max module
sudo dd if=fsl-image-gui-imx6-tinyrexmax-1.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
or
gunzip -c fsl-image-gui-imx6-tinyrexmax-2.3.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
IMX6 Max 4G module
sudo dd if=fsl-image-gui-imx6-tinyrexmax4g-1.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
or
gunzip -c fsl-image-gui-imx6-tinyrexmax4g-2.3.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
IMX6 ULTRA module
sudo dd if=fsl-image-gui-imx6-tinyrexultra-1.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
or
gunzip -c fsl-image-gui-imx6-tinyrexultra-2.3.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
Final steps
- Plug SD card into corresponding slot.
- Press reset button.
Configuration
Update
U-Boot
setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1
run update_uboot
Device Tree blob
setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1
run update_fdt
Kernel
setenv ipaddr 192.168.0.150
setenv serverip 192.168.0.1
run update_kernel