public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] EMAC2 & EMAC3 operation on PPC 440GX
@ 2005-06-21 13:00 David Grab
  2005-06-21 20:02 ` Ralph Siemsen
  2005-06-22 12:27 ` Travis B. Sawyer
  0 siblings, 2 replies; 6+ messages in thread
From: David Grab @ 2005-06-21 13:00 UTC (permalink / raw)
  To: u-boot

Hello,

as mentioned before i?m using two Marvel 88E1111 PHY on my PPC440GX Board.
They are configured as a RGMII to copper interface for use with EMAC 2 & 3.
So now i?m in trouble with the configuration of the network. After booting i
set with "setenv ethact ppc_440x_eth2" EMAC2 for networking. After that i
try a "ping" to know if network is working. Reading the speed and duplex
from PHY works, but after that i got in an endless loop. I figured out, that
no interrupt is recognized and in 440gx_enet.c in ppc_440x_eth_init the
default configuration of the interrupt handler is for ETH0:

		irq_install_handler (VECNUM_EWU0 + (hw_p->devnum * 2),
				     (interrupt_handler_t *) enetInt, dev);
		irq_install_handler (VECNUM_ETH0 + (hw_p->devnum * 2),
				     (interrupt_handler_t *) enetInt, dev);

so i changed it as following...

		irq_install_handler (VECNUM_EWU2 + (hw_p->devnum * 2),
				     (interrupt_handler_t *) enetInt, dev);
		irq_install_handler (VECNUM_ETH2 + (hw_p->devnum * 2),
				     (interrupt_handler_t *) enetInt, dev);

and added in vecnum.h these lines:

#define VECNUM_ETH2         (64 + 0)   /* Ethernet 0 interrupt status  */
#define VECNUM_EWU2        (64 + 1)   /* Ethernet 0 wakeup            */

But this didn?t solve the problem. Actually i also couldn?t get the TxCLK
work on my RGMII Bridge and i don?t know why. The devices are configured as
100 MBit RGMII and receiving packets from network seems to be functioning
(EMAC_OCRX Register increments rapidly). I would be appreciated if someone
could give me a tip, what i have forgot to do.

Greets,

David

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

end of thread, other threads:[~2005-07-12 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-21 13:00 [U-Boot-Users] EMAC2 & EMAC3 operation on PPC 440GX David Grab
2005-06-21 20:02 ` Ralph Siemsen
2005-06-22 12:27 ` Travis B. Sawyer
2005-06-22 12:53   ` Carl Riechers
2005-07-12 15:25     ` AW: " David Grab
2005-07-12 15:37       ` Travis B. Sawyer

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