[U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

Anand Moon moon.linux at yahoo.com
Thu Nov 19 07:07:26 CET 2015


Hi Ted/Stephen,

On Tuesday, November 17, 2015 12:48 PM, Ted <tedchen at realtek.com> wrote:


Hi Stephen,

I am investigating how to modify this driver by Marek's comments, and will send you new patch ASAP.

Thanks~

BRs
Ted

________________________________________
從: Stephen Warren [swarren at wwwdotorg.org]
寄件日期: 2015年11月17日 上午 01:32
至: Ted
副本: Marek Vasut; u-boot at lists.denx.de; Joe Hershberger; Stephen Warren; Wolfgang Denk
主旨: Re: [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

On 11/13/2015 06:13 PM, Marek Vasut wrote:
> On Friday, November 13, 2015 at 05:03:01 PM, Stephen Warren wrote:
>> From: Ted Chen <tedchen at realtek.com>

Ted, are you able to update the driver to address Marek's comments? If
so, that would be great. Otherwise let me know and I'll try to take a
stab. Thanks.


------------------------------------------------------------------
Actually this driver is also need for Odroid XU4 development boards.

Just for testing integrate this driver with u-boot.

Actually I have tried to compile this driver with u-boot mainline.
But their also I am not able to get the Ethernet working on u-boot.

What could be missing in the driver ?

Is this device compatible with USB 2.0 EHCI host drivers or it requires USB 3.0 XHCI host drivers.

---------------------------------------------------------
ODROID-XU3 # setenv ethaddr 00:10:75:2A:AE:E0
ODROID-XU3 # setenv gatewayip 10.0.0.1
ODROID-XU3 # setenv netmask 255.255.255.0
ODROID-XU3 # setenv serverip 10.0.0.102
ODROID-XU3 # setenv ipaddr 10.0.0.105
ODROID-XU3 # usb start
ODROID-XU3 # 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

1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 9 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: Hub, USB Revision 2.10
- GenesysLogic USB2.0 Hub
- Class: Hub
- PacketSize: 64 Configurations: 1
- Vendor: 0x05e3 Product 0x0610 Version 146.34
Configuration: 1
- Interfaces: 1 Self Powered Remote Wakeup 100mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
- Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms

1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 9 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.10
- Realtek USB 10/100/1000 LAN 000001000000
- Class: (from Interface) Vendor specific
- PacketSize: 64 Configurations: 2
- Vendor: 0x0bda Product 0x8153 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

ODROID-XU3 # tftpboot 0x40080000 zImage
No ethernet found.
ODROID-XU3 #

-Anand Moon
------Please consider the environment before printing this e-mail.
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list