u-boot in impish has unstable mac address
Bug #1937376 reported by
Dimitri John Ledkov
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| u-boot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
u-boot in impish has unstable mac address
Somehow the board that is usually SiFive mac address range of 70:b3:d5:92:f4:40 has become a6:d4:5b:7a:a0:a7
Ideally mac address should be stable, and in the range from the manufacturer.
70:B3:D5:

The ethernet address of the HiFive Unmatched board is determined here:
board/sifive/ unmatched/ hifive- platform- i2c-eeprom. c:534: set_enetaddr( "ethaddr" , e.mac_addr);
eth_env_
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.