summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/habv3-imx25-gencsf.h
blob: f4804fe63f19b7551d4c7141113ae812207fd2b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * This snippet can be included from a i.MX flash header configuration
 * file for generating signed images. The necessary keys/certificates
 * are expected in these config variables:
 *
 * CONFIG_HABV3_SRK_PEM
 * CONFIG_HABV3_SRK_PEM
 * CONFIG_HABV3_IMG_CRT_PEM
 */
super_root_key CONFIG_HABV3_SRK_PEM

hab [Header]
hab Version = 3.0
hab Security Configuration = Production
hab Hash Algorithm = SHA256
hab Engine = RTIC
hab Certificate Format = WTLS
hab Signature Format = PKCS1
hab UID = Generic
hab Code = 0x00

hab [Install SRK]
hab File = "not-used"

hab [Install CSFK]
hab File = CONFIG_HABV3_CSF_CRT_DER

hab [Authenticate CSF]
/* below is the command that unlock the access to the DryIce registers */

hab [Write Data]
hab Width = 4
hab Address Data = 0x53FFC03C 0xCA693569

hab [Install Key]
hab Verification index = 1
hab Target index = 2
hab File = CONFIG_HABV3_IMG_CRT_DER

hab [Authenticate Data]
hab Verification index = 2

hab_blocks