[PATCH RFC] cmd: fix net list command

Michal Simek michal.simek at xilinx.com
Mon Nov 15 15:53:12 CET 2021

On 11/15/21 13:11, Michael Walle wrote:
> Don't get the MAC address by the environment, but by the platform data
> of the udevice. This will fix "net list" if the MAC address is randomly
> generated and won't change behavior when linux is booted.
> Signed-off-by: Michael Walle <michael at walle.cc>

thanks for looking at this one. I was OOF last week that's why didn't 
react on it.

I think patch itself is good but only the last sentence should be 
updated to describe current state which is.
When random MAC address is generated it is not saved now to environment 
variable that's why net list command can't display it. ...

And if make sense to save random mac to variable should be discussed in 
that second thread.


More information about the U-Boot mailing list