From owner-freebsd-mips@FreeBSD.ORG Mon Mar 24 09:00:27 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 DBB8C247 for ; Mon, 24 Mar 2014 09:00:26 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D042646 for ; Mon, 24 Mar 2014 09:00:26 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id e9so5604587qcy.12 for ; Mon, 24 Mar 2014 02:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y0V6BVDtLefGvHPE2VC01SK1Zy5yq5EoLdXZfB32Tck=; b=xUBS9ocvO0xhBmf7tyAvU6+wK/8yrxv0YXO3ZwefR/Ip2kePjRH2UecMgUvoD2kzYp zKLppYCUVmZNCc8v9iVqTCPlR4Bg4MXIpNVmzqiVm3IaXnGq3gJo//PsbE2vh1OTz3xS BRFCCwcL/nzKzbusG1xxQQD9ljwsLSrSJCZjRkfLhrTT5Q+CyRyob5kiz8Vj2LmAqI5p LFKQPJzVlDJnUvXCQ609Kozh8ZRQ3sxxseq0XF0lHZFy/YGi3F6vil5AsiZ3cIawufg7 QfKSF376a5R3PghfbVuUNcswBOPIxxfq2HBGI2DLT/tk/2A/hpOnqe3lw96lNZ5wURNh bpfQ== MIME-Version: 1.0 X-Received: by 10.140.20.167 with SMTP id 36mr39951369qgj.54.1395651625880; Mon, 24 Mar 2014 02:00:25 -0700 (PDT) Received: by 10.224.8.137 with HTTP; Mon, 24 Mar 2014 02:00:25 -0700 (PDT) In-Reply-To: <20140323232304.6ac5c205@zeta.dino.sk> References: <20140323232304.6ac5c205@zeta.dino.sk> Date: Mon, 24 Mar 2014 02:00:25 -0700 Message-ID: Subject: Re: db120 (mips74k) boot messages; further help wanted 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, 24 Mar 2014 09:00:27 -0000 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? -a 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