i.MX8MM HAB DRAM limitation

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

i.MX8MM HAB DRAM limitation

Jump to solution
1,008 Views
urimashiach
Contributor III

Hello,

I'm using the HAB feature with the following configuration:

HW: i.MX8MM. 1G/2G DRAM

U-Boot: based on NXP tag rel_imx_5.4.24_2.1.0

 

The following message is generated, for the hab_status command, with 2G DRAM:

hab_status is HAB Configuration: 0xf0, HAB State: 0x66

No HAB Events Found!

The following message

 

The following message is generated, for the hab_status command, with 1G DRAM:

Secure boot disabled

HAB Configuration: 0x00, HAB State: 0x00
No HAB Events Found!

 

Is there a DRAM limitation?

What is the meaning of the HAB configuration and HAB state values?

 

Please let me know if additional information is required.

 

Thanks,

Uri

Tags (1)
0 Kudos
1 Solution
986 Views
Yuri
NXP Employee
NXP Employee

@urimashiach 
Hello,

  the "HAB Configuration: 0x00, HAB State: 0x00" may mean an overlap
the HAB persistent memory ( writing somewhat to address 0x908040, where HAB
will write the HAB status and events).

i.MX ROMs Log Events

https://www.nxp.com/webapp/Download?colCode=AN12853&location=null

 

Regards,
Yuri.

View solution in original post

0 Kudos
3 Replies
994 Views
urimashiach
Contributor III

Hello Yuri,
Thank you for your replay.

The following state is described in the document:

hab_status is HAB Configuration: 0xf0, HAB State: 0x66

Please describe the meaning of the following state:
HAB Configuration: 0x00, HAB State: 0x00

Thanks,

Uri

0 Kudos
987 Views
Yuri
NXP Employee
NXP Employee

@urimashiach 
Hello,

  the "HAB Configuration: 0x00, HAB State: 0x00" may mean an overlap
the HAB persistent memory ( writing somewhat to address 0x908040, where HAB
will write the HAB status and events).

i.MX ROMs Log Events

https://www.nxp.com/webapp/Download?colCode=AN12853&location=null

 

Regards,
Yuri.

0 Kudos
999 Views
Yuri
NXP Employee
NXP Employee

@urimashiach 
Hello,

   Please use HAB4_API document in the CST package, describing the
details of the HAB API. In particular, U-boot "HAB Configuration: 0xf0, HAB State: 0x66"
means:

HAB_STATE_NONSECURE 0x66 Non-secure state
HAB_CFG_OPEN 0xf0 Non-secure IC

Regards,
Yuri.

0 Kudos