We use USB thumb drives with Toradex Easy Installer to initially flash our modules. From time to time brand new modules fail to boot from USB.
Here is a diff of the outputs. Left the failing (Serial# 12897713), right the working (Serial# 12897980) module:
Commercial temperature grade DDR3 timings, 64bit bus widt Commercial temperature grade DDR3 timings, 64bit bus widt
Trying to boot from MMC1 Trying to boot from MMC1
U-Boot 2020.07-5.7.5+git.4baed786463e (Feb 08 2024 - 08:54:56 | U-Boot 2020.07-5.7.6-devel+git.4baed786463e (Jan 24 2024 - 16
CPU: Freescale i.MX6DL rev1.4 996 MHz (running at 792 MHz) CPU: Freescale i.MX6DL rev1.4 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 32C | CPU: Commercial temperature grade (0C to 95C) at 45C
Reset cause: POR Reset cause: POR
DRAM: 512 MiB DRAM: 512 MiB
PMIC: device id: 0x10, revision id: 0x21, programmed PMIC: device id: 0x10, revision id: 0x21, programmed
MMC: FSL_SDHC: 1, FSL_SDHC: 0 MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using Loading Environment from MMC... *** Warning - bad CRC, using
In: serial In: serial
Out: serial Out: serial
Err: serial Err: serial
Model: Toradex Colibri iMX6DL 512MB V1.1A, Serial# 12897713 | Model: Toradex Colibri iMX6DL 512MB V1.1A, Serial# 12897980
Net: eth0: ethernet@2188000 Net: eth0: ethernet@2188000
Hit any key to stop autoboot: 0 Hit any key to stop autoboot: 0
MMC: no card present <
switch to partitions #0, OK <
mmc0(part 0) is current device <
** Unrecognized filesystem type ** <
starting USB... starting USB...
Bus usb@2184000: USB EHCI 1.00 Bus usb@2184000: USB EHCI 1.00
Bus usb@2184200: 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@2184000 for devices... 1 USB Device(s) found
scanning bus usb@2184200 for devices... 2 USB Device(s) found scanning bus usb@2184200 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s scanning usb for storage devices... 1 Storage Device(s
Device 0: Vendor: General Rev: 5.00 Prod: UDisk Device 0: Vendor: General Rev: 5.00 Prod: UDisk
Type: Removable Hard Disk Type: Removable Hard Disk
Capacity: 3840.0 MB = 3.7 GB (7864320 x 512) Capacity: 3840.0 MB = 3.7 GB (7864320 x 512)
... is now current device ... is now current device
Scanning usb 0:1... Scanning usb 0:1...
BOOTP broadcast 1 | Found U-Boot script /boot.scr
DHCP client bound to address 172.16.6.110 (114 ms) | 504 bytes read in 30 ms (15.6 KiB/s)
Using ethernet@2188000 device | ## Executing script at 17000000
TFTP from server 192.168.10.1; our IP address is 172.16.6.110 | 30698756 bytes read in 1422 ms (20.6 MiB/s)
Filename 'boot-tezi.scr'. | ## Loading kernel from FIT Image at 12200000 ...
Load address: 0x17000000 | Using 'config@imx6dl-colibri-eval-v3.dtb' configuration
Loading: T ICMP Host Redirect to 192.168.10.1 T ICMP Host R | Trying 'kernel@1' kernel subimage
> Description: Linux kernel
> Type: Kernel Image
For the failing module we get:
MMC: no card present
Don’t mind the different u-boot versions, the working module has already been flashed when I was testing. However, in general our thumb drives also work with the Toradex factory firmware.
See below for the complete output.
Here is the output for a working module:
Commercial temperature grade DDR3 timings, 64bit bus width.
Trying to boot from MMC1
U-Boot 2020.07-5.7.6-devel+git.4baed786463e (Jan 24 2024 - 16:25:00 +0000)
CPU: Freescale i.MX6DL rev1.4 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 45C
Reset cause: POR
DRAM: 512 MiB
PMIC: device id: 0x10, revision id: 0x21, programmed
MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: Toradex Colibri iMX6DL 512MB V1.1A, Serial# 12897980
Net: eth0: ethernet@2188000
Hit any key to stop autoboot: 0
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... 1 Storage Device(s) found
Device 0: Vendor: General Rev: 5.00 Prod: UDisk
Type: Removable Hard Disk
Capacity: 3840.0 MB = 3.7 GB (7864320 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
504 bytes read in 30 ms (15.6 KiB/s)
## Executing script at 17000000
30698756 bytes read in 1422 ms (20.6 MiB/s)
## Loading kernel from FIT Image at 12200000 ...
Using 'config@imx6dl-colibri-eval-v3.dtb' configuration
Trying 'kernel@1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x12200108
Data Size: 6967808 Bytes = 6.6 MiB
Architecture: ARM
OS: Linux
Load Address: 0x10008000
Entry Point: 0x10008000
Hash algo: sha1
Hash value: 1ca581ad83071161241f1e217907948ced6a457b
Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 12200000 ...
Using 'config@imx6dl-colibri-eval-v3.dtb' configuration
Trying 'ramdisk@1' ramdisk subimage
Description: tezi-initramfs
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0x128b074c
Data Size: 23683072 Bytes = 22.6 MiB
Architecture: ARM
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: sha1
Hash value: b9cd7fdf5d8b0ca1e9bd901663edc6cafd0a3259
Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 12200000 ...
Using 'config@imx6dl-colibri-eval-v3.dtb' configuration
Trying 'fdt@imx6dl-colibri-eval-v3.dtb' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x128a5414
Data Size: 45696 Bytes = 44.6 KiB
Architecture: ARM
Hash algo: sha1
Hash value: 4fe889b9a0cd470d18fa07ab63edf7f535390cc1
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x128a5414
Loading Kernel Image
Loading Ramdisk to 1e96a000, end 20000000 ... OK
Loading Device Tree to 1e95b000, end 1e96927f ... OK
Starting kernel ...
[ 0.967682] rtc-ds1307 1-0068: hctosys: unable to read the hardware clock
[ 0.992914] usb usb1-port1: over-current condition
Running /etc/rc.local...
TDX_VER_ID="Colibri-iMX6_ToradexEasyInstaller_2.0b7-20210415"
Starting udev
System time was Thu Jan 1 00:00:02 UTC 1970.
Setting the System Clock using the Hardware Clock as reference...
hwclock: RTC_RD_TIME: Invalid argument
System Clock set. System local time is now Thu Jan 1 00:00:02 UTC 1970.
Thu Apr 15 17:12:19 UTC 2021
Saving the System Clock time to the Hardware Clock...
Hardware Clock updated to Thu Apr 15 17:12:19 UTC 2021.
[ 2.639388] sd 0:0:0:0: [sda] No Caching mode page found
[ 2.644814] sd 0:0:0:0: [sda] Assuming drive cache: write through
Welcome to the Toradex Easy Installer
This is a Linux based installer for Toradex modules. Currently, the installer
does not have a serial console interface. You can use the Toradex Easy Installer
via any of the available display interfaces using USB mouse/keyboard or via a
network connection using VNC. Use:
# ip addr show eth0
to display the Ethernet IP address or use USB RNDIS at IP 192.168.11.1.
Check our documentation at:
https://developer.toradex.com/software/toradex-easy-installer
/ #
And this is the output of a failing module using the same baseboard and thumb drive:
Commercial temperature grade DDR3 timings, 64bit bus width.
Trying to boot from MMC1
U-Boot 2020.07-5.7.5+git.4baed786463e (Feb 08 2024 - 08:54:56 +0000)
CPU: Freescale i.MX6DL rev1.4 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 32C
Reset cause: POR
DRAM: 512 MiB
PMIC: device id: 0x10, revision id: 0x21, programmed
MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: Toradex Colibri iMX6DL 512MB V1.1A, Serial# 12897713
Net: eth0: ethernet@2188000
Hit any key to stop autoboot: 0
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
** Unrecognized filesystem type **
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... 1 Storage Device(s) found
Device 0: Vendor: General Rev: 5.00 Prod: UDisk
Type: Removable Hard Disk
Capacity: 3840.0 MB = 3.7 GB (7864320 x 512)
... is now current device
Scanning usb 0:1...
BOOTP broadcast 1
DHCP client bound to address 172.16.6.110 (114 ms)
Using ethernet@2188000 device
TFTP from server 192.168.10.1; our IP address is 172.16.6.110; sending through gateway 172.16.0.254
Filename 'boot-tezi.scr'.
Load address: 0x17000000
Loading: T ICMP Host Redirect to 192.168.10.1 T ICMP Host Redirect to 192.168.10.1