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