Omap35xxPkg/Library/RealTimeClockLib: Add RTC Support
[mirror_edk2.git] / BeagleBoardPkg / BeagleBoardPkg-next.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-next.fdf
31
32
33 [LibraryClasses.common]
34 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
35 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
36 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
37
38 !if $(TARGET) == RELEASE
39 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
40 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
41 !else
42 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
43 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
44 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
45 !endif
46 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
47
48 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
49 ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
50 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
51
52 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
53 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
54
55 EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
56
57 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
58 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
59 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
60
61 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
62
63 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
64
65
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
67
68 #
69 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
70 # in the debugger will show load and unload commands for symbols. You can cut and paste this
71 # into the command window to load symbols. We should be able to use a script to do this, but
72 # the version of RVD I have does not support scipts accessing system memory.
73 #
74 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
75 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
76 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
77
78
79 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
80 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
81 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
82
83 SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
84 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
85
86 RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
87
88 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
89
90 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
91 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
92 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
93 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
94 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
95 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
96
97 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
98 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
99 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
100
101 #
102 # Assume everything is fixed at build
103 #
104 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
105
106 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
107
108 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
109 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
110
111
112 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
113
114 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
115 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
116 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
117 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
118 DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
119
120 GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
121 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
122 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
123 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
124
125 [LibraryClasses.common.SEC]
126 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
127 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
128 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
129 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
130 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
131 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
132
133 # Temp work around for Movt relocation issue.
134 #PeCoffLib|ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
135 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
136
137 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
138 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
139 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
140 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
141 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
142 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
143
144 # 1/123 faster than Stm or Vstm version
145 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
146
147 # Uncomment to turn on GDB stub in SEC.
148 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
149
150 [LibraryClasses.common.PEI_CORE]
151 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
152 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
153
154 [LibraryClasses.common.DXE_CORE]
155 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
156 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
157 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
158 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
159 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
160 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
161 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
162 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
163 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
164
165 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
166
167
168 [LibraryClasses.common.DXE_DRIVER]
169 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
170 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
171 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
172 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
173
174
175 [LibraryClasses.common.UEFI_APPLICATION]
176 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
177 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
178 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
179 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
180
181 [LibraryClasses.common.UEFI_DRIVER]
182 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
183 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
184 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
185 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
186
187 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
188 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
189 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
190 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
191 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
192 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
193 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
194
195
196 [LibraryClasses.ARM]
197 #
198 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
199 # This library provides the instrinsic functions generate by a given compiler.
200 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
201 #
202 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
203
204
205 [BuildOptions]
206 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7
207 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7
208 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7
209 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
210
211 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb
212 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a
213 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
214
215 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb
216 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
217 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
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 [PcdsFixedAtBuild.common]
254 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
255
256 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
257 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
258 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
259 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
260 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
261 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
262 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
263 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
264 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
265 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
266 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
267
268 # DEBUG_ASSERT_ENABLED 0x01
269 # DEBUG_PRINT_ENABLED 0x02
270 # DEBUG_CODE_ENABLED 0x04
271 # CLEAR_MEMORY_ENABLED 0x08
272 # ASSERT_BREAKPOINT_ENABLED 0x10
273 # ASSERT_DEADLOOP_ENABLED 0x20
274 !if $(TARGET) == RELEASE
275 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
276 !else
277 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
278 !endif
279
280 # DEBUG_INIT 0x00000001 // Initialization
281 # DEBUG_WARN 0x00000002 // Warnings
282 # DEBUG_LOAD 0x00000004 // Load events
283 # DEBUG_FS 0x00000008 // EFI File system
284 # DEBUG_POOL 0x00000010 // Alloc & Free's
285 # DEBUG_PAGE 0x00000020 // Alloc & Free's
286 # DEBUG_INFO 0x00000040 // Verbose
287 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
288 # DEBUG_VARIABLE 0x00000100 // Variable
289 # DEBUG_BM 0x00000400 // Boot Manager
290 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
291 # DEBUG_NET 0x00004000 // SNI Driver
292 # DEBUG_UNDI 0x00010000 // UNDI Driver
293 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
294 # DEBUG_EVENT 0x00080000 // Event messages
295 # DEBUG_ERROR 0x80000000 // Error
296
297 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
298
299 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
300
301 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
302 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
303 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
304
305 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0
306 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0
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 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x87FE0000 # stack at top of memory
335 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # 128K stack
336
337 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
338 gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000
339
340 # Size of the region used by UEFI in permanent memory (Reserved 16MB)
341 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000
342
343 # Size of the region reserved for fixed address allocations (Reserved 32MB)
344 gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000
345
346 # Reserved to store the HobBase address (top of UEFI Memory Region)
347 # = (PcdSystemMemoryBase + PcdSystemMemorySize) - sizeof(UINT32)
348 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x87FFFFFC
349
350 #gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x80001000
351 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory
352 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack
353
354 gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x80000000
355 gEmbeddedTokenSpaceGuid.PcdMemorySize|0x10000000
356
357
358 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000
359 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
360
361 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
362 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
363 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
364
365 #
366 # ARM Pcds
367 #
368 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
369
370 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"
371 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/zImage"
372 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
373 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
374 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/omap3-beagle.dtb"
375
376 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(6696936D-3637-467C-87CB-14EA8248948C)/Uart(115200,8,N,1)/VenPcAnsi()"
377 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(6696936D-3637-467C-87CB-14EA8248948C)/Uart(115200,8,N,1)/VenPcAnsi()"
378
379 #
380 # ARM OS Loader
381 #
382 # BeagleBoard machine type (OMAP3_BEAGLE = 1546) required for ARM Linux:
383 gArmTokenSpaceGuid.PcdArmMachineType|1546
384
385 ################################################################################
386 #
387 # Components Section - list of all EDK II Modules needed by this Platform
388 #
389 ################################################################################
390 [Components.common]
391
392 #
393 # SEC
394 #
395 ArmPlatformPkg/PrePi/PeiUniCore.inf
396
397 #
398 # DXE
399 #
400 MdeModulePkg/Core/Dxe/DxeMain.inf {
401 <LibraryClasses>
402 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
403 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
404 # NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
405 NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
406 }
407
408 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
409
410 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
411 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
412 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
413 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
414 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
415 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
416
417 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
418 #
419 # This version uses semi-hosting console
420 # EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
421 # <LibraryClasses>
422 # SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
423 # }
424
425 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
426 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
427 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
428
429 #
430 # Semi-hosting filesystem
431 #
432 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
433
434 #
435 # FAT filesystem + GPT/MBR partitioning
436 #
437 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
438 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
439 FatPkg/EnhancedFatDxe/Fat.inf
440 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
441
442 #
443 # USB
444 #
445 Omap35xxPkg/PciEmulation/PciEmulation.inf
446
447 #NOTE: Open source EHCI stack doesn't work on Beagleboard.
448 #NOTE: UsbBus and UsbMassStorage don't work using iPhone SDK tool chain.
449 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
450 <PcdsFixedAtBuild>
451 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
452 }
453
454 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
455 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
456
457 #
458 # Nand Flash
459 #
460 Omap35xxPkg/Flash/Flash.inf
461
462 #
463 # MMC/SD
464 #
465 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
466 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
467
468 #
469 # I2C
470 #
471 Omap35xxPkg/SmbusDxe/Smbus.inf
472
473 #
474 # SoC Drivers
475 #
476 Omap35xxPkg/Gpio/Gpio.inf
477 Omap35xxPkg/InterruptDxe/InterruptDxe.inf
478 Omap35xxPkg/TimerDxe/TimerDxe.inf
479
480 #
481 # Power IC
482 #
483 Omap35xxPkg/TPS65950Dxe/TPS65950.inf
484
485 #
486 # Application
487 #
488 EmbeddedPkg/Ebl/Ebl.inf
489
490 #
491 # Bds
492 #
493 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
494 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
495 ArmPlatformPkg/Bds/Bds.inf
496
497 #
498 # Example Application
499 #
500 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
501