Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2020 18:57:47 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        Oleksandr Tymoshenko <gonzo@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r362736 - head/sys/arm64/rockchip
Message-ID:  <20200701085747.GA23928@server.rulingia.com>
In-Reply-To: <202006282111.05SLBAAq025544@repo.freebsd.org>
References:  <202006282111.05SLBAAq025544@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2020-Jun-28 21:11:10 +0000, Oleksandr Tymoshenko <gonzo@FreeBSD.org> wro=
te:
>Log:
>  Configure rx_delay/tx_delay values for RK3399/RK3328 GMAC
> =20
>  For 1000Mb mode to work reliably TX/RX delays need to be configured
>  between the TX/RX clock and the respective signals on the PHY
>  to compensate for differing trace lengths on the PCB.

This breaks (at least) diskless booting on my Rock64.

During boot, I normally see:
regulator: shutting down unused regulators
uhub1: 1 port with 1 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
dwc0: link state changed to DOWN
NFS ROOT: 192.168.12.200:/tank/rock64
dwc0: link state changed to UP
Warning: no time-of-day clock registered, system time will not be set accur=
ately
Warning: no time-of-day clock registered, system time will not be set accur=
ately
start_init: trying /sbin/init

With r362736, I see:
setting RK3328 RX/TX delays:  24/36
=2E..
regulator: shutting down unused regulators
uhub0: 1 port with 1 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
dwc0: link state changed to DOWN
NFS ROOT: 192.168.12.200:/tank/rock64
dwc0: link state changed to UP
dwc0: link state changed to DOWN
dwc0: link state changed to UP
[Nothing further until I push the reset button]

The system doesn't respond to pings so I suspect the network is dead.
Normally, it runs 1000baseT <full-duplex,master>.

--=20
Peter Jeremy

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE2M6l8vfIeOACl4uUHZIUommfjLIFAl78UAVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQ4
Q0VBNUYyRjdDODc4RTAwMjk3OEI5NDFEOTIxNEEyNjk5RjhDQjIACgkQHZIUommf
jLJfCxAAp42gUhKQr/PQ/BfVuzfbV2xQFi+5D9LBHjqfHkTsqpVUpBZOVXqnrq86
xS9hA8G7cCK4yfOZkez4Ui/8dXHnvq1G+4l5MCIzq+slIecxYghNh0hP2R4M2MZS
00tFeJsJjtdGDIf7VWb9ObzSXJklO10BocWYJX4lId04s3Su9jIO/4zI38EY2Gsw
S+LSOhE3NtfauhEr6HrDQqcY1Q5zF4DhIplIy/cyD7RmiHGj0FoU6gemluUTUTxU
CWIvyNmzD9GzqJZKwlMe3d6W81uerO0wUT/zyhnobKbc4SnqypjjAduBwnBkMdmj
rRYJnLKBxrxFL1ssJ8pApVMgidEs5Aej8g0VI1ZH4TdR5sxPRO6J7ihpJXNzbAzg
5wL3HazxRhseOE+x9OZs/+tes/hLFppTSi0sgAqYrcYAMKMeAKbm8LcFdf2raSqw
WUeVI9kIKnCsqUH1JCp8rNVONaAKeAa5ysbbx6AZIJV9K/SSTQ4V7h5OB+WlHD7Y
to/Nk1NbFl3viD/TDuxMg9ye/1W+2p3J4SfruU4JO3l7w9f5AVWS7dUV9pyBtHp4
G7/FvCt2BIzdSnYMKs5wB31tVKc7b94AN/1itbFO9scORU+cVOP5pBcpxpoFMEt0
vAGf+sVajoLRYYEj2rwkdgZvXKtiKu4AG9YH99Y/EbkkdCTcFs0=
=sO7g
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--



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