Secure Provisioning Tool - Build image error

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

Secure Provisioning Tool - Build image error

跳至解决方案
363 次查看
Abhay2080
Contributor III

Hi i am trying to sign a package using SPT.

I have one binary that have FCFB + DCD + IVT + app.bin (a complete bootable image) and when i tried to sign it it is succesfull.

 

But when i am selecting a binary that only have IVT and app.bin why Build Image is disabled ?? I have attached the screen shot also.

标记 (3)
0 项奖励
回复
1 解答
272 次查看
Pablo_Ramos
NXP Employee
NXP Employee

Hi @Abhay2080,

I ran some tests with Secure Provisioning Tool v26.09 using the binary you shared and noticed the following:

According to Section 5.2.2, Source Image Formats of the Secure Provisioning Tool User Guide v26.09 the entry point can be specified explicitly for S19 files. For other image formats, the entry point is retrieved from the interrupt vector table (so the interrupt vector table must be at the beginning of the application image).

In the case of the image without an IVT and FCFB, the tool detects the entry point at 0x601006C9, which is outside the application code range. Additionally, the start address is expected to be within the range 0x600D2D01 to 0x601006C9.

Secure Provisioning Tool locates the entry point at offset 0x4 within the application image.

Could you please test whether changing the entry point to a valid address allows you to build the image successfully?

Best Regards,
Pablo

在原帖中查看解决方案

4 回复数
285 次查看
Abhay2080
Contributor III

I have attached the image now. Please check

0 项奖励
回复
273 次查看
Pablo_Ramos
NXP Employee
NXP Employee

Hi @Abhay2080,

I ran some tests with Secure Provisioning Tool v26.09 using the binary you shared and noticed the following:

According to Section 5.2.2, Source Image Formats of the Secure Provisioning Tool User Guide v26.09 the entry point can be specified explicitly for S19 files. For other image formats, the entry point is retrieved from the interrupt vector table (so the interrupt vector table must be at the beginning of the application image).

In the case of the image without an IVT and FCFB, the tool detects the entry point at 0x601006C9, which is outside the application code range. Additionally, the start address is expected to be within the range 0x600D2D01 to 0x601006C9.

Secure Provisioning Tool locates the entry point at offset 0x4 within the application image.

Could you please test whether changing the entry point to a valid address allows you to build the image successfully?

Best Regards,
Pablo

266 次查看
Abhay2080
Contributor III
Yes it worked ..Thankyou
0 项奖励
回复
324 次查看
Pablo_Ramos
NXP Employee
NXP Employee

Hi @Abhay2080,

Could you share which version of the Secure Provisioning Tool you are using?

Additionally, I'm unable to see the image you mentioned in your attachment. Could you please try uploading it again?

Best Regards,
Pablo

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2418444%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%AE%89%E5%85%A8%E9%85%8D%E7%BD%AE%E5%B7%A5%E5%85%B7%20-%20%E7%89%88%E6%9C%AC%E9%95%9C%E5%83%8F%E9%94%99%E8%AF%AF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418444%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20SPT%20%E5%AF%B9%E4%BB%A3%E7%A0%81%E5%8C%85%EF%BC%8C%E8%BD%AF%E4%BB%B6%E5%8C%85%E8%BF%9B%E8%A1%8C%E7%AD%BE%E5%90%8D%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E5%8C%85%E5%90%AB%20FCFB%20%2B%20DCD%20%2B%20IVT%20%2B%20app.bin%20%E7%9A%84%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%EF%BC%88%E4%B8%80%E4%B8%AA%E5%AE%8C%E6%95%B4%E7%9A%84%E5%8F%AF%E5%90%AF%E5%8A%A8%E6%98%A0%E5%83%8F%EF%BC%89%EF%BC%8C%E5%BD%93%E6%88%91%E5%B0%9D%E8%AF%95%E5%AF%B9%E5%85%B6%E8%BF%9B%E8%A1%8C%E7%AD%BE%E5%90%8D%E6%97%B6%EF%BC%8C%E7%AD%BE%E5%90%8D%E6%88%90%E5%8A%9F%E4%BA%86%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E4%BD%86%E6%98%AF%EF%BC%8C%E5%BD%93%E6%88%91%E9%80%89%E6%8B%A9%E4%B8%80%E4%B8%AA%E5%8F%AA%E5%8C%85%E5%90%AB%20IVT%20%E5%92%8C%20app.bin%20%E7%9A%84%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%97%B6%EF%BC%8C%E4%B8%BA%E4%BB%80%E4%B9%88%E2%80%9C%E7%89%88%E6%9C%AC%E6%98%A0%E5%83%8F%E2%80%9D%E9%80%89%E9%A1%B9%E8%A2%AB%E7%A6%81%E7%94%A8%EF%BC%9F%E6%88%91%E5%B7%B2%E7%BB%8F%E9%99%84%E4%B8%8A%E4%BA%86%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Secure%20Provisioning%20Tool%20-%20Build%20image%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%B7%B2%E7%BB%8F%E9%99%84%E4%B8%8A%E4%BA%86%E5%9B%BE%E7%89%87%E3%80%82%E8%AF%B7%E6%A3%80%E6%9F%A5%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418528%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Secure%20Provisioning%20Tool%20-%20Build%20image%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418528%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261235%22%20target%3D%22_blank%22%3E%40Abhay2080%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E9%97%AE%E6%82%A8%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E5%93%AA%E4%B8%AA%E7%89%88%E6%9C%AC%E7%9A%84%E5%AE%89%E5%85%A8%E9%85%8D%E7%BD%AE%E5%B7%A5%E5%85%B7%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%E6%AD%A4%E5%A4%96%EF%BC%8C%E6%88%91%E6%97%A0%E6%B3%95%E7%9C%8B%E5%88%B0%E6%82%A8%E5%9C%A8%E9%99%84%E4%BB%B6%E4%B8%AD%E6%8F%90%E5%88%B0%E7%9A%84%E5%9B%BE%E7%89%87%E3%80%82%E8%AF%B7%E6%82%A8%E5%86%8D%E5%B0%9D%E8%AF%95%E4%B8%8A%E4%BC%A0%E4%B8%80%E6%AC%A1%E5%A5%BD%E5%90%97%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%E5%B7%B4%E5%8B%83%E7%BD%97%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418865%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Secure%20Provisioning%20Tool%20-%20Build%20image%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418865%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261235%22%20target%3D%22_blank%22%3E%40Abhay2080%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E6%82%A8%E5%88%86%E4%BA%AB%E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2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Secure%20Provisioning%20Tool%20-%20Build%20image%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%98%AF%E7%9A%84%EF%BC%8C%E6%88%90%E5%8A%9F%E4%BA%86%E2%80%A6%E2%80%A6%E8%B0%A2%E8%B0%A2%E3%80%82%3C%2FLINGO-BODY%3E