AnsweredAssumed Answered

How to flash OCOTP_MAC0/MAC1

Question asked by kalyan kodamagula on Apr 18, 2017
Latest reply on Apr 19, 2017 by Yuri Muhin

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.

 

Outcomes