imx6 HAB, Secure Boot of Eboot

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

imx6 HAB, Secure Boot of Eboot

1,079 Views
reginaldstjohn
Contributor III

We have an imx6 Quad processor running WEC2013 which uses Eboot as its bootloader.  We have spend several days trying to understand HAB and how we would bet it to work with Eboot. From searching the forums it seems that some people have successfully done this but no details were provided.

So with that background we have a couple of questions to maybe get us a bit further along.

1. ...

We have two options for Eboot; Eboot.bin is an image with several chunks of which chunk 4 contains the IVT, DCD and eboot image.  We also have an Eboot.nb0 which is a fully expanded and zero filled file that mimics the image as written to FLASH (We are booting from EMMC flash)

Any suggestions as to which one would be easier to make work with HAB?

2.....

Does the HAB Prom validate the image from its boot media or after it has been loaded into RAM?  We are trying to understand what address to put into the CFS files in the Blocks Section.

It seems that in EMMC the address is 0xA8101400 where the part of Eboot with the IVT, DCD, and Image gets written.  After it gets put in RAM the address 0x00907400 seems to be where the data goes.

3....

Regardless of address in the Block section (Flash or RAM), if we point it to the beginning of the IVT can we have an offset of 0?  Why would someone need an offset if they can point the Address to the beginning of the signed image?

Maybe we are missing something fundamental so please point us in the right direction.

Thank you for your help

Labels (1)
Tags (2)
0 Kudos
2 Replies

918 Views
reginaldstjohn
Contributor III

to igorpadykov,

We are well aware of the document you linked to. As I mentioned in my original post we have extensively studied what we can find about secure boot and still have the questions we listed.  I understand that NXP may not have official support or help for exactly what we want to do but was hoping someone in the community would have some understanding that we do not have so as to help us.

Regardless of what we are trying to sign I believe that some of our questions can be answered.

Thank you for your time.

0 Kudos

918 Views
igorpadykov
NXP Employee
NXP Employee

Hi Randy

secure boot is described in AN4581 Secure Boot on i.MX50, i.MX53, i.MX 6 and i.MX7 Series using HABv4

https://www.nxp.com/docs/en/application-note/AN4581.pdf 

Unfortunately nxp does not support it for wec, may be recommended to apply for

help to third parties, like iwavesystems who develops and support wec software for i.MX processors.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos