public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [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; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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