[PATCH] net: use a more deterministic approach to get the active ethernet device

Michael Walle michael at walle.cc
Sat Apr 24 13:01:46 CEST 2021


Am 2021-02-24 17:30, schrieb Michael Walle:
> If the environment variable "ethact" is not set, the first device in 
> the
> uclass is returned. This depends on the probing order of the ethernet
> devices. Moreover it is not not configurable at all.
> 
> Try to return the ethernet device with sequence id 0 first which then
> can be configured by the aliases in a device tree. Fall back to the old
> mechanism in case of an error.

any news?

-michael


More information about the U-Boot mailing list