]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc
ArmPlatformPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc: Remove the Monitor stacks...
[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|0xA4008000
80 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x1000
81
82 # Stacks for MPCores in Normal World (No SRAM on foundation model, put in RAM at 64MB)
83 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0xA4000000
84 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
85
86 # System Memory (2GB)
87 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
88 gArmTokenSpaceGuid.PcdSystemMemorySize|0x80000000
89
90 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
91 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
92
93 #
94 # ARM Pcds
95 #
96 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
97
98 ## Trustzone enable (to make the transition from EL3 to EL2 in ArmPlatformPkg/Sec)
99 gArmTokenSpaceGuid.PcdTrustzoneSupport|TRUE
100
101 #
102 # ARM PrimeCell
103 #
104
105 ## PL011 - Serial Terminal
106 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000
107 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
108
109 #
110 # ARM General Interrupt Controller
111 #
112 gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C001000
113 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C002000
114
115 #
116 # ARM OS Loader
117 #
118 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
119 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SemiHosting"
120 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image"
121 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"root=/dev/vda2 rw console=ttyAMA0 earlyprintk=pl011,0x1c090000 maxcpus=4 debug user_debug=31 loglevel=9"
122 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|2
123 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/foundation-v8.dtb"
124
125 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
126 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();"
127 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
128
129 #
130 # ARM Architectual Timer Frequency
131 #
132 # Set model tick to 120Mhz. This depends a lot on workstation performance.
133 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|120000000
134
135 ################################################################################
136 #
137 # Components Section - list of all EDK II Modules needed by this Platform
138 #
139 ################################################################################
140 [Components.common]
141
142 #
143 # SEC
144 #
145 ArmPlatformPkg/Sec/Sec.inf {
146 <LibraryClasses>
147 # Use the implementation which set the Secure bits
148 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
149 }
150
151 #
152 # PEI Phase modules
153 #
154 !ifdef $(EDK2_SKIP_PEICORE)
155 ArmPlatformPkg/PrePi/PeiMPCore.inf {
156 <LibraryClasses>
157 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
158 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLib.inf
159 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
160 }
161 !else
162 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
163 <LibraryClasses>
164 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
165 }
166 MdeModulePkg/Core/Pei/PeiMain.inf
167 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
168 <LibraryClasses>
169 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
170 }
171 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
172 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
173 ArmPkg/Drivers/CpuPei/CpuPei.inf
174 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
175 Nt32Pkg/BootModePei/BootModePei.inf
176 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
177 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
178 <LibraryClasses>
179 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
180 }
181 !endif
182
183 #
184 # DXE
185 #
186 MdeModulePkg/Core/Dxe/DxeMain.inf {
187 <LibraryClasses>
188 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
189 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
190 }
191
192 #
193 # Architectural Protocols
194 #
195 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
196 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
197 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
198 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
199 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
200 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
201 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
202 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
203 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
204 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
205
206 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
207 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
208 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
209 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
210 EmbeddedPkg/SerialDxe/SerialDxe.inf
211
212 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
213
214 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
215 ArmPkg/Drivers/TimerDxe/TimerDxe.inf
216 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
217
218 #
219 # Semi-hosting filesystem
220 #
221 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
222
223 #
224 # FAT filesystem + GPT/MBR partitioning
225 #
226 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
227 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
228 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
229
230 #
231 # Bds
232 #
233 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
234 ArmPlatformPkg/Bds/Bds.inf