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