What should I set SEC_CSF_HEADER Header_Version to?

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

What should I set SEC_CSF_HEADER Header_Version to?

528 次查看
rshipman
Contributor V

In the release package for the RT1020, in the folder:

Flashloader_RT1020_1.0_GA/Tools/bd_file/imx10xx

there are various .bd files.

Some of these are for creating a bootable image that is either unsigned, signed or encrypted.

In the signed and encrypted versions there is a section called:

section (SEC_CSF_HEADER;

In it is the variable Header_Version, which is set to 4.2 (signed files) or 4.3 (encrypted files):

Header_Version="4.2",

or

Header_Version="4.3",

1. Why are they different?

2. Where do we get this version from?

3. Or what should we be setting to?

4. Is there a document that describes the difference between 4.2 and 4.3 etc?

Many thanks.

标签 (1)
0 项奖励
1 回复

474 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi rshipman ,

    Please read these document at first, I think you will be more clear about it:

1. RT1020 flashloader:

https://www.nxp.com/webapp/Download?colCode=Flashloader_RT1020_1.0_GA&appType=license 

i.MX MCU Manufacturing User's Guide.pdf located in folder:

Flashloader_RT1020_1.0_GA\doc

You will find these information:

pastedImage_2.png

the version is the HAB library version.

2.Security Application Note AN12079

  From this AN, you will find signed is using the 4.2. 4.3 is the encrypted mode.

Now, answer you questions:

1). Why are they different?

Answer: yes, different HAB version, and different mode, signed is signed, secure is secure, please check the AN12079.

2). Where do we get this version from?

Answer: it used to choose different HAB version, you don't need to know more details about it, you just need to know how to use it.

3). Or what should we be setting to?

Answer: You can refer to the AN12079 to do the detail settings. The flashloader also give the different bd file, you can read it, it will be more clear:

Flashloader_RT1020_1.0_GA\Tools\bd_file\imx10xx

pastedImage_3.png

4). Is there a document that describes the difference between 4.2 and 4.3 etc?

Answer: please check the AN12079.

Wish it helps you!

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励