fip-secure-partitions.puml 2.1 KB

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