[PATCH RFC] cmd: fix net list command

Wolfgang Denk wd at denx.de
Mon Nov 15 15:31:10 CET 2021


Dear Michael,

In message <c0282bc070180d74e055f82b5ecab5b0 at walle.cc> you wrote:
>
> And again you're masking the error and possible fixes by linux itself.
> Seems like this isn't an argument.

Respecting the explicit will of the user (i. e using what he
configured in U-Boot and passed to the kernel) is not an error.  it
is intended and documented behaviour.

> Sorry, if the original intention was to make "net list" work
> correctly, then why is there now such a huge fuzz around that
> CONFIG_NET_RANDOM_ETHADDR config option and why can't we just
> fix the error with "net list" and leave the behavior like it
> was for years.

Maybe you explain what exactly the ``error with "net list"'' is,
considering the fact that it is U-Boot which determins the
"correct" MAC address and passes it to Linux.  And if the user
configures U-Boot such that a random MAC address is used, then this
_is_ the correct MAC address, as normally (*) U-Boot is just a tool
that does what the user requests.

(*) Exceptions are situations where U-Boot's user interfaces are
locked down for example for security reasons.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A modem is a baudy house.


More information about the U-Boot mailing list