]> git.proxmox.com Git - mirror_edk2.git/blob - BeagleBoardPkg/BeagleBoardPkg.dsc
BeagleBoardPkg: Add Display Driver support to the BeagleBoard
[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 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
124 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
125 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
126
127 [LibraryClasses.common.SEC]
128 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
129 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
130 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
131 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
132 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
133 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
134
135 # Temp work around for Movt relocation issue.
136 PeCoffLib|ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
137 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
138
139 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
140 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
141 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
142
143 # 1/123 faster than Stm or Vstm version
144 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
145
146 # Uncomment to turn on GDB stub in SEC.
147 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
148
149 [LibraryClasses.common.PEI_CORE]
150 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
151 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
152
153 [LibraryClasses.common.DXE_CORE]
154 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
155 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
156 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
157 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
158 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
159 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
160 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
161 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
162 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
163
164 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
165
166
167 [LibraryClasses.common.DXE_DRIVER]
168 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
169 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
170 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
171 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
172
173
174 [LibraryClasses.common.UEFI_APPLICATION]
175 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
176 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
177 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
178 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
179
180 [LibraryClasses.common.UEFI_DRIVER]
181 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
182 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
183 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
184 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
185
186 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
187 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
188 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
189 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
190 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
191 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
192 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
193
194
195 [LibraryClasses.ARM]
196 #
197 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
198 # This library provides the instrinsic functions generate by a given compiler.
199 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
200 #
201 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
202
203
204 [BuildOptions]
205 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7
206 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7
207 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7
208 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
209
210 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb
211 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a
212 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
213
214 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb
215 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
216 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
217
218 ################################################################################
219 #
220 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
221 #
222 ################################################################################
223
224 [PcdsFeatureFlag.common]
225 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
226 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
227 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
228 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
229
230 #
231 # Control what commands are supported from the UI
232 # Turn these on and off to add features or save size
233 #
234 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
235 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
236 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
237 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
238 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
239 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
240 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
241
242 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
243
244 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
245 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
246
247 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
248 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
249
250 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
251
252 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
253 # It could be set FALSE to save size.
254 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
255
256 [PcdsFixedAtBuild.common]
257 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
258
259 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
260 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
261 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
262 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
263 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
264 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
265 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
266 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
267 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
268 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
269 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
270
271 # DEBUG_ASSERT_ENABLED 0x01
272 # DEBUG_PRINT_ENABLED 0x02
273 # DEBUG_CODE_ENABLED 0x04
274 # CLEAR_MEMORY_ENABLED 0x08
275 # ASSERT_BREAKPOINT_ENABLED 0x10
276 # ASSERT_DEADLOOP_ENABLED 0x20
277 !if $(TARGET) == RELEASE
278 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
279 !else
280 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
281 !endif
282
283 # DEBUG_INIT 0x00000001 // Initialization
284 # DEBUG_WARN 0x00000002 // Warnings
285 # DEBUG_LOAD 0x00000004 // Load events
286 # DEBUG_FS 0x00000008 // EFI File system
287 # DEBUG_POOL 0x00000010 // Alloc & Free's
288 # DEBUG_PAGE 0x00000020 // Alloc & Free's
289 # DEBUG_INFO 0x00000040 // Verbose
290 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
291 # DEBUG_VARIABLE 0x00000100 // Variable
292 # DEBUG_BM 0x00000400 // Boot Manager
293 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
294 # DEBUG_NET 0x00004000 // SNI Driver
295 # DEBUG_UNDI 0x00010000 // UNDI Driver
296 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
297 # DEBUG_EVENT 0x00080000 // Event messages
298 # DEBUG_ERROR 0x80000000 // Error
299
300 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
301
302 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
303
304 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
305 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
306 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
307
308 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0
309 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0
310
311 #
312 # Optional feature to help prevent EFI memory map fragments
313 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
314 # Values are in EFI Pages (4K). DXE Core will make sure that
315 # at least this much of each type of memory can be allocated
316 # from a single memory range. This way you only end up with
317 # maximum of two fragements for each type in the memory map
318 # (the memory used, and the free memory that was prereserved
319 # but not used).
320 #
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
322 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
323 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
325 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40
326 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
327 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000
328 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
330
331
332 #
333 # Beagle board Specific PCDs
334 #
335 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x80001000
336 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory
337 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack
338
339 gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x80000000
340 gEmbeddedTokenSpaceGuid.PcdMemorySize|0x10000000
341
342 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
343 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
344
345 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000
346 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
347
348 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
349 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
350 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
351
352 #
353 # ARM Pcds
354 #
355 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
356
357 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"
358 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/zImage"
359 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
360 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
361 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/omap3-beagle.dtb"
362
363 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(6696936D-3637-467C-87CB-14EA8248948C)/Uart(115200,8,N,1)/VenPcAnsi()"
364 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(6696936D-3637-467C-87CB-14EA8248948C)/Uart(115200,8,N,1)/VenPcAnsi()"
365
366 #
367 # ARM OS Loader
368 #
369 # BeagleBoard machine type (OMAP3_BEAGLE = 1546) required for ARM Linux:
370 gArmTokenSpaceGuid.PcdArmMachineType|1546
371
372 ################################################################################
373 #
374 # Components Section - list of all EDK II Modules needed by this Platform
375 #
376 ################################################################################
377 [Components.common]
378
379 #
380 # SEC
381 #
382 BeagleBoardPkg/Sec/Sec.inf
383
384 #
385 # DXE
386 #
387 MdeModulePkg/Core/Dxe/DxeMain.inf {
388 <LibraryClasses>
389 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
390 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
391 # NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
392 NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
393 }
394
395 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
396
397 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
398 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
399 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
400 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
401 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
402 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
403
404 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
405 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
406 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
407 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
408 EmbeddedPkg/SerialDxe/SerialDxe.inf
409 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
410 #
411 # This version uses semi-hosting console
412 # EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
413 # <LibraryClasses>
414 # SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
415 # }
416
417 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
418 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
419 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
420
421 #
422 # Semi-hosting filesystem
423 #
424 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
425
426 #
427 # FAT filesystem + GPT/MBR partitioning
428 #
429 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
430 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
431 FatPkg/EnhancedFatDxe/Fat.inf
432 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
433
434 #
435 # USB
436 #
437 Omap35xxPkg/PciEmulation/PciEmulation.inf
438
439 #NOTE: Open source EHCI stack doesn't work on Beagleboard.
440 #NOTE: UsbBus and UsbMassStorage don't work using iPhone SDK tool chain.
441 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
442 <PcdsFixedAtBuild>
443 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
444 }
445
446 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
447 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
448
449 #
450 # Nand Flash
451 #
452 Omap35xxPkg/Flash/Flash.inf
453
454 #
455 # MMC/SD
456 #
457 Omap35xxPkg/MMCHSDxe/MMCHS.inf {
458 <PcdsFixedAtBuild>
459 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
460 }
461
462 #
463 # I2C
464 #
465 Omap35xxPkg/SmbusDxe/Smbus.inf
466
467 #
468 # SoC Drivers
469 #
470 Omap35xxPkg/Gpio/Gpio.inf
471 Omap35xxPkg/InterruptDxe/InterruptDxe.inf
472 Omap35xxPkg/TimerDxe/TimerDxe.inf
473 Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
474
475 #
476 # Power IC
477 #
478 Omap35xxPkg/TPS65950Dxe/TPS65950.inf
479
480 #
481 # Application
482 #
483 EmbeddedPkg/Ebl/Ebl.inf
484
485 #
486 # Bds
487 #
488 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
489 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
490 ArmPlatformPkg/Bds/Bds.inf
491
492 #
493 # Example Application
494 #
495 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
496