From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17783 invoked by alias); 16 Mar 2005 14:02:48 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 17391 invoked from network); 16 Mar 2005 14:02:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 16 Mar 2005 14:02:35 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j2GE2XLT010042; Wed, 16 Mar 2005 09:02:33 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j2GE2XY00685; Wed, 16 Mar 2005 09:02:33 -0500 Received: from 172.16.50.1 (vpn50-1.rdu.redhat.com [172.16.50.1]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j2GE2XfD029802; Wed, 16 Mar 2005 09:02:33 -0500 From: Mark Salter To: Michael Sprauve Cc: ecos-discuss@ecos.sourceware.org In-Reply-To: <000401c529ee$b1e0eb70$660210ac@Daytona> References: <000401c529ee$b1e0eb70$660210ac@Daytona> Content-Type: text/plain Organization: Red Hat, Inc. Date: Wed, 16 Mar 2005 22:44:00 -0000 Message-Id: <1110981752.31425.41.camel@gienah.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Adding a different phy to IXP425 X-SW-Source: 2005-03/txt/msg00156.txt.bz2 On Tue, 2005-03-15 at 22:09 -0800, Michael Sprauve wrote: > Hello > I have a custom IXP425 board based on the Intel reference design. > Instead of using the Intel phys LXT97x, I am using a phy made by ADMTek > ADM7001. There is little difference between the two chips other than the > ID, so I made modified IxEthMii_p.h adding an entry for my new phy and > modified IxEthMii.c to include the new entry, but when I run Redboot, it > seems to find the phy and configure it correctly, but when I try to > ping, I get so data being sent or received. I know the hardware works, > because when I boot up linux, the phy is found and DHCP and everything > else works. My question is: Is there anywhere else I need to modified to > recognize the new phy So RedBoot appears to find the PHY, but then fails to get from BOOTP and/or ping doesn't work? I have seen behavior like this when RedBoot is confused about which PHY is attached to which NPE port. You have to tell RedBoot (in the platform specific bits of the NPE eth support) which PHY is attached to which NPE port. IXDP425 uses PHY 0 on NPE-B (eth0) and PHY 1 on NPE-C (eth1). So, in ixdp425_npe.inl there is: #define CYGNUM_ETH0_PHY_NO 0 #define CYGNUM_ETH1_PHY_NO 1 --Mark -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss