Imx HAB: Compute block value in CSF file

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

Imx HAB: Compute block value in CSF file

跳至解决方案
860 次查看
pierrelongebald
Contributor I

Hello everybody

I'm working on a imx6dl on a wandboard and i have issues with the HAB secure boot.

I'm using the wandboard SDK and it gives me a SPL and an u-boot, i guess i need to sign the SPL since it's the first part of code that is executed.

For creating the CSF, i need to write the "Blocks" field in "Authenticate data". Usually it's the mkimage part that tell these blocks but in this case it doesn't, so i need to find them. Mkimage gives me the data size (45056 Bytes), the load address (00907420) and the entry point (00908000), i tried to put them (in hexadecimal) in my CSF but i still have errors. Does someone knows how to compute these values?

Thanks

Pierre

标签 (2)
0 项奖励
1 解答
590 次查看
fabio_estevam
NXP Employee
NXP Employee
1 回复
591 次查看
fabio_estevam
NXP Employee
NXP Employee

Please try mainline U-Boot with this patch series applied:

[U-Boot] [PATCH 0/5] arm: imx6: Enable Secure Boot (HAB) with SPL Builds