Recovery on imx6 failed

I try to install an older image on a imx6.

  • Apalis imx6 quad 1GB
  • Version 1.1B

Preinstalled is the Toradex easy installer version 1.8 (19-Oct-2018)

I try to install an newer version of the installer, because I want to install Torizon 5.4.0 Build.10.

I can attach the serial console (ttyUSB0), set recovery mode (bmode usb) and start the recovery mode (recovery-linux.sh). It then fails with the following messages.

On the serial console (screen):

Hit any key to stop autoboot:  0
Apalis iMX6 # bmode usb
resetting ...

Commercial temperature grade DDR3 timings.
Trying to boot from USB SDP
g_dnl_register: failed!, error: -19
SDP dnl register failed: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

On the recovery:

torizon-images/installer/Apalis-iMX6_ToradexEasyInstaller_5.4.0+build.4
✓ ./recovery-linux.sh
Downloading Toradex Easy Installer...
Could not open device vid=0x1b67 pid=0x4fff

Downloading Toradex Easy Installer failed...

I tried the following versions of the easy installer, each having the same issue.

  • 2.0b7-20210415
  • 5.4.0+build.4
  • 6.8.1+build.9

My OS

  • Pop-OS, 22.04
  • Linux pop-os 6.13.5-x64v3-xanmod1 #0~20250227.gdc8f2a7 SMP PREEMPT_DYNAMIC Thu Feb 27 16:46:42 UTC x86_64 x86_64 x86_64 GNU/Linux

I’m not sure if it is a configuration issue on may machine or on the IPC. It worked in the past on a different setup that I no longer have.

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

It seems you’re encountering issues with the recovery process on your Apalis iMX6 module, particularly related to USB enumeration and connection errors. Here are some steps you can take to troubleshoot and resolve these issues:

  1. USB Enumeration Issue: The error messages such as “g_dnl_register: failed!, error: -19” suggest a problem with USB device enumeration. This can occur if the USB connection is unstable or if the device is not recognized correctly.

  2. Use Different USB Ports and Cables: Try using a different USB cable, preferably one that is known to be reliable. Also, connect to a non-USB3 port on your host machine, as USB3 ports can sometimes cause compatibility issues.

  3. Access Serial Console for Logs: Connect to the serial console on UART1/UART_A to access the Easy Installer’s shell. You can view the log file at /var/volatile/tezi.log for more detailed error messages and debugging information. This can provide insights into what might be going wrong during the recovery process.

  4. Firewall and Network Considerations: If you are behind a firewall, ensure that it is not interfering with the download process. Some firewalls have issues with the TCP window scale option, which can be disabled if necessary.

By following these steps, you should be able to identify and resolve the issues preventing the successful installation of the Toradex Easy Installer and subsequently the Torizon image. If problems persist, reviewing the logs for any additional error messages could provide further clues.

Best regards,
Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

Torizon GPIO and Apalis imx6.

I forgot to remove the JP2 jumper on this board, all works now. Silly mistake, but I leave the post in case it helps someone in the future.