I was looking to set fixed MAC address using the registers OCOTP_MAC0/MAC1 and read the configured MAC address.In the kernel code freescale - 4.1.15 /drivers/net/ethernet/freescale/fec_main.c(fec_get_mac) there are showing different options instead of using OCOTP method.Right now MAC address is randomly generated one.
In i.MX 6Solo/6DualLite application processors
Can someone guide us how to program below registers.
21B_C620 (Absolute address) -Value of OTP Bank4 Word2 (MAC Address) (OCOTP_MAC0)
21B_C630(Absolute address) - Value of OTP Bank4 Word3 (MAC Address) (OCOTP_MAC1)
And way to read these one.
-Thanks,
kalyan.
Hello,
Please use the following :
Have a great day,
Yuri
------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer
button. Thank you!