From owner-freebsd-mips@FreeBSD.ORG Sat Jun 12 12:05:43 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD5311065678 for ; Sat, 12 Jun 2010 12:05:43 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5BCA58FC24 for ; Sat, 12 Jun 2010 12:05:43 +0000 (UTC) Received: by vws20 with SMTP id 20so1659488vws.13 for ; Sat, 12 Jun 2010 05:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=YO6icTyJfR1xWE9l50c8/Z1uaUhKK4yNHHR8kiZJkkA=; b=ffCg0HKCnLgwKZnK+S1GZzeGX4I0thvUFVucBW4jih/bdCnvYZSDDzVa60wfwHQBV1 KzV6zMkmDXYpNsymKcNui/YjrbAAUc8zoZRf5fWcuxlsnAZHweMlFkHzCvYqw/PCZzzT B/MtaC54LypI5u5t3tQ/xsoPx0iuejsTUsd7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=pJQK459i5lCob8b8pCr0n8bsegVM6Kgs6bTA39mm9v+XOMMj9ou84lZ4Wbb25+NwSz ti1M1YxtHJ/4JUf0xL8W17/lQpMJ5FvdVVHeI6jUPjg04lwYgEoK5RSdZUOePcSRCMwJ eR4CnE9oqcbN83c4+UPwwjmVB3gdgs6UMmRVU= Received: by 10.220.47.220 with SMTP id o28mr588879vcf.218.1276342626061; Sat, 12 Jun 2010 04:37:06 -0700 (PDT) Received: from [192.168.0.86] ([187.39.15.144]) by mx.google.com with ESMTPS id p14sm949430vca.47.2010.06.12.04.37.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Jun 2010 04:37:04 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Luiz Otavio O Souza In-Reply-To: <2D2B1168-4E11-4353-8856-FD2728413F1B@bluezbox.com> Date: Sat, 12 Jun 2010 08:36:59 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9C6B899F-0361-4E20-A9C4-20C002A3CA1D@sg.org.ua> <2D2B1168-4E11-4353-8856-FD2728413F1B@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1078) Cc: freebsd-mips@freebsd.org Subject: Re: RouterBOARD RB450G X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 12:05:43 -0000 On Jun 11, 2010, at 6:20 PM, Oleksandr Tymoshenko wrote: >=20 > On 2010-06-11, at 5:05 AM, Alexander Mogilny wrote: >=20 >> Hi all! >> I have recently purchased RB450G router and was not >> satisfied with RouterOS so I decided to install FreeBSD >> on this device. >> There are some issues with starting FreeBSD on this device >> so I would like to help community to fix some code and get >> this device working. >>=20 >> Default AR71XX kernel failed to boot. Boot process stopped >> at ohci device detection (it just hanged). When I commented >> it out in hints file I got following: >>=20 > .. skipped .. >>=20 >> As you can see ethernet card got incorrect ethernet address. >> What could cause this? Perhaps I can somehow give you some more >> debug information? > RouterBoard and Routerstation use different approaches for passing > device-dependent data (MAC address, memsize) to kernel. Routerstation > uses redboot that passes key-value pairs in environment memory area > while RouterBoard's own boot loader passes them as key-value pairs in = argv.=20 >=20 > Some minor hackery required to get it working. It's not done yet = because I=20 > didn't have a chance to get my hands on AR71XX-based routerboard :)=20 Gonzo, I 've most of the trivial fixes for routerboards, just give me a few = days to extract the current patches. My old stuff can be found on: http://loos.no-ip.org:280/routerboard/ The missing bits are: nand (the driver is ported, but i need more -free- = time to sort out the FS layer), sd/mmc card slot (connected to spi bus) = and the ethernet switch (useful on RG450(g) which have 4 ports connected = to switch). Luiz=