eth0 autonegotation 8260
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.
Quoted 2 lines
Quoted 1 line
Quoted 1 line
"Mark Chambers" <[email protected]> 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.
Quoted 1 line
The problem we face is that the boot process stops after displaying the
configuration of the card:
Quoted 4 lines
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
Hi, Samuel
Quoted 3 lines · Samuel Osorio Calvo
First of all , thanks to all who replied,
It is definetely related to interrupts since starting the target withou=
t
Quoted 1 line
the eth wire plugged enables me to login into the board. Of course, wit=
hout
Quoted 1 line
network connectivity......and whenever the wire is connected ->the boar=
d
Quoted 1 line
freezes again (no message, no panic, nothing....).
Well, some fcc-related interrupt is problably ocurring, then. You should=20 attach a BDI2000 to continue debugging, or at least put some printk in=20 fcc_enet code to see which interrupts are ocurring and what happens then.
Quoted 2 lines
The boot process seems everything ok, the
request_irqreturns ok for b=
oth
Quoted 1 line
the mii and the fcc. I am not using a commercial board and some tuning =
were
Quoted 1 line
made to the kernel to adjust to the hardware configuration, mainly cloc=
ks
Quoted 1 line
and MDIO pins. I took changes somebody made with DENX's 2.4.18 and port=
ed
Quoted 1 line
them to 2.4.25, probably forgeting something in the way....may be somet=
hing
Quoted 1 line
related to interrupts interfaces has changed since then???
Yes, many things may have happened, but we don't know what because we don= 't=20
have your ported code...
HTH,
-Scop.
=2Eo.
=2E.o
ooo (http://www.catb.org/hacker-emblem/)
Dear Samuel,
Quoted 1 line · in message <[email protected]> you wrote:
...
Quoted 3 lines
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???
Ummm.... did you by chance try the currnt code in CVS, which is 2.4.25 based? I am not aware of any problems in that area, at least not on the boards we use for regular testing.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Anyone who isn't confused here doesn't really know what's going on.