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