facing syntax error while signing image on hsm

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

facing syntax error while signing image on hsm

508 次查看
pawar_123_y
Contributor II

Hello,

I am signing imx-boot-imx8qxprom5620a1-2G.bin-flash using./cst -i u-boot.csf -o out.bin command facing
error: line 40: syntax error
Undefined error

csf file:

[Header]
Version = 4.1
#Security Configuration = Open
Hash Algorithm = SHA256
Engine Configuration = 0
Certificate Format = X509
Signature Format = CMS
Engine = Any


[Install SRK]
File ="../../crts/SRK_1_2_3_4_table.bin"
Source index = 0
Hash Algorithm = SHA256

[Install CSFK]
File ="../../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"
Certificate Format = X509

[Authenticate CSF]
Engine = DCP
Engine Configuration = 0
Signature Format = CMS

[Unlock]
Engine = CAAM
Features = RNG

[Install Key]
# Key slot index used to authenticate the key to be installed
Verification index = 0
# Key to install
Target index = 2
file ="../../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"
Certificate Format = X509

[Authenticate Data]
Verification index = 2
Engine = DCP
Blocks = 0x1200000 0x0 0x1000 “./imx-boot-imx8qxprom5620a1-2G.bin-flash”
Signature Format = CMS

 

Please guide me on this error.

 

 

0 项奖励
1 回复

496 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

check error: line 40: syntax error, you could input error config.

0 项奖励