imx6 HAB, Secure Boot of Eboot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6 HAB, Secure Boot of Eboot

1,568 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
2 回复数

1,407 次查看
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 项奖励
回复

1,407 次查看
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 项奖励
回复