AnsweredAssumed Answered

Imx HAB: Compute block value in CSF file

Question asked by Pierre Longebald on Nov 28, 2016
Latest reply on Nov 28, 2016 by Fabio Estevam

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?