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