i.MX6ULZ HAB assertion under UUU

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

i.MX6ULZ HAB assertion under UUU

Jump to solution
734 Views
sjuengst
Contributor II

Hello,

I have a u-boot-imx image that gets "No HAB Events" when loaded from eMMC, but gets a HAB_INV_ASSERTION error when downloaded to RAM and run by UUU via the SDP protocol.

=> hab_status

Secure boot disabled

HAB Configuration: 0xf0, HAB State: 0x66

--------- HAB Event 1 -----------------
event data:
	0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00
	0x00 0x00 0x00 0x00 0x00 0x91 0x00 0x00
	0x00 0x00 0x02 0x58

STS = HAB_FAILURE (0x33)
RSN = HAB_INV_ASSERTION (0x0C)
CTX = HAB_CTX_ASSERT (0xA0)
ENG = HAB_ENG_ANY (0x00)

The memory it's complaining about at 0x910000 appears to contain a copy of the DCD.  I'm not surprised that it's asserting, as my CSF points to 0x877ff400:

[Header]
    Version = 4.1
    Security Configuration = Open
    Hash Algorithm = sha256
    Engine = SW
    Engine Configuration = 0
    Certificate Format = X509
    Signature Format = CMS

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

[Install CSFK]
    File = "crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem"

[Authenticate CSF]

[Unlock]
  Engine = SW
  Features = RNG

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

[Authenticate Data]
    Verification index = 2
    Blocks = 0x877ff400 0x0 0x75c00 "u-boot.imx"

 

Do I need to have a different CSF for use under UUU that includes the relocated DCD?

 

Thanks in advance,

 

Stu 

 

0 Kudos
1 Solution
726 Views
Yuri
NXP Employee
NXP Employee
0 Kudos
2 Replies
722 Views
sjuengst
Contributor II

Yes, that solved the issue.  Thank you!

Stu

0 Kudos
727 Views
Yuri
NXP Employee
NXP Employee
0 Kudos