[U-Boot] [PATCH v10 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

Jagan Teki jagannadh.teki at gmail.com
Mon Jun 18 06:04:57 UTC 2018


On Mon, Jun 18, 2018 at 11:18 AM, Vasily Khoruzhick <anarsoul at gmail.com> wrote:
> On Sun, Jun 17, 2018 at 10:19 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
>
> Hi Jagan,
>
>> I've plugged keyboard and mouse on so-pine board, couldn't reproduce the issue.
>> This is on top of master, where this series got merged, is this issue
>> reproduces on your recent changes?
>
>> U-Boot 2018.07-rc1-00161-g76d69eb01d (Jun 18 2018 - 10:41:20 +0530)
>> Allwinner Technology
>>
>> CPU:   Allwinner A64 (SUN50I)
>> Model: Pine64+
>> DRAM:  2 GiB
>> MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
>> Loading Environment from FAT... Card did not respond to voltage select!
>> ** Bad device mmc 1 **
>> Failed (-5)
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   phy interface7
>> eth0: ethernet at 1c30000
>> starting USB...
>> USB0:   USB EHCI 0.00
>> USB1:   USB OHCI 0.0
>
> See these zeroes? USB clock isn't enabled. USB host is not functional.

True, what I'm trying to say is I can't reproduce on top of this series.

>
> You can do 'usb tree' with this build to ensure that your keyboard or
> mouse is NOT detected. You can also plug some USB flash to ensure that
> nothing is detected.
>
> Do git pull and make sure you are at least at
> a715415bb5948c84cc44c601b193188990f7238b.

Yes, I even tried on this, can't see any issue? Let me know If I still miss any.

U-Boot 2018.07-rc1-00165-ga715415bb5 (Jun 18 2018 - 11:28:28 +0530)
Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: BananaPi-M64
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... Unable to use mmc 1:3... Failed (-5)
In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
Net:
Warning: usb_ether using MAC address from ROM
eth0: usb_ether
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
=> 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 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: Hub,  USB Revision 2.0
 -  USB 2.0 Hub
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x1a40  Product 0x0101 Version 1.17
   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

3: Human Interface,  USB Revision 1.10
 -  Dell KB216 Wired Keyboard
 - Class: (from Interface) Human Interface
 - PacketSize: 8  Configurations: 1
 - Vendor: 0x413c  Product 0x2113 Version 1.8
   Configuration: 1
   - Interfaces: 2 Bus Powered Remote Wakeup 100mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: Boot Keyboard
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 24ms
     Interface: 1
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: None
     - Endpoint 2 In Interrupt MaxPacket 8 Interval 48ms

4: Human Interface,  USB Revision 2.0
 - Logitech USB Receiver
 - Class: (from Interface) Human Interface
 - PacketSize: 32  Configurations: 1
 - Vendor: 0x046d  Product 0xc52b Version 36.1
   Configuration: 1
   - Interfaces: 3 Bus Powered Remote Wakeup 98mA
   - String: "RQR24.01_B0023"
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: Boot Keyboard
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 8ms
     Interface: 1
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: Boot Mouse
     - Endpoint 2 In Interrupt MaxPacket 8 Interval 2ms
     Interface: 2
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: None
     - Endpoint 3 In Interrupt MaxPacket 32 Interval 2ms


More information about the U-Boot mailing list