Commit b4b23c78 authored by Olivier Deprez's avatar Olivier Deprez Committed by TrustedFirmware Code Review
Browse files

Merge "docs: Update the FIP generation process using SP images" into integration

parents aa47d59d 745da67b
...@@ -13,6 +13,7 @@ folder SP_vendor_1 { ...@@ -13,6 +13,7 @@ folder SP_vendor_1 {
=== ===
UUID = xxx UUID = xxx
load_address = 0xaaa load_address = 0xaaa
owner = "Sip"
... ...
] ]
} }
...@@ -24,9 +25,26 @@ folder SP_vendor_2 { ...@@ -24,9 +25,26 @@ folder SP_vendor_2 {
=== ===
UUID = yyy UUID = yyy
load_address = 0xbbb load_address = 0xbbb
owner = "Plat"
] ]
} }
artifact tb_fw_config.dts [
tb_fw_config.dts
----
secure-partitions
===
spkg_1 UUID
spkg_1 load_address
---
spkg_2 UUID
spkg_2 load_address
---
...
===
...<rest of the nodes>
]
artifact config.json [ artifact config.json [
SP_LAYOUT.json SP_LAYOUT.json
=== ===
...@@ -41,31 +59,22 @@ artifact config.json [ ...@@ -41,31 +59,22 @@ artifact config.json [
control sp_mk_generator control sp_mk_generator
artifact fconf_node [
fconf_sp.dts
===
spkg_1 UUID
spkg_1 load_address
---
spkg_2 UUID
spkg_2 load_address
]
artifact sp_gen [ artifact sp_gen [
sp_gen.mk sp_gen.mk
=== ===
FDT_SOURCE = ... FDT_SOURCE = ...
SPTOOL_ARGS = ... SPTOOL_ARGS = ...
FIP_ARG = ... FIP_ARGS = ...
CRT_ARGS = ...
] ]
control dtc control dtc
control sptool control sptool
artifact FW_CONFIG artifact tb_fw_config.dtb
artifact spkg_1 [ artifact spkg_1 [
spkg_1.bin sp1.pkg
=== ===
<i>header</i> <i>header</i>
--- ---
...@@ -75,27 +84,56 @@ artifact spkg_1 [ ...@@ -75,27 +84,56 @@ artifact spkg_1 [
] ]
artifact spkg_2 [ artifact spkg_2 [
spkg_2.bin sp2.pkg
===
<i>header</i>
---
manifest
---
binary
]
artifact signed_tb_fw_config.dtb [
tb_fw_config.dtb (signed)
]
artifact signed_spkg_1 [
sp1.pkg (signed)
===
<i>header</i>
---
manifest
---
binary
---
<i>signature</I>
]
artifact signed_spkg_2 [
sp2.pkg (signed)
=== ===
<i>header</i> <i>header</i>
--- ---
manifest manifest
--- ---
binary binary
---
<i>signature</I>
] ]
control crttool
control fiptool control fiptool
artifact fip [ artifact fip [
fip.bin fip.bin
=== ===
FW_CONFIG.dtb tb_fw_config.dtb (signed)
--- ---
... ...
--- ---
SPKG1 sp1.pkg (signed & SiP owned)
--- ---
SPKG2 sp2.pkg (signed & Platform owned)
--- ---
... ...
] ]
...@@ -103,20 +141,27 @@ artifact fip [ ...@@ -103,20 +141,27 @@ artifact fip [
config.json .up.> SP_vendor_1 config.json .up.> SP_vendor_1
config.json .up.> SP_vendor_2 config.json .up.> SP_vendor_2
config.json --> sp_mk_generator config.json --> sp_mk_generator
sp_mk_generator --> fconf_node
sp_mk_generator --> sp_gen sp_mk_generator --> sp_gen
sp_gen --> fiptool
sp_gen --> cert_create
sp_gen --> sptool sp_gen --> sptool
sptool --> spkg_1 sptool --> spkg_1
sptool --> spkg_2 sptool --> spkg_2
fconf_node -down-> dtc spkg_1 --> cert_create
dtc --> FW_CONFIG spkg_2 --> cert_create
cert_create --> signed_spkg_1
cert_create --> signed_spkg_2
sp_gen --> fiptool tb_fw_config.dts --> dtc
FW_CONFIG --> fiptool dtc --> tb_fw_config.dtb
spkg_1 -down-> fiptool tb_fw_config.dtb --> cert_create
spkg_2 -down-> fiptool cert_create --> signed_tb_fw_config.dtb
signed_tb_fw_config.dtb --> fiptool
signed_spkg_1 -down-> fiptool
signed_spkg_2 -down-> fiptool
fiptool -down-> fip fiptool -down-> fip
@enduml @enduml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment