Hi Everyone,
We don't need to write any new software to program the fuses for the MAC address on the i.MX6. The answer to this question was given to me by Jason Moss:
____________________
James,
Attached is an example of how to blow fuses using the Kernel sysfs driver, or using the memory commands in U-boot.
‘imxotp’ is deprecated in favor of the more generic “fuse” command:
https://community.freescale.com/message/369178
https://boundarydevices.com/fuse-command/
To use the fuse command, you will need to define CONFIG_CMD_FUSE and CONFIG_CMD_OCOTP to include these in the u-boot source. (see ./include/configs/imx6qarm2.h for example).
Thanks,
Jason Moss
Field Applications Engineer (i.MX, Vybrid, Layerscape)
Phone: 1-317-908-5314
Email: jason.moss@nxp.com
______________________
After reading through the links in the above email I found out how to replace the "imxotp" commands from the previous thread with fuse commands:
How do I change the MAC address on a system that is base on the SabreSD reference design?
If I want to program MAC address 10:98:76:54:32:10 into my i.mx6 Android device, as in the above thread,
I enter the following uboot commands:
in Android Kitkat:
imxotp blow --force 23 1098
imxotp blow --force 22 76543210
In Android Lollipop:
fuse prog 4 3 0x1098
fuse prog 4 2 0x76543210
Answer 'y' when asked to verify that this is what you want to do.
JamesPieterick