AnsweredAssumed Answered

SecureBoot with mfg_tools issues with signature.

Question asked by pracette@limitrop.com on Dec 3, 2018
Latest reply on Dec 10, 2018 by igorpadykov

Hello,

I've been following the guide AN4581, but I'm still getting issues when uploading my signed u-boot.

We are using a imx6 duallite on a custom board.

Here are the output of the commands to know the addresses and offsets:

 

od -X -N 0x20 {file}
0000000 402000d1 17800000 00000000 177ff42c
0000020 177ff420 177ff400 17875000 00000000
0000040

 

od -x -j 0x2c -N 4 --endian=big {file}
0000054 d202 f040
0000060

 

Hab status is reporting : 

--------- HAB Event 1 -----------------
event data:
0xdb 0x00 0x24 0x41 0x33 0x18 0xc0 0x00
0xca 0x00 0x1c 0x00 0x02 0xc5 0x00 0x00
0x00 0x00 0x0d 0x44 0x17 0x7f 0xf4 0x00
0x00 0x07 0x5c 0x00 0x00 0x91 0x00 0x00
0x00 0x00 0x02 0xf8

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_SIGNATURE (0x18)
CTX = HAB_CTX_COMMAND (0xC0)
ENG = HAB_ENG_ANY (0x00)

 

Attached you will find my my signing scripts, my csf file as well as the full output from hab_status.

I have a feeling the offset in mod_4_mfgtool is wrong but I don't know where to get it from.

 

Thanks for you help

Patrick

Attachments

Outcomes