Re: [U-Boot-Users] PPC4xx enet crossover

Stefan Roese wrote:
On Monday 03 March 2008, Mike Nuss wrote:
I'm using a PPC440EPx with a Marvell PHY (same as on
Sequoia). If I connect
to a PC with a crossover Ethernet cable, U-Boot sees a link
but the PC does
not. The PC (running Linux) reports "Autonegotiation failed
(remote fault)"
and ethtool reports no link.
Did you really try to communicate with the PC in this situation? Please note that the PHY is only initialized upon ethernet usage. So if you just turn on the Sequoia and stop on the U-Boot prompt, no real PHY configuration will happen.
Yes, I set the ipaddr variable and tried to do a ping. U-Boot reported the PHY autonegotiation succeeding but reported the remote host as down, and the PC logged the autonegotiation error.
Oddly enough, I tried a different PC (with a different NIC) and it worked there. But I'm reluctant to blame the NIC on the first machine, since it worked fine once Linux was running on the PowerPC.
Mike

On Monday 03 March 2008, Mike Nuss wrote:
Did you really try to communicate with the PC in this situation? Please note that the PHY is only initialized upon ethernet usage. So if you just turn on the Sequoia and stop on the U-Boot prompt, no real PHY configuration will happen.
Yes, I set the ipaddr variable and tried to do a ping. U-Boot reported the PHY autonegotiation succeeding but reported the remote host as down, and the PC logged the autonegotiation error.
Hmmm. Then it really could be a problem in the U-Boot PHY configuration.
Oddly enough, I tried a different PC (with a different NIC) and it worked there. But I'm reluctant to blame the NIC on the first machine, since it worked fine once Linux was running on the PowerPC.
Yes, sounds like a U-Boot related PHY init problem. Perhaps you could take a look at how the PHY registers are configured in U-Boot and in Linux and search for differences.
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@denx.de =====================================================================

In message 2C7DE72B9BD00F44BAECA5B0CBB87395072980@hermes.terascala.com you wrote:
Oddly enough, I tried a different PC (with a different NIC) and it worked there. But I'm reluctant to blame the NIC on the first machine, since it worked fine once Linux was running on the PowerPC.
[Please restrict your line length to < 70 characters or so.]
It seems every now and then a report pops up that the Sequoia board (or now on equivalent hardware) has problems connecting to a Gigabit capable network interface. In our case, it's when the Sequoia is attached to a HP Procurve switch.
AMCC Technical Support was not able to reproduce the problem, so officially it does not exist.
Could you please let me know which exact network card you are using on your PC, and which Linux distro / lenrel version / driver version you are running on it?
Best regards,
Wolfgang Denk
participants (3)
-
Mike Nuss
-
Stefan Roese
-
Wolfgang Denk