Re: [U-Boot] How to enable 2 FCC Ports while booting using CONFIG_NET_MULTI

Dear Sir, i have enabled CONFIG_NET_MULTI , after enabling this it is showing no ethernet found under ethernet section.
Net: No Ethernet found
just i want to ping for one of the two FCC ports at runtime based on setenv ethact command & ping for the particular port. so please let me know how to do this.
Eagerly waiting for the reply
With Regards, Gurumurthy
On Tue, 27 Oct 2009 14:52:10 +0530 wrote
Dear Sir,
i want only one ethernet port active at a time. so to acheive this how to use CONFIG_NET_MULTI. i have enabled one ethernet port at present i.e. FCC2. how to enable two ports so that when i ping or give network command its should ping depending upon selected port.
With Regards, Gurumurthy
On Tue, 27 Oct 2009 14:09:51 +0530 wrote
Dear "Gurumurthy Gowdar",
In message you wrote:
please let me know how to enable two Ethernet Ports in U-boot for MPC8280 at booting time. After booting i should be able to ping the two ports i.e. FCC1 and FCC2 only by connecting the ethernet cable to the repective port (FCC1 & FCC2.
You don't. You don;t do this at all.
U-Boot does not enable any peripherals "at booting time". This is a design principle, see http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast
Ethernet ininitlization is only done when U-Boot attempts to perform a network command, and then only that single interface gets initialized which U-Boot is going to use.
currently i have enabled one port FCC2 as ethact port, can i change this depending by which port i want to ping.
Yes, you can toggle between several ports. But keep in mind that only one of them will be active at any time, if any at all.
i came to know about CONFIG_NET_MULTI whether this will be the solution for using two ports at a time.
You cannot use two ports at the same time, only one or the other. But it is possible to switch at runtime (either automatically when a download fails or manually by setting the "ethact" environment variable accordingly).
Best regards,
Wolfgang Denk

Dear "Gurumurthy Gowdar",
In message 1256635330.S.5998.34271.f4mail-235-215.rediffmail.com.1257012487.28726@webmail.rediffmail.com you wrote:
i have enabled CONFIG_NET_MULTI , after enabling this it is showing no ethernet
found under ethernet section.
Net: No Ethernet found
Do you have valid MAC addresses set in your environment?
And: please make sure to read http://www.netmeister.org/news/learn2quote.html
Don't top post / full quote!
Best regards,
Wolfgang Denk
participants (2)
-
Gurumurthy Gowdar
-
Wolfgang Denk