]> git.proxmox.com Git - mirror_edk2.git/blame - BeagleBoardPkg/BeagleBoardPkg.dsc
ArmPkg/DefaultExceptionHandlerLib: Added support to the BASE-type library
[mirror_edk2.git] / BeagleBoardPkg / BeagleBoardPkg.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
839864b2 30 FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg.fdf\r
11c20f4e 31\r
32\r
33[LibraryClasses.common]\r
89a9f54f 34 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
35 ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf\r
36 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf\r
37 \r
11c20f4e 38 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
39 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
40\r
41!if $(TARGET) == RELEASE\r
42 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
43 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
44!else\r
45 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
46 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
47# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
48!endif\r
49 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
50\r
11c20f4e 51 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
11c20f4e 52 \r
53 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
54 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
55\r
56 EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
57 \r
58 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
59 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
60 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
61 \r
11c20f4e 62 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
63 \r
64 \r
65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
66 \r
67 #\r
68 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window \r
69 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
70 # into the command window to load symbols. We should be able to use a script to do this, but\r
71 # the version of RVD I have does not support scipts accessing system memory.\r
72 #\r
73# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
74 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
75# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
76\r
77 \r
78 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
79 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
793ae6ee 80 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
11c20f4e 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
0bade105 86 RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf\r
11c20f4e 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
11c20f4e 109\r
110 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
111\r
112 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf \r
113 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf\r
114 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r
11c20f4e 115 DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
116\r
117 GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
118 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
119 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
120 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
121\r
3d15d6c4 122 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
3d15d6c4 123\r
11c20f4e 124[LibraryClasses.common.SEC]\r
125 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf\r
0bade105 126 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r
127 \r
11c20f4e 128 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
129 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
130 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
131 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
132 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
133\r
0bade105 134 # Temp work around for Movt relocation issue. \r
135 #PeCoffLib|ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
136 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
11c20f4e 137 \r
138 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
0bade105 139 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
11c20f4e 140 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
141 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
0bade105 142 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r
143 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r
11c20f4e 144 \r
145 # 1/123 faster than Stm or Vstm version\r
146 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
147\r
148 # Uncomment to turn on GDB stub in SEC. \r
149 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
150\r
151[LibraryClasses.common.PEI_CORE]\r
152 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
153 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
154\r
155[LibraryClasses.common.DXE_CORE]\r
156 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
157 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
158 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
159 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
160 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
161 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
162 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
163# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
164 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf\r
165\r
166 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
167 \r
168\r
169[LibraryClasses.common.DXE_DRIVER]\r
170 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
171 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
172 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
173 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
89a9f54f 174 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r
11c20f4e 175\r
11c20f4e 176[LibraryClasses.common.UEFI_APPLICATION]\r
177 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
178 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
179 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
180 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
181\r
182[LibraryClasses.common.UEFI_DRIVER]\r
183 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
184 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
185 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
186 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
f2e6099a 187 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
11c20f4e 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
886f97c8 208 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r
209\r
210 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a\r
211\r
212 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8\r
11c20f4e 213\r
214################################################################################\r
215#\r
216# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
217#\r
218################################################################################\r
219\r
220[PcdsFeatureFlag.common]\r
221 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
222 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
223 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
224 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
225 \r
226 #\r
227 # Control what commands are supported from the UI\r
228 # Turn these on and off to add features or save size\r
229 # \r
230 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
231 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
232 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
233 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
234 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
235 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
236 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
237\r
238 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
239 \r
240 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
241 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
242 \r
243 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
244 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE\r
245\r
246 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
3d15d6c4 247\r
248 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
249 # It could be set FALSE to save size.\r
250 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
251\r
11c20f4e 252[PcdsFixedAtBuild.common]\r
3d15d6c4 253 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"\r
254 \r
11c20f4e 255 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"\r
256 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
257 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
258 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
259 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
260 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
261 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
262 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
263 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
264 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
265 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
266\r
267# DEBUG_ASSERT_ENABLED 0x01\r
268# DEBUG_PRINT_ENABLED 0x02\r
269# DEBUG_CODE_ENABLED 0x04\r
270# CLEAR_MEMORY_ENABLED 0x08\r
271# ASSERT_BREAKPOINT_ENABLED 0x10\r
272# ASSERT_DEADLOOP_ENABLED 0x20\r
273!if $(TARGET) == RELEASE\r
274 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
275!else\r
276 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
277!endif\r
278\r
279# DEBUG_INIT 0x00000001 // Initialization\r
280# DEBUG_WARN 0x00000002 // Warnings\r
281# DEBUG_LOAD 0x00000004 // Load events\r
282# DEBUG_FS 0x00000008 // EFI File system\r
283# DEBUG_POOL 0x00000010 // Alloc & Free's\r
284# DEBUG_PAGE 0x00000020 // Alloc & Free's\r
285# DEBUG_INFO 0x00000040 // Verbose\r
286# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
287# DEBUG_VARIABLE 0x00000100 // Variable\r
288# DEBUG_BM 0x00000400 // Boot Manager\r
289# DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
290# DEBUG_NET 0x00004000 // SNI Driver\r
291# DEBUG_UNDI 0x00010000 // UNDI Driver\r
292# DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
293# DEBUG_EVENT 0x00080000 // Event messages\r
294# DEBUG_ERROR 0x80000000 // Error\r
0bade105 295 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
11c20f4e 296\r
297 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
298\r
299 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
300 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
301 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
302 \r
11c20f4e 303#\r
304# Optional feature to help prevent EFI memory map fragments\r
305# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
306# Values are in EFI Pages (4K). DXE Core will make sure that \r
307# at least this much of each type of memory can be allocated \r
308# from a single memory range. This way you only end up with\r
309# maximum of two fragements for each type in the memory map\r
310# (the memory used, and the free memory that was prereserved\r
311# but not used).\r
312#\r
313 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
314 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
315 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
316 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r
317 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40\r
318 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r
319 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000\r
320 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10\r
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
322\r
323\r
324#\r
325# Beagle board Specific PCDs\r
326#\r
0bade105 327 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
11c20f4e 328 \r
11c20f4e 329 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000\r
0bade105 330 gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000\r
331\r
332 # Size of the region used by UEFI in permanent memory (Reserved 16MB)\r
333 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000\r
334 \r
335 # Size of the region reserved for fixed address allocations (Reserved 32MB)\r
336 gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000\r
11c20f4e 337\r
0bade105 338 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000\r
11c20f4e 339 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r
340 \r
341 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
342 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r
343 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r
344 \r
345 #\r
346 # ARM Pcds\r
347 #\r
348 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
349\r
350 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"\r
351 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/zImage"\r
89a9f54f 352 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=tty0 console=ttyS2,115200n8 root=UUID=a4af765b-c2b5-48f4-9564-7a4e9104c4f6 rootwait ro earlyprintk"\r
11c20f4e 353 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
354 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10\r
355 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/omap3-beagle.dtb"\r
356\r
89a9f54f 357 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(E68088EF-D1A4-4336-C1DB-4D3A204730A6)"\r
0bade105 358 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"\r
11c20f4e 359\r
360 #\r
361 # ARM OS Loader\r
362 #\r
363 # BeagleBoard machine type (OMAP3_BEAGLE = 1546) required for ARM Linux: \r
364 gArmTokenSpaceGuid.PcdArmMachineType|1546 \r
365\r
366################################################################################\r
367#\r
368# Components Section - list of all EDK II Modules needed by this Platform\r
369#\r
370################################################################################\r
371[Components.common]\r
372\r
0bade105 373 #\r
374 # SEC\r
375 #\r
376 ArmPlatformPkg/PrePi/PeiUniCore.inf\r
11c20f4e 377 \r
0bade105 378 #\r
379 # DXE\r
380 #\r
11c20f4e 381 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
382 <LibraryClasses>\r
383 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
384 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
385# NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
386 NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf \r
387 }\r
388\r
389 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
390 \r
391 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
392 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
393 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
394 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
395 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
396 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
397 \r
3d15d6c4 398 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
399 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
400 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf \r
401 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
402 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf \r
11c20f4e 403#\r
404# This version uses semi-hosting console \r
405# EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {\r
406# <LibraryClasses>\r
407# SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r
408# }\r
409 \r
410 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
411 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
412 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
413\r
414 #\r
415 # Semi-hosting filesystem\r
416 #\r
417 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
418 \r
419 #\r
420 # FAT filesystem + GPT/MBR partitioning\r
421 #\r
422 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
423 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
11c20f4e 424 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
425\r
426 #\r
427 # USB\r
428 #\r
429 Omap35xxPkg/PciEmulation/PciEmulation.inf\r
430\r
431 #NOTE: Open source EHCI stack doesn't work on Beagleboard.\r
432 #NOTE: UsbBus and UsbMassStorage don't work using iPhone SDK tool chain.\r
433 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {\r
434 <PcdsFixedAtBuild>\r
435 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff\r
436 }\r
437\r
438 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
439 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
440\r
441 #\r
442 # Nand Flash\r
443 #\r
444 Omap35xxPkg/Flash/Flash.inf\r
445\r
446 #\r
447 # MMC/SD\r
448 #\r
0bade105 449 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
450 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf\r
11c20f4e 451 \r
452 #\r
453 # I2C\r
454 #\r
455 Omap35xxPkg/SmbusDxe/Smbus.inf\r
456 \r
457 #\r
458 # SoC Drivers\r
459 #\r
460 Omap35xxPkg/Gpio/Gpio.inf\r
461 Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r
462 Omap35xxPkg/TimerDxe/TimerDxe.inf \r
3d15d6c4 463 Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf\r
464\r
11c20f4e 465 #\r
466 # Power IC\r
467 #\r
468 Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r
469 \r
11c20f4e 470 #\r
471 # Bds\r
472 #\r
473 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
474 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
475 ArmPlatformPkg/Bds/Bds.inf \r
476\r
477 #\r
478 # Example Application\r
479 # \r
480 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
481\r