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