Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2020 00:16:00 -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:  <20200622071600.GA41924@bluezbox.com>
In-Reply-To: <9ca8c4b2-232f-a23e-fd1c-f3d93567977e@scd-systems.net>
References:  <877d6e2d-6cd8-30f3-08c3-60a2bacb5873@scd-systems.net> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles (charlesr@scd-systems.net) wrote:
> Hi,
> 
> 
> My rock64 dwc0 issues still appears.
> 
> I tried the 
> FreeBSD-13.0-CURRENT-arm64-aarch64-ROCK64-20200618-r362292.img.xz Image 
> without success.
> 
> The bad CRC sum errors still occurs.
> 
> To make sure that the hardware is not defect, I tried a Linux distro. 
> (armbian) and with Linux I did't had any network issues/errors with the 
> rock64 ethernet interface (was able to login via ssh).
> 
> I also tried OpenBSD 6.7 and got interface issues like with FreeBSD.

Hi Charles,

Could you try 100MB connection? Either connect the Rock64 to 100Mb
switch or connect it to the FreeBSD box directly and on the box's side
run this command: 

 ifconfig IFACENAME media 100baseT mediaopt full-duplex

I wonder if link speed makes any difference.

This looks suspiciously like a problem I had with RK339, where
tx_delay/rx_delay was not set properly. And if I read the code
correctly, our driver does not set those values yet.

-- 
gonzo



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