From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anand Moon Date: Thu, 21 Jan 2016 01:40:07 +0530 Subject: [U-Boot] [PATCH v5 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER In-Reply-To: <569FBB4F.90201@wwwdotorg.org> References: <201601140637.06983.marex@denx.de> <1453271092-63869-1-git-send-email-tedchen@realtek.com> <569FBB4F.90201@wwwdotorg.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Ted / Marek / Stephen, On 20 January 2016 at 22:22, Stephen Warren wrote: > On 01/19/2016 11:24 PM, Ted Chen wrote: >> >> This patch adds driver support for the Realtek RTL8152B/RTL8153 USB >> network adapters. > > > This looks fine to me, although I didn't take a detailed enough look to > actually give and an ack/reviewed-by. What about the other patch: usb xhci Fix vendor command error if the request.patch After setting the usbether mac address my odroid xu4 board shop booting. even after reset of environment it dose not boot. --------------------------------------------------------------------------------------------------------- U-Boot 2016.01-00406-g048c61d-dirty (Jan 21 2016 - 06:27:09 +1030) for ODROID-XU3 CPU: Exynos5422 @ 800 MHz Model: Odroid XU3 based on EXYNOS5422 Board: Odroid XU3 based on EXYNOS5422 Type: xu4 DRAM: 2 GiB MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 0 ODROID-XU3 # ODROID-XU3 # ODROID-XU3 # ODROID-XU3 # setenv usbethaddr 00:1e:06:31:06:b3 ODROID-XU3 # saveenv Saving Environment to MMC... Writing to MMC(0)... done ODROID-XU3 # usb info USB is stopped. Please issue 'usb start' first. ODROID-XU3 # usb start starting USB... USB0: USB EHCI 1.00 USB1: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 USB2: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... Device not responding to set address. USB device not accepting new address (error=80000000) 2 USB Device(s) found scanning bus 2 for devices... 2 USB Device(s) found scanning usb for ethernet devices... 1 Ethernet Device(s) found 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 # reset resetting ... U-Boot 2016.01-00406-g048c61d-dirty (Jan 21 2016 - 06:27:09 +1030) for ODROID-XU3 CPU: Exynos5422 @ 800 MHz Model: Odroid XU3 based on EXYNOS5422 Board: Odroid XU3 based on EXYNOS5422 Type: xu4 DRAM: 2 GiB MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1 In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 0 Card did not respond to voltage select! switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 3033 bytes read in 3 ms (987.3 KiB/s) ## Executing script at 50000000 Found kernel image: zImage reading exynos5422-odroidxu4.dtb 50674 bytes read in 9 ms (5.4 MiB/s) Found ramdisk image. reading uInitrd 2159156 bytes read in 127 ms (16.2 MiB/s) reading zImage 3225648 bytes read in 187 ms (16.4 MiB/s) Kernel image @ 0x40007fc0 [ 0x000000 - 0x313830 ] ## Loading init Ramdisk from Legacy Image at 42000000 ... Image Name: uInitrd 3.10.92 Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 2159092 Bytes = 2.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 40800000 Booting using the fdt blob at 0x40800000 Loading Ramdisk to 4fdf0000, end 4ffff1f4 ... OK Loading Device Tree to 4fde0000, end 4fdef5f1 ... OK Starting kernel ... Best regards. -Anand Moon