Dear DUNDA Matthias,

In message 
<27800_1290086146_4ce52702_27800_13178_1_3cf34b583782c147807e09365f884da42f058fd...@thsncoa06mxs02p.one-06.grp>
 you wrote:
> 
> I've been struggeling with the ethact setting in U-Boot: I want U-Boot to 
> load from eTSEC0 on our board, but it always comes up with ethact = UEC0 or 
> FSL UEC0 in older versions.
> 
> As ethact is not persistent, my only workaround so far was to change 
> net/eth.c so that at all occasions, where ethact is set, it is set to eTSEC0 
> - during development, this was OK for me, but now I am cleaning up!

Why don't you use "ethprime" ?

> What's the intended/desired function of ethact, and how should it be 
> initialized? Even using CONFIG_ETHPRIME has no effect.

These variabes are documented in the README.

> From my understanding of something named "ethact", I would expect, that it 
> finds the (first) active ethernet device - active in a sense of connected or 
> usable or whatever.

"active" as "currently active", i. e. what will be used when you issue
a network command.

> Although eTSEC0 is the only connected port on our device, it comes up with 
> UEC0 - so, even if this interface in "on" in some way, this does not help 
> here.
> 
> How can I force ethact to be eTSEC0 (or whichever I want), without tampering 
> U-Boot base files?

"ethact" is the wrong variable for what you are trying to do. Use
"ethprime" instead.

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: w...@denx.de
panic: can't find /
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to