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
9folder 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
16 owner = "Sip"
17 ...
18 ]
19}
20
21folder 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
28 owner = "Plat"
29 ]
30}
31
32artifact 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
48artifact 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
60control sp_mk_generator
61
62artifact sp_gen [
63 sp_gen.mk
64 ===
65 FDT_SOURCE = ...
66 SPTOOL_ARGS = ...
67 FIP_ARGS = ...
68 CRT_ARGS = ...
69]
70
71control dtc
72control sptool
73
74artifact tb_fw_config.dtb
75
76artifact spkg_1 [
77 sp1.pkg
78 ===
79 <i>header</i>
80 ---
81 manifest
82 ---
83 binary
84]
85
86artifact spkg_2 [
87 sp2.pkg
88 ===
89 <i>header</i>
90 ---
91 manifest
92 ---
93 binary
94]
95
96artifact signed_tb_fw_config.dtb [
97 tb_fw_config.dtb (signed)
98]
99
100artifact 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
112artifact signed_spkg_2 [
113 sp2.pkg (signed)
114 ===
115 <i>header</i>
116 ---
117 manifest
118 ---
119 binary
120 ---
121 <i>signature</I>
122]
123
124control crttool
125control fiptool
126
127artifact fip [
128 fip.bin
129 ===
130 tb_fw_config.dtb (signed)
131 ---
132 ...
133 ---
134 sp1.pkg  (signed & SiP owned)
135 ---
136 sp2.pkg  (signed & Platform owned)
137 ---
138 ...
139]
140
141config.json .up.> SP_vendor_1
142config.json .up.> SP_vendor_2
143config.json --> sp_mk_generator
144sp_mk_generator --> sp_gen
145sp_gen --> fiptool
146sp_gen --> cert_create
147sp_gen --> sptool
148
149sptool --> spkg_1
150sptool --> spkg_2
151
152spkg_1 --> cert_create
153spkg_2 --> cert_create
154cert_create --> signed_spkg_1
155cert_create --> signed_spkg_2
156
157tb_fw_config.dts --> dtc
158dtc --> tb_fw_config.dtb
159tb_fw_config.dtb --> cert_create
160cert_create --> signed_tb_fw_config.dtb
161
162signed_tb_fw_config.dtb --> fiptool
163signed_spkg_1 -down-> fiptool
164signed_spkg_2 -down-> fiptool
165fiptool -down-> fip
166
167@enduml
168