We're attempting to write the MAC address for the ethernet from a script to be executed during initial setup. I know the eFUSES can programmed from u-boot (Fusing MAC addresses in IMX8 ) but this is tricky to do from a script. We also don't have the option to boot from serial download that Universal Update Utility requires.
I can read the eFUSES from the sysfs (ocotp module) and the OTP memory mapped registers but they don't seem to be writable.
Is there a way to program the fuses from a Yocto based linux image running on the platform?
Any guidance is truly appreciated.