From owner-freebsd-mips@freebsd.org Mon Dec 5 13:33:22 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDA8AC6685B for ; Mon, 5 Dec 2016 13:33:22 +0000 (UTC) (envelope-from pkubaj@iq.pl) Received: from smtp52.iq.pl (smtp52.iq.pl [86.111.240.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85E8CEE6 for ; Mon, 5 Dec 2016 13:33:22 +0000 (UTC) (envelope-from pkubaj@iq.pl) Received: from iq.pl (unknown [10.10.0.70]) (Authenticated sender: pkubaj@iq.pl) by smtp.iq.pl (Postfix) with ESMTPSA id 66698818DA for ; Mon, 5 Dec 2016 14:25:56 +0100 (CET) Date: Mon, 5 Dec 2016 14:25:56 +0100 From: Piotr Kubaj To: freebsd-mips@freebsd.org Subject: Re: freebsd-mips Digest, Vol 481, Issue 1 Message-ID: <20161205132556.GA72343@chujemuje> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 13:33:22 -0000 I also wanted to buy PoE to run *BSD (except it was OpenBSD) and was dissapointed when asking about it. Basically, if you can spend money on PoE, just buy PC-Engines APU2, or ERL and some switch. On 16-12-05 12:00:01, freebsd-mips-request@freebsd.org wrote: > Hi. Does anyone know if this device is supported? > > It?s similar to the EdgeRouterLite (ERL) which does run FreeBSD. The PoE has 2 WAN ethernet ports and 3 LAN ethernet ports. The ERL has 2 WAN and 1 LAN ethernet ports. > > I found a bootable image for the ERL (FreeBSD 10.1) on the net and installed it. Although this boots and runs OK, the kernel doesn?t see the 3 LAN ports. I suspect they might be hanging off a second switch (chipset?) on the motherboard and the kernel doesn?t know about it or how to probe for it at boot time. > > FWIW Ubiquiti?s firmware is Linux. I?d prefer not to run that or try to make sense of Linux kernel code and retro-fit that into FreeBSD. > > Here?s what?s in dmesg.boot. The kernel ?sees? octe2 which presumably is the first of the LAN ethernet ports. But it fails to do anything with it. Maybe a device driver needs tweaked to recognise the slightly different chipset(s) for the PoE? Any ideas? > > > octebus0: on ciu0 > Interface 0 has 3 ports (RGMII) > Warning: Enabling IPD when IPD already enabled. > Warning: Enabling PKO when PKO already enabled. > octe0: on octebus0 > miibus0: on octe0 > atphy0: PHY 7 on miibus0 > atphy0: OUI 0x00c82e, model 0x0007, rev. 2 > atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto > octe0: bpf attached > octe0: Ethernet address: 80:2a:a8:8e:2c:23 > octe1: on octebus0 > miibus1: on octe1 > atphy1: PHY 6 on miibus1 > atphy1: OUI 0x00c82e, model 0x0007, rev. 2 > atphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto > octe1: bpf attached > octe1: Ethernet address: 80:2a:a8:8e:2c:24 > octe2: on octebus0 > octe2: attaching PHYs failed > octe2: bpf attached > octe2: Ethernet address: 80:2a:a8:8e:2c:25