I'm trying to burn Fuse bits of OCOTP_CFG4 on my i.MX6UL-EVK to select boot device (uSDcard uSDHC2) without using the 4 switches given on evk board.
I've added following commands to do the same-
<CMD state="Updater" type="push" body="$ ls /sys/fsl_otp/HW_OCOTP_CFG4 ">Showing HW_OCOTP fuse bank</CMD>
<CMD state="Updater" type="push" body="$ echo 0x852 > /sys/fsl_otp/HW_OCOTP_CFG4">write 0x00000852 to HW_OCOTP_CFG4 fuse bank</CMD>
<CMD state="Updater" type="push" body="$ cat /sys/fsl_otp/HW_OCOTP_CFG4">Read value from HW_OCOTP_CFG4 fuse bank</CMD>
These lines are added just after "Finishing rootfs write" and before "Unmounting rootfs partition".
But on running the process, the fsl_otp is not found in sys directory and the process halted at first command listed above.
But as the OS image is downloaded successfully, I booted the board and checked for fsl_otp and it is there.
can someone help me over that, how can I burn fuses using MFGTool?