Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2019 21:33:04 +0900
From:      Denis Polygalov <dpolyg@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: USB 3.0 support for Rockchip RK3328
Message-ID:  <f7109409-9ab8-4491-1435-9ec10941d31e@gmail.com>
In-Reply-To: <aaac45b7-7720-d97f-f694-4b05ab3206bf@fgznet.ch>
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> <aaac45b7-7720-d97f-f694-4b05ab3206bf@fgznet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

>>
>> 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
> 

Thanks, I noticed that this command actually turn on USB 2.0(!)
ports on my ROCK64 board. USB 3.0 still does not work.

> That's not it, that's 2.0, not xhci. Make sure you have the 3.0 node in the device tree.
Yes, I'm agree that was 2.0. But I'm also sure that I have the patches
applied properly and also I can see entries from these patches in the
nfsroot/boot/dtb/rockchip/rk3328-rock64.dtb file after compilation.

I also noticed that for ROCKPro64 (RK3399) USB 3.0 node is already
included into FreeBSD source tree. Here:
https://github.com/freebsd/freebsd/blob/ea36ac604737d55bb248babf59633f67f770bab5/sys/gnu/dts/arm64/rockchip/rk3399.dtsi#L391

Which means (this is my naive speculation) that this patch:

https://reviews.freebsd.org/D19335

is actually works only for RK3399 (ROCKPro64)
despite "RK3328" included in it's title.

and using the D19335 + this patch:
http://lkml.iu.edu/hypermail/linux/kernel/1708.2/01066.html

is not enough to make USB 3.0 work on ROCK64 (RK3328)... :(

Regards,
Denis.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f7109409-9ab8-4491-1435-9ec10941d31e>