Odroid u3 had the issue like ethernet would not get initialize from the u-boot with "usb start" command.
These changes are based on following work done by Tobias Jakobi [0] https://github.com/tobiasjakobi/u-boot/commit/77a1142eb0aac08464398ef053d66dbf42b42486 These changes tried to address the issue of initialization of usb devices. Below is the command I have used for testing. Tested on Odroid U3+ Other board need to tested as I dnot have them. ---------------------------------------------- U-Boot 2019.04-rc4-00089-ga5515f5f60 (Apr 01 2019 - 11:11:59 +0000) CPU: Exynos4412 @ 1 GHz Model: Odroid based on Exynos4412 Type: u3 DRAM: 2 GiB LDO20@VDDQ_EMMC_1.8V: set 1800000 uV; enabling LDO22@VDDQ_EMMC_2.8V: set 2800000 uV; enabling LDO21@TFLASH_2.8V: set 2800000 uV; enabling MMC: SAMSUNG SDHCI: 1, EXYNOS DWMMC: 0 Loading Environment from MMC... Card did not respond to voltage select! *** Warning - No block device, using default environment Net: No ethernet found. Hit any key to stop autoboot: 0 Odroid # Odroid # usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 1 Ethernet Device(s) found Odroid # usb reset resetting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 1 Ethernet Device(s) found Odroid # 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 - Class: Vendor specific - PacketSize: 64 Configurations: 1 - Vendor: 0x0424 Product 0x9730 Version 1.0 Configuration: 1 - Interfaces: 1 Bus Powered 500mA 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 16 Interval 4ms 3: Hub, USB Revision 2.0 - Class: Hub - PacketSize: 64 Configurations: 1 - Vendor: 0x0424 Product 0x3503 Version 161.160 Configuration: 1 - Interfaces: 1 Self Powered Remote Wakeup 2mA 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 4: Mass Storage, USB Revision 2.10 - JMicron JMS567 DB12345678A3 - Class: (from Interface) Mass Storage - PacketSize: 64 Configurations: 1 - Vendor: 0x152d Product 0x0578 Version 99.1 Configuration: 1 - Interfaces: 1 Self Powered 30mA Interface: 0 - Alternate Setting 0, Endpoints: 2 - Class Mass Storage, Transp. SCSI, Bulk only - Endpoint 1 In Bulk MaxPacket 512 - Endpoint 2 Out Bulk MaxPacket 512 - Endpoint 1 Out Bulk MaxPacket 512 - Endpoint 2 In Bulk MaxPacket 512 - Endpoint 3 In Bulk MaxPacket 512 - Endpoint 4 Out Bulk MaxPacket 512 Odroid # reset resetting ... U-Boot 2019.04-rc4-00089-ga5515f5f60 (Apr 01 2019 - 11:11:59 +0000) ---------------------- Anand Moon (6): odroid: exynos: USB initialization on the U3/X2 odroid: exynos: usb clean up for U3/X2 usb: exynos: add init_after_reset for usb reset configs: exynos: Add new CONFIG_SYS_ODROID_USB config option arm: exynos: odroid: fix the confict scripaddr extra env setting arm: exynos: add usbnet_devaddr setting to env board/samsung/common/board.c | 4 ++-- board/samsung/odroid/Kconfig | 3 +++ board/samsung/odroid/odroid.c | 19 ++++++++++++++----- drivers/usb/host/ehci-exynos.c | 33 ++++++++++++++++++++++++++++++++- include/configs/odroid.h | 6 +++++- 5 files changed, 56 insertions(+), 9 deletions(-) -- 2.21.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot