summaryrefslogtreecommitdiff
path: root/platforms.config
blob: 11455c665380a0e93ffecb8ff158d8f9bb7c2735 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Platform build configurations for Linaro EDK2 builds
# ====================================================
# The configuration file format is extremely simplistic:
# - Each platform has a short name.
# - A platform entry starts by the short name held in square brackets, '[]'
# - Within each entry, all options are described in a NAME=VALUE scheme,
#   with the name being whatever comes before the first '=' on the line,
#   and the value being everything that comes after it.
#
# Mandatory options:
# - LONGNAME		A more descriptive name of the platform.
# - DSC			Pointer to the EDK2 build description file. (The
#			pandaboard is excused, all other ports must have this.)
# - ARCH		String describing the architecture to build for.
#			Currently supported are AARCH32 and AARCH64.
# - UEFI_BIN		Name of executable image produced.
# - UEFI_IMAGE_DIR	Build output directory name, relative to 'Build'.
#
# Options for Trusted OS
# Note that OP-TEE (https://github.com/OP-TEE/optee_os) is the only currently
# supported Trusted OS
# - BUILD_TOS		Set to "yes" if the build should automatically build
#   			Trusted OS, mainly for ARM Trusted Firmware.
#			If this is set, you must also set ATF_SPD!
#			Else we will not know which specific Trusted OS to
#			build.
#			Set to "debug" to create a debug build.
# - TOS_PLATFORM	Platform name for Trusted OS build, if
#   			different from ARM Trusted Firmware platform
#			or UEFI platform name.
# - TOS_PLATFORM_FLAVOR	If a core platform has multiple flavors, specify which
#			flavor here.
#
# Options for ARM Trusted Firmware platforms
# - BUILD_ATF		Set to "yes" if the build should automatically build
#   			ARM Trusted Firmware and a fip containing UEFI image.
#			Set to "debug" to create a debug build.
# - ATF_PLATFORM	Platform name for ARM Trusted Firmware build, if
#   			different from UEFI platform name.
# - SCP_BIN		SCP image to pass to ARM Trusted Firmware.
# - TOS_BIN		Trusted OS image to pass to ARM Trusted Firmware.
#			The path is relative to
#			$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/.
#			To actually build the Trusted OS, you must also set
#			ATF_SPD.
# - ATF_SPD		Name of Secure Payload Dispatcher
#			To actually build the Trusted OS, you must also set
#			TOS_BIN.
#
# Optional options:
# - BUILDFLAGS		Any special flags you want to pass to the build command.
# - ATF_BUILDFLAGS	Any special flags you want to pass to the ARM Trusted
#			Firmware build command.
# - TOS_BUILDFLAGS	Any special flags you want to pass to the Trusted OS
#			build command.
# - EXTRA_FILES		Any additional files to be copied to output dir.
# - PREBUILD_CMDS	Any commands you want to execute before the build step.
# - POSTBUILD_CMDS	Any commands you want to execute after the build step.
# - PACKAGES_PATH	Additional directories to search for packages under.
# - INF                 Point to a .inf (in addition to a .dsc) in order to
#                       build a single component (standalone driver/app).
#

# ARM FVP BASE AEMv8-A model
[fvp]
LONGNAME=aarch64 FVP RTSM
DSC=Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
BUILDFLAGS=-D EDK2_ENABLE_SMSC_91X=1 -D EDK2_ENABLE_PL111=1
ARCH=AARCH64
BUILD_ATF=yes
UEFI_BIN=FVP_AARCH64_EFI.fd
UEFI_IMAGE_DIR=ArmVExpress-FVP-AArch64

[overdrive]
LONGNAME=AMD Overdrive
BUILDFLAGS=-D DO_CAPSULE=1
DSC=Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
ARCH=AARCH64
UEFI_BIN=STYX_ROM.fd
UEFI_IMAGE_DIR=Overdrive
EXTRA_FILES=STYXFIRMWAREUPDATECAPSULEFMPPKCS7.Cap

[cello]
LONGNAME=LeMaker Cello
DSC=Platform/LeMaker/CelloBoard/CelloBoard.dsc
ARCH=AARCH64
UEFI_BIN=STYX_ROM.fd
UEFI_IMAGE_DIR=Cello

[d03]
LONGNAME=Hisilicon D03
DSC=Platform/Hisilicon/D03/D03.dsc
ARCH=AARCH64
UEFI_BIN=D03.fd
UEFI_IMAGE_DIR=D03
EXTRA_FILES=D03FIRMWAREUPDATECAPSULEFMPPKCS7.Cap

[d05]
LONGNAME=HiSilicon D05
DSC=Platform/Hisilicon/D05/D05.dsc
ARCH=AARCH64
UEFI_BIN=D05.fd
UEFI_IMAGE_DIR=D05
EXTRA_FILES=D05FIRMWAREUPDATECAPSULEFMPPKCS7.Cap

[qemu-arm]                  
LONGNAME=QEMU ARM Emulator
DSC=ArmVirtPkg/ArmVirtQemu.dsc
ARCH=ARM                
UEFI_BIN=QEMU_EFI.fd
UEFI_IMAGE_DIR=ArmVirtQemu-ARM
EXTRA_FILES=QEMU_VARS.fd

[qemu-aarch64]
LONGNAME=QEMU AArch64 Emulator
DSC=ArmVirtPkg/ArmVirtQemu.dsc
ARCH=AARCH64
UEFI_BIN=QEMU_EFI.fd    
UEFI_IMAGE_DIR=ArmVirtQemu-AARCH64
EXTRA_FILES=QEMU_VARS.fd

[developerbox]
LONGNAME=Socionext SynQuacer developer box
DSC=Platform/Socionext/DeveloperBox/DeveloperBox.dsc
ARCH=AARCH64
UEFI_BIN=SPI_NOR_IMAGE.fd
UEFI_IMAGE_DIR=DeveloperBox
EXTRA_FILES=SYNQUACERFIRMWAREUPDATECAPSULEFMPPKCS7.Cap