MX6UL: Secure boot - realloc(): invalid pointer Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MX6UL: Secure boot - realloc(): invalid pointer Error

261 Views
sreenivasu
Contributor I

Hello

 

I am trying to perform secure boot on MX6UL board, As per NXP documents , I am able to generate the Key infrastructure properly and able to create a csf.txt file without any errors.

But While running the command ./cst --o csf.bin --i csf.txt from cst folder/cst/linux64/bin 

 

I am getting the error 

realloc(): invalid pointer
Aborted (core dumped)

 

Help me out how to proceed further  and how to  use the IVT tool and further steps

 

 

Contents of csf.txt file 

[Header]
Version = 4.2
Hash Algorithm = SHA256
Engine = CAAM
Engine Configuration = 0
Certificate Format = X509
Signature Format = CMS

[Install SRK]
File=/home/vasu/cst/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"

[Authenticate CSF]

[Install Key]
Verification index = 0
Target Index = 2
File = "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"

[Authenticate Data]
Blocks = 0x877fb000 0x000 0x48000 "/home/vasu/Uboot/u-boot-tagged.imx"

 

Labels (1)
0 Kudos
2 Replies

247 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @sreenivasu 

 

Please refer to this thread, it seems to be the same issue:

https://community.nxp.com/t5/i-MX-Processors/Signing-error-in-i-MX8M-Mini-FIT-Image/m-p/1076430

 

Best regards.

 

Salas.

0 Kudos

185 Views
sreenivasu
Contributor I
HI
I have seen the thread, yes as per the thread I haven`t used the tilde(~) operator. I have mentioned the full file path in all place holders but still I am facing the same error
0 Kudos