2023-01-09 12:48 AM
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.
we 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.
2023-01-09 01:19 AM
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