Apalis iMX6 u-boot usb load crash - Toradex 3.0 BSP

Hi, we are using the Toradex BSP as base for our own distribution. After upgrading to LinuxImage-3.0 with the 2019.07 U-boot USB reading broke on Apalis iMX6. Are there any known bugs related to that?

I attached an u-boot log

U-Boot 2019.07-3.0.2+ge1cbe8c (Nov 07 2019 - 15:44:12 +0000)                                                      
                                                                                                                  
CPU:   Freescale i.MX6Q rev1.5 at 792MHz                                                                          
CPU:   Industrial temperature grade (-40C to 105C) at 39C                                                         
Reset cause: WDOG                                                                                                 
DRAM:  2 GiB                                                                                                      
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 Quad 2GB IT V1.1C, Serial# 05184994                                                    
Net:   using PHY at 7                                                                                             
FEC [PRIME]                                                                                                       
Hit any key to stop autoboot:  0                                                                                  
Apalis iMX6 # usb start                                                                                           
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                                                                                                     
Apalis iMX6 # load usb 0:1 ${loadaddr} flash_mmc.img 
data abort
pc : [<8efb3096>]          lr : [<8efb2b19>]
reloc pc : [<17834096>]    lr : [<17833b19>]
sp : 8cf73d80  ip : 00000003     fp : 00000000
r10: 8cf83330  r9 : 8cf7eea8     r8 : 00000001
r7 : 8cf833f8  r6 : 8bf72040     r5 : 8cf73da8  r4 : 00000020
r3 : 00000066  r2 : 8bf720a3     r1 : 8cf83464  r0 : 8bf7209f
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Code: 4630ff4d 81f0e8bd e7d84606 bf082b2f (f822235c) 
Resetting CPU ...

resetting ...

Industrial temperature grade DDR3 timings.
Trying to boot from MMC1


U-Boot 2019.07-3.0.2+ge1cbe8c (Nov 07 2019 - 15:44:12 +0000)

CPU:   Freescale i.MX6Q rev1.5 at 792MHz
CPU:   Industrial temperature grade (-40C to 105C) at 39C
Reset cause: WDOG

Best Regards,
Anton

HI @iSchluff and Welcome to the Toradex Community!

Starting with Bsp 3.0, we are only supporting distro_boot for the boot process of the module. Additionally we dropped the support of legacy update Procedure.

Being said that, I can reproduce this issue on side.

We will look into this issue and come back soon to you.

Best regards,
Jaski

Hi Jaski,
We are aware that the upgrade process and old-style boot are unsupported as of 3.0 and are in the process of migrating away from it.

Thanks for looking into the Issue.
Anton

Hi Anton,

Thanks for your Input.

You are welcome.
I will come back to you once I got more Information about this issue.

Best regards,
Jaski

Hello @iSchluff,

The fix for this issue is here http://www.toradex.com/community/answers/42144/view.html

Hope it helps!
Regards,
Igor

Hi @igor.tx,

Thanks a lot, that was it.
I guess it would be useful to have that patch in meta-toradex-nxp.

Regards,
Anton

Hi
You are welcome.

This patch will be included in our next release.

Best regards,
Jaski