AnsweredAssumed Answered

example CSF triggers syntax error

Question asked by Antonio Santagiuliana on Mar 3, 2020
Latest reply on Mar 4, 2020 by Yuri Muhin

Hello, I copied the csf example file from this document https://www.nxp.com/docs/en/application-note/AN4581.pdf at page 35, G.3. Signing the image , calling it csf-uboot.

I placed the file in a folder called "cst" , together with the cst binary executable. This folder is a subfolder of "release/" folder, so at same level as /keys subfolder.

I run the cst binary with command "./cst --o csf-uboot.bin --i csf-uboot" ( It is cst 3.3 )

It raises error 

error: line 11: syntax error
Undefined error

Line 11 is : 

File = “../crts/SRK_1_2_3_4_table.bin”

I verified and the file SRK_1_2_3_4_table.bin is there, in the folder crts.

Why is this error raised ?

 

Here are the first 12 lines of the csf-uboot file :

 

#Illustrative Command Sequence File Description
[Header]
Version = 4.2
Hash Algorithm = sha256
Engine = ANY
Engine Configuration = 0
Certificate Format = X509
Signature Format = CMS

 

[Install SRK]
File = “../crts/SRK_1_2_3_4_table.bin”
Source index = 0
# Index of the key location in the SRK table to be installed

...

thank you

Outcomes