From owner-freebsd-mips@FreeBSD.ORG Mon Mar 10 03:16:18 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 C0E59281 for ; Mon, 10 Mar 2014 03:16:18 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 73121A3A for ; Mon, 10 Mar 2014 03:16:18 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id j5so6465362qaq.14 for ; Sun, 09 Mar 2014 20:16:17 -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:message-id:subject :from:to:cc:content-type; bh=grsUCn4Ds8AZ7zBAIPufKHGfwcz2BDU2oGzBYpaYrVA=; b=fPIlnSadzWzqyiTRuebupPIDpMaPYTVKFCn8hji4GCK6VYEwqQnr62Mx2YdD3ZXlQ7 ntABhrdcGPSzCm2ogwYQo6HUdYZKCcXkz3ZMo5PoPL+OBvqE4iFjC8kO2ywX2aRHXPGp vHmPqMydt8mlIxhHdib/dgE6K7Y4uOWvFOraAyrFui/0sV74Hy/UTHphL1iqYBksQ7SI Du1R2hxbb+pdNaPHVRumExbaL1xJky7U+/RHCqZkLnynYThbsK7pzGN6jfmQogY0DeUT 6jJt7XecenCZ7aEcDL2NAFHo9zhkDCxgyVJDhJUp0xqjQDmpsDSXEqxMBSQAv2GkCleF 0Cig== MIME-Version: 1.0 X-Received: by 10.224.4.130 with SMTP id 2mr38159481qar.45.1394421377625; Sun, 09 Mar 2014 20:16:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.8.137 with HTTP; Sun, 9 Mar 2014 20:16:17 -0700 (PDT) In-Reply-To: <20140309231254.639f3820@zeta.dino.sk> 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> <20140309231254.639f3820@zeta.dino.sk> Date: Sun, 9 Mar 2014 20:16:17 -0700 X-Google-Sender-Auth: re_CWtvcCr4EU_1K8SGVkCRCh0A Message-ID: Subject: Re: I (think) the AR8327 switch support now works From: Adrian Chadd To: Milan Obuch Content-Type: text/plain; charset=ISO-8859-1 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: Mon, 10 Mar 2014 03:16:18 -0000 Yeah, I can't really help more than this at the moment. It feels like some kind of timing thing. What's the kernel config file that you're using? Thanks, -a On 9 March 2014 15:12, Milan Obuch wrote: > 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