[U-Boot] Asix USB Ethernet not working with DriverModel

Joshua Scott Joshua.Scott at alliedtelesis.co.nz
Fri Sep 2 06:17:45 CEST 2016


Hi,

I've come across an issue using a USB Ethernet adapter in U-Boot. I am 
still investigating where the problem is. This email is to let people 
know that a problem exists.

I have included the output of "usb info" below, which includes the 
vendor/product-id of the specific adapter I am using.

When using DriverModel, I get a number of "EHCI timed out on TD - 
token=…" messages. Eg, trying to ping a connected PC.

When I disable DriverModel for Ethernet the USB Ethernet interface works 
fine. I am able to ping, and to TFTP a file over and confirm that the 
crc32 is correct.

To disable DriverModel for Ethernet I removed "select DM_ETH" from 
ARCH_MVEBU in arch/arm/Kconfig, and removed CONFIG_MVNETA from 
arch/arm/mach-mvebu/include/mach/config.h to get it compiling again.

The board I am using is a Marvell DB-88F6820-AMC, which has an Armada 
38X CPU.

=> usb info
1: Hub,  USB Revision 2.0
  - u-boot EHCI Host Controller
  - Class: Hub
  - PacketSize: 64  Configurations: 1
  - Vendor: 0x0000  Product 0x0000 Version 1.0
    Configuration: 1
    - Interfaces: 1 Self Powered 0mA
      Interface: 0
      - Alternate Setting 0, Endpoints: 1
      - Class Hub
      - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Vendor specific,  USB Revision 2.0
  - ASIX Elec. Corp. AX88772B 19EF23
  - Class: Vendor specific
  - PacketSize: 64  Configurations: 1
  - Vendor: 0x0b95  Product 0x772b Version 0.1
    Configuration: 1
    - Interfaces: 1 Bus Powered Remote Wakeup 200mA
    - String: "0"
      Interface: 0
      - Alternate Setting 0, Endpoints: 3
      - Class Vendor specific
      - String: "0"
      - Endpoint 1 In Interrupt MaxPacket 8 Interval 11ms
      - Endpoint 2 In Bulk MaxPacket 512
      - Endpoint 3 Out Bulk MaxPacket 512

I will send a follow-up email and/or patch once I have investigated 
farther the cause of the issue.

Cheers,
Joshua Scott


More information about the U-Boot mailing list