From owner-freebsd-mips@FreeBSD.ORG Sun Mar 9 22:13:03 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 516C54FD; Sun, 9 Mar 2014 22:13:03 +0000 (UTC) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D24B1C4B; Sun, 9 Mar 2014 22:13:02 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Sun, 09 Mar 2014 23:12:57 +0100 id 004FCD4B.531CE769.0000B0AE Date: Sun, 9 Mar 2014 23:12:54 +0100 From: Milan Obuch To: Adrian Chadd Subject: Re: I (think) the AR8327 switch support now works Message-ID: <20140309231254.639f3820@zeta.dino.sk> In-Reply-To: References: <20140301200546.7ff373d1@zeta.dino.sk> <20140301231239.023b8733@zeta.dino.sk> <20140307140432.0a460da1@zeta.dino.sk> <20140307204230.3c86b9b1@zeta.dino.sk> <20140308140901.19782009@zeta.dino.sk> <20140308173642.0a48d2c2@zeta.dino.sk> <20140308234129.76800b5c@zeta.dino.sk> <20140309083919.2810fa97@zeta.dino.sk> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2014 22:13:03 -0000 On Sun, 9 Mar 2014 13:18:43 -0700 Adrian Chadd wrote: > Hi, > > Yes, I do think you're right. I think the MDIO IO is not being > terribly stable. > My feeling is that this is the key problem, now. I did som repeated testing, rebooting the box multiple times, and three times or so I got arswitch0 attached, but traffic did not flow through it. And it's a bit hard to do some debugging with no datasheet. OpenWrt sources could give some hints, but not as easy for me. Also, when arswitch0 attached, arswitch1 did not. Maybe it is a coincidence, but I think there is some interdepence now and this should be changed. > Unfortunately I don't have the time to figure it out. So if someone > wants to buy/ship me an RB2011 of some flavour, I'll likely have a > much better chance of figuring out what's going on. > It's a pity, at least for me :) so I must wait for your next advice... anyway, I would say it is necessary to work out MDIO part right, it should be stable and reliable. To me it looks like that's the real problem and source of all other troubles. I will keep trying to find anything, but probability to find the correct way is not that much given current availability of docs. Unfortunatelly, sending you any kind of RB2011 is out of my reach. Regards, Milan