From owner-freebsd-arm@freebsd.org Fri Jul 10 06:57:49 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2FD72361070 for ; Fri, 10 Jul 2020 06:57:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-49.consmr.mail.gq1.yahoo.com (sonic317-49.consmr.mail.gq1.yahoo.com [98.137.66.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B33lJ1YLmz4D0t for ; Fri, 10 Jul 2020 06:57:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: N_6BpMEVRDvd.miR6A7lED5GPdAEx7ojsA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Fri, 10 Jul 2020 06:57:46 +0000 Received: by smtp427.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 392e08f9a5dd1e33a0d3cc4203f86505; Fri, 10 Jul 2020 06:55:44 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: RK3328/Rock64 GigE testers needed. From: Mark Millard In-Reply-To: Date: Thu, 9 Jul 2020 23:55:43 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200705000643.GA63127@server.rulingia.com> <20200709203532.GA9738@bluezbox.com> To: charlesr@scd-systems.net X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4B33lJ1YLmz4D0t X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.17 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.175:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.024]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.005]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.175:from]; NEURAL_HAM_SHORT(-0.64)[-0.640]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 06:57:49 -0000 On 2020-Jul-9, at 22:58, Charles wrote: > Hi gonzo, Mark, >=20 > If this patch and tuning settings are not help, do I have to solder = like mentioned in = https://sanisimov.com/2019/08/fixing-rock64-v2-gigabit-ethernet/ ? >=20 > Just for the case, I bought some resistors. >=20 > I would like to know why the interface works stable with linux. None of my testing was based on using the investigatory patch, just head -r360311 and then updated to -r363021 (for the non-debug buildworld buildkernel based testing). None of my testing was based on my doing any explicit tuning. The Rock64 V2 in use has never been modified. The ~600 Mbps send from the Rock64 and the ~900 Mbps receive by the Rock64 for a non-debug buildworld buildkernel context, both before and after -r362736 , does not seem to show to indicate a problem in my context. One thing that is constant for my tests is that the u-boot in use is unchanged. I've no clue if FreeBSD is depending on some u-boot initialization. The u-boot is from building sysutils/u-boot-rock64 ( -r532703 ), involving sysutils/u-boot-master ( -r532958 at the time ). sysutils/u-boot-master has had updates since then (including to 2020.07) --but I've not installed any such u-boot updates on the Rock64. Various lines from U-Boot and the kernel during an example boot: U-Boot TPL 2020.04 (Apr 25 2020 - 07:18:42) U-Boot SPL 2020.04 (Apr 25 2020 - 07:18:42 +0000) U-Boot 2020.04 (Apr 25 2020 - 07:19:22 +0000) =1B =1B =1BE=1BF=1BI=1B =1Bv=1Be=1Br=1Bs=1Bi=1Bo=1Bn=1B:=1B =1B2=1B.=1B8=1B= 0=1B =1B=1B =1B =1B =1BE=1BF=1BI=1B =1BF=1Bi=1Br=1Bm=1Bw=1Ba=1Br=1Be=1B:=1B = =1BD=1Ba=1Bs=1B =1BU=1B-=1BB=1Bo=1Bo=1Bt=1B =1B(=1Br=1Be=1Bv=1B = =1B8=1B2=1B2=1B4=1B.=1B1=1B0=1B2=1B4=1B)=1B U=1Bs=1Bi=1Bn=1Bg=1B =1BD=1BT=1BB=1B =1Bp=1Br=1Bo=1Bv=1Bi=1Bd=1Be=1Bd=1B = =1Bb=1By=1B =1BE=1BF=1BI=1B =1Ba=1Bt=1B =1B0=1Bx=1B8=1B0=1Bf=1B0=1B0=1B0=1B= 0=1B.=1B =1BL=1Bo=1Ba=1Bd=1Bi=1Bn=1Bg=1B =1BD=1BT=1BB=1B =1Bo=1Bv=1Be=1Br=1Bl=1Ba=1B= y=1Bs=1B:=1B =1B'=1Br=1Bk=1B3=1B3=1B2=1B8=1B-=1Bd=1Bw=1Bc=1B3=1B.=1Bd=1Bt=1B= b=1Bo=1B'=1B =1Ba=1Bp=1Bp=1Bl=1By=1Bi=1Bn=1Bg=1B =1BD=1BT=1BB=1B =1Bo=1Bv=1Be=1Br=1Bl=1B= a=1By=1B = =1B'=1B/=1Bb=1Bo=1Bo=1Bt=1B/=1Bd=1Bt=1Bb=1B/=1Bo=1Bv=1Be=1Br=1Bl=1Ba=1By=1B= s=1B/=1Br=1Bk=1B3=1B3=1B2=1B8=1B-=1Bd=1Bw=1Bc=1B3=1B.=1Bd=1Bt=1Bb=1Bo=1B'=1B= =1B I've no clue what u-boot vintage/variation was in use for folks with problems for Rock64 V2 Ethernet. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)