From owner-freebsd-arm@freebsd.org Fri Sep 28 16:47:15 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97FEF10B4ACD for ; Fri, 28 Sep 2018 16:47:15 +0000 (UTC) (envelope-from pygr@sonic.net) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (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 36C7E79D39 for ; Fri, 28 Sep 2018 16:47:15 +0000 (UTC) (envelope-from pygr@sonic.net) Received: from [10.137.113.129] (108-169-4-40.dynamic.dsl.sonic.net [108.169.4.40] (may be forged)) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id w8SGa5n9012415 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 28 Sep 2018 09:36:05 -0700 From: glenn Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: ClearFog Base -- "status: no carrier" for mvneta1 Message-Id: <03261C47-F7E5-46D6-9A91-B8FFDD96FDE3@sonic.net> Date: Fri, 28 Sep 2018 09:36:04 -0700 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-Sonic-CAuth: UmFuZG9tSVbNWPMGbm5X0HchG7aR+SfMTR54Nb+Rdh5iJ3giC4lsQVUfHyBwwVOPtm9S7LeBBahNaQARPwjxW/B4a+mWZ/9F X-Sonic-ID: C;Vt0DmDzD6BGyPILirVfHYg== M;sIdFmDzD6BGyPILirVfHYg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2018 16:47:15 -0000 With a recent build from source (FreeBSD 12.0-ALPHA7 FreeBSD = 12.0-ALPHA7 7fe1a714461(master) ARMADA38X arm) the ethernet port on a = ClearFog Base near the USB sockets works well, but the port near the SFP = cage doesn=E2=80=99t. ifconfig shows "mvneta1: status: no carrier=E2=80=9D= .=20 Both ports are connected to a gigabit switch. The green link LED on the = ClearFog Base for mvneta0 is on most of the time, but flickering; the = green link LED for mvneta1 is on without flickering. On the switch, the = corresponding link LED for mvneta0 is on constantly, the LED for mvneta1 = is off.=20 I don=E2=80=99t believe it=E2=80=99s a hardware issue, because, if the = patch cables are swapped at the board, mvneta1 still shows no carrier = and which LED on the switch is illuminated swaps. Also, without touching = the cables or switch, Debian can be booted up using a different SD card, = and both ethernet ports are functional with no special action taken. The device tree file being used is compiled from = armada-388-clearfog-base.dts in the FreeBSD source, but edited to allow = the serial console to work. What might it take to get that second ethernet port to work? A = modification of the device tree file? A modification of the mvneta or = miibus driver? A modification of u-boot? Or, perhaps, just a simple = configuration step? Glenn=