ahab_close error

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

ahab_close error

911 次查看
dd_neu
Contributor I

I'm getting the following error when trying to close my board. What would cause this error?

 

=> ahab_status
Lifecycle: 0x00000008, OEM Open


        No Events Found!
=> ahab_close
Warning: Please ensure your sample is in NXP closed state, OEM SRK hash has been fused, 
         and you are able to boot a signed image successfully without any SECO events reported.
         If not, your sample will be unrecoverable.

Really perform this operation? <y/N>
y
Error: ele_forward_lifecycle: ret -5, life_cycle 0x8, response 0xbb29
Error in forward lifecycle to OEM closed
exit not allowed from main input shell.

I also tried using nxpele with similar results.

~/src/imx-yocto-bsp-secureboot/build/tmp/deploy/images/imx8ulp-lpddr4-evk/imx-boot-tools/files$ sudo /home/ddresser/src/venv/bin/nxpele -f mimx8ulp forward-lifecycle-update -l OEM_CLOSED 
[sudo] password for ddresser:                                                                                                                                                                                     
ERROR:UUUState:Command FB:UCMD ele_message 0x80000000 0x20000 0602951708000000 failed with error code -1 (477ms since start, spsdk_uuu.py:106)                                                                    
SPSDKError: SPSDK: ELE Message failed.                                                                                                                                                                            
Command:         ELE_FWD_LIFECYCLE_UP_REQ - (0x95)                                                                                                                                                                
Command words:   2                                                                                                                                                                                                
Command data:    False                                                                                                                                                                                            
Response words:  2                                                                                                                                                                                                
Response data:   False                                                                                                                                                                                            
Response status: Failure                                                                                                                                                                                          
   Response indication: ELE_AUTH_SKIPPED_OR_FAILED_FAILURE_IND - (0xbb)                                                                                                                                           
   Response abort code: 0x0 
0 项奖励
回复
2 回复数

454 次查看
devanlec
Contributor I

Hi, I'm seeing the same error code when attempting to forward the lifecycle from OEM open to OEM closed on an i.MX93 from userspace.

My current sequence is:

  1. Flash a secure boot image following the NXP security reference design with AHAB enabled and the kernel image in a signed container.
  2. From userspace, burn in SRKH efuses using the imx-secure-enclave library
  3. Attempt to forward the lifecycle to OEM closed now that the SRKH efuses are burned in.
    At this point, I see the 0xbb29 error and I have to reboot before I can successfully forward the lifecycle.

Is there a process that would allow burning in the SRKH efuses and forwarding the lifecycle in a single boot, or is it inherently necessary to reboot between these steps (maybe to clear the ELE lifecycle events from the initial boot without the SRKH fuses burned)?

0 项奖励
回复

870 次查看
Harvey021
NXP TechSupport
NXP TechSupport

I've replied back to you in system email. 

Please let me know if you need further support.

 

Regards

Harvey

%3CLINGO-SUB%20id%3D%22lingo-sub-2053283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eahab_close%20%E9%94%99%E8%AF%AF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2053283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%9C%A8%E5%B0%9D%E8%AF%95%E5%85%B3%E9%97%AD%E6%88%91%E7%9A%84%E6%9D%BF%E6%97%B6%E5%87%BA%E7%8E%B0%E4%BB%A5%E4%B8%8B%E9%94%99%E8%AF%AF%E3%80%82%E6%98%AF%E4%BB%80%E4%B9%88%E5%8E%9F%E5%9B%A0%E5%AF%BC%E8%87%B4%E4%BA%86%E8%BF%99%E4%B8%AA%E9%94%99%E8%AF%AF%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20translate%3D%22no%22%3E%3D%26gt%3B%20ahab_status%0ALifecycle%3A%200x00000008%2C%20OEM%20Open%0A%0A%0A%20%20%20%20%20%20%20%20No%20Events%20Found!%0A%3D%26gt%3B%20ahab_close%0AWarning%3A%20Please%20ensure%20your%20sample%20is%20in%20NXP%20closed%20state%2C%20OEM%20SRK%20hash%20has%20been%20fused%2C%20%0A%20%20%20%20%20%20%20%20%20and%20you%20are%20able%20to%20boot%20a%20signed%20image%20successfully%20without%20any%20SECO%20events%20reported.%0A%20%20%20%20%20%20%20%20%20If%20not%2C%20your%20sample%20will%20be%20unrecoverable.%0A%0AReally%20perform%20this%20operation%3F%20%3CY%3E%0Ay%0AError%3A%20ele_forward_lifecycle%3A%20ret%20-5%2C%20life_cycle%200x8%2C%20response%200xbb29%0AError%20in%20forward%20lifecycle%20to%20OEM%20closed%0Aexit%20not%20allowed%20from%20main%20input%20shell.%3C%2FY%3E%3C%2FPRE%3E%3CP%3E%E6%88%91%E8%BF%98%E5%B0%9D%E8%AF%95%E8%BF%87%E4%BD%BF%E7%94%A8%20nxpele%EF%BC%8C%E7%BB%93%E6%9E%9C%E4%B9%9F%E5%B7%AE%E4%B8%8D%E5%A4%9A%E3%80%82%3C%2FP%3E%3CPRE%20translate%3D%22no%22%3E~%2Fsrc%2Fimx-yocto-bsp-secureboot%2Fbuild%2Ftmp%2Fdeploy%2Fimages%2Fimx8ulp-lpddr4-evk%2Fimx-boot-tools%2Ffiles%24%20sudo%20%2Fhome%2Fddresser%2Fsrc%2Fvenv%2Fbin%2Fnxpele%20-f%20mimx8ulp%20forward-lifecycle-update%20-l%20OEM_CLOSED%20%0A%5Bsudo%5D%20password%20for%20ddresser%3A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0AERROR%3AUUUState%3ACommand%20FB%3AUCMD%20ele_message%200x80000000%200x20000%200602951708000000%20failed%20with%20error%20code%20-1%20(477ms%20since%20start%2C%20spsdk_uuu.py%3A106)%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0ASPSDKError%3A%20SPSDK%3A%20ELE%20Message%20failed.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0ACommand%3A%20%20%20%20%20%20%20%20%20ELE_FWD_LIFECYCLE_UP_REQ%20-%20(0x95)%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0ACommand%20words%3A%20%20%202%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0ACommand%20data%3A%20%20%20%20False%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0AResponse%20words%3A%20%202%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0AResponse%20data%3A%20%20%20False%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0AResponse%20status%3A%20Failure%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20Response%20indication%3A%20ELE_AUTH_SKIPPED_OR_FAILED_FAILURE_IND%20-%20(0xbb)%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20Response%20abort%20code%3A%200x0%20%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2171189%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ahab_close%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2171189%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%88%91%E5%9C%A8%20i.MX93%20%E4%B8%8A%E5%B0%9D%E8%AF%95%E4%BB%8E%E7%94%A8%E6%88%B7%E7%A9%BA%E9%97%B4%E5%B0%86%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E4%BB%8E%20OEM%20%E6%89%93%E5%BC%80%E8%BD%AC%E5%88%B0%20OEM%20%E5%85%B3%E9%97%AD%E6%97%B6%EF%BC%8C%E7%9C%8B%E5%88%B0%E4%BA%86%E7%9B%B8%E5%90%8C%E7%9A%84%E9%94%99%E8%AF%AF%E4%BB%A3%E7%A0%81%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E7%9B%AE%E5%89%8D%E7%9A%84%E9%A1%BA%E5%BA%8F%E6%98%AF%3C%2FP%3E%3COL%3E%3CLI%3E%E9%81%B5%E5%BE%AA%E6%81%A9%E6%99%BA%E6%B5%A6%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8%E5%8F%82%E8%80%83%E8%AE%BE%E8%AE%A1%EF%BC%8C%E5%9C%A8%E5%90%AF%E7%94%A8%20AHAB%20%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E5%88%B7%E6%96%B0%E5%AE%89%E5%85%A8%E5%90%AF%E5%8A%A8%E6%98%A0%E5%83%8F%EF%BC%8C%E5%B9%B6%E5%B0%86%E5%86%85%E6%A0%B8%E6%98%A0%E5%83%8F%E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96%B0%E5%90%AF%E5%8A%A8%EF%BC%88%E5%8F%AF%E8%83%BD%E6%98%AF%E4%B8%BA%E4%BA%86%E5%9C%A8%E4%B8%8D%E7%83%A7%E6%AF%81%20SRKH%20%E7%86%94%E4%B8%9D%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E4%BB%8E%E5%88%9D%E6%AC%A1%E5%90%AF%E5%8A%A8%E6%97%B6%E6%B8%85%E9%99%A4%20ELE%20%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E4%BA%8B%E4%BB%B6%EF%BC%89%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2055124%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ahab_close%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2055124%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%B7%B2%E5%9C%A8%E7%B3%BB%E7%BB%9F%E9%82%AE%E4%BB%B6%E4%B8%AD%E5%9B%9E%E5%A4%8D%E4%BA%86%E6%82%A8%E3%80%82%20%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E9%9C%80%E8%A6%81%E8%BF%9B%E4%B8%80%E6%AD%A5%E6%94%AF%E6%8C%81%EF%BC%8C%E8%AF%B7%E5%91%8A%E8%AF%89%E6%88%91%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E6%AD%A4%E8%87%B4%3C%2FP%3E%0A%3CP%3E%E5%93%88%E7%BB%B4%3C%2FP%3E%3C%2FLINGO-BODY%3E