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