u-boot in impish has unstable mac address

Bug #1937376 reported by Dimitri John Ledkov
6
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:92:F0:00/36 SiFive

tags: added: impish unmatched
description: updated
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

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.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

whould be fixed by 2021.07+dfsg-0ubuntu2

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

New images look fine.

Changed in u-boot (Ubuntu):
status: New → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

unmatched images look fine.

unleashed still fail to boot in CI lab, suspecting lack of stable mac address as well. Or something else. It seems like meta-sifive upstream have dropped all unleashed patches, but it seems like we are regressing in functionality.

Changed in u-boot (Ubuntu):
status: Fix Released → Confirmed
tags: added: unleashed unmatched-fixed
removed: unmatched
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

We don't spin images for the Unleashed board anymore. So we should close this bug report.

Changed in u-boot (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.