From owner-freebsd-mips@FreeBSD.ORG Sat May 25 02:17:21 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 436ED5E9; Sat, 25 May 2013 02:17:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id A07B3207; Sat, 25 May 2013 02:17:20 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id q56so3310364wes.9 for ; Fri, 24 May 2013 19:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Twah9JOU1t6v/CEbOmhBcbjWh+GgYPcjtRE8jnyk57A=; b=SEzBtqNgeqFc7aXvOj0PKVifEskgi3Z1Fv8dEi6/CvXrsXUG7QdMLQEIBexZNE+dgp 4mihf/VCtOoJYvMyxe25+/M3v+ggwJBtGHab/2f6WKIRNeVDOgBWn4z9zwTH9V2PZK+K dSFlR4cl7hbA0xFkYYGdzCPQ1wDpqncXK4jo0cnw5o3y3n/zFQRMqKlTG7SDEyeep2I0 GSzZ4nmQv1EmMsxVh7/lMa/UDZyuW4N0cpkewkrM7LgsUGN4zzX4Q38dJk7jL39osY/Y fAtTh5O4H0Nit6cHkmyqE6X7seaLKarnl8pTczXn9hQ9fGL3RuwHiPd+1+Wy58y6Aimi 9eLQ== MIME-Version: 1.0 X-Received: by 10.180.212.3 with SMTP id ng3mr1133361wic.22.1369448239867; Fri, 24 May 2013 19:17:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.191.138 with HTTP; Fri, 24 May 2013 19:17:19 -0700 (PDT) In-Reply-To: References: <20130520110659.1d1d2165@zeta.dino.sk> <20130520164001.5f7d99b8@zeta.dino.sk> <20130520172508.087daf7b@zeta.dino.sk> <20130523070225.4d9a3a59@zeta.dino.sk> <519DA801.2090205@rewt.org.uk> <20130523075537.37e4bcba@zeta.dino.sk> <20130523134206.69ea6994@zeta.dino.sk> <07C411D8-C5D3-4CD4-896B-844F6514C3DF@bsdimp.com> <519E5CFD.7060008@rewt.org.uk> <519F9377.60904@rewt.org.uk> <519FFECD.8060905@rewt.org.uk> Date: Fri, 24 May 2013 19:17:19 -0700 X-Google-Sender-Auth: B-0vZ-VJ9sK_XMky1mtzEGTU190 Message-ID: Subject: Re: Ubiquiti EdgeRouter Lite works multi-user with -CURRENT. From: Adrian Chadd To: Juli Mallett Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: Aleksandr Rybalko , "freebsd-mips@FreeBSD.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2013 02:17:21 -0000 Oh god, someone's asking me PHY questions. Which chipset(s) ? What's written on the chip? Adrian On 24 May 2013 17:06, Juli Mallett wrote: > Adrian, > > Do you know anything about the Atheros F1 PHYs? We're seeing something > weird with some hardware using them, not sure if Ubiquiti have any > proprietary changes actually-required to support the PHYs properly, or if > there's maybe some deficiency in our PHY driver that you might know about= . > > Thanks, > Juli. > > On Fri, May 24, 2013 at 4:59 PM, Joe Holden wrote: >> >> Juli Mallett wrote: >>> >>> On Fri, May 24, 2013 at 9:21 AM, Joe Holden wrote: >>>> >>>> Looks like theres a couple of modifications and seemingly a bunch of >>>> missing >>>> cavium specific bits which presumably is their licensed sdk rather tha= n >>>> the >>>> public one. >>> >>> >>> I don't believe so. The cavm-executive* file in the GPL tarball >>> contains most Cavium-specific code. Then ubnt-platform* contains >>> support for IPSec offload. And so on. (I decided to just download >>> another copy and dig through it a little.) >>> >>>> Can't see if they do anything different in the available files, but >>>> you'll >>>> probably be able to spot it straight away :) >>> >>> >>> You had mentioned you saw something related to the Atheros PHYs, but I >>> don't see it =97 am I missing it? >>> >> there is a kernel message on boot that alludes to a custom phy driver, b= ut >> it isn't present in the gpl source. >> >> >>>> >>>> http://91.208.177.20/~jwh/ubnt/kernel/arch/mips/cavium-octeon/octeon_i= nfo.c >>>> http://91.208.177.20/~jwh/ubnt/kernel/drivers/net/octeon/ethernet.c >>>> http://91.208.177.20/~jwh/ubnt/kernel/net/core/dev.c >>> >>> >>> I think you're probably listing those files because they contain >>> 'ubnt', but alas they just contain some stuff related to device >>> naming. >>> >> Like most vendors I suspect they distribute code minus the private stuff >> >>>> I'm pretty sure their stock firmware also boots up with something alon= g >>>> the >>>> lines of ath_ubnt_phy driver, will have to double check.. I think I ha= ve >>>> one >>>> left with stock firmware >>> >>> >>> If you get any more information, that sounds like something that would >>> be useful. >>> >> I'll have a gander but the same string in their binary-only firmware isn= 't >> present in the GPL code. >>> >>> Thanks, >>> Juli. >> >> If you have any tips on what I can experiment with, I'm happy to do that= , >> I have a few ERLs >> >> Thanks, >> Joe > >