Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2016 12:47:39 -0500
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Jim Reid <jim@rfc1035.com>
Cc:        FreeBSD MIPS Mailing List <freebsd-mips@freebsd.org>
Subject:   Re: Support for Ubiquiti PoE
Message-ID:  <20161204124739.2327ab48@kan>
In-Reply-To: <33C2C0BC-B069-4EE8-9072-084B0ED0A6E4@rfc1035.com>
References:  <33C2C0BC-B069-4EE8-9072-084B0ED0A6E4@rfc1035.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Q3E_4ZdLKK85u4j9s=TJigh
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On Sun, 4 Dec 2016 14:28:37 +0000
Jim Reid <jim@rfc1035.com> wrote:

> Hi. Does anyone know if this device is supported?
>=20
> 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.
>=20
> 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.
>=20
> 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.
>=20
> 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?
>=20
>=20
> octebus0: <Cavium Octeon Ethernet pseudo-bus> on ciu0
> Interface 0 has 3 ports (RGMII)
> Warning: Enabling IPD when IPD already enabled.
> Warning: Enabling PKO when PKO already enabled.
> octe0: <Cavium Octeon RGMII Ethernet> on octebus0
> miibus0: <MII bus> on octe0
> atphy0: <Atheros F1 10/100/1000 PHY> 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: <Cavium Octeon RGMII Ethernet> on octebus0
> miibus1: <MII bus> on octe1
> atphy1: <Atheros F1 10/100/1000 PHY> 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: <Cavium Octeon RGMII Ethernet> on octebus0
> octe2: attaching PHYs failed
> octe2: bpf attached
> octe2: Ethernet address: 80:2a:a8:8e:2c:25
> _______________________________________________
> freebsd-mips@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to
> "freebsd-mips-unsubscribe@freebsd.org"

IIRC, the switch is an FPGA based proprietary design and even on Linux
(really, EdgeOS), you need a binary blob to support it, so PoE is an
extremely poor choice for anything custom. I'd say stay away from POE
unless you plan to run Ubiquiti software on it.
=20
--=20
Alexander Kabaev

--Sig_/Q3E_4ZdLKK85u4j9s=TJigh
Content-Type: application/pgp-signature
Content-Description: Цифровая подпись OpenPGP

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

iQKTBAEBCgB9FiEExffZlZm2QeE8UVaRBxMimZJ5Ln4FAlhEVrxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM1
RjdEOTk1OTlCNjQxRTEzQzUxNTY5MTA3MTMyMjk5OTI3OTJFN0UACgkQBxMimZJ5
Ln7yhxAAidIqEwjZMUvXBoZM5YEqSFeuyBnxdaImEfyLimKGczqUrjkB5jBnCHeT
y7S4yiD5OPrBdi43ozQuUQorMMXWIzEe1AUgva9A5ldcAr1IbImANhO5d9SHNxs8
WqvUE1H5WS24MBgSpauI9duffJK+jgO7jRNErQWpWn2C3yxPePTuATeMOD60L2DX
BUpLTNBTCAYxHZ7q/rLeQREV7yttwRrhm003Rs8CYSmzzNPxIA4JEvzaPjXcj6iv
L8cVSFiSM/EXEa0fMAnt8+PApIBmVE/9K3lo+TvD1GrxxIzJxPZLhFLYZGqMgVSn
NN5qckTwPlbpuqir55uh3bO15L0nnlQ/aBckXt7Hd+hErlPhNr/W43aK12OI0WME
NLNBsvcI6d9SWD/J1aM+jHoqGEFuPm5SCAZjmvwQQaDihC4zWcWgUFeaDta4kYJ6
wsS2nNFsaPO2L1kqIyatFBphGA+GOBa1ZM/+VEmdaZTKR4NETU3Q+QsKGceviRpu
9aCnIJqZyNNPKnjR8ZcSrEz8Mb033K/OUWikLekUdr+6X0k0rIEmrKVn2YnVEe9x
6xqBtNuLx+Uobc9PvbkrdQZ3Mo3l+F9SbA8F/DtQPpHdBHBl5Bo9O+QP4EWjOJ1H
SgVAbuHzKXiafsq75/XH8KYhCzevyQ0bpQ6K5Go4HPhEsWZKdhE=
=3z6T
-----END PGP SIGNATURE-----

--Sig_/Q3E_4ZdLKK85u4j9s=TJigh--



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