Toradex easyinstaller with imx6ull does not detect images on USB

Hi TDX support,

My platform is Colibri iMX6ULL 512MB Wi-Fi / Bluetooth IT V1.1A on iris v1.1 carrier board. I’m using TEZI version: Colibri-iMX6ULL_ToradexEasyInstaller_1.8-20181019

My objective is to install a BSP package (uboot, kernel, filesys) using TEZI via a USB drive. Preferably I would like to do this using the auto-install feature, but when that did not work I tried using the GUI via VNC.

I have read and followed the TEZI guide here Downloads & Installers | Toradex Developer Center but I can’t get the installer to recognise any images I put onto the USB drive - it only shows images on the internet. USB drive is formatted FAT32 in ubuntu. I have tried pressing refresh before and after disabling RNDIS.

I have tried using my own bit-baked tezi package and the Toradex reference image downloaded from https://docs.toradex.com/106404-colibri-imx6ull-linux-console-image-tezi.tar

I unzip the contents of the folder inside the *.tezi.tar file to the root of the USB flash drive, i.e. the result is a flat file structure (without any directories):

$ ls /media/gareth/gg/
Console-Image-colibri-imx6ull.tar.xz
imx6ull-colibri-eval-v3.dtb  
imx6ull-colibri-wifi-aster.dtb    
imx6ull-colibri-wifi-iris-v2.dtb  
toradexlinux.png  
wrapup.sh
image.json                            
imx6ull-colibri-iris.dtb    
imx6ull-colibri-wifi-eval-v3.dtb  
marketing.tar                     
u-boot-nand.imx   
zImage
imx6ull-colibri-aster.dtb             
imx6ull-colibri-iris-v2.dtb  
imx6ull-colibri-wifi-iris.dtb     
prepare.sh                        
uEnv.txt

On the console port of TEZI lsusb does not show the drive, nothing is mounted and no sda devices appear in /dev:

/ # lsusb
Bus 002 Device 001: ID 1d6b:0002  
Bus 001 Device 001: ID 1d6b:0002  
/ # mount
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=181652k,nr_inodes=45413,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/ # ls /dev/sda*
ls: /dev/sda*: No such file or directory

dmesg looks like:
/

 # dmesg | grep -i usb
[    0.090254] mxs_phy 20c9000.usbphy: Looking up phy-3p0-supply from device tree
[    0.091434] mxs_phy 20ca000.usbphy: Looking up phy-3p0-supply from device tree
[    0.143092] VCC_USB[1-4]: 5000 mV 
[    0.143233] reg-fixed-voltage regulator-usbh-vbus: Looking up vin-supply from device tree
[    0.143305] VCC_USB[1-4]: supplied by 5V
[    0.143420] reg-fixed-voltage regulator-usbh-vbus: VCC_USB[1-4] supplying 5000000uV
[    0.146444] usbcore: registered new interface driver usbfs
[    0.146621] usbcore: registered new interface driver hub
[    0.146894] usbcore: registered new device driver usb
[    0.582043] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.582502] usbcore: registered new interface driver usb-storage
[    0.582844] usbcore: registered new interface driver usbserial
[    0.582951] usbcore: registered new interface driver usbserial_generic
[    0.583055] usbserial: USB Serial support registered for generic
[    0.583181] usbcore: registered new interface driver ftdi_sio
[    0.583297] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.583424] usbcore: registered new interface driver pl2303
[    0.583531] usbserial: USB Serial support registered for pl2303
[    0.586351] usbmisc_imx 2184800.usbmisc: Looking up vbus-wakeup-supply from device tree
[    0.586393] usbmisc_imx 2184800.usbmisc: Looking up vbus-wakeup-supply property in node /soc/aips-bus@02100000/usbmisc@02184800 failed
[    0.586426] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    0.588287] imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=-517
[    0.596562] imx_usb 2184200.usb: Looking up vbus-supply from device tree
[    0.600542] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    0.615032] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    0.617126] hub 1-0:1.0: USB hub found
[    0.692811] usbcore: registered new interface driver usbhid
[    0.692830] usbhid: USB HID core driver
[    0.735222] imx_usb 2184000.usb: Looking up vbus-supply from device tree
[    0.740683] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    0.755025] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    0.757191] hub 2-0:1.0: USB hub found
[    2.371189] usb0: HOST MAC 00:14:2d:ff:ff:fe
[    2.372192] usb0: MAC 00:14:2d:ff:ff:ff
[    2.372699] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

Hi,

You may have many TEZI images on USB, different versions for different colibries, each in its own arbitrary named folder.

But if you see USB not mounted then no way for TEZI to see it. You didn’t mention your carrier board. Is USB host port on your custom board the same like on Iris or other Toradex carrier board?

Hi Edward,

I’m using iris v1.1.

Hi @gman ,

Are you connecting the USB Device after the Toradex Easy Installer comes up? If yes, can you please flash the Toradex Easy Installer from the internet, turn off the module, plug the USB Device and then turn on the module with the device plugged in?

It seems that the image was correctly unpacked into the USB Device since you are unpacking all the files into the root of the flash device.

Best regards,

Daniel Morais

Perfect that it worked. Thanks for the feedback.

Thanks @Edward and @daniel_m.tx,

Turns out the colibri did not like the flash drive which is strange because it is fine on my ubuntu development host, is FAT32, etc.

I tried a different drive and all working now.