
12 Feb
2019
12 Feb
'19
11:22 a.m.
On Feb 12 2019, Bin Meng bmeng.cn@gmail.com wrote:
The env var is stored in whatever supported media in U-Boot. Not like PCI NICs which normally have EEPROM to store pre-flashed MAC address by their vendors, for most embedded network controllers in the SoC, normally there is no hardware provided mechanism to ensure a unique MAC address, instead it relies on software to program one to the hardware before bringing it up.
On the Hifive the MAC is part of the initial DT, so there is no need to use a secondary store.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."