Skip to main content
Visitor II
January 9, 2023
Question

Invalid MAC address In stm32mp157A U-boot.

  • January 9, 2023
  • 1 reply
  • 1194 views

Hello,

We are working on stm32mp157A processor.

we are using uboot-2021-10 version, while booting we are getting invalid MAC address.

as in below image.

0693W00000Y7gSqQAJ.pngwe tried to set the MAC address by using following commands

setenv .flags ethaddr

setenv ethaddr 11:22:33:44:55:66

as given in below link

https://community.st.com/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guide

But after setting through this commands it not get effected, we are facing same issue again.

please give any suggestion to solve this issue.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    January 9, 2023

    As stated, this error is not major unless Ethernet is used in Uboot.

    On Linux, Ethernet should work as a random MAC is assigned by the kernel.

    uBoot setenv commands are just runtime workaround (work only once after run bootcmd) unless they are put in script.

    Permanent solution is to write MAC address in OTP (default SW uses OTP 57-58 for that). This is recommended as on most product it is a requirement that MAC address cannot be changed.

    Regards