On 3/31/25 5:06 PM, Gabor Juhos wrote:
The Linksys USB3GIGV1 device is a USB 3.0 Wired Gigabit Adapter
supporting 10/100/1000 Mbits/sec transfer rates. It is based on
RTL8153 and it works correctly with the r8152 driver:

   uDPU>> usb start
   starting USB...
   Bus usb@58000: Register 2000104 NbrPorts 2
   Starting the controller
   USB XHCI 1.00
   scanning bus usb@58000 for devices... 2 USB Device(s) found
          scanning usb for storage devices... 0 Storage Device(s) found
   uDPU>> usb info 1
   config for device 1
   2: Vendor specific,  USB Revision 2.10
    - Linksys Linksys USB3GIGV1 000001000000
    - Class: (from Interface) Vendor specific
    - PacketSize: 64  Configurations: 2
    - Vendor: 0x13b1  Product 0x0041 Version 48.0
      Configuration: 1
      - Interfaces: 1 Bus Powered Remote Wakeup 180mA
        Interface: 0
        - Alternate Setting 0, Endpoints: 3
        - Class Vendor specific
        - Endpoint 1 In Bulk MaxPacket 512
        - Endpoint 2 Out Bulk MaxPacket 512
        - Endpoint 3 In Interrupt MaxPacket 2 Interval 8ms

   uDPU>> dm tree usb@58000
    Class     Seq    Probed  Driver                Name
   -----------------------------------------------------------
    usb           0  [ + ]   xhci_mvebu            usb@58000
    usb_hub       0  [ + ]   usb_hub               `-- usb_hub
    ethernet      2  [ + ]   r8152_eth                 `-- r8152_eth
    bootdev       3  [   ]   eth_bootdev                   `-- r8152_eth.bootdev
   uDPU>> setenv ethact r8152_eth
   uDPU>> setenv serverip 192.168.1.253
   uDPU>> setenv ipaddr 192.168.1.1
   uDPU>> ping 192.168.1.253
   Using r8152_eth device
   host 192.168.1.253 is alive
   uDPU>> tftpboot 0x10000000 random.bin
   Using r8152_eth device
   TFTP from server 192.168.1.253; our IP address is 192.168.1.1
   Filename 'random.bin'.
   Load address: 0x10000000
   Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################################
         6.3 MiB/s
   done
   Bytes transferred = 8388608 (800000 hex)
   uDPU>>

Add the USB id of the device to the driver to allow using it
from U-Boot.

Signed-off-by: Gabor Juhos <j4g...@gmail.com>
Reviewed-by: Marek Vasut <ma...@denx.de>

Reply via email to