Skip to contentSkip to conversation

U-boot for MPC885 EVAL board -FEC query

U-Boot-Users Sachin S Mehta 2 participants 2 messages Aug 13, 2004

lore
Share & tools
lore
#0 lore raw

hi ,

We are using MPC885ADS Eval. board ,we are porting U-Boot 1.1.1 on it We tested FEC1 and FEC2 both indivisulay by making change in "/board/fads.h file "

                #define CONFIG_ETHER_ON_FEC1 1   
	#undef  CONFIG_ETHER_ON_FEC2

	#ifdef CONFIG_ETHER_ON_FEC1
	#define CONFIG_FEC1_PHY 0
	#endif

	#ifdef CONFIG_ETHER_ON_FEC2
	#define CONFIG_FEC2_PHY 1
	#endif

Its working fine for both FECs.
Is there any posibility to enable both FEC1 and FEC2 at a same time? if yes than how to make it ?

Thanks and regards,
Sachin Mehta

#1 lore raw
Quoted 2 lines · In message <s11d0e4b.011@EMAIL> you wrote:

We are using MPC885ADS Eval. board ,we are porting U-Boot 1.1.1 on it

Why are you wasting your time?

The current version of U-Boot (top of tree in CVS) supports the MPC885ADS right out of the box.

Quoted 2 lines

Is there any posibility to enable both FEC1 and FEC2 at a same time? if yes than how to make it ?

No. You can _configure_ more than one Etherenet interface, but U-Boot can _enable_ only one Etherenet interface at a time. But if you set
CONFIG_NET_MULTI in your board configuration it can (even
automatically) switch between any of the configured interfaces.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"Ada is PL/I trying to be Smalltalk.                 - Codoso diBlini