[EXT] Re: [PATCH] defconfig: espressobin: enable NET_RANDOM_ETHADDR

Stefan Roese sr at denx.de
Mon Sep 21 09:50:17 CEST 2020


Hi Kosta,

On 13.09.20 11:21, Kostya Porotchkin wrote:

<snip>

>>>> Good point, so let's assume the user doesn't have a mac stored.
>>>>
>>>> Without CONFIG_NET_RANDOM_ETHADDR:
>>>> * u-boot refuses to do anything network related
>>>> * Linux generates a random mac, network works
>>>>
>>>> With CONFIG_NET_RANDOM_ETHADDR:
>>>> * u-boot generates a random mac, network works
>>>> * Linux uses the same random mac, passed on from u-boot throught the
>>>> device-tree, network works
>>>>
>>>> It's still random, but at least it's consistent ;)
>>>
>>> It's also only used when we cannot find the MAC.  At the end of the
>>> day, the final decision here is Konstantin's (as the listed
>>> maintainer).  I personally think enabling the option is good given the
>>> apparent number of ways the real MAC will have been lost from SW, but
>>> if the maintainer wants to instead opt for a verbose failure message, that's
>> fine too.
> I have no objections about this configuration option.
> It is better to have a random MAC address rather then no MAC at all.

This is also my feeling.

Kosta, can you please send a Reviewed-by or Acked-by tag then?

Thanks,
Stefan


More information about the U-Boot mailing list