From owner-freebsd-arm@FreeBSD.ORG Mon Feb 11 11:09:16 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFA5E16A4A0 for ; Mon, 11 Feb 2008 11:09:16 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB4113C458 for ; Mon, 11 Feb 2008 11:09:16 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id B7992143D8; Mon, 11 Feb 2008 11:59:04 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10236-09; Mon, 11 Feb 2008 11:59:03 +0100 (CET) Message-ID: <47B028AA.8090105@semihalf.com> Date: Mon, 11 Feb 2008 11:51:22 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: jack.avenger@gmail.com References: <66aac5180802101410j65905889rf6644c1adf9e1199@mail.gmail.com> <20080210.160349.603642281.imp@bsdimp.com> In-Reply-To: <20080210.160349.603642281.imp@bsdimp.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: freebsd-arm@freebsd.org Subject: Re: Help with boot loader on KB9202C (Ethernet don`t work) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 11:09:16 -0000 M. Warner Losh wrote: > In message: <66aac5180802101410j65905889rf6644c1adf9e1199@mail.gmail.com> > "àÒÉÊ âÕÒÁË" writes: > : Hi! > : I am playing with KB9202C and can't get working PHY (LXT972C) > : It work in u-boot 1.1.4 but FreeBSD 8.0 says that there is no MAC. > : Maybe I need new version of u-boot? Is this error solved in new u-boot? > : *snip* > : > : Can anyone answer me how to get working BSD loader or U-Boot? > : I think U-boot is more preferable for me because in such case I can store > : kernel in onboard FLASH. > > For u-boot, there's a patch that makes FreeBSD look at all the MAC > matching address registers, not just the first set. We should have > committed it already, but maybe not. If we did, and you still have > this problem, then we'll need do something about that. > It seems this patch didn't make it in the end.. You can try it from here: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=48150+0+archive/2007/freebsd-arm/20071223.freebsd-arm On the other end, I'll try to come up with a patch for U-Boot, so it would use the first MAC registers set on AT91 when setting an address, as it's really weird that the first one is skipped and only the other one used... Rafal