[i.MX RT1172] How to Set OTFAD ENABLE via eFuse

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

[i.MX RT1172] How to Set OTFAD ENABLE via eFuse

跳至解决方案
1,854 次查看
Miller
Contributor II

I cannot find a certain place in the SRM doc that describes how to enable the OTFAD (via eFuse).

Miller_0-1619786324113.png

Does it mean the OTFADx_KEY_BLOB_EN?

 

Issue:

I have already set the eFuse USER_KEY5 / key_scramble / key_scramble_align / OTFADx_SCRAMBLE_EN / OTFADx_KEY_BLOB_EN / SRKH / BOOT_CFG1[1] .

Boot Mode uses GPIO Internal Boot.

(SEC_CONFIG / OTFADx_KEY_SEL / BT_FUSE_SEL use default value)

In this case, the processor runs normally if burns the signed image, the processor boots failure if burns the signed and encrypted image.

When the processor runs normally, read the register OTFAD1 and GE/GEM value is 0.

Miller_1-1619787837534.png

So,  how can I make the GE/GEM to 1?

标记 (1)
0 项奖励
回复
1 解答
1,816 次查看
Miller
Contributor II

If the Config-GPIO already used by another feature, set this fuse to 1 and OTFAD may run normally.

Miller_0-1620609750219.png

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,817 次查看
Miller
Contributor II

If the Config-GPIO already used by another feature, set this fuse to 1 and OTFAD may run normally.

Miller_0-1620609750219.png

 

0 项奖励
回复
1,835 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello, 

The boot ROM enables Encrypt XiP via OTFAD when the ENCRYPT_XIP_ENGINE fuse (0x970[12]) is 0 and if either of the following conditions is met:

  • The ENCRYPT_XIP_EN fuse bit (0x940[1]) is blown.
  • The BOOT_CFG_1[1] pin is asserted when the BOOT_CFG settings are sampled from the BOOT_CFG pins.

Regards,
Victor 

0 项奖励
回复