Can I set the boot fuses without a console?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I set the boot fuses without a console?

1,023 Views
johnblackburn
Contributor II

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.

Labels (2)
Tags (1)
2 Replies

807 Views
shivanipatel
Senior Contributor II

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

807 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

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.

0 Kudos