Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2019 22:50:56 +0200
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        Denis Polygalov <dpolyg@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: USB 3.0 support for Rockchip RK3328
Message-ID:  <aaac45b7-7720-d97f-f694-4b05ab3206bf@fgznet.ch>
In-Reply-To: <c4a54d0d-ebb8-75d5-a402-832d00d08ae7@gmail.com>
References:  <20190812171248.4af265a7bd48056407f796d6@bidouilliste.com> <adebd721-0422-1274-7b38-ba67d104c2f9@gmail.com> <CCFDD654-825C-405E-80CC-9DA1DB9FBF81@unrelenting.technology> <27a49a3c8a6e2029d696b359bed47ee3@unrelenting.technology> <c4a54d0d-ebb8-75d5-a402-832d00d08ae7@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14.08.19 15:04, Denis Polygalov wrote:
> After application of this patch:
> https://patchwork.kernel.org/patch/10853381/
> and recompiling kernel I got this in dmesg:
> 
> # dmesg | egrep 'usb|dwc|USB'
> dwc0: <Rockchip Gigabit Ethernet Controller> mem 0xff540000-0xff54ffff
> irq 43 on ofwbus0
> miibus0: <MII bus> on dwc0
> dwc0: Ethernet address: 82:d6:05:ce:da:87
> dwcotg0: <DWC OTG 2.0 integrated USB controller> mem
> 0xff580000-0xff5bffff irq 45 on ofwbus0
> usbus0 on dwcotg0
> usbus1 on ohci0
> usbus0: 480Mbps High Speed USB v2.0
> usbus1: 12Mbps Full Speed USB v1.0
> ugen1.1: <Generic OHCI root HUB> at usbus1
> uhub0 on usbus1
> uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> ugen0.1: <DWCOTG OTG Root HUB> at usbus0
> uhub1 on usbus0
> uhub1: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> Root mount waiting for: usbus1 usbus0
> dwc0: link state changed to DOWN
> dwc0: link state changed to UP
> 
> but no response to connection of any USB device.
> Also I noticed that 'gpioctl -f /dev/gpioc4 26 1'
> make sense only for ROCKPro64 which is not what I have:
> 
>    # ls /dev/gp*
> /dev/gpioc0     /dev/gpioc1     /dev/gpioc2     /dev/gpioc3
> 
> Is there some similar magic command to turn on USB parts on ROCK64?

With the latest u-boot-rock64 from ports:

gpioctl -f /dev/gpioc0 2 0

Andreas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aaac45b7-7720-d97f-f694-4b05ab3206bf>