Unable to flash linux from SD CARD

Hi everyone,

I am currently working on a Colibri-iMX6 with Colibri Evaluation Board. I have tried to flash a embedded linux image to my module by following the instructions written in Flashing Embedded Linux to iMX6 Modules . I have downloaded the Linux LXDE Image for Colibri-iMX6 as it is said in the tutorial and then update my SD card then plugged it in the evaluation board. I have started U-boot and type the command run setupdate but the following error has came out :

Colibri iMX6 # run setupdate 
starting USB...
Bus usb@2184000: USB EHCI 1.00
Bus usb@2184200: USB EHCI 1.00
scanning bus usb@2184000 for devices... 1 USB Device(s) found
scanning bus usb@2184200 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
ethernet@2188000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@2188000
Using ethernet@2188000 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.2
Filename 'flash_eth.img'.
Load address: 0x12000000
Loading: *
ARP Retry count exceeded; starting again
Colibri iMX6 # run setupdate 
Using ethernet@2188000 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.2
Filename 'flash_eth.img'.
Load address: 0x12000000
Loading: *
ARP Retry count exceeded; starting again

Independently, I have tried to load TEZI by following the instruction of this link : Toradex Easy Installer
but when I have launched the recovery.sh script on my computer the following error came out :

Downloading Toradex Easy Installer...
Could not open device vid=0x1b67 pid=0x4fff

Downloading Toradex Easy Installer failed...

and on my module’s terminal :

Industrial temperature grade DDR3 timings.
Trying to boot from USB SDP
g_dnl_register: failed!, error: -12
SDP: initialize...
SDP: handle requests...

I think that my evaluation board and/or my module are broken. What do you guys think ?

Thank you for your anwsers,


Vanessa

  • Have you connected second USB cable to X29 or X30 as noted here?

  • If so, try to use another USB cable and/or host machine.

Please note when you entering into recovery mode correctly nothing should appear on module’s debug till you start recovery-x script.

I had big issues loading the Linux directly to the iMX7 without loading the TEZI first.

I suggest loading the TEZI using the OTG method at first, then after it has booted to install a new linux through USB or SD.

Note that the OTG connector is that USB-B on the opposite side of the Serial connectors.

You may take a look at how to do it in the Evaluation Board in the iMX7 article, since the board is compatible with any Colibri module.
https://developer.toradex.com/knowledge-base/imx-recovery-mode#Colibri_iMX7

Dear @vtran, Dear @Ilan_Figueiredo,

Ilan is right. You need to use TEZI to flash a new image to the module.

Our modules currently do not support booting from SD Cards. Only booting from the internal flash is possible.

Best Regards
Kevin

Thank you all for your answers. I apologize for taking so much time to reply.
@alex.tx yes, I have connected USB cable in X29 and X30. I have just tried both (not at the same time). I have also changed cable.
I would like to bring you more information. I have 2 iMX6 colibri module, I have succeed in loading TEZI in one of them and failed with the other with this error on the module terminal :
Industrial temperature grade DDR3 timings.
Trying to boot from USB SDP
g_dnl_register: failed!, error: -12
SDP: initialize…
SDP: handle requests…
I think the module which has failed is broken. Anyway, thank you again for your answers.
BR Vanessa

Thank you all for your answers. I apologize for taking so much time to reply.
@alex.tx yes, I have connected USB cable in X29 and X30. I have just tried both (not at the same time). I have also changed cable.
I would like to bring you more information. I have 2 iMX6 colibri module, I have succeed in loading TEZI in one of them and failed with the other with this error on the module terminal :
Industrial temperature grade DDR3 timings.
Trying to boot from USB SDP
g_dnl_register: failed!, error: -12
SDP: initialize…
SDP: handle requests…
I think the module which has failed is broken. Anyway, thank you again for your answers.
BR Vanessa

The “g_dnl_register: failed!, error” indicate that USB connection is unreelable. Are you using a USB HUB? If so try to connect USB cable directly to your host machine. Otherwise try another USB cable or even a host machine.