The ethernet address of the HiFive Unmatched board is determined here:
board/sifive/unmatched/hifive-platform-i2c-eeprom.c:534:
eth_env_set_enetaddr("ethaddr", e.mac_addr);
According to the code in hifive-platform-i2c-eeprom.c you can write the
MAC address to the device eeprom using the mac command:
mac read_eeprom
mac mac_address 01:02:03:04:05:06
max write_eeprom
I have not tested this!
The code first appeared in commit 946afdf6209e ("board: sifive:
unmatched: add initial support for a platform ID EEPROM") dated June
30th, 2021 and is not contained in release v2021.07.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1937376
Title:
u-boot in impish has unstable mac address
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1937376/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs