eth interface (motfec) is not woring with u-boot1.1.3
Hi Ken,Wolfgang
Thanks for the Reply
I have updated the my configuration for the CONFIG_ETHADDR and CONFIG_IPADDR
But still getting same "TX timeout" error. from function
static int fec_send(struct eth_device* dev, volatile void *packet, int length) in defined in the cpu/mpc8xx/fec..c
-----
while ((rtx->txbd[txIdx].cbd_sc & BD_ENET_TX_READY) && (j<TOUT_LOOP)) {
#if defined(CONFIG_ICU862)
udelay(10);
#else
udelay(100);
#endif
j++;
}
if (j>=TOUT_LOOP) {
printf("TX timeout..testing.\n");
}-----
When I am running VxWorks on the same board LEDs at RJ45 connector ( Ethernet interfaces) on the board are glowing but when u-boot is up
these LED are off. It seems that ETH interface is not up yet.
Which board can be used as the reference board for the MPC870.
Thanks
Vijay
----- Original Message ----
From: Wolfgang Denk <[email protected]>
To: Ken.Fuchs at bench.com
Cc: vijays2010 at yahoo.co.in; u-boot-users at lists..sourceforge.net
Sent: Tuesday, 22 July, 2008 1:48:21 AM
Subject: Re: [U-Boot-Users] eth interface (motfec) is not woring with u-boot1.1.3
Quoted 6 lines · In message <[email protected]> you…
Quoted 3 lines
And of course even 00:11:22:33:44:55 is not a legal MAC address and MUST NOT BE USED. Please see the FAQ.
Actually, 00:11:22:33:44:55 is a perfectly legal (universally administered) MAC address:
You are of course right - I was too terse. Thanks for adding the missing details.
Quoted 4 lines
No doubt this is what you were referring to when you said "00:11:22:33:44:55 is not a legal MAC address". A better, easy to remember locally administered MAC address would be 02:03:04:05:06:07.
ACK - or use tools/genethaddr to generate a random locally administered MAC address.
Best regards,
Wolfgang Denk
Signature · 11 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Ada is PL/I trying to be Smalltalk. - Codoso diBlini
Explore your hobbies and interests. Go to http://in.promos.yahoo.com/groups/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080723/75cc02bf/attachment.htm Please stop sending HMTL encoded messages to the list. Please use plain text. (Using plain text is a requirement for using this mailing list.)
Quoted 19 lines · vijays vijays
I have updated the my configuration for the
CONFIG_ETHADDRandCONFIG_IPADDR
But still getting same "TX timeout" error. from function static intfec_send(struct eth_device* dev, volatile void *packet, int length)in defined in thecpu/mpc8xx/fec.c-----
while ((rtx->txbd[txIdx].cbd_sc & BD_ENET_TX_READY) && (j<TOUT_LOOP)) { #if defined(CONFIG_ICU862) udelay(10); #else udelay(100); #endif j++; } if (j>=TOUT_LOOP) { printf("TX timeout..testing.\n"); }
Quoted 5 lines
-----
When I am running VxWorks on the same board LEDs at RJ45 connector (Ethernet interfaces) on the board are glowing but when u-boot is up
these LED are off. It seems that ETH interface is not up yet.
Perhaps, your Ethernet driver is not properly configured. Recheck these definitions in your include/configs/tc870.h file:
#define CONFIG_NET_MULTI 1 /* the only way to get the FEC in
*/
#define FEC_ENET 1 /* eth.c needs it that way... */
#define CONFIG_FEC_ENET 1
#undef CFG_DISCOVER_PHY
#define CONFIG_MII 1
#define CONFIG_RMII 1 /* use RMII interface */
I would pay special attention to CFG_DISCOVER_PHY. Maybe the wrong Phy is being configured?
Quoted 1 line
Which board can be used as the reference board for the MPC870.
Maybe someone with experience with Ethernet on the MPC870 can answer?
I don't have a tc870 board or an MPC870, so this is the last time you'll hear from me on this topic.
Good luck!
Sincerely,
Ken Fuchs