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