public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-boot and IXP425 NPE
@ 2007-06-03  9:25 Ori Idan
  2007-06-04  6:16 ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: Ori Idan @ 2007-06-03  9:25 UTC (permalink / raw)
  To: u-boot

I am trying to compile network support for IXP425 NPE


First I got error for undefined CONFIG_PHY_ADDR


I have defined CONFIG_PHY_ADDR


It then compiled and gave me undefined functions: miiphy_read, 
miiphy_speed, miiphy_duplex


Has anyone successfuly operated IXP425 NPE?


-- 

Ori Idan

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

* [U-Boot-Users] U-boot and IXP425 NPE
  2007-06-03  9:25 [U-Boot-Users] U-boot and IXP425 NPE Ori Idan
@ 2007-06-04  6:16 ` Stefan Roese
  2007-06-04  7:56   ` Carsten Schlote
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2007-06-04  6:16 UTC (permalink / raw)
  To: u-boot

On Sunday 03 June 2007, Ori Idan wrote:
> I am trying to compile network support for IXP425 NPE
>
> First I got error for undefined CONFIG_PHY_ADDR
>
> I have defined CONFIG_PHY_ADDR
>
> It then compiled and gave me undefined functions: miiphy_read,
> miiphy_speed, miiphy_duplex
>
> Has anyone successfuly operated IXP425 NPE?

Yes, it's supported on used on multiple platforms. Although we still have a 
problem with the NPE-microcode in the current version. I have a patch for 
this in my queue.

Back to your question: You seem to be missing the MII support in your board 
config file (CONFIG_MII). Best would be to "clone" your board config file 
from a known to be working version, like "ixdpg425.h" or "pdnb3.h".

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

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

* [U-Boot-Users] U-boot and IXP425 NPE
  2007-06-04  6:16 ` Stefan Roese
@ 2007-06-04  7:56   ` Carsten Schlote
  2007-06-04  8:15     ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Schlote @ 2007-06-04  7:56 UTC (permalink / raw)
  To: u-boot


Hallo,

> ... Yes, it's supported on used on multiple platforms. Although 
> we still have a problem with the NPE-microcode in the current 
> version. I have a patch for this in my queue.

I'm porting u-boot to a Moxa UC7420 box :-) As it is not yet working,
it's fine to hear it should. For now the microcode seems to be uploaded
(tried 2.3 and 2.4 version), the NET LED starts flickering, but U-Boot
say something about NPE-B upload failed and no eth device found. Could
the patch in the queue fix this problem? If it does, I'd like to test
this patch, before I start to investigate the problem myself...

> Back to your question: You seem to be missing the MII support 
> in your board config file (CONFIG_MII). Best would be to 
> "clone" your board config file from a known to be working 
> version, like "ixdpg425.h" or "pdnb3.h".

I used the pdnb3 board as a template, and just copied the MII defines
from there. Everthing compiles just fine. I asked myself, if the PHY
addresses need to be adapted for each board?

Regards
Carsten




____________
Virus checked by G DATA AntiVirusKit
Version: AVK 17.5142 from 04.06.2007

____________
Virus checked by G DATA AntiVirus
Version: AVK 17.5142 from 04.06.2007
Virus news: www.antiviruslab.com

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

* [U-Boot-Users] U-boot and IXP425 NPE
  2007-06-04  7:56   ` Carsten Schlote
@ 2007-06-04  8:15     ` Stefan Roese
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2007-06-04  8:15 UTC (permalink / raw)
  To: u-boot

Hi Charsten,

On Monday 04 June 2007, Carsten Schlote wrote:
> > ... Yes, it's supported on used on multiple platforms. Although
> > we still have a problem with the NPE-microcode in the current
> > version. I have a patch for this in my queue.
>
> I'm porting u-boot to a Moxa UC7420 box :-) As it is not yet working,
> it's fine to hear it should. For now the microcode seems to be uploaded
> (tried 2.3 and 2.4 version), the NET LED starts flickering, but U-Boot
> say something about NPE-B upload failed and no eth device found. Could
> the patch in the queue fix this problem? If it does, I'd like to test
> this patch, before I start to investigate the problem myself...

No, this patch is not going to fix your problem. It's the patch from Martijn 
de Gouw "IXP425 ethernet & NPE microcode" from 14.05.2007, that does not 
included the mircocode file into the U-Boot binary, but loads the microcode 
from a location in FLASH. This way, you are able to build legal U-Boot 
images, since including the microcode is violating the GPL.

> > Back to your question: You seem to be missing the MII support
> > in your board config file (CONFIG_MII). Best would be to
> > "clone" your board config file from a known to be working
> > version, like "ixdpg425.h" or "pdnb3.h".
>
> I used the pdnb3 board as a template, and just copied the MII defines
> from there. Everthing compiles just fine. I asked myself, if the PHY
> addresses need to be adapted for each board?

Sure. The PHY address is board specific and needs to be configured in the 
board config file.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

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

end of thread, other threads:[~2007-06-04  8:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-03  9:25 [U-Boot-Users] U-boot and IXP425 NPE Ori Idan
2007-06-04  6:16 ` Stefan Roese
2007-06-04  7:56   ` Carsten Schlote
2007-06-04  8:15     ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox