linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* eth0 autonegotation 8260
@ 2005-06-30 13:52 Samuel Osorio Calvo
  2005-06-30 14:04 ` Mark Chambers
  2005-06-30 14:11 ` aris
  0 siblings, 2 replies; 8+ messages in thread
From: Samuel Osorio Calvo @ 2005-06-30 13:52 UTC (permalink / raw)
  To: linuxppc-embedded

Hi!

First of all sorry if this answer has been answered before, I have looked =
into the archives and did not find the answer.

We are using a 8260 processor with ELDK 3.1.1,  kernel 2.4.25 patched with =
lck1. We have configured the kernel with USE_MDIO and LXT971.
The problem we face is that the boot process stops after displaying the =
configuration of the card:
eth0: config: autonegotiation on, 100FDX,...
and after the board seems to freeze.

Following the code, I located the error in the startup command of the =
LXT971, concretely in the line setting the autonegotiation:
{mk_mii_write(MII_REG_CR, 0x1200), NULL}, /* autonegotiate */=20

Can anybody provide some feedback on how to check what can be misconfigured=
 or where to look for the error???=20

Thanks in advance,

Samuel.



Unclassified.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: eth0 autonegotation 8260
@ 2005-06-30 16:01 Samuel Osorio Calvo
  2005-06-30 23:15 ` Ricardo Scop
  2005-06-30 23:54 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Samuel Osorio Calvo @ 2005-06-30 16:01 UTC (permalink / raw)
  To: markc, linuxppc-embedded

First of all , thanks to all who replied,

It is definetely related to interrupts since starting the target without =
the eth wire plugged enables me to login into the board. Of course, =
without network connectivity......and whenever the wire is connected ->the =
board freezes again (no message, no panic, nothing....).

The boot process seems everything ok,  the request_irq returns ok for both =
the mii and the fcc. I am not using a commercial board and some tuning =
were made to the kernel to adjust to the hardware configuration, mainly =
clocks and MDIO pins. I took changes somebody made with DENX's 2.4.18 and =
ported them to 2.4.25, probably forgeting something in the way....may be =
something related to interrupts interfaces has changed since then???=20


Any feedback will be higly wellcome,

Samuel.


Unclassified.
>>> "Mark Chambers" <markc@mail.com> 06/30/05 04:04PM >>>
>We are using a 8260 processor with ELDK 3.1.1,  kernel 2.4.25 patched =
with
lck1. We have configured the kernel with USE_MDIO >and LXT971.
>The problem we face is that the boot process stops after displaying the
configuration of the card:
>eth0: config: autonegotiation on, 100FDX,...
>and after the board seems to freeze.
>
>Can anybody provide some feedback on how to check what can be misconfigure=
d
or where to look for the error???

Check that the interrupt from the LXT971 is configured correctly.
The code is probably waiting for this interrupt to tell it that negotiation=

is complete

Mark Chambers

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

end of thread, other threads:[~2005-06-30 23:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 13:52 eth0 autonegotation 8260 Samuel Osorio Calvo
2005-06-30 14:04 ` Mark Chambers
2005-06-30 14:32   ` Alex Zeffertt
2005-06-30 15:06     ` Alex Zeffertt
2005-06-30 14:11 ` aris
  -- strict thread matches above, loose matches on Subject: below --
2005-06-30 16:01 Samuel Osorio Calvo
2005-06-30 23:15 ` Ricardo Scop
2005-06-30 23:54 ` Wolfgang Denk

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 NNTP newsgroup(s).