public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] eth interface (motfec) is not woring with u-boot1.1.3
@ 2008-07-23 13:12 vijay vijay
  2008-07-23 20:30 ` Ken.Fuchs at bench.com
  0 siblings, 1 reply; 6+ messages in thread
From: vijay vijay @ 2008-07-23 13:12 UTC (permalink / raw)
  To: u-boot

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 <wd@denx.de>
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

In message <AA28F077645B324881335614E4F7C4284A49AA@win-ex01.bench.com> you wrote:
> 
> > 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.

> 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

-- 
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 

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [U-Boot-Users] eth interface (motfec) is not woring with u-boot 1.1.3
@ 2008-07-18  5:06 vijay vijay
  2008-07-21 18:26 ` [U-Boot-Users] eth interface (motfec) is not woring with u-boot1.1.3 Ken.Fuchs at bench.com
  0 siblings, 1 reply; 6+ messages in thread
From: vijay vijay @ 2008-07-18  5:06 UTC (permalink / raw)
  To: u-boot

Hi,

I am using Denx u-boot 1.1.3 for MPC 870 board.
I ported it for our board with mpc870 processor and I got the u-boot (->) prompt.

UART interface is working finr but Ethernet interface (motfec) is not up yet.

When I try from the u-boot prompt, I am getting following message.
------------------------------------------------------
TX timeout
TX timeout
ping failed; host 10.10.10.4 is not alive
------------------------------------------------------

Following board specific parameters are defined in the /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 */

#define CONFIG_BAUDRATE        9600    /* console baudrate = 115kbps    */
#define CONFIG_ETHADDR        OO:11:22:33:44:55    /* board MAC addr    */
#define CONFIG_IPADDR        10:10:10:2                     /* board IP  addr    */

/*set allowable console baud rates*/
#define CFG_BAUDRATE_TABLE    { 9600, 19200, 38400, 57600, 115200 }
#define CONFIG_OVERWRITE_ETHADDR_ONCE   1

#define CONFIG_XIN         10000000
/*#define CONFIG_XIN         50000000*/

/*#define MPC8XX_HZ         66666666*/
#define MPC8XX_HZ         50000000

#define CONFIG_8xx_GCLK_FREQ    MPC8XX_HZ

/*#define CONFIG_8xx_CPUCLK_DEFAULT        50000000*/

#if 0
#define CONFIG_8xx_OSCLK                    50000000        /*  50 MHz - PLL input clock    */
#define CFG_8xx_CPUCLK_MIN                15000000        /*  50 MHz - CPU minimum clock       */
#define CFG_8xx_CPUCLK_MAX               75000000        /*  75 MHz - CPU maximum clock       */
#endif

------------------------------------------------------------------------------------------------------------

Any suggestion what is going wrong here
If any thing is missing please let me know 

Thanks
Vijay


      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080718/a1ed70a3/attachment.htm 

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

end of thread, other threads:[~2008-07-23 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 13:12 [U-Boot-Users] eth interface (motfec) is not woring with u-boot1.1.3 vijay vijay
2008-07-23 20:30 ` Ken.Fuchs at bench.com
  -- strict thread matches above, loose matches on Subject: below --
2008-07-18  5:06 [U-Boot-Users] eth interface (motfec) is not woring with u-boot 1.1.3 vijay vijay
2008-07-21 18:26 ` [U-Boot-Users] eth interface (motfec) is not woring with u-boot1.1.3 Ken.Fuchs at bench.com
2008-07-21 18:35   ` Wolfgang Denk
2008-07-21 19:45     ` Ken.Fuchs at bench.com
2008-07-21 20:18       ` Wolfgang Denk

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