Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ftgmac100 mac address on boot #13

Open
madscientist159 opened this issue Sep 15, 2016 · 1 comment
Open

Set ftgmac100 mac address on boot #13

madscientist159 opened this issue Sep 15, 2016 · 1 comment

Comments

@madscientist159
Copy link

The Firestone BMC (re)boots every time with a different, random MAC address on the BMC Ethernet port, even with the "ethaddr" u-boot environment variable set and saved to Flash.

Running "dhcp" before "boot" allows the saved MAC address to be used; this action initializes the hardware and sets the MAC address in the hardware registers.

@shenki
Copy link
Member

shenki commented Sep 16, 2016

See openbmc/openbmc#578 for discussion.

I think this is a side effect of some changes made a while back to not initialise the network hardware unless a network command was performed.

I think we want to program the ftgmac100 register regardless, so the kernel can pick up the correct MAC address for its interfaces.

When we move to u-boot passing the device tree to the kernel, we can also have the mac address added to the device tree.

@shenki shenki changed the title Firestone uses random MAC address for BMC Ethernet Set ftgmac100 mac address on boot Oct 6, 2016
shenki pushed a commit that referenced this issue Aug 2, 2022
Change-Id: I642bbbb0700c982119137d7cdae034635f9dc3d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants