About the use of /sys/fsl_otp for i.MX6UL Linux BSP

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

About the use of /sys/fsl_otp for i.MX6UL Linux BSP

1,531 Views
yuuki
Senior Contributor II

Dear all,

We want to set eFuse after Linux start.

We found /sys/fsl_otp in Linux on MX6UL.

Can we use this file to set the following register?

Would you tell me the setting procedure if it is possible?

Bank 0, Word 0 (OCOTP_LOCK) ⇒ HW_OCOTP_LOCK

Bank 0, Word 6 (OCOTP_CFG5) ⇒ HW_OCOTP_DFG5

Bank 4, Word 0 (OCOTP_SJC_RESP0) ⇒ HW_OCOTP_SJC_RESP0

Bank 4, Word 1 (OCOTP_SJC_RESP1) ⇒ HW_OCOTP_SJC_RESP1

Best Regards,

Yuuki

Labels (2)
Tags (2)
0 Kudos
1 Reply

766 Views
Yuri
NXP Employee
NXP Employee

Hello,

Yes, You may use the sysfs for OTP, if it is present ; available

items may be listed, using the following command

# ls /sys/fsl_otp/

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos