blob: 9457e326aad45c8fe4204482c27e8edf818bb25c [file] [log] [blame]
Olivier Deprezecb2fe52020-04-02 15:38:02 +02001/'
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
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000016 owner = "Sip"
Olivier Deprezecb2fe52020-04-02 15:38:02 +020017 ...
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
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000028 owner = "Plat"
Olivier Deprezecb2fe52020-04-02 15:38:02 +020029 ]
30}
31
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000032artifact 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 Deprezecb2fe52020-04-02 15:38:02 +020048artifact 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
Olivier Deprezecb2fe52020-04-02 15:38:02 +020062artifact sp_gen [
63 sp_gen.mk
64 ===
65 FDT_SOURCE = ...
66 SPTOOL_ARGS = ...
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000067 FIP_ARGS = ...
68 CRT_ARGS = ...
Olivier Deprezecb2fe52020-04-02 15:38:02 +020069]
70
71control dtc
72control sptool
73
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000074artifact tb_fw_config.dtb
Olivier Deprezecb2fe52020-04-02 15:38:02 +020075
76artifact spkg_1 [
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000077 sp1.pkg
Olivier Deprezecb2fe52020-04-02 15:38:02 +020078 ===
79 <i>header</i>
80 ---
81 manifest
82 ---
83 binary
84]
85
86artifact spkg_2 [
Manish V Badarkhe34cc6392020-11-25 21:08:40 +000087 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)
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200114 ===
115 <i>header</i>
116 ---
117 manifest
118 ---
119 binary
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000120 ---
121 <i>signature</I>
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200122]
123
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000124control crttool
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200125control fiptool
126
127artifact fip [
128 fip.bin
129 ===
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000130 tb_fw_config.dtb (signed)
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200131 ---
132 ...
133 ---
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000134 sp1.pkg (signed & SiP owned)
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200135 ---
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000136 sp2.pkg (signed & Platform owned)
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200137 ---
138 ...
139]
140
141config.json .up.> SP_vendor_1
142config.json .up.> SP_vendor_2
143config.json --> sp_mk_generator
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200144sp_mk_generator --> sp_gen
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000145sp_gen --> fiptool
146sp_gen --> cert_create
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200147sp_gen --> sptool
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000148
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200149sptool --> spkg_1
150sptool --> spkg_2
151
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000152spkg_1 --> cert_create
153spkg_2 --> cert_create
154cert_create --> signed_spkg_1
155cert_create --> signed_spkg_2
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200156
Manish V Badarkhe34cc6392020-11-25 21:08:40 +0000157tb_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
Olivier Deprezecb2fe52020-04-02 15:38:02 +0200165fiptool -down-> fip
166
167@enduml