How to load rescue loader back into eMMC on TechNexion System on Modules

Difficulty Levels: Beginner
Date added: December 26, 2019
Affected Products: PICO Compute Modules , PICO-IMX6 , PICO-IMX6UL , PICO-IMX7 , PICO-IMX8M , PICO-IMX8M-MINI
NOTE: In order for this to work properly, TechNexion SOMs have to be plugged into TechNexion baseboards.

 

1. Connect debug console, power, and data cables to the baseboard

Yellow box: debug console cable
Red box: power cable (Note: some boards are powered using USB Type-C cable)
Blue box: data link cable

SOM BASEBOARD SOM BASEBOARD
PICO-IMX8M PI PICO-IMX8M-MINI PI
PICO-IMX6 PI PICO-IMX6 NYMPH
PICO-IMX7 PI
PICO-IMX6UL HOBBIT

2. Use UUU (mfgtool) to write the rescue loader image to eMMC on SOM

Set the boot jumpers to Serial Download Mode

First, you need to set the boot jumpers on your baseboard so that the board is booting into Serial Download Mode. Follow this Knowledge Base guide in order to set the boot jumpers into Serial Download Mode (i.e. the purple box in the pictures above)

https://www.technexion.com/support/knowledgebase/boot-configuration-settings-for-pico-baseboards/

 

Download UUU (mfgtool)

Download the UUU tool from our website:
ftp://ftp.technexion.net/development_resources/development_tools/installer/imx-mfg-uuu-tool_20191226.zip

Unzip the package

After you download it, you will need to unzip the package:
$ unzip imx-mfg-uuu-tool_20191226.zip
If you are using a Linux-based host, by default files unpacked using unzip are not executable. You may need to set the execute flag on the ‘uuu’ binary in order to execute it (run it).
$ cd  imx-mfg-uuu-tool
$ chmod +x uuu/linux64/uuu

 

Download a default factory rescue loader for your board

The following table lists the URLs based on the SOM and baseboard you are using. Please make sure to correctly identify the board you have.

SOM File SOM File
PICO-IMX8M ftp://ftp.technexion.net/factory_default_reset/pico-imx8mq/pi-dsi720x1280/rescue.xz PICO-IMX8M-MINI ftp://ftp.technexion.net/factory_default_reset/pico-imx8mm/pi-dsi720x1280/rescue.xz
PICO-IMX6 PI: ftp://ftp.technexion.net/factory_default_reset/pico-imx6/pi-lcd800x480/rescue.xz PICO-IMX6 NYMPH: ftp://ftp.technexion.net/factory_default_reset/pico-imx6/hymph-hdmi/rescue.xz
PICO-IMX7 PI: ftp://ftp.technexion.net/factory_default_reset/pico-imx7/pi-lcd800x480/rescue.xz PICO-IMX6UL

Unpack the rescue loader binary image

After download, you’ll need to unpack the rescue loader binary from the “xz” archive. This results in a file named “rescue” in the current directory, and the archive file (rescue.xz) is deleted.
$ unxz rescue.xz
Note that if you directly write the archive file (“rescue.xz”), the process may appear to complete successfully, but in fact this is quite incorrect and the board will not boot. ‘uuu’ is smart enough to look into .bz2 archives, but not .xz archives.

 

Write the rescue loader image to EMMC

This assumes that you are in imx-mfg-uuu-tool directory.

For Linux Platforms:

Different instructions to flash image into eMMC
PICO-IMX8M:
sudo ./uuu/linux64/uuu -b emmc_img imx8mq/pico-imx8mq-flash.bin <path/to/rescue>
PICO-IMX8M-MINI:
sudo ./uuu/linux64/uuu -b emmc_img imx8mm/pico-imx8mm-flash.bin <path/to/rescue>
PICO-IMX6:
sudo ./uuu/linux64/uuu -b emmc_imx6_img imx6/imx6-SPL imx6/imx6-u-boot.img <path/to/rescue>
PICO-IMX7:
sudo ./uuu/linux64/uuu -b emmc_imx7_img imx7/imx7-SPL imx7/imx7-u-boot.img <path/to/rescue>

For additional information, please see the Knowledge Base guide: https://www.technexion.com/support/knowledgebase/using-uuu-to-flash-emmc/

 

3. Set the boot jumpers back to boot from eMMC and reboot

You should be presented with the rescue loader UI.

NOTE: On pico-imx6-pi, please ensure that the lcd panel and touch cable are connected correctly before booting into rescue loader

Stay up to date with all the latest TechNexion news...

Sign-up for our Newsletter