[U-Boot-Users] eth interface (motfec) is not woring with u-boot 1.1.3

vijay vijay vijays2010 at yahoo.co.in
Fri Jul 18 07:06:59 CEST 2008


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 


More information about the U-Boot mailing list