public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Adding a different phy to IXP425
@ 2005-03-16  8:59 Michael Sprauve
  2005-03-16 22:44 ` Mark Salter
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Sprauve @ 2005-03-16  8:59 UTC (permalink / raw)
  To: ecos-discuss

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
Thanks
Mike


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Adding a different phy to IXP425
  2005-03-16  8:59 [ECOS] Adding a different phy to IXP425 Michael Sprauve
@ 2005-03-16 22:44 ` Mark Salter
  2005-03-17  2:24   ` Michael Sprauve
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Salter @ 2005-03-16 22:44 UTC (permalink / raw)
  To: Michael Sprauve; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS] Adding a different phy to IXP425
  2005-03-16 22:44 ` Mark Salter
@ 2005-03-17  2:24   ` Michael Sprauve
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Sprauve @ 2005-03-17  2:24 UTC (permalink / raw)
  To: ecos-discuss


Great,
That's fixes it
Thanks,
Mike
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Mark Salter
Sent: Wednesday, March 16, 2005 6:03 AM
To: Michael Sprauve
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Adding a different phy to IXP425

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


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-16 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16  8:59 [ECOS] Adding a different phy to IXP425 Michael Sprauve
2005-03-16 22:44 ` Mark Salter
2005-03-17  2:24   ` Michael Sprauve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).