Hi,
We want to disable random MAC address generation for Ethernet in i.MX6 BSP in our release build so that IEEE allotted MAC number is programmed without fail during product manufacturing. Usually MAC address is programmed in U-boot environment variable "ethaddr". If that variable is not set then random MAC gets generated. In our u-boot build, CONFIG_NET_RANDOM_ETHADDR is not selected but even then random MAC address is getting generated. I am wondering whether Linux kernel generate random MAC address. Is there a way to disable random MAC address generation in kernel? We are using 4.9 version.
Regards,
Ganesan. K
You can update the driver for it to get MAC address from the fuses instead of generation.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------