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