1. 21 May, 2018 1 commit
    • Soby Mathew's avatar
      FVP: Add dummy configs for BL31, BL32 and BL33 · 1d71ba14
      Soby Mathew authored
      
      
      This patch adds soc_fw_config, tos_fw_config and nt_fw_config to the FVP.
      The config files are placeholders and do not have any useful bindings
      defined. The tos_fw_config is packaged in FIP and loaded by BL2 only
      if SPD=tspd. The load address of these configs are specified in tb_fw_config
      via new bindings defined for these configs. Currently, in FVP, the
      soc_fw_config and tos_fw_config is loaded in the page between BL2_BASE
      and ARM_SHARED_RAM. This memory was typically used for BL32 when
      ARM_TSP_RAM_LOCATION=tsram but since we cannot fit BL32 in that
      space anymore, it should be safe to use this memory for these configs.
      There is also a runtime check in arm_bl2_dyn_cfg_init() which ensures
      that this overlap doesn't happen.
      
      The previous arm_dyn_get_hwconfig_info() is modified to accept configs
      other than hw_config and hence renamed to arm_dyn_get_config_load_info().
      The patch also corrects the definition of ARM_TB_FW_CONFIG_LIMIT to be
      BL2_BASE.
      
      Change-Id: I03a137d9fa1f92c862c254be808b8330cfd17a5a
      Signed-off-by: default avatarSoby Mathew <soby.mathew@arm.com>
      1d71ba14
  2. 18 May, 2018 3 commits
    • Soby Mathew's avatar
      Dynamic cfg: Enable support on CoT for other configs · 17bc617e
      Soby Mathew authored
      
      
      This patch implements support for adding dynamic configurations for
      BL31 (soc_fw_config), BL32 (tos_fw_config) and BL33 (nt_fw_config). The
      necessary cert tool support and changes to default chain of trust are made
      for these configs.
      
      Change-Id: I25f266277b5b5501a196d2f2f79639d838794518
      Signed-off-by: default avatarSoby Mathew <soby.mathew@arm.com>
      17bc617e
    • Soby Mathew's avatar
      FVP: Enable capability to disable auth via dynamic config · 6e79f9fd
      Soby Mathew authored
      
      
      This patch adds capability to FVP to disable authentication dynamically
      via the `disable_auth` property in TB_FW_CONFIG. Both BL1 and BL2 parses
      the TB_FW_CONFIG for the `disable_auth` property and invokes the
      `load_dyn_disable_auth()` API to disable authentication if the
      property is set to 1. The DYN_DISABLE_AUTH is enabled by default for
      FVP as it is a development platform. Note that the TB_FW_CONFIG has to
      be authenticated by BL1 irrespective of these settings.
      
      The arm_bl2_dyn_cfg_init() is now earlier in bl2_plat_preload_setup()
      rather than in bl2_platform_setup() as we need to get the value of
      `disable_auth` property prior to authentication of any image by BL2.
      
      Change-Id: I734acd59572849793e5020ec44c6ac51f654a4d1
      Signed-off-by: default avatarSoby Mathew <soby.mathew@arm.com>
      6e79f9fd
    • Soby Mathew's avatar
      Allow disabling authentication dynamically · 209a60cc
      Soby Mathew authored
      
      
      This patch allows platforms to dynamically disable authentication of
      images during cold boot. This capability is controlled via the
      DYN_DISABLE_AUTH build flag and is only meant for development
      purposes.
      
      Change-Id: Ia3df8f898824319bb76d5cc855b5ad6c3d227260
      Signed-off-by: default avatarSoby Mathew <soby.mathew@arm.com>
      209a60cc
  3. 17 May, 2018 30 commits
  4. 16 May, 2018 6 commits