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 |
| 16 | ... |
| 17 | ] |
| 18 | } |
| 19 | |
| 20 | folder SP_vendor_2 { |
| 21 | artifact sp_binary_2 |
| 22 | artifact sp_manifest_2 [ |
| 23 | sp_manifest_2 |
| 24 | === |
| 25 | UUID = yyy |
| 26 | load_address = 0xbbb |
| 27 | ] |
| 28 | } |
| 29 | |
| 30 | artifact config.json [ |
| 31 | SP_LAYOUT.json |
| 32 | === |
| 33 | path to sp_binary_1 |
| 34 | path to sp_manifest_1 |
| 35 | --- |
| 36 | path to sp_binary_2 |
| 37 | path to sp_manifest_2 |
| 38 | --- |
| 39 | ... |
| 40 | ] |
| 41 | |
| 42 | control sp_mk_generator |
| 43 | |
| 44 | artifact fconf_node [ |
| 45 | fconf_sp.dts |
| 46 | === |
| 47 | spkg_1 UUID |
| 48 | spkg_1 load_address |
| 49 | --- |
| 50 | spkg_2 UUID |
| 51 | spkg_2 load_address |
| 52 | ] |
| 53 | |
| 54 | artifact sp_gen [ |
| 55 | sp_gen.mk |
| 56 | === |
| 57 | FDT_SOURCE = ... |
| 58 | SPTOOL_ARGS = ... |
| 59 | FIP_ARG = ... |
| 60 | ] |
| 61 | |
| 62 | control dtc |
| 63 | control sptool |
| 64 | |
| 65 | artifact FW_CONFIG |
| 66 | |
| 67 | artifact spkg_1 [ |
| 68 | spkg_1.bin |
| 69 | === |
| 70 | <i>header</i> |
| 71 | --- |
| 72 | manifest |
| 73 | --- |
| 74 | binary |
| 75 | ] |
| 76 | |
| 77 | artifact spkg_2 [ |
| 78 | spkg_2.bin |
| 79 | === |
| 80 | <i>header</i> |
| 81 | --- |
| 82 | manifest |
| 83 | --- |
| 84 | binary |
| 85 | ] |
| 86 | |
| 87 | control fiptool |
| 88 | |
| 89 | artifact fip [ |
| 90 | fip.bin |
| 91 | === |
| 92 | FW_CONFIG.dtb |
| 93 | --- |
| 94 | ... |
| 95 | --- |
| 96 | SPKG1 |
| 97 | --- |
| 98 | SPKG2 |
| 99 | --- |
| 100 | ... |
| 101 | ] |
| 102 | |
| 103 | config.json .up.> SP_vendor_1 |
| 104 | config.json .up.> SP_vendor_2 |
| 105 | config.json --> sp_mk_generator |
| 106 | sp_mk_generator --> fconf_node |
| 107 | sp_mk_generator --> sp_gen |
| 108 | |
| 109 | sp_gen --> sptool |
| 110 | sptool --> spkg_1 |
| 111 | sptool --> spkg_2 |
| 112 | |
| 113 | fconf_node -down-> dtc |
| 114 | dtc --> FW_CONFIG |
| 115 | |
| 116 | sp_gen --> fiptool |
| 117 | FW_CONFIG --> fiptool |
| 118 | spkg_1 -down-> fiptool |
| 119 | spkg_2 -down-> fiptool |
| 120 | fiptool -down-> fip |
| 121 | |
| 122 | @enduml |