Rock64 dwc interface issues

Oleksandr Tymoshenko gonzo at bluezbox.com
Tue Jun 30 20:51:31 UTC 2020


Charles (charlesr at scd-systems.net) wrote:
> Hi,
> 
> 
> Short update.
> 
> I tried the patch from gonzo and the "IP truncated-ip - 16384 bytes 
> missing" messages from tcpdump disappeard.
> But the packet lost did still exists until I changed the value:
> 
> hw.usb.dwc_otg.phy_type to 4 (UTMI+).
> 
> Before it was set to 1
> 
> (DWC OTG PHY TYPE - 0/1/2/3 - ULPI/HSIC/INTERNAL/UTMI+)
> 
> I tried all types, only the UTMI+ type seems to work stable with my 
> rock64 board.
> 
> Is that expected for this board with FreeBSD?

Not really. Given that hw.usb.dwc_otg.phy_type controls USB phy, not
ethernet it shouldn't have any effect on networking. The reason it
affects ethernet is probably because this configuration somehow
reduces signal interference. I can reproduce the 1Gb problem with
Rock64 locally, so I'll try dig deeper into it later this week.

-- 
gonzo


More information about the freebsd-arm mailing list