]> git.proxmox.com Git - mirror_edk2.git/blame - BeagleBoardPkg/BeagleBoardPkg-next.dsc
ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib
[mirror_edk2.git] / BeagleBoardPkg / BeagleBoardPkg-next.dsc
CommitLineData
11c20f4e 1#/** @file\r
2# Beagle board package.\r
3#\r
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#**/\r
15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
22 PLATFORM_NAME = BeagleBoardPkg\r
23 PLATFORM_GUID = 91fa6c28-33df-46ac-aee6-292d6811ea31\r
24 PLATFORM_VERSION = 0.1\r
25 DSC_SPECIFICATION = 0x00010005\r
26 OUTPUT_DIRECTORY = Build/BeagleBoard\r
27 SUPPORTED_ARCHITECTURES = ARM\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg-next.fdf\r
31\r
32\r
33[LibraryClasses.common]\r
34 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
35 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
36 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
37\r
38!if $(TARGET) == RELEASE\r
39 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
40 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
41!else\r
42 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
43 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
44# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
45!endif\r
46 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
47\r
48 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
49 ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf\r
50 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
51 \r
52 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
53 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
54\r
55 EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
56 \r
57 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
58 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
59 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
60 \r
61 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r
62 \r
63 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
64 \r
65 \r
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
67 \r
68 #\r
69 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window \r
70 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
71 # into the command window to load symbols. We should be able to use a script to do this, but\r
72 # the version of RVD I have does not support scipts accessing system memory.\r
73 #\r
74# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
75 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
76# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
77\r
78 \r
79 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
80 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
81 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
82 \r
83 SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf\r
84 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
85 \r
86 RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf\r
87\r
88 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
89 \r
90 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
91 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
92 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
93 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
94 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
95 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
96\r
97 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
98 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
99 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
100\r
101#\r
102# Assume everything is fixed at build\r
103#\r
104 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
105\r
106 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
107 \r
108 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
109 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
110 \r
111\r
112 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
113\r
114 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf \r
115 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf\r
116 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r
117 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
7f21c4a2 118 DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
11c20f4e 119\r
120 GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
121 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
122 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
123 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
124\r
125[LibraryClasses.common.SEC]\r
126 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf\r
8fc38a3f 127 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r
c524ffbb 128 \r
11c20f4e 129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
130 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
132 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
133 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
134\r
135 # Temp work around for Movt relocation issue. \r
136 #PeCoffLib|ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
137 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
138 \r
139 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
140 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
141 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
142 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
143 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r
144 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r
145 \r
146 # 1/123 faster than Stm or Vstm version\r
147 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
148\r
7f21c4a2 149 # Uncomment to turn on GDB stub in SEC. \r
150 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
11c20f4e 151\r
152[LibraryClasses.common.PEI_CORE]\r
153 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
154 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
155\r
156[LibraryClasses.common.DXE_CORE]\r
157 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
158 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
159 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
160 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
161 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
162 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
163 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
164# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
165 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf\r
166\r
167 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
168 \r
169\r
170[LibraryClasses.common.DXE_DRIVER]\r
171 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
172 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
173 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
174 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
175\r
176\r
177[LibraryClasses.common.UEFI_APPLICATION]\r
178 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
179 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
180 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
181 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
182\r
183[LibraryClasses.common.UEFI_DRIVER]\r
184 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
185 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
186 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
187 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
188\r
189[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
190 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
191 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
192 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
193 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
194# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
195 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf\r
196\r
197\r
198[LibraryClasses.ARM]\r
199 #\r
200 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
201 # This library provides the instrinsic functions generate by a given compiler.\r
202 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
203 #\r
204 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
205\r
206\r
207[BuildOptions]\r
208 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7\r
209 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7\r
210 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7\r
211 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG \r
212\r
213 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb\r
214 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a\r
215 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG \r
216\r
217 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb\r
218 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 \r
219 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG \r
220\r
221################################################################################\r
222#\r
223# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
224#\r
225################################################################################\r
226\r
227[PcdsFeatureFlag.common]\r
228 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
229 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
230 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
231 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
232 \r
233 #\r
234 # Control what commands are supported from the UI\r
235 # Turn these on and off to add features or save size\r
236 # \r
237 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
238 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
239 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
240 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
241 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
242 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
243 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
244\r
245 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
246 \r
247 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
248 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
249 \r
250 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
251 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE\r
252\r
253 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
254 \r
255[PcdsFixedAtBuild.common]\r
256 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"\r
257 \r
258 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"\r
259 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
260 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
261 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
262 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
263 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
264 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
265 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
266 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
267 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
268 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
269\r
270# DEBUG_ASSERT_ENABLED 0x01\r
271# DEBUG_PRINT_ENABLED 0x02\r
272# DEBUG_CODE_ENABLED 0x04\r
273# CLEAR_MEMORY_ENABLED 0x08\r
274# ASSERT_BREAKPOINT_ENABLED 0x10\r
275# ASSERT_DEADLOOP_ENABLED 0x20\r
276!if $(TARGET) == RELEASE\r
277 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
278!else\r
279 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
280!endif\r
281\r
282# DEBUG_INIT 0x00000001 // Initialization\r
283# DEBUG_WARN 0x00000002 // Warnings\r
284# DEBUG_LOAD 0x00000004 // Load events\r
285# DEBUG_FS 0x00000008 // EFI File system\r
286# DEBUG_POOL 0x00000010 // Alloc & Free's\r
287# DEBUG_PAGE 0x00000020 // Alloc & Free's\r
288# DEBUG_INFO 0x00000040 // Verbose\r
289# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
290# DEBUG_VARIABLE 0x00000100 // Variable\r
291# DEBUG_BM 0x00000400 // Boot Manager\r
292# DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
293# DEBUG_NET 0x00004000 // SNI Driver\r
294# DEBUG_UNDI 0x00010000 // UNDI Driver\r
295# DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
296# DEBUG_EVENT 0x00080000 // Event messages\r
297# DEBUG_ERROR 0x80000000 // Error\r
11c20f4e 298 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
299\r
300 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
301\r
302 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
303 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
304 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
305 \r
306 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0\r
307 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0\r
308\r
309#\r
310# Optional feature to help prevent EFI memory map fragments\r
311# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
312# Values are in EFI Pages (4K). DXE Core will make sure that \r
313# at least this much of each type of memory can be allocated \r
314# from a single memory range. This way you only end up with\r
315# maximum of two fragements for each type in the memory map\r
316# (the memory used, and the free memory that was prereserved\r
317# but not used).\r
318#\r
319 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
320 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
322 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r
323 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40\r
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r
325 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000\r
326 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10\r
327 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
328\r
329\r
330#\r
331# Beagle board Specific PCDs\r
332#\r
333 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
334 \r
11c20f4e 335 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000\r
336 gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000\r
337\r
338 # Size of the region used by UEFI in permanent memory (Reserved 16MB)\r
339 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000\r
340 \r
341 # Size of the region reserved for fixed address allocations (Reserved 32MB)\r
342 gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000\r
343\r
344 # Reserved to store the HobBase address (top of UEFI Memory Region)\r
345 # = (PcdSystemMemoryBase + PcdSystemMemorySize) - sizeof(UINT32)\r
346 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x87FFFFFC\r
347\r
348 #gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x80001000\r
349 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory\r
350 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack\r
351 \r
352 gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x80000000\r
353 gEmbeddedTokenSpaceGuid.PcdMemorySize|0x10000000\r
354\r
11c20f4e 355 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000\r
356 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r
357 \r
358 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
359 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r
360 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r
361 \r
362 #\r
363 # ARM Pcds\r
364 #\r
365 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
366\r
367 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"\r
368 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/zImage"\r
369 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
370 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10\r
371 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/omap3-beagle.dtb"\r
372\r
373 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(6696936D-3637-467C-87CB-14EA8248948C)/Uart(115200,8,N,1)/VenPcAnsi()"\r
374 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(6696936D-3637-467C-87CB-14EA8248948C)/Uart(115200,8,N,1)/VenPcAnsi()"\r
375\r
376 #\r
377 # ARM OS Loader\r
378 #\r
379 # BeagleBoard machine type (OMAP3_BEAGLE = 1546) required for ARM Linux: \r
380 gArmTokenSpaceGuid.PcdArmMachineType|1546 \r
381\r
382################################################################################\r
383#\r
384# Components Section - list of all EDK II Modules needed by this Platform\r
385#\r
386################################################################################\r
387[Components.common]\r
388\r
389#\r
390# SEC\r
391#\r
392 ArmPlatformPkg/PrePi/PeiUniCore.inf\r
393 \r
394#\r
395# DXE\r
396#\r
397 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
398 <LibraryClasses>\r
399 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
400 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
401# NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
402 NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf \r
403 }\r
404\r
405 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
406 \r
407 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
408 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
409 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
410 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
411 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
412 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
413 \r
414 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf \r
415#\r
416# This version uses semi-hosting console \r
417# EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {\r
418# <LibraryClasses>\r
419# SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r
420# }\r
421 \r
422 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
423 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
424 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
425\r
426 #\r
427 # Semi-hosting filesystem\r
428 #\r
429 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
430 \r
431 #\r
432 # FAT filesystem + GPT/MBR partitioning\r
433 #\r
434 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
435 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
436 FatPkg/EnhancedFatDxe/Fat.inf\r
437 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
438\r
439 #\r
440 # USB\r
441 #\r
442 Omap35xxPkg/PciEmulation/PciEmulation.inf\r
443\r
444 #NOTE: Open source EHCI stack doesn't work on Beagleboard.\r
445 #NOTE: UsbBus and UsbMassStorage don't work using iPhone SDK tool chain.\r
446 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {\r
447 <PcdsFixedAtBuild>\r
448 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff\r
449 }\r
450\r
451 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
452 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
453\r
454 #\r
455 # Nand Flash\r
456 #\r
457 Omap35xxPkg/Flash/Flash.inf\r
458\r
459 #\r
460 # MMC/SD\r
461 #\r
462 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
463 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf\r
464 \r
465 #\r
466 # I2C\r
467 #\r
468 Omap35xxPkg/SmbusDxe/Smbus.inf\r
469 \r
470 #\r
471 # SoC Drivers\r
472 #\r
473 Omap35xxPkg/Gpio/Gpio.inf\r
474 Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r
475 Omap35xxPkg/TimerDxe/TimerDxe.inf \r
476 \r
477 #\r
478 # Power IC\r
479 #\r
480 Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r
481 \r
482 #\r
483 # Application\r
484 # \r
485 EmbeddedPkg/Ebl/Ebl.inf\r
486 \r
487 #\r
488 # Bds\r
489 #\r
490 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
491 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
492 ArmPlatformPkg/Bds/Bds.inf \r
493\r
494 #\r
495 # Example Application\r
496 # \r
497 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
498\r