AnsweredAssumed Answered

HAB authentication Faild

Question asked by Adrian Dusinski on Jul 9, 2020
Latest reply on Jul 15, 2020 by Yuri Muhin

I upload signed uboot image to device, program SRK and closed the device with trustfence.

After boot I get error:

 

Loading file 'boot.scr' to addr 0x8000000...

Done

   Autenticating image from DDR location 0x808000000... FAILED!

Secure boot enabled

HAB Configuration: 0xcc, HAB State:0x99

 

I upload my zimage to ram and check hab_auth_img 80a000000 0x0400 and again get Autenticating image from DDR

location 0x808000000... FAILED!

 

HAB Event 1

event data:

   0xdv 0x00 0x08 0x42 0x33 0x29 0xe1 0x00

HAB Event 1

event data:

   0xdb 0x00 0x2c 0x42 0x33 0x30 0xe1 0x1e

   0x00 0x00 0x00 0x00 0x80 0x00 0xb3 0x00

   0x80 0x00 0x20 0x01 0x00 0x00 0x00 0x20

   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

   0x00 0x00 0x00 0x08 0x00 0x00 0x00 0x00

   0x00 0x00 0x00 0x00

 

Where I can find information about this event? In Secure Boot on i.MX 50, i.MX 53, i.MX 6 and i.MX 7 Series using HABv4?

 

It's mean that SRK public key saved in device and private key in image do not match?

Regards,

Adrian

 

Update:

Ok, I try boot secure images with "open device" without secure boot enabled.

After loading boot.src to ram i get Bad data crc.

 

I try the same images without trustfence and it's works.

Why it happens?

Outcomes