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