From owner-freebsd-mips@FreeBSD.ORG Mon Mar 24 18:56:19 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E836A5D7 for ; Mon, 24 Mar 2014 18:56:19 +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 7B9F1C0C for ; Mon, 24 Mar 2014 18:56:17 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Mon, 24 Mar 2014 19:56:12 +0100 id 005080B0.53307FCC.0000A187 Date: Mon, 24 Mar 2014 19:56:08 +0100 From: Milan Obuch To: Adrian Chadd Subject: Re: db120 (mips74k) boot messages; further help wanted Message-ID: <20140324195608.1d3daae5@zeta.dino.sk> In-Reply-To: References: <20140323232304.6ac5c205@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: Mon, 24 Mar 2014 18:56:20 -0000 On Mon, 24 Mar 2014 02:00:25 -0700 Adrian Chadd wrote: > Noone has yet. I'd pay attention to the MDIO reset, MDIO configuration > stuff in if_arge.c and how the clocking is setup. > > It's possible I'm missing some initialisation code form openwrt. > > I think i have the MDIO register read/write working fine. > > The RB2011 kernel in question is correctly being built as a mips74k > kernel, right? > Yes, basically I used DB120 kernel with some bits removed, e. g. wlan stuff I do not have. Milan > On 23 March 2014 15:23, Milan Obuch wrote: > > On Mon, 17 Mar 2014 10:03:53 -0300 > > Luiz Otavio O Souza wrote: > > > >> On 16 March 2014 05:46, Adrian Chadd wrote: > >> > Hi, > >> > > >> > Now that I've mostly finished the DB120 port and Sean's working > >> > on the DIR-825 (rev C1) port, I thought I'd just give a boot > >> > example of this platform. > >> > > >> > It's quite a sweet mips board. I haven't yet booted a full rootfs > >> > via USB; that's what I'll do tomorrow or Monday. I'll start > >> > stress testing the userland and VM then. But it works great as > >> > an AP. > >> > > >> > https://code.google.com/p/freebsd-wifi-build/wiki/AtherosReferenceDB120 > >> > > >> > I'm hoping the DIR-825 C1 port will be just as stable as the > >> > DB120 is for me. > >> > > >> > Now, the missing bits: > >> > > >> > * NAND flash controller - I'm making a start on this now; > >> > * I2S - I'll port this over afterward, so we can have sound on > >> > boards that ship with sound; > >> > * AR8327 VLAN (tagged and per-port) support - someone else will > >> > have to crime this from openwrt. I may eventually get around to > >> > it, but it'll take some time. I don't currently use the VLAN > >> > stuff at home and I haven't yet set this up as a router gateway > >> > so I don't need the LAN/WAN port distinction. > >> > >> I'll get there eventually... if nobody beats me here... > >> > >> I have one RB2011 (the one with a gbic option) and i want to see it > >> working soon (but i have a few things to finish before that > >> happen :/) > >> > >> Luiz > >> > > > > Hi, > > > > I was able to build a kernel for RB2011 and it works quite well, > > just one, but really important thing does not work for me - > > ethernet switch. It looks like something wrong with MDIO, so I > > can't configure correctly the switches, and as there is no port > > connected directly to CPU, I can't currently do any network > > traffic. If I could reliably read/write switch registers, then I > > eventually would play with vlan support. > > > > Did someone achieve success with RB2011 ethernet? > > > > Regards, > > Milan