From owner-freebsd-mips@FreeBSD.ORG Sat May 25 03:57:03 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D163CCD4 for ; Sat, 25 May 2013 03:57:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 99D68A52 for ; Sat, 25 May 2013 03:57:03 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x12so14358546ief.12 for ; Fri, 24 May 2013 20:57:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=BpmTCq6cLOTGjh07GkESIQTNXsn0yTPUBaUO6bf0phE=; b=X4FbMVaJ3xPSNsSEBR0MyOy1o5mRMyUYvS4RfK1JCfuGyo2iS09renSzOQilvU9+lL SQS+XDguOOxCuKzMF0zpQK+MXIbTo6PUnbtBy8E/H38aYvpkkMAT2u4aUOMDQoXpIFro qBpsAHxOrzreMt+sYCuRclr/OfdLb2r1nvda1njrs6JZUwC5/hI/Je+pIQN0Qxk/Bl3I ZCmiz1GzbAdeOxfT0630xScmMd65AsQyBNDomdDY5mWdtXsmwQHUfU/GdRrXw+mb1qcT zFEmPiaK2SOJy5jJRicpe3Yxh9JbtMUUbPDAAXWUa5RqXnHEZngilyHmlI6qQbi+9D5r 8b4w== X-Received: by 10.50.80.116 with SMTP id q20mr937191igx.85.1369454223256; Fri, 24 May 2013 20:57:03 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id np6sm2681466igb.0.2013.05.24.20.57.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 May 2013 20:57:02 -0700 (PDT) Sender: Warner Losh Subject: Re: Ubiquiti EdgeRouter Lite works multi-user with -CURRENT. Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 From: Warner Losh In-Reply-To: Date: Fri, 24 May 2013 21:57:00 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <6AD46D3A-3A12-4EE3-A069-8CA9463311EE@bsdimp.com> 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.u k> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlZSEREdMaKsuYUUgYK7y/JP+mi51if0H7Ggj4+2J7ZcH7Mok4MeO+TpYG+EPgcUIrozFrm 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 03:57:03 -0000 PHY? PHY not? :) Warner On May 24, 2013, at 8:17 PM, Adrian Chadd wrote: > Oh god, someone's asking me PHY questions. >=20 > Which chipset(s) ? What's written on the chip? >=20 >=20 >=20 > Adrian >=20 > On 24 May 2013 17:06, Juli Mallett wrote: >> Adrian, >>=20 >> 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. >>=20 >> Thanks, >> Juli. >>=20 >> On Fri, May 24, 2013 at 4:59 PM, Joe Holden = wrote: >>>=20 >>> Juli Mallett wrote: >>>>=20 >>>> On Fri, May 24, 2013 at 9:21 AM, Joe Holden = wrote: >>>>>=20 >>>>> Looks like theres a couple of modifications and seemingly a bunch = of >>>>> missing >>>>> cavium specific bits which presumably is their licensed sdk rather = than >>>>> the >>>>> public one. >>>>=20 >>>>=20 >>>> 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.) >>>>=20 >>>>> Can't see if they do anything different in the available files, = but >>>>> you'll >>>>> probably be able to spot it straight away :) >>>>=20 >>>>=20 >>>> You had mentioned you saw something related to the Atheros PHYs, = but I >>>> don't see it =97 am I missing it? >>>>=20 >>> there is a kernel message on boot that alludes to a custom phy = driver, but >>> it isn't present in the gpl source. >>>=20 >>>=20 >>>>>=20 >>>>> = http://91.208.177.20/~jwh/ubnt/kernel/arch/mips/cavium-octeon/octeon_info.= 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 >>>>=20 >>>>=20 >>>> I think you're probably listing those files because they contain >>>> 'ubnt', but alas they just contain some stuff related to device >>>> naming. >>>>=20 >>> Like most vendors I suspect they distribute code minus the private = stuff >>>=20 >>>>> I'm pretty sure their stock firmware also boots up with something = along >>>>> the >>>>> lines of ath_ubnt_phy driver, will have to double check.. I think = I have >>>>> one >>>>> left with stock firmware >>>>=20 >>>>=20 >>>> If you get any more information, that sounds like something that = would >>>> be useful. >>>>=20 >>> I'll have a gander but the same string in their binary-only firmware = isn't >>> present in the GPL code. >>>>=20 >>>> Thanks, >>>> Juli. >>>=20 >>> If you have any tips on what I can experiment with, I'm happy to do = that, >>> I have a few ERLs >>>=20 >>> Thanks, >>> Joe >>=20 >>=20