Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

HPS ENET (EMAC) MAC Address failed to set

Hi All,

I'm working with ArriaV SX.

I'm receiving the following message from U-boot:


Skipped ethaddr assignment due to invalid EMAC address in EEPROM
Net: mii0
Warning: failing to set MAC address 

What's the problem? How to fix?

In the QSys I've enabled the EMAC1 HPS Set0.

Thank you

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Where should the MAC Address be stored? Should it be inside of HPS or in the external PHY device?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In case the MAC should be stored in the external PHY device, should the HPS EMAC access it using its regular GMII pins?

    What's purpose of I2C Controller in the EMAC? Must I use/enable it in some way?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    mind to know are you using the supplied prebuild SD card for boot up?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No, I don't use any pre-build SD card for the boot up... The boot is done using PreLoaded/U-Boot in ArriaV.

    I know that I can set the MAC address using the U-Boot command and then store it into a Flash... Can I set any MAC address? Should not I buy it for some organization (like IEEE or ITU) or probably notify them that I'm going to use a specific MAC address? Should not I receive their approval?

    The ArriaV HPS has two eMAC IPs... So can I set two different MAC addresses?

    Thank you!