Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2020 13:51:20 -0700
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        Charles <charlesr@scd-systems.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Rock64 dwc interface issues
Message-ID:  <20200630205120.GA36236@bluezbox.com>
In-Reply-To: <d7971883-abd1-4edf-772b-c0659fa3fd79@scd-systems.net>
References:  <7B4746AD-A8B7-43F0-B5EC-F3812A91F344@gmail.com> <20200619194222.73bc7dd705f6d80e63757796@bidouilliste.com> <48C101F9-9C1F-46EB-A092-EE903D5070D1@gmail.com> <20200621185402.9d40f269cb07706242622af6@bidouilliste.com> <9ca8c4b2-232f-a23e-fd1c-f3d93567977e@scd-systems.net> <20200622071600.GA41924@bluezbox.com> <d5681464-42c2-1c10-a0e2-26d791fb763b@scd-systems.net> <20200622191015.GA55660@bluezbox.com> <20200624145257.d0287e2df67db3597ee59412@bidouilliste.com> <d7971883-abd1-4edf-772b-c0659fa3fd79@scd-systems.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles (charlesr@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200630205120.GA36236>