Can I set the boot fuses without a console?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can I set the boot fuses without a console?

2,003 次查看
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.

标签 (2)
标记 (1)
2 回复数

1,787 次查看
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

1,787 次查看
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 项奖励
回复