Imx HAB: Compute block value in CSF file

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

Imx HAB: Compute block value in CSF file

Jump to solution
846 Views
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

Labels (2)
0 Kudos
1 Solution
576 Views
fabio_estevam
NXP Employee
NXP Employee
1 Reply
577 Views
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