Sorry FSL does not program the mx6 fuses but it is simple to do in u-boot.
There is a command in u-boot called imxotp that allows fuses to be blown.
Note: to boot from fuses, you need two things:
1. Boot mode pins set correctly (this is a Hardware setting)--- BOOT_MODE[1:0]=0x00
2. The boot from fuses bit in the fuse map must be blown (this is BT_FUSE_SEL. The command is: imxotp blow --force 6 0x10)
Two examples are shown below: (boot from SD Card and boot from SATA)
SD Card: 4-bit bus width, running on USDHC-3
- Only need to blow BOOT_CFG1[6], BOOT_CFG2[5], and BOOT_CFG2[4]. All other fuses remain at “0”.
- Sequence from U-Boot:
Ø imxotp blow --force 5 0x3040 ;BOOT_CFG1[6],BOOT_CFG2[5],BOOT_CFG2[4]
Ø imxotp blow --force 6 0x10 ;BT_FUSE_SEL
SATA
- Only need to blow BOOT_CFG1[5]. All other fuses remain at “0”.
- Sequence from U-Boot:
Ø imxotp blow --force 5 0x20 ;BOOT_CFG1[5]
Ø imxotp blow --force 6 0x10 ;BT_FUSE_SEL
Regards,
Peter