On 08/02/2018 03:19 AM, Alexey Brodkin wrote:
Otherwise kernel uses random MAC which is not very conveniet.
Curious what exactly is the issue - why does the user care what MAC is assigned ?
With that change in place use might set desired MAC in U-Boot with "setenv ethaddr 11:22:33:44:55:66", save environment and then from boot to boot the same MAC will be used by the kernel.
And what if one is running without uboot - it will resort to all zeros vs. random yet working MAC ?