blob: 4a6449bbde35db7ed17c013117177b1e9b4fcc6d [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
oliviermartin839864b2011-09-29 20:40:00 +000030 FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg.fdf
oliviermartin11c20f42011-09-22 22:53:54 +000031
32
33[LibraryClasses.common]
oliviermartin89a9f542011-11-01 23:46:18 +000034 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
35 ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
36 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
37
oliviermartin11c20f42011-09-22 22:53:54 +000038 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
oliviermartin11c20f42011-09-22 22:53:54 +000051 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +000052
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 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
83
84 SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
85 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
86
oliviermartin0bade102011-09-28 18:59:32 +000087 RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +000088
89 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
90
91 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
92 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
93 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
94 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
95 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
96 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
97
98 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
99 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
100 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
101
102#
103# Assume everything is fixed at build
104#
105 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
106
107 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
108
109 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
110 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
111
112
113 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
114
115 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
116 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
117 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
118 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
119 DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
120
121 GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
122 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
123 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
124 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
125
oliviermartin3d15d6c2011-09-22 23:24:54 +0000126 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
oliviermartin3d15d6c2011-09-22 23:24:54 +0000127
oliviermartin11c20f42011-09-22 22:53:54 +0000128[LibraryClasses.common.SEC]
129 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
oliviermartin0bade102011-09-28 18:59:32 +0000130 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
131
oliviermartin11c20f42011-09-22 22:53:54 +0000132 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
133 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
135 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
136 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
137
oliviermartin0bade102011-09-28 18:59:32 +0000138 # Temp work around for Movt relocation issue.
139 #PeCoffLib|ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
140 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000141
142 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
oliviermartin0bade102011-09-28 18:59:32 +0000143 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000144 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
145 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
oliviermartin0bade102011-09-28 18:59:32 +0000146 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
147 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000148
149 # 1/123 faster than Stm or Vstm version
150 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
151
152 # Uncomment to turn on GDB stub in SEC.
153 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
154
155[LibraryClasses.common.PEI_CORE]
156 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
157 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
158
159[LibraryClasses.common.DXE_CORE]
160 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
161 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
162 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
163 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
164 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
165 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
166 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
167# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
168 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
169
170 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
171
172
173[LibraryClasses.common.DXE_DRIVER]
174 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
175 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
176 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
177 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
oliviermartin89a9f542011-11-01 23:46:18 +0000178 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000179
oliviermartin11c20f42011-09-22 22:53:54 +0000180[LibraryClasses.common.UEFI_APPLICATION]
181 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
182 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
183 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
184 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
185
186[LibraryClasses.common.UEFI_DRIVER]
187 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
188 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
189 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
190 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
191
192[LibraryClasses.common.DXE_RUNTIME_DRIVER]
193 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
194 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
195 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
196 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
197# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
198 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
199
200
201[LibraryClasses.ARM]
202 #
203 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
204 # This library provides the instrinsic functions generate by a given compiler.
205 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
206 #
207 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
208
209
210[BuildOptions]
oliviermartin886f97c2011-09-27 16:42:47 +0000211 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
oliviermartin11c20f42011-09-22 22:53:54 +0000212
oliviermartin886f97c2011-09-27 16:42:47 +0000213 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
oliviermartin11c20f42011-09-22 22:53:54 +0000214
oliviermartin886f97c2011-09-27 16:42:47 +0000215 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
oliviermartin11c20f42011-09-22 22:53:54 +0000216
217################################################################################
218#
219# Pcd Section - list of all EDK II PCD Entries defined by this Platform
220#
221################################################################################
222
223[PcdsFeatureFlag.common]
224 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
225 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
226 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
227 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
228
229 #
230 # Control what commands are supported from the UI
231 # Turn these on and off to add features or save size
232 #
233 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
234 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
235 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
236 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
237 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
238 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
239 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
240
241 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
242
243 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
244 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
245
246 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
247 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
248
249 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
oliviermartin3d15d6c2011-09-22 23:24:54 +0000250
251 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
252 # It could be set FALSE to save size.
253 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
254
oliviermartin11c20f42011-09-22 22:53:54 +0000255[PcdsFixedAtBuild.common]
oliviermartin3d15d6c2011-09-22 23:24:54 +0000256 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
257
oliviermartin11c20f42011-09-22 22:53:54 +0000258 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
259 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
260 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
261 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
262 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
263 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
264 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
265 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
266 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
267 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
268 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
269
270# DEBUG_ASSERT_ENABLED 0x01
271# DEBUG_PRINT_ENABLED 0x02
272# DEBUG_CODE_ENABLED 0x04
273# CLEAR_MEMORY_ENABLED 0x08
274# ASSERT_BREAKPOINT_ENABLED 0x10
275# ASSERT_DEADLOOP_ENABLED 0x20
276!if $(TARGET) == RELEASE
277 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
278!else
279 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
280!endif
281
282# DEBUG_INIT 0x00000001 // Initialization
283# DEBUG_WARN 0x00000002 // Warnings
284# DEBUG_LOAD 0x00000004 // Load events
285# DEBUG_FS 0x00000008 // EFI File system
286# DEBUG_POOL 0x00000010 // Alloc & Free's
287# DEBUG_PAGE 0x00000020 // Alloc & Free's
288# DEBUG_INFO 0x00000040 // Verbose
289# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
290# DEBUG_VARIABLE 0x00000100 // Variable
291# DEBUG_BM 0x00000400 // Boot Manager
292# DEBUG_BLKIO 0x00001000 // BlkIo Driver
293# DEBUG_NET 0x00004000 // SNI Driver
294# DEBUG_UNDI 0x00010000 // UNDI Driver
295# DEBUG_LOADFILE 0x00020000 // UNDI Driver
296# DEBUG_EVENT 0x00080000 // Event messages
297# DEBUG_ERROR 0x80000000 // Error
oliviermartin0bade102011-09-28 18:59:32 +0000298 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
oliviermartin11c20f42011-09-22 22:53:54 +0000299
300 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
301
302 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
303 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
304 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
305
oliviermartin11c20f42011-09-22 22:53:54 +0000306#
307# Optional feature to help prevent EFI memory map fragments
308# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
309# Values are in EFI Pages (4K). DXE Core will make sure that
310# at least this much of each type of memory can be allocated
311# from a single memory range. This way you only end up with
312# maximum of two fragements for each type in the memory map
313# (the memory used, and the free memory that was prereserved
314# but not used).
315#
316 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
317 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
318 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
319 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
320 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
322 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000
323 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
325
326
327#
328# Beagle board Specific PCDs
329#
oliviermartin0bade102011-09-28 18:59:32 +0000330 gArmTokenSpaceGuid.PcdVFPEnabled|1
oliviermartin11c20f42011-09-22 22:53:54 +0000331
oliviermartin11c20f42011-09-22 22:53:54 +0000332 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
oliviermartin0bade102011-09-28 18:59:32 +0000333 gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000
oliviermartin11c20f42011-09-22 22:53:54 +0000334
oliviermartin0bade102011-09-28 18:59:32 +0000335 # Size of the region used by UEFI in permanent memory (Reserved 16MB)
336 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000
337
338 # Size of the region reserved for fixed address allocations (Reserved 32MB)
339 gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000
340
341 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000
oliviermartin11c20f42011-09-22 22:53:54 +0000342 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
343
344 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
345 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
346 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
347
348 #
349 # ARM Pcds
350 #
351 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
352
353 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"
354 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/zImage"
oliviermartin89a9f542011-11-01 23:46:18 +0000355 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=tty0 console=ttyS2,115200n8 root=UUID=a4af765b-c2b5-48f4-9564-7a4e9104c4f6 rootwait ro earlyprintk"
oliviermartin11c20f42011-09-22 22:53:54 +0000356 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
357 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
358 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/omap3-beagle.dtb"
359
oliviermartin89a9f542011-11-01 23:46:18 +0000360 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(E68088EF-D1A4-4336-C1DB-4D3A204730A6)"
oliviermartin0bade102011-09-28 18:59:32 +0000361 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
oliviermartin11c20f42011-09-22 22:53:54 +0000362
363 #
364 # ARM OS Loader
365 #
366 # BeagleBoard machine type (OMAP3_BEAGLE = 1546) required for ARM Linux:
367 gArmTokenSpaceGuid.PcdArmMachineType|1546
368
369################################################################################
370#
371# Components Section - list of all EDK II Modules needed by this Platform
372#
373################################################################################
374[Components.common]
375
oliviermartin0bade102011-09-28 18:59:32 +0000376 #
377 # SEC
378 #
379 ArmPlatformPkg/PrePi/PeiUniCore.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000380
oliviermartin0bade102011-09-28 18:59:32 +0000381 #
382 # DXE
383 #
oliviermartin11c20f42011-09-22 22:53:54 +0000384 MdeModulePkg/Core/Dxe/DxeMain.inf {
385 <LibraryClasses>
386 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
387 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
388# NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
389 NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
390 }
391
392 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
393
394 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
395 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
396 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
397 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
398 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
399 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
400
oliviermartin3d15d6c2011-09-22 23:24:54 +0000401 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
402 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
403 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
404 EmbeddedPkg/SerialDxe/SerialDxe.inf
405 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000406#
407# This version uses semi-hosting console
408# EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
409# <LibraryClasses>
410# SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
411# }
412
413 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
414 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
415 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
416
417 #
418 # Semi-hosting filesystem
419 #
420 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
421
422 #
423 # FAT filesystem + GPT/MBR partitioning
424 #
425 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
426 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
427 FatPkg/EnhancedFatDxe/Fat.inf
428 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
429
430 #
431 # USB
432 #
433 Omap35xxPkg/PciEmulation/PciEmulation.inf
434
435 #NOTE: Open source EHCI stack doesn't work on Beagleboard.
436 #NOTE: UsbBus and UsbMassStorage don't work using iPhone SDK tool chain.
437 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
438 <PcdsFixedAtBuild>
439 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
440 }
441
442 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
443 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
444
445 #
446 # Nand Flash
447 #
448 Omap35xxPkg/Flash/Flash.inf
449
450 #
451 # MMC/SD
452 #
oliviermartin0bade102011-09-28 18:59:32 +0000453 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
454 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000455
456 #
457 # I2C
458 #
459 Omap35xxPkg/SmbusDxe/Smbus.inf
460
461 #
462 # SoC Drivers
463 #
464 Omap35xxPkg/Gpio/Gpio.inf
465 Omap35xxPkg/InterruptDxe/InterruptDxe.inf
466 Omap35xxPkg/TimerDxe/TimerDxe.inf
oliviermartin3d15d6c2011-09-22 23:24:54 +0000467 Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
468
oliviermartin11c20f42011-09-22 22:53:54 +0000469 #
470 # Power IC
471 #
472 Omap35xxPkg/TPS65950Dxe/TPS65950.inf
473
474 #
475 # Application
476 #
477 EmbeddedPkg/Ebl/Ebl.inf
478
479 #
480 # Bds
481 #
482 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
483 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
484 ArmPlatformPkg/Bds/Bds.inf
485
486 #
487 # Example Application
488 #
489 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
490