From owner-freebsd-mips@FreeBSD.ORG Sat Dec 8 20:41:21 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73446B36 for ; Sat, 8 Dec 2012 20:41:21 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 248C18FC08 for ; Sat, 8 Dec 2012 20:41:20 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1864932vba.13 for ; Sat, 08 Dec 2012 12:41:20 -0800 (PST) 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=+ZWeLvMY3FhF+dTSvaWjuxlqD6ffIUvJF+Q+wMYwN78=; b=aZf3r7FHPaRqBCJ5axfmljJdfTkJHlaEjUYBUMTuP7SIZJCRJLkzcmOrV5XHdsd/yL 3W+b1rfV4vCnr8bYz+zc43rlCIUXFAhQA3Ky9CTeGVZaf/Nr/Ko70vB8oZZRTdX2/9+U FSTmweC9kcZm643gOM6hXhgWEzL8+5+bmkgcESAejxW5rCTae4zBHUzgnlUptr7lj4ts J+B56dqzDxOxb0HgCL8eo0hvq7GcN21bRy/3KUrZfi4ZnOz3XxZ1lBOjHemPwOJgq6S1 WMGhFRkcPn8TamEQoafGjrLXdW1A3wXhVkjpsz56gR6WgLGQU6GgNHKajuVQGxc4TNEL dYwQ== MIME-Version: 1.0 Received: by 10.220.40.135 with SMTP id k7mr6151367vce.12.1354999280272; Sat, 08 Dec 2012 12:41:20 -0800 (PST) Received: by 10.58.246.99 with HTTP; Sat, 8 Dec 2012 12:41:20 -0800 (PST) In-Reply-To: References: <20120607184354.GB90876@zibbi.meraka.csir.co.za> Date: Sat, 8 Dec 2012 18:41:20 -0200 Message-ID: Subject: Re: Routerboard RB433AH From: Luiz Otavio O Souza To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: 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: Sat, 08 Dec 2012 20:41:21 -0000 On 7 December 2012 12:27, Monthadar Al Jaberi wrote: > Sorry for being too late, have you solved this issue? > > br, > > On Thu, Jun 7, 2012 at 8:43 PM, John Hay wrote: >> Hi, >> >> I found a RB433AH that is not doing anything and was wondering if one >> can run FreeBSD on it. For a start I thought of just a NFS boot. I >> started with the AR71XX_BASE config file and removed the USB and >> other stuff that I think I do not need and can get it load the kernel >> and start it. But it looks like there is a problem with the ethernet >> because I get stuck at: >> >> Timecounters tick every 1.000 msec >> Sending DHCP Discover packet from interface arge0 (00:0c:42:90:f9:de) >> arge0: link state changed to DOWN >> arge0: link state changed to UP >> DHCP/BOOTP timeout for server 255.255.255.255 >> DHCP/BOOTP timeout for server 255.255.255.255 >> ... >> >> This just keeps on repeating. >> >> Maybe I need some specific setup for the ethernet / phy. Anybody with >> ideas? >> Yeah, sorry for the delay... It's been a while since the last boot of my RB433UAH, so my kernel and hints are not really updated. But back then, i have this setup for the PHYs: # arge0 hint.arge.0.at="nexus0" hint.arge.0.maddr=0x19000000 hint.arge.0.msize=0x1000 hint.arge.0.irq=2 # PHY0, PHY1 hint.arge.0.phymask=0x03 # arge1 hint.arge.1.at="nexus0" hint.arge.1.maddr=0x1A000000 hint.arge.1.msize=0x1000 hint.arge.1.irq=3 # PHY4 hint.arge.1.phymask=0x10 Note that on RB433,RB450 the wan port is connected to arge1 and not to arge0 as usually, so you need to adjust your bootp setup. In order to keep the original mac address you'll the following patch: http://loos.no-ip.org/rb/routerboot.diff and then add 'options AR71XX_ROUTERBOOT' to kernel file. The etherswitch doesn't support the switch chip on RB433 right now, but i'm working on this. Luiz