USB 3.0 support for Rockchip RK3328
Denis Polygalov
dpolyg at gmail.com
Thu Aug 15 12:33:12 UTC 2019
>>
>> 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.
More information about the freebsd-arm
mailing list