On my iMX8M Mini design the plan is to load the Linux image at manufacturing using Serial Download Mode. The recommended boot method for a production board is to set the fuses, but so far all we've been able to determine is to use a console on uuu to run the fuses command and set the value. Is there a better way to accomplish this and not have to connect to console? I would much rather use a single connection at manufacturing for all the programming instead of having to use USB to program and then connect to a console for fuse setting.
Hi, johnblackburn
We assume you want to set the fuses without using the console.
There is a way to access/burn the fuses using sysfs. The OCOTP fuses are available at /sys/fsl_otp.To enable this you need to enable the "CONFIG_FSL_OTP" in Linux.
You can write one script containing the command " echo "value_to_burn_fuse" > /sys/fsl_otp/<fuse_register> ", which you have to run automatically after boot.
You can also refer this link for various ways to burn the fuses.
Regards,
Shivani
Yes, the UUU to program eFuses is the way we recommend. As far as I know, no better way, hope this can do help for you.