A20 Rev. L : Endless boot loop EHCI when USB keyboard/mouse is on

Started by att2, July 06, 2021, 10:55:27 PM

Previous topic - Next topic

att2

Hello,
We have the following configuration:
Hardware: T2-OLinuXino-LIME2-e8Gs16M-IND rev.L
Lot code: P15389
Trying to install Ubuntu 20 focal from images.olimex.com results in an endless boot loop when USB keyboard and mouse is plugged in :

(skipping some stuff from the serial log......)
 Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x591ff500 to 0x4fa10000
## Loading fdt from FIT Image at 58000000 ...
   Trying 'overlay-2' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x591ff9cc
     Data Size:    436 Bytes = 436 Bytes
     Architecture: ARM
     Load Address: 0x4fa20000
     Hash algo:    crc32
     Hash value:   00f3a93c
     Hash algo:    sha1
     Hash value:   efa518e1ffcc7c09a7d8010de6a7b363f1345b30
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x591ff9cc to 0x4fa20000
   Booting using the fdt blob at 0x4fa00000
   EHCI failed to shut down host controller.
data abort
pc : [<7ef80ac8>]          lr : [<00000011>]
reloc pc : [<4a015ac8>]    lr : [<cb095011>]
sp : 7af3ea68  ip : 00000000     fp : 7efdcd4c
r10: 00000020  r9 : 7af4aec0     r8 : 7af66008
r7 : 6c616972  r6 : 00000010     r5 : e757c982  r4 : 7af66008
r3 : 7af66010  r2 : 7af66000     r1 : 7af8bc98  r0 : 00000019
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32 (T)
Code: d005 f027 0501 441d (686d) 07ed
Resetting CPU ...

resetting ...

U-Boot SPL 2021.04+olimex-1-20210507.081028 (May 07 2021 - 08:11:19 +0000)
DRAM: 1024 MiB



CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Loading configuration from EEPROM: OK
Verifying data: OK
Trying to boot from MMC1


U-Boot 2021.04+olimex-1-20210507.081028 (May 07 2021 - 08:11:19 +0000) Allwinner  Technology

CPU:   Allwinner A20 (SUN7I)
ID:    T2-OLinuXino-LIME2-e8Gs16M-IND Rev.L
SN:    0001A987
MAC:   30:1F:9A:D0:DC:3C
I2C:   ready
DRAM:  1 GiB
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
MMC:   mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from EXT4... *** Warning - bad CRC, using default environmen t

Loading Environment from FAT... ** No device specified **
In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
Net:   eth0: ethernet@1c50000, eth1: usb_ether
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0

[...]


We found out we can circumvent this error by not plugging in any USB device whilst first-time installing Ubuntu 20 , but this is UGLY.

Please fix it. This can't be normal behaviour of a normal kernal.



LubOlimex

Technical support and documentation manager at Olimex

IvanSB

Do you know if it's just a kernel problem or a u-boot problem?

Do you have the previous version somewhere?
Could you make it available?

u-boot-olinuxino:armhf 2021.04+olimex-1-20210529.190314
u-boot-tools-olinuxino:armhf 2021.04+olimex-1-20210529.190314
linux-image-olimex:armhf 5.10.36-20210513-105318

thanks

IvanSB

Hi,

I'm still experiencing the same problem even with newer u-boot-olinuxino Version: 2021.04+olimex-1-20210724.091218