From owner-freebsd-mips@FreeBSD.ORG Mon May 20 15:24:04 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 53F2FED2 for ; Mon, 20 May 2013 15:24:04 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by mx1.freebsd.org (Postfix) with ESMTP id C7247C6 for ; Mon, 20 May 2013 15:24:03 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id p10so1855149lbi.3 for ; Mon, 20 May 2013 08:24:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=WEMYOPFYtkmTn/Nc3mwDO5rjOrQ/MNMM0Ge1uIzNcV0=; b=Xy4ZI/uXatNG4iBdJLx+RQlzUyo+bbEon8xqkPXWaAREufonbXr/MxaY7QJjgPK7RU bhGcvVyAAtxbZlsVL6qjoQa+WInslB6pSxkDR53rGqY2GvGeMRZNuesjxGIZh+BDV6Jl 65XiGIm46+9EzcpN34UguVB5IvP7Cu7h248XHPz+GykIzDVpj8NozoN2PAD+s6Y8zyZ6 Xdcd0NY+bIZZPhx4xPvACwlm4JWJYOOc06OyRrCiIPUBNVpTHIkrF0Zw07UY23sWr9Ln 8gZxnlU4Zqq/reEMnMyGZ+EcIrDgLOQAavaoXZrC3Ui0Fs3caifvrY3OFJ3rp56Yd3gD CzUA== X-Received: by 10.112.142.97 with SMTP id rv1mr9322043lbb.134.1369063442279; Mon, 20 May 2013 08:24:02 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.152.129.195 with HTTP; Mon, 20 May 2013 08:23:42 -0700 (PDT) In-Reply-To: <20130520164001.5f7d99b8@zeta.dino.sk> References: <20130516111059.38543d57@wind.dino.sk> <20130516131642.adfae355aa3bf7767e9b56e5@ddteam.net> <20130516124248.33ae4e05@wind.dino.sk> <51952112.9010607@rewt.org.uk> <20130517192206.5db0533f@zeta.dino.sk> <51966CB6.2040701@rewt.org.uk> <20130520110659.1d1d2165@zeta.dino.sk> <20130520164001.5f7d99b8@zeta.dino.sk> From: Juli Mallett Date: Mon, 20 May 2013 08:23:42 -0700 X-Google-Sender-Auth: LG3Sk9eXorg__VgJkWehWnXUbJ4 Message-ID: Subject: Re: Ubiquiti EdgeRouter Lite works multi-user with -CURRENT. To: Milan Obuch Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQm+aOjzCyfqvXNRVPQYqpDIn4wt5rnXbvnmKnKKzu3+TWhEGrNd45+4Oyry3nlCcfUEV66l 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: Mon, 20 May 2013 15:24:04 -0000 On Mon, May 20, 2013 at 7:40 AM, Milan Obuch wrote: > Thanks, I found it - device octm was unknowingly commented out. Maybe > as I have no octm in devinfo I left it out, no idea. Now it works. I don't see how commenting out octm should break that... weird! > Back to the original talk - GPIO. I found on Edgerouter Lite pin 11 is > used for reset switch - aka 'Factory Default' button. > > Status is > pin 11: 1 F/D, caps: > when not pressed and > pin 11: 0 F/D, caps: > when pressed. Great! > However, I found a problem with ethernet driver. It works only in > gigabit mode - connected to 100baseT switch is correctly negotiated, it > seems, but no traffic flows, either way, probably. What could I do to > diagnose root cause of this problem? I can't speak to root cause diagnosis right now. It sounds like I need to dig out a copy of UBNT's GPL-compliance-bundle including their Simple Executive and Linux Ethernet driver patches; I may have missed some delta that would fix autonegotiation. Out of curiosity: do you know what batch your ERLite is from? I have one on which the Ethernet ports seem to have pretty much stopped working after a few months of always-on use. I can't even get traffic to pass from within U-Boot. I find that kind of thing worrying. (It seems unrelated to the symptoms you describe, but it makes me slightly doubt the integrity of the PHYs being used.) Thanks, juli.