Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 1 | @startuml |
| 2 | |
| 3 | box "BL1 common code" |
| 4 | participant bl1_main |
| 5 | participant bl_common |
| 6 | end box |
| 7 | |
| 8 | box "arm platform code" #LightBlue |
| 9 | participant fvp_bl1_setup |
| 10 | participant arm_bl1_setup |
| 11 | participant arm_io_storage |
| 12 | end box |
| 13 | |
| 14 | box "platform common code" |
| 15 | participant plat_bl1_common |
| 16 | participant fconf |
| 17 | end box |
| 18 | |
| 19 | bl1_main -> fvp_bl1_setup : bl1_platform_setup() |
| 20 | fvp_bl1_setup -> arm_bl1_setup : arm_bl1_platform_setup() |
| 21 | arm_bl1_setup -> arm_io_storage : plat_arm_io_setup() |
| 22 | note over arm_io_storage : register and setup fip |
| 23 | arm_bl1_setup -> fconf : fconf_load_config() |
| 24 | activate fconf |
| 25 | note over fconf |
| 26 | create and populate an |
Louis Mayencourt | 13a97a2 | 2020-03-27 11:02:05 +0000 | [diff] [blame] | 27 | image_desc_t for FW_CONFIG |
Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 28 | end note |
Louis Mayencourt | 13a97a2 | 2020-03-27 11:02:05 +0000 | [diff] [blame] | 29 | fconf -> bl_common : load_auth_image(FW_CONFIG_ID, &image_info) |
Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 30 | activate bl_common |
| 31 | note over bl_common |
| 32 | load and auth image from fip |
| 33 | with info from plat_io_policy |
| 34 | end note |
| 35 | bl_common -> arm_io_storage |
| 36 | arm_io_storage -> fconf: FCONF_GET_PROPERTY(arm, arm_io_policies, tb_fw_cfg) |
| 37 | note over fconf: use staticaly defined policies in bl1 |
| 38 | fconf <- bl_common : image_info |
| 39 | deactivate bl_common |
| 40 | note over fconf : get tb_fw_config_dtb from image_info |
| 41 | fconf -> plat_bl1_common : bl1_plat_get_image_desc(BL2_IMAGE_ID) |
| 42 | fconf <- plat_bl1_common : BL2_IMAGE_DESC |
| 43 | note over fconf |
| 44 | set ep_info.args.arg0 of BL2_IMAGE_DESC |
Louis Mayencourt | 13a97a2 | 2020-03-27 11:02:05 +0000 | [diff] [blame] | 45 | to FW_CONFIG base address |
Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 46 | end note |
| 47 | arm_bl1_setup <- fconf |
| 48 | deactivate fconf |
| 49 | |
| 50 | == load & auth, prepare and jump to BL2 == |
| 51 | |
| 52 | @enduml |