Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 1 | /' |
2 | ' Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. | ||||
3 | ' | ||||
4 | ' SPDX-License-Identifier: BSD-3-Clause | ||||
5 | '/ | ||||
6 | |||||
7 | @startuml | ||||
8 | |||||
9 | folder SP_vendor_1 { | ||||
10 | artifact sp_binary_1 | ||||
11 | artifact sp_manifest_1 [ | ||||
12 | sp_manifest_1 | ||||
13 | === | ||||
14 | UUID = xxx | ||||
15 | load_address = 0xaaa | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 16 | owner = "Sip" |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 17 | ... |
18 | ] | ||||
19 | } | ||||
20 | |||||
21 | folder SP_vendor_2 { | ||||
22 | artifact sp_binary_2 | ||||
23 | artifact sp_manifest_2 [ | ||||
24 | sp_manifest_2 | ||||
25 | === | ||||
26 | UUID = yyy | ||||
27 | load_address = 0xbbb | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 28 | owner = "Plat" |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 29 | ] |
30 | } | ||||
31 | |||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 32 | artifact tb_fw_config.dts [ |
33 | tb_fw_config.dts | ||||
34 | ---- | ||||
35 | secure-partitions | ||||
36 | === | ||||
37 | spkg_1 UUID | ||||
38 | spkg_1 load_address | ||||
39 | --- | ||||
40 | spkg_2 UUID | ||||
41 | spkg_2 load_address | ||||
42 | --- | ||||
43 | ... | ||||
44 | === | ||||
45 | ...<rest of the nodes> | ||||
46 | ] | ||||
47 | |||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 48 | artifact config.json [ |
49 | SP_LAYOUT.json | ||||
50 | === | ||||
51 | path to sp_binary_1 | ||||
52 | path to sp_manifest_1 | ||||
53 | --- | ||||
54 | path to sp_binary_2 | ||||
55 | path to sp_manifest_2 | ||||
56 | --- | ||||
57 | ... | ||||
58 | ] | ||||
59 | |||||
60 | control sp_mk_generator | ||||
61 | |||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 62 | artifact sp_gen [ |
63 | sp_gen.mk | ||||
64 | === | ||||
65 | FDT_SOURCE = ... | ||||
66 | SPTOOL_ARGS = ... | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 67 | FIP_ARGS = ... |
68 | CRT_ARGS = ... | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 69 | ] |
70 | |||||
71 | control dtc | ||||
72 | control sptool | ||||
73 | |||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 74 | artifact tb_fw_config.dtb |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 75 | |
76 | artifact spkg_1 [ | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 77 | sp1.pkg |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 78 | === |
79 | <i>header</i> | ||||
80 | --- | ||||
81 | manifest | ||||
82 | --- | ||||
83 | binary | ||||
84 | ] | ||||
85 | |||||
86 | artifact spkg_2 [ | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 87 | sp2.pkg |
88 | === | ||||
89 | <i>header</i> | ||||
90 | --- | ||||
91 | manifest | ||||
92 | --- | ||||
93 | binary | ||||
94 | ] | ||||
95 | |||||
96 | artifact signed_tb_fw_config.dtb [ | ||||
97 | tb_fw_config.dtb (signed) | ||||
98 | ] | ||||
99 | |||||
100 | artifact signed_spkg_1 [ | ||||
101 | sp1.pkg (signed) | ||||
102 | === | ||||
103 | <i>header</i> | ||||
104 | --- | ||||
105 | manifest | ||||
106 | --- | ||||
107 | binary | ||||
108 | --- | ||||
109 | <i>signature</I> | ||||
110 | ] | ||||
111 | |||||
112 | artifact signed_spkg_2 [ | ||||
113 | sp2.pkg (signed) | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 114 | === |
115 | <i>header</i> | ||||
116 | --- | ||||
117 | manifest | ||||
118 | --- | ||||
119 | binary | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 120 | --- |
121 | <i>signature</I> | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 122 | ] |
123 | |||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 124 | control crttool |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 125 | control fiptool |
126 | |||||
127 | artifact fip [ | ||||
128 | fip.bin | ||||
129 | === | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 130 | tb_fw_config.dtb (signed) |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 131 | --- |
132 | ... | ||||
133 | --- | ||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 134 | sp1.pkg (signed & SiP owned) |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 135 | --- |
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 136 | sp2.pkg (signed & Platform owned) |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 137 | --- |
138 | ... | ||||
139 | ] | ||||
140 | |||||
141 | config.json .up.> SP_vendor_1 | ||||
142 | config.json .up.> SP_vendor_2 | ||||
143 | config.json --> sp_mk_generator | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 144 | sp_mk_generator --> sp_gen |
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 145 | sp_gen --> fiptool |
146 | sp_gen --> cert_create | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 147 | sp_gen --> sptool |
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 148 | |
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 149 | sptool --> spkg_1 |
150 | sptool --> spkg_2 | ||||
151 | |||||
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 152 | spkg_1 --> cert_create |
153 | spkg_2 --> cert_create | ||||
154 | cert_create --> signed_spkg_1 | ||||
155 | cert_create --> signed_spkg_2 | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 156 | |
Manish V Badarkhe | 34cc639 | 2020-11-25 21:08:40 +0000 | [diff] [blame] | 157 | tb_fw_config.dts --> dtc |
158 | dtc --> tb_fw_config.dtb | ||||
159 | tb_fw_config.dtb --> cert_create | ||||
160 | cert_create --> signed_tb_fw_config.dtb | ||||
161 | |||||
162 | signed_tb_fw_config.dtb --> fiptool | ||||
163 | signed_spkg_1 -down-> fiptool | ||||
164 | signed_spkg_2 -down-> fiptool | ||||
Olivier Deprez | ecb2fe5 | 2020-04-02 15:38:02 +0200 | [diff] [blame] | 165 | fiptool -down-> fip |
166 | |||||
167 | @enduml |