From owner-freebsd-arm@FreeBSD.ORG Sun Feb 10 23:05:04 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 9196E16A420 for ; Sun, 10 Feb 2008 23:05:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 561C513C459 for ; Sun, 10 Feb 2008 23:05:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m1AN0ISL054039; Sun, 10 Feb 2008 16:00:18 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 10 Feb 2008 16:03:49 -0700 (MST) Message-Id: <20080210.160349.603642281.imp@bsdimp.com> To: jack.avenger@gmail.com From: "M. Warner Losh" In-Reply-To: <66aac5180802101410j65905889rf6644c1adf9e1199@mail.gmail.com> References: <66aac5180802101410j65905889rf6644c1adf9e1199@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable 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: Sun, 10 Feb 2008 23:05:04 -0000 In message: <66aac5180802101410j65905889rf6644c1adf9e1199@mail.gmail.co= m> "=E0=D2=C9=CA =E2=D5=D2=C1=CB" wri= tes: : 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-boo= t? : = : Then I tried BSD-loader, but run into another problem - I can`t write= loader : into IIC EEPROM. : = : >CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC : >Send data to be written into EEPROM : >CCCCCCCCCCCCCCC : >Writing EEPROM from 0x20100000 to addr 0, 0x480 bytes : >init done : >. : = : After reboot KB9202C again wait for data: : >CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC : = : In case of using SPI EEPROM it says: : > Bad SPI status: 0xfc : = : 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 s= tore : 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. Warner