Stuck in Torizon and cannot get to iMX Recovery Mode Colibri iMX6ULL?

I am stuck in Torizon after installing from Easy Installer. Any tips or suggestions are much appreciated.

I cannot get back to booting the Easy Installer from SD card. I want to get rid of Torizon and install a different image.

What I Did:

  1. installed Angstrom
    LXDE via Easy Installer. This worked fine.
  2. Copied Easy Installer to SD
    Card
  3. Boot Easy Installer from SD card, using u-boot terminal, run distro_bootcmd
  4. Installed Qt Demo image via Easy Installer. Demo worked fine.
  5. Boot Easy Installer from SD cars, using u-boot terminal, run distro_bootcmd
  6. Attempt Install Torizon via Easy Installer.

System hangs at Torizon splash screen after reboot. The Torizon splash screen displays with a static progress-bar or text-entry at bottom (I do not know what it is)

After installing Torizon, attempts to boot from Easy Installer SD card fail:

Using serial terminal connected to X27, press space key, then run distro_bootcmd

NAND:  512 MiB
    MMC:   FSL_SDHC: 0
    Loading Environment from NAND... OK
    In:    serial
    Out:   serial
    Err:   serial
    Model: Toradex Colibri iMX6ULL 512MB Wi-Fi / BT IT V1.0A, Serial# 03073253
    Net:   eth1: ethernet@020b4000
    Hit any key to stop autoboot:  1   0 
    Colibri iMX6ULL # run distro_bootcmd
    run distro_bootcmd
    ubi0: default fastmap pool size: 200
    ubi0: default fastmap WL pool size: 100
    ubi0: attaching mtd5
    ubi0: scanning is finished
    ubi0: attached mtd5 (name "ubi", size 508 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 4060, bad PEBs: 4, corrupted PEBs: 0
    ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 9/4, WL threshold: 4096, image sequence number: 1174212782
    ubi0: available PEBs: 0, total reserved PEBs: 4060, PEBs reserved for bad PEB handling: 76
    Scanning ubi 0:...
    Found U-Boot script /boot.scr
    2427 bytes read in 3 ms (790 KiB/s)
    ## Executing script at 87000000
    422 bytes read in 44 ms (8.8 KiB/s)
    7672320 bytes read in 6806 ms (1.1 MiB/s)
    3255570 bytes read in 2926 ms (1.1 MiB/s)
    Kernel image @ 0x81000000 [ 0x000000 - 0x751200 ]
    ERROR: Did not find a cmdline Flattened Device Tree
    
    Starting kernel ...

If I remove SD card then reboot, I am stuck back in Torizon splash screen:

NAND:  512 MiB
MMC:   FSL_SDHC: 0
Loading Environment from NAND... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX6ULL 512MB Wi-Fi / BT IT V1.0A, Serial# 03073253
Net:   eth1: ethernet@020b4000
Hit any key to stop autoboot:  1  0 
ubi0: default fastmap pool size: 200
ubi0: default fastmap WL pool size: 100
ubi0: attaching mtd5
ubi0: scanning is finished
ubi0: attached mtd5 (name "ubi", size 508 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 4060, bad PEBs: 4, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 9/4, WL threshold: 4096, image sequence number: 1174212782
ubi0: available PEBs: 0, total reserved PEBs: 4060, PEBs reserved for bad PEB handling: 76
Scanning ubi 0:...
Found U-Boot script /boot.scr
2427 bytes read in 3 ms (790 KiB/s)
## Executing script at 87000000
422 bytes read in 44 ms (8.8 KiB/s)
42364 bytes read in 45 ms (918.9 KiB/s)
7672320 bytes read in 6804 ms (1.1 MiB/s)
3255570 bytes read in 2922 ms (1.1 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x751200 ]
## Flattened Device Tree blob at 82100000
   Booting using the fdt blob at 0x82100000
   Using Device Tree in place at 82100000, end 8210d57b
   Updating MTD partitions...

Starting kernel ...

[    2.612266] UBI error: cannot open mtd UBI, error -2
[    2.620185] rtc-ds1307 0-0068: hctosys: unable to read the hardware clock
Starting version 243+
root '/dev/ubi0_1' doesn't exist or does not contain a /dev.

I could not seem to get anywhere using iMX Recovery Mode
https://developer.toradex.com/knowledge-base/imx-recovery-mode#colibri-imx6ull

Any tips or directions are much appreciated.

-Ed

[Solved] Thank you Raja. All is good.

I wanted to learn about Torizon. I incorrectly assumed iMX6 was a family and it would also work on the IMX6ULL as well. My mistake. I will forget about using Torizon on the IMX6ULL.

With TEZI SD card connected, the following u-boot console command booted into Toradex easy installer (TEZI) and allowed me to download and install other images besides Torizon.

setenv bootm_boot_mode sec
run bootcmd_mmc0

Thank you for your help!

HI @embeddedEd

Perfect that it works. Thanks for the feedback.

Best regards,
Jaski

Dear @embeddedEd,

Torizon supported platforms : https://developer.toradex.com/software/torizon#requirements.
Do you really want to use Torizon on IMX6ULL or just you tried on IMX6ULL?

Could you try below u-boot commands with TEZI on SD card

  • setenv bootm_boot_mode sec
  • run bootcmd_mmc0/1

If it is not helping then try below option

Did you try to load TEZI from PC as described here : https://developer.toradex.com/software/toradex-easy-installer#load-toradex-easy-installer

After programming Torizon, I am able to launch TEZI from PC. Please make sure the SD card should not be connected.

If above suggestions not helping you then could you log dmesg and share it with us.

Note: Toradex easy installer is called TEZI.