IMX8MP Android 14 secure boot HAB Failed

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

IMX8MP Android 14 secure boot HAB Failed

跳至解决方案
3,209 次查看
liangyan
Contributor III

hi NXP

I want to enable secure boot Android14 on IMX8MP platform,  when i exec cmd in uboot found following some error:

u-boot=> hab_status

Secure boot enabled

HAB Configuration: 0xcc, HAB State: 0x99

--------- HAB Event 1 -----------------
event data:
0xdb 0x00 0x1c 0x45 0x33 0x18 0xc0 0x00
0xca 0x00 0x14 0x00 0x02 0xc5 0x1d 0x00
0x00 0x00 0x0a 0x10 0x40 0x1f 0xad 0xc0
0x00 0x00 0x30 0x20

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_SIGNATURE (0x18)
CTX = HAB_CTX_COMMAND (0xC0)
ENG = HAB_ENG_ANY (0x00)


--------- HAB Event 2 -----------------
event data:
0xdb 0x00 0x1c 0x45 0x33 0x18 0xc0 0x00
0xca 0x00 0x14 0x00 0x02 0xc5 0x1d 0x00
0x00 0x00 0x0a 0x10 0x40 0x1f 0xad 0xc0
0x00 0x00 0x30 0x20

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_SIGNATURE (0x18)
CTX = HAB_CTX_COMMAND (0xC0)
ENG = HAB_ENG_ANY (0x00)

u-boot=>

Secure boot enabled

HAB Configuration: 0xcc, HAB State: 0x99

--------- HAB Event 1 -----------------
event data:
0xdb 0x00 0x1c 0x45 0x33 0x18 0xc0 0x00
0xca 0x00 0x14 0x00 0x02 0xc5 0x1d 0x00
0x00 0x00 0x0a 0x10 0x40 0x1f 0xad 0xc0
0x00 0x00 0x30 0x20

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_SIGNATURE (0x18)
CTX = HAB_CTX_COMMAND (0xC0)
ENG = HAB_ENG_ANY (0x00)


--------- HAB Event 2 -----------------
event data:
0xdb 0x00 0x1c 0x45 0x33 0x18 0xc0 0x00
0xca 0x00 0x14 0x00 0x02 0xc5 0x1d 0x00
0x00 0x00 0x0a 0x10 0x40 0x1f 0xad 0xc0
0x00 0x00 0x30 0x20

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_SIGNATURE (0x18)
CTX = HAB_CTX_COMMAND (0xC0)
ENG = HAB_ENG_ANY (0x00)

how Can I do fix this error 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
3,171 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Please find the attachment. 

 

Regards

Harvey

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,186 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @liangyan 

The given context is HAB_CTX_COMMAND, this means the remaining bytes correspond to the CSF command that caused the event. You can refer to the HAB API v4 from the CST tool, and there is <example 2> for your reference in the API document.

 

Regards

Harvey

0 项奖励
回复
3,182 次查看
liangyan
Contributor III

Sorry, I can't understand it , please give me the detail steps or docs. 

 

0 项奖励
回复
3,172 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Please find the attachment. 

 

Regards

Harvey

0 项奖励
回复