Toradex Easy Installer doesn't start from USB

Hello,

I am trying to start Toradex Easy Installer from a USB device, using the Ixora V1.1A.

The USB is FAT32 formatted on the first partition, and has the full content of the ‘apalis-imx6_toradexeasyinstaller_1.8-20181019.zip’ extracted into it.

After switching on the Ixora with Apalis iMX6, I stop at the U-boot, and type: run distro_bootcmd.

The following is what I get:

Environment size: 7572/8188 bytes                                                                                                           
Apalis iMX6 # run distro_bootcmd                                                                                                            
MMC: no card present                                                                                                                        
MMC: no card present                                                                                                                        
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... 3 USB Device(s) found                                                                               
       scanning usb for storage devices... 1 Storage Device(s) found                                                                        
       scanning usb for ethernet devices... 0 Ethernet Device(s) found                                                                      
                                                                                                                                            
Device 0: Vendor: SanDisk  Rev: 2.18 Prod: U3 Titanium                                                                                      
            Type: Removable Hard Disk                                                                                                       
            Capacity: 3919.8 MB = 3.8 GB (8027793 x 512)                                                                                    
... is now current device                                                                                                                   
Scanning usb 0:1...                                                                                                                         
Found U-Boot script /boot.scr                                                                                                               
data abort                                                                                                                                  
pc : [<2efb3096>]          lr : [<2efb2b19>]                                                                                                
reloc pc : [<17834096>]    lr : [<17833b19>]                                                                                                
sp : 2cf73220  ip : 00000000     fp : 00000000                                                                                              
r10: 2cfb8e78  r9 : 2cf7eea8     r8 : 00000001                                                                                              
r7 : 2cfa3cf0  r6 : 2bf72040     r5 : 2cf73248  r4 : 00000018                                                                               
r3 : 0000005c  r2 : 2bf720a3     r1 : 2cfa3d68  r0 : 2bf7209f                                                                               
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32                                                                                                
Code: 4630ff4d 81f0e8bd e7d84606 bf082b2f (f822235c)                                                                                        
Resetting CPU ...                                                                                                                           
                                                                                                                                            
resetting ...                                                                                                                               
                                                                                                                                            
Commercial temperature grade DDR3 timings.                                                                                                  
Trying to boot from MMC1                                                                                                                    
                                                                                                                                            
                                                                                                                                            
U-Boot 2019.07-3.0.2+ge1cbe8c (Nov 07 2019 - 18:13:19 +0000)                                                                                
                                                                                                                                            
CPU:   Freescale i.MX6D rev1.5 996 MHz (running at 792 MHz)                                                                                 
CPU:   Extended Commercial temperature grade (-20C to 105C) at 35C                                                                          
Reset cause: WDOG                                                                                                                           
DRAM:  512 MiB                                                                                                                              
PMIC:  device id: 0x10, revision id: 0x21, programmed                                                                                       
MMC:   FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 0                                                                                                
Loading Environment from MMC... OK                                                                                                          
In:    serial                                                                                                                               
Out:   serial                                                                                                                               
Err:   serial                                                                                                                               
Model: Toradex Apalis iMX6 Dual 512MB V1.1B, Serial# 05164731                                                                               
Net:   using PHY at 7                                                                                                                       
FEC [PRIME]                                                                                                                                 
Hit any key to stop autoboot:  0                                                                                                            
Booting from internal eMMC chip...                                                                                                          
58133 bytes read in 22 ms (2.5 MiB/s)                                                                                                       
5738016 bytes read in 209 ms (26.2 MiB/s)                                                                                                   
## Flattened Device Tree blob at 12100000                                                                                                   
   Booting using the fdt blob at 0x12100000                                                                                                 
   Using Device Tree in place at 12100000, end 12111314                                                                                     
                                                                                                                                            
Starting kernel ...                                                                                                                         
                                                                                                                                            
[    0.000000] Booting Linux on physical CPU 0x0                                                                                            
[    0.000000] Linux version 4.14.117-3.0.2+ge43e3a2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Thu Nov 7 18:09:28 UTC 2019         
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d                                                             
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                     
[    0.000000] OF: fdt: Machine model: Toradex Apalis iMX6Q/D Module on Ixora Carrier Board V1.1

The USB device is correctly found, the boot.scr is also found, but then I see: ‘data abort’, and the module resets itself and my custom image (3.0b2) restarts.

How can I find what is wrong ?

Thanks,
Nicola

Ok, I was able to make it run from USB, but …

  • make sure to plug your USB into bottom port of X8 connector (USBO1)
  • make sure not to have anything connected into X9 (not even a micro USB with nothing connected to the other side of the cable)

Once the Toradex Easy Installer is loaded into RAM, you can remove the USB, and connect the micro USB into X9, in order to connect to the board using VNC.

Then if you want to upload your custom image into the Apalis module, just plug into one of the USB ports your USB device with the tezi uncompressed into the root of the USB, and it will be seen inside the Toradex Easy Installer.
At this point you can flash your board with it.

Hope this will be helpful to somebody.

Nicola

Hi @nlanfran

Perfect that the issue is solved. Thanks for your Input.

make sure to plug your USB into bottom port of X8 connector (USBO1)

Are you sure about this? The upper Port on X8 should also work.

make sure not to have anything connected into X9 (not even a micro USB with nothing connected to the other side of the cable)

That is correct the lower Port of X8 and X9 are connected. So either one can use this Port as Host or Client (micro USB). You

Once the Toradex Easy Installer is loaded into RAM, you can remove the USB, and connect the micro USB into X9, in order to connect to the board using VNC.

Yeah, only if you want to use the RNDIS Interface. But you can also use the regular Ethernet Port and access it through the IP you get from DHCP Server in your Network.

Best regards,
Jaski

Hi Jaski,

I am sure about X8, I also tried with X7, but the same result (see extract of the booting sequence with the error) in my first post:

 Found U-Boot script /boot.scr                                                                                                               
 data abort                                                                                                                                  

Initially I thought maybe my USB device was not recognized, and I tried with 2 other USB, but all of them were detected. It could only boot correctly with X8 bottom port, JP2 can be inserted or not.

Yes, that’s right you can connect to the board via VNC using the ethernet port, I prefer to use the ethernet to connect to the web, just in case I need to update something.

Best regards,
Nicola

Hi Nicola,

You should not mix things up. Use Toradex Easy Installer 1.8 with Bsp 2.8 and 2.0x with Bsp 3.0.

Best regards,
Jaski

Hi Jaski,

I am sorry, but I am not mixing things up.

I guess the problem relies with your BSP 3.0 and / or ‘Apalis-iMX6_ToradexEasyInstaller_2.0b3-20191029’.

I flashed my board from inside Toradex Easy Installer using V2.8b6 LXDE, the restart and stopped at u-Boot and reset environment. Then copied on my USB the content of ‘apalis-imx6_toradexeasyinstaller_1.8-20181019.zip’. I was able to boot into Toradex Easy Installer from any USB port of the Ixora v1.1A.

I repeated the same thing flashing my Apalis from inside Toradex Easy Installer using the latest 3.0b2.64 or 65 (don’t remember exactly), then reboot and reset environment. Copied on my USB the content of ‘apalis-imx6_toradexeasyinstaller_2.0b3-20191029.zip’, and I was only able to boot into Toradex Easy Installer from the bottom X8 of Ixora. I got the same error when I try to boot from X7 or top X8.

And I tell you more: with BSP 3.0 and ‘Apalis-iMX6_ToradexEasyInstaller_2.0b3-20191029’, the board refused to accept my VNC connection using the RNDIS interface, which does not happen with BSP 2.8 and Toradex Easy Installer 1.8

As I said, I found a workaround, but seen that BSP 3.0 is still a beta, I would try to replicate my USB problem (now also with the RNDIS problem).

Thanks for your help.

Regards,
Nicola

Hi @nlanfran

Thanks for your Input.
So this means Toradex Easy Installer 1.8 and Bsp 2.8 are working but not Toradex Easy Installer 2.0x and Bsp 3.0x.

I will try to reproduce this issue and come back to you.

Best regards,
Jaski

Hi @nlanfran

Thanks for your patience. I address this issue to our internal Team.
Do you have any deadline when you want to use Bsp 3.0/Toradex Easy Installer 2.0?

Best regards,
Jaski

Hello Jaski,

I was away from the office; I am working to update my custom image from BSP 2.8 to BSP 3.0, for the next projects; then I will have some test in order to make sure everything is working fine. My plans are to finish the update end of this year / beginning of next year.
This issue doesn’t allow me to use the USB port on my customized carrier board to update the image using Toradex Easy Installer, but I can still use the Ixora. It would be nice to have it fixed, though.

Thanks for your help.

Best regards,
Nicola

Hi @nlanfran

Thanks for your feedback. We will let you know soon, when this issue will be solved.

Best regards,
Jaski