]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc
ArmPlatformPkg/ArmVExpressPkg: Set PcdTrustzoneSupport to TRUE on the AArch64 platforms
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc
1 #
2 # Copyright (c) 2011-2013, ARM Limited. All rights reserved.
3 #
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 #
13
14 ################################################################################
15 #
16 # Defines Section - statements that will be processed to create a Makefile.
17 #
18 ################################################################################
19 [Defines]
20 PLATFORM_NAME = ArmVExpressPkg-RTSM-AEMv8Ax4-foundation
21 PLATFORM_GUID = 2a9d4992-0730-11e2-9829-1c6f650265cc
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmVExpress-RTSM-AEMv8Ax4-foundation
25 SUPPORTED_ARCHITECTURES = AARCH64
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.fdf
29
30 !include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
31
32 [LibraryClasses.common]
33 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
34 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
35 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLib.inf
36
37 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
38
39 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
40
41 # Foundation model does not have an RTC. Use the NULL version.
42 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
43
44 [LibraryClasses.common.SEC]
45 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
46 ArmPlatformSecLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/ArmVExpressFoundationSecLib.inf
47 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLibSec.inf
48
49 [BuildOptions]
50 GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM
51
52
53 ################################################################################
54 #
55 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
56 #
57 ################################################################################
58
59 [PcdsFeatureFlag.common]
60
61 !ifdef $(EDK2_SKIP_PEICORE)
62 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
63 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
64 !endif
65
66 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
67 # It could be set FALSE to save size.
68 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|FALSE
69
70 [PcdsFixedAtBuild.common]
71 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Foundation Model"
72 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmFoundation"
73
74 gArmPlatformTokenSpaceGuid.PcdCoreCount|4
75
76 gArmTokenSpaceGuid.PcdVFPEnabled|1
77
78 # Stacks for MPCores in Secure World (No SRAM on foundation model, put in RAM at 64MB)
79 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0xA4009000
80 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x1000
81
82 # Stacks for MPCores in Monitor Mod (No SRAM on foundation model, put in RAM at 64MB)
83 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0xA4008000
84 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x100
85
86 # Stacks for MPCores in Normal World (No SRAM on foundation model, put in RAM at 64MB)
87 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0xA4000000
88 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
89
90 # System Memory (2GB)
91 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
92 gArmTokenSpaceGuid.PcdSystemMemorySize|0x80000000
93
94 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
95 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
96
97 #
98 # ARM Pcds
99 #
100 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
101
102 ## Trustzone enable (to make the transition from EL3 to EL2 in ArmPlatformPkg/Sec)
103 gArmTokenSpaceGuid.PcdTrustzoneSupport|TRUE
104
105 #
106 # ARM PrimeCell
107 #
108
109 ## PL011 - Serial Terminal
110 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000
111 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
112
113 #
114 # ARM PL390 General Interrupt Controller
115 #
116 gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C001000
117 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C002000
118
119 #
120 # ARM OS Loader
121 #
122 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
123 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SemiHosting"
124 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image"
125 gArmPlatformTokenSpaceGuid.PcdDefaultBootInitrdPath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/filesystem.cpio.gz"
126 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=ttyAMA0 earlyprintk=pl011,0x1c090000 maxcpus=4 debug user_debug=31 loglevel=9"
127 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|2
128 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb"
129
130 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
131 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();"
132 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
133
134 #
135 # ARM Architectual Timer Frequency
136 #
137 # Set model tick to 120Mhz. This depends a lot on workstation performance.
138 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|120000000
139
140 ################################################################################
141 #
142 # Components Section - list of all EDK II Modules needed by this Platform
143 #
144 ################################################################################
145 [Components.common]
146
147 #
148 # SEC
149 #
150 ArmPlatformPkg/Sec/Sec.inf {
151 <LibraryClasses>
152 # Use the implementation which set the Secure bits
153 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
154 }
155
156 #
157 # PEI Phase modules
158 #
159 !ifdef $(EDK2_SKIP_PEICORE)
160 ArmPlatformPkg/PrePi/PeiMPCore.inf {
161 <LibraryClasses>
162 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
163 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLib.inf
164 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
165 }
166 !else
167 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
168 <LibraryClasses>
169 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
170 }
171 MdeModulePkg/Core/Pei/PeiMain.inf
172 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
173 <LibraryClasses>
174 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
175 }
176 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
177 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
178 ArmPkg/Drivers/CpuPei/CpuPei.inf
179 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
180 Nt32Pkg/BootModePei/BootModePei.inf
181 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
182 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
183 <LibraryClasses>
184 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
185 }
186 !endif
187
188 #
189 # DXE
190 #
191 MdeModulePkg/Core/Dxe/DxeMain.inf {
192 <LibraryClasses>
193 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
194 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
195 }
196
197 #
198 # Architectural Protocols
199 #
200 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
201 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
202 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
203 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
204 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
205 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
206 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
207 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
208 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
209 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
210
211 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
212 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
213 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
214 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
215 EmbeddedPkg/SerialDxe/SerialDxe.inf
216
217 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
218
219 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
220 ArmPkg/Drivers/TimerDxe/TimerDxe.inf
221 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
222
223 #
224 # Semi-hosting filesystem
225 #
226 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
227
228 #
229 # FAT filesystem + GPT/MBR partitioning
230 #
231 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
232 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
233 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
234
235 #
236 # Bds
237 #
238 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
239 ArmPlatformPkg/Bds/Bds.inf