cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid MAC address In stm32mp157A U-boot.

Navaneeth kumar
Associate III

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.

1 REPLY 1
PatrickF
ST Employee

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.