4243c8edf9d46ece62f9874a89f84ec6e016edaa
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A8.dsc
1 #
2 # Copyright (c) 2011, 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 = ArmRealViewEbPkg
21 PLATFORM_GUID = F4C1AD3E-9D3E-4F61-8791-B3BB1C43D04C
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A8
25 SUPPORTED_ARCHITECTURES = ARM
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf
29
30 [LibraryClasses.common]
31 !if $(BUILD_TARGETS) == RELEASE
32 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
33 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
34 !else
35 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
36 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
37 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
38 !endif
39
40 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
41 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
42
43 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
44 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
45
46 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
47 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
48 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
49
50 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
51 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
52 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
53
54 #
55 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
56 # in the debugger will show load and unload commands for symbols. You can cut and paste this
57 # into the command window to load symbols. We should be able to use a script to do this, but
58 # the version of RVD I have does not support scripts accessing system memory.
59 #
60 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
61 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
62 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
63
64 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
65 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
66
67 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
68
69 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
70
71 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
72
73 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
74 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
75
76 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
78 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
79 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
80 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
81
82 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
83 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
84 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
85
86 #
87 # Assume everything is fixed at build
88 #
89 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
90
91 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
92
93 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
94
95 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
96 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
97
98 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
99
100 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
101 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
102 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
103
104 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
105 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
106 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf
107 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
108
109 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
110
111 [LibraryClasses.common.SEC]
112 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
113 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
114 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf
115
116 # 1/123 faster than Stm or Vstm version
117 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
118
119 # Uncomment to turn on GDB stub in SEC.
120 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
121
122 # L2 Cache Driver
123 L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
124 # ARM PL390 General Interrupt Driver in Secure and Non-secure
125 PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
126
127 [LibraryClasses.common.PEI_CORE]
128 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
129 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
130 # note: this won't actually work since globals in PEI are not writeable
131 # need to generate an ARM PEI services table pointer implementation
132 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
133 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
134 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
135 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
136 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
137 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
138 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
139 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
140 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
141 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
142 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
143 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
144
145 [LibraryClasses.common.PEIM]
146 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
147 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
148 # note: this won't actually work since globals in PEI are not writeable
149 # need to generate an ARM PEI services table pointer implementation
150 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
151 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
152 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
153 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
154 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
155 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
156 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
157 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
158 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
159 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
160 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
161 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
162 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
163
164 [LibraryClasses.common.DXE_CORE]
165 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
166 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
167 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
168 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
169 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
170 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
171 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
172
173 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
174
175
176 [LibraryClasses.common.DXE_DRIVER]
177 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
178 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
179 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
180 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
181 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
182
183
184 [LibraryClasses.common.UEFI_APPLICATION]
185 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
186 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
187 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
188 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
189
190 [LibraryClasses.common.UEFI_DRIVER]
191 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
192 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
193 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
194 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
195 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
196
197 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
198 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
199 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
200 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
201 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
202 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
204
205 [LibraryClasses.ARM]
206 #
207 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
208 # This library provides the instrinsic functions generate by a given compiler.
209 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
210 #
211 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
212
213 [BuildOptions]
214 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
215 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
216 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
217
218 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
219 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
220 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
221
222 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
223 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
224 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
225 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
226
227
228 ################################################################################
229 #
230 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
231 #
232 ################################################################################
233
234 [PcdsFeatureFlag.common]
235 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
236 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
237 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
238 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
239
240 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
241
242 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
243 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
244
245 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
246
247 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
248
249 gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE
250
251 !if $(EDK2_SKIP_PEICORE) == 1
252 gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE
253 !endif
254
255 [PcdsFixedAtBuild.common]
256 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb %a"
257 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
258 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
259 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
260 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
261 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
262 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
263 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
264 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
265 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
266 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
267
268 # DEBUG_ASSERT_ENABLED 0x01
269 # DEBUG_PRINT_ENABLED 0x02
270 # DEBUG_CODE_ENABLED 0x04
271 # CLEAR_MEMORY_ENABLED 0x08
272 # ASSERT_BREAKPOINT_ENABLED 0x10
273 # ASSERT_DEADLOOP_ENABLED 0x20
274 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
275
276 # DEBUG_INIT 0x00000001 // Initialization
277 # DEBUG_WARN 0x00000002 // Warnings
278 # DEBUG_LOAD 0x00000004 // Load events
279 # DEBUG_FS 0x00000008 // EFI File system
280 # DEBUG_POOL 0x00000010 // Alloc & Free's
281 # DEBUG_PAGE 0x00000020 // Alloc & Free's
282 # DEBUG_INFO 0x00000040 // Verbose
283 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
284 # DEBUG_VARIABLE 0x00000100 // Variable
285 # DEBUG_BM 0x00000400 // Boot Manager
286 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
287 # DEBUG_NET 0x00004000 // SNI Driver
288 # DEBUG_UNDI 0x00010000 // UNDI Driver
289 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
290 # DEBUG_EVENT 0x00080000 // Event messages
291 # DEBUG_ERROR 0x80000000 // Error
292 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
293
294 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
295
296 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
297 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
298 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
299
300 #
301 # Optional feature to help prevent EFI memory map fragments
302 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
303 # Values are in EFI Pages (4K). DXE Core will make sure that
304 # at least this much of each type of memory can be allocated
305 # from a single memory range. This way you only end up with
306 # maximum of two fragements for each type in the memory map
307 # (the memory used, and the free memory that was prereserved
308 # but not used).
309 #
310 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000
311
312 # Stack for CPU Cores in Secure Mode
313 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World
314 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Size of SEC Stack for Secure World
315
316 # Stack for CPU Cores in Secure Monitor Mode
317 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World
318 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Size of SEC Stack for Monitor World
319
320 # Stack for CPU Cores in Non Secure Mode
321 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World
322 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Size of SEC Stack for Normal World
323 gArmPlatformTokenSpaceGuid.PcdPeiServicePtrAddr|0x48020004 # Pei Services Ptr just above stack
324
325 # Non Sec UEFI Firmware: These two PCDs must match PcdFlashFvMainBase/PcdFlashFvMainSize
326 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress|0x40050000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase
327 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize|0x00100000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
328
329 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
330
331 #
332 # ARM Pcds
333 #
334 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
335
336 #
337 # ARM EB PCDS
338 #
339 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
340
341 #
342 # ARM PL390 General Interrupt Controller
343 #
344 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000
345 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000
346
347 #
348 # ARM OS Loader
349 #
350 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
351 gArmTokenSpaceGuid.PcdArmMachineType|2272
352 gArmTokenSpaceGuid.PcdLinuxKernelDP|L"VenHw(02118005-9DA7-443a-92D5-781F022AEDBB)/MemoryMapped(0,0x46000000,0x46400000)"
353 gArmTokenSpaceGuid.PcdLinuxAtag|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=1G"
354 gArmTokenSpaceGuid.PcdFdtDP|L""
355
356 #
357 # ARM L2x0 PCDs
358 #
359 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
360
361
362
363 ################################################################################
364 #
365 # Components Section - list of all EDK II Modules needed by this Platform
366 #
367 ################################################################################
368 [Components.common]
369
370 #
371 # SEC
372 #
373 ArmPlatformPkg/Sec/Sec.inf
374 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
375
376 #
377 # PEI Phase modules
378 #
379 MdeModulePkg/Core/Pei/PeiMain.inf
380 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
381 <LibraryClasses>
382 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
383 }
384 ArmPlatformPkg/PlatformPei/PlatformPei.inf
385 ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf
386 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
387 Nt32Pkg/BootModePei/BootModePei.inf
388 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
389 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
390 <LibraryClasses>
391 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
392 }
393
394 #
395 # DXE
396 #
397 MdeModulePkg/Core/Dxe/DxeMain.inf {
398 <LibraryClasses>
399 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
400 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
401 }
402
403 #
404 # Architectural Protocols
405 #
406 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
407 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
408 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
409 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
410 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
411 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
412 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
413
414 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
415 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
416 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
417
418 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
419
420 ArmPlatformPkg/ArmRealViewEbPkg/FvbDxe/FvbDxe.inf
421 ArmPlatformPkg/ArmRealViewEbPkg/InterruptDxe/InterruptDxe.inf
422 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
423
424 #
425 # Semi-hosting filesystem
426 #
427 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
428
429 #
430 # FAT filesystem + GPT/MBR partitioning
431 #
432 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
433 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
434 FatPkg/EnhancedFatDxe/Fat.inf
435 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
436
437
438 #
439 # Application
440 #
441 EmbeddedPkg/Ebl/Ebl.inf
442
443 #
444 # Bds
445 #
446 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
447 ArmPlatformPkg/Bds/Bds.inf