summaryrefslogtreecommitdiff
path: root/config/tfa-base.yaml
blob: 5d6197295a792a00dde3965bdae7147ac0b971b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2022, Arm Limited.
# SPDX-License-Identifier: MIT

%YAML 1.2
---
description: >-
  Trusted Firmware for A-class CPUs. This provides a baseline configuration that
  can be customized by higher layers.

build:
  tfa:
    repo:
      remote: https://git.linaro.org/people/vincent.guittot/trusted-firmware-a.git
      revision: scmi-over-ffa

    toolchain: aarch64-none-elf-

    params:
      PLAT: fvp
      DEBUG: 0
      LOG_LEVEL: 40
      ARM_DISABLE_TRUSTED_WDOG: 1
      FVP_HW_CONFIG_DTS: fdts/fvp-base-gicv3-psci-1t.dts

    build:
      # tfa has makefile dependency bug that makes parallel make for more than
      # ~8 jobs unreliable, so limit it to 8.
      - "make BUILD_BASE=${param:builddir} ${param:join_equal} -j$$(( ${param:jobs} < 8 ? ${param:jobs} : 8 )) all fip"

    clean:
      - make BUILD_BASE=${param:builddir} realclean

    artifacts:
      BL1: ${param:builddir}/fvp/release/bl1.bin
      BL2: ${param:builddir}/fvp/release/bl2.bin
      BL31: ${param:builddir}/fvp/release/bl31.bin
      FIP: ${param:builddir}/fvp/release/fip.bin