Read/Write fuse from user space

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

Read/Write fuse from user space

1,710 Views
kunal_003
Contributor III

Hi all,

 

We are using Yocto zeus and it seems the user space utility for reading and writing fuse registers are not present in new kernel. I found from Linux Reference manual, mention about nvmem sysfs entry and able to read/write using dd commands. However, I believe there would some proper method to do this. Can anyone share how to read/write fuse registers from user space in i.MX8MPlus SoC?

 

Regards,

Kunal

0 Kudos
Reply
4 Replies

1,692 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,688 Views
kunal_003
Contributor III

Hi @joanxie ,

 

I already referred this link, it uses hexdump and print like utilities. Aren't there any user-space utility by NXP?

 

Regards,

Kunal

0 Kudos
Reply

1,679 Views
joanxie
NXP TechSupport
NXP TechSupport

the link I share also mentions uboot fuse command, you can use that

0 Kudos
Reply

1,674 Views
kunal_003
Contributor III

Hi @joanxie ,

 

Agree, u-boot provides fuse commands. However, I am looking for user space utility like "fsl_otp.c" , which I believe has been removed in latest L5.4 kernel.

 

Regards,

Kunal

0 Kudos
Reply