]> git.proxmox.com Git - mirror_edk2.git/blob - BeagleBoardPkg/BeagleBoardPkg.dsc
2951c689c7535b65d0721c975e250e641044d5f5
[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 # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 #**/
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 PLATFORM_NAME = BeagleBoardPkg
24 PLATFORM_GUID = 91fa6c28-33df-46ac-aee6-292d6811ea31
25 PLATFORM_VERSION = 0.1
26 DSC_SPECIFICATION = 0x00010005
27 OUTPUT_DIRECTORY = Build/BeagleBoard
28 SUPPORTED_ARCHITECTURES = ARM
29 BUILD_TARGETS = DEBUG|RELEASE
30 SKUID_IDENTIFIER = DEFAULT
31 FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg.fdf
32
33
34 [LibraryClasses.common]
35 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
36 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
37 ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
38 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
39 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
40 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
41
42 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
43 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
44
45 !if $(TARGET) == RELEASE
46 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
47 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
48 !else
49 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
50 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
51 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
52 !endif
53 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
54
55 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
56
57 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
58 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
59
60 EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
61
62 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
63 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
64 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
65
66 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
67
68 # These libraries are used by the dynamic EFI Shell commands
69 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
70 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
71 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
72
73 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
74
75 #
76 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
77 # in the debugger will show load and unload commands for symbols. You can cut and paste this
78 # into the command window to load symbols. We should be able to use a script to do this, but
79 # the version of RVD I have does not support scipts accessing system memory.
80 #
81 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
82 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
83 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
84
85
86 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
87 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
88 CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
89 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
90
91 SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
92 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
93
94 RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
95
96 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
97
98 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
99 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
100 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
101 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
102 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
103 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
104
105 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
106 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
107 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
108
109 #
110 # Assume everything is fixed at build
111 #
112 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
113
114 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
115
116 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
117
118 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
119
120 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
121 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
122 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
123 DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
124
125 GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
126 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
127 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
128 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
129
130 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
131 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
132
133 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
134 PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
135 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
136
137 # UiApp dependencies
138 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
139 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
140 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
141
142 [LibraryClasses.common.SEC]
143 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
144 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
145 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
146 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
147 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
148
149 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
150
151 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
152 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
153 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
154 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
155 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
156 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
157
158 # 1/123 faster than Stm or Vstm version
159 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
160
161 # Uncomment to turn on GDB stub in SEC.
162 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
163
164 [LibraryClasses.common.PEI_CORE]
165 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
166 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
167
168 [LibraryClasses.common.DXE_CORE]
169 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
170 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
171 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
172 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
173 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
174 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
175 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
176 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
177 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
178
179 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
180
181
182 [LibraryClasses.common.DXE_DRIVER]
183 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
184 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
185 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
186 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
187
188 [LibraryClasses.common.UEFI_APPLICATION]
189 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
190 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
191 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
192 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
193
194 [LibraryClasses.common.UEFI_DRIVER]
195 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
196 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
197 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
198 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
199 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
200
201 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
202 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
204 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
205 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
206 # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
207 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
208
209
210 [LibraryClasses.ARM]
211 #
212 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
213 # This library provides the instrinsic functions generate by a given compiler.
214 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
215 #
216 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
217
218 # Add support for GCC stack protector
219 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
220
221 [BuildOptions]
222 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
223
224 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
225
226 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
227
228 ################################################################################
229 #
230 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
231 #
232 ################################################################################
233
234 [PcdsFeatureFlag.common]
235 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
236 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
237 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
238 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
239
240 #
241 # Control what commands are supported from the UI
242 # Turn these on and off to add features or save size
243 #
244 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
245 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
246 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
247 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
248 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
250 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
251
252 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
253
254 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
255 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
256
257 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
258 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
259
260 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
261
262 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
263 # It could be set FALSE to save size.
264 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
265
266 [PcdsFixedAtBuild.common]
267 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
268
269 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
270 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
271 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
272 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
273 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
274 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
275 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
276 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
277 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
278
279 # DEBUG_ASSERT_ENABLED 0x01
280 # DEBUG_PRINT_ENABLED 0x02
281 # DEBUG_CODE_ENABLED 0x04
282 # CLEAR_MEMORY_ENABLED 0x08
283 # ASSERT_BREAKPOINT_ENABLED 0x10
284 # ASSERT_DEADLOOP_ENABLED 0x20
285 !if $(TARGET) == RELEASE
286 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
287 !else
288 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
289 !endif
290
291 # DEBUG_INIT 0x00000001 // Initialization
292 # DEBUG_WARN 0x00000002 // Warnings
293 # DEBUG_LOAD 0x00000004 // Load events
294 # DEBUG_FS 0x00000008 // EFI File system
295 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
296 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
297 # DEBUG_INFO 0x00000040 // Informational debug messages
298 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
299 # DEBUG_VARIABLE 0x00000100 // Variable
300 # DEBUG_BM 0x00000400 // Boot Manager
301 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
302 # DEBUG_NET 0x00004000 // SNP Driver
303 # DEBUG_UNDI 0x00010000 // UNDI Driver
304 # DEBUG_LOADFILE 0x00020000 // LoadFile
305 # DEBUG_EVENT 0x00080000 // Event messages
306 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
307 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
308 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
309 # // significantly impact boot performance
310 # DEBUG_ERROR 0x80000000 // Error
311 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
312
313 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
314
315 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
316 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
317 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
318
319 #
320 # Optional feature to help prevent EFI memory map fragments
321 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
322 # Values are in EFI Pages (4K). DXE Core will make sure that
323 # at least this much of each type of memory can be allocated
324 # from a single memory range. This way you only end up with
325 # maximum of two fragements for each type in the memory map
326 # (the memory used, and the free memory that was prereserved
327 # but not used).
328 #
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
338
339 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
340
341 #
342 # Beagle board Specific PCDs
343 #
344 gArmTokenSpaceGuid.PcdVFPEnabled|1
345
346 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
347 gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000
348
349 # Size of the region used by UEFI in permanent memory (Reserved 16MB)
350 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000
351
352 # Size of the region reserved for fixed address allocations (Reserved 32MB)
353 gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000
354
355 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000
356 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
357
358 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
359 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
360 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
361
362 # We want to use the Shell Libraries but don't want it to initialise
363 # automatically. We initialise the libraries when the command is called by the
364 # Shell.
365 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
366
367 #
368 # ARM Pcds
369 #
370 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
371
372 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"
373 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/Image"
374 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=tty0 console=ttyS2,115200n8 root=UUID=a4af765b-c2b5-48f4-9564-7a4e9104c4f6 rootwait ro earlyprintk"
375 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10
376
377 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(E68088EF-D1A4-4336-C1DB-4D3A204730A6)"
378 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
379
380 # GUID of the UEFI Shell
381 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
382
383 # GUID of the UI app
384 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
385
386 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
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|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
408 }
409
410 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
411
412 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
413 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
414 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
415 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
416 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
417 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
418
419 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
420 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
421 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
422 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
423 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
424 #
425 # This version uses semi-hosting console
426 # EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
427 # <LibraryClasses>
428 # SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
429 # }
430
431 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
432 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
433 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
434
435 #
436 # Semi-hosting filesystem
437 #
438 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
439
440 #
441 # FAT filesystem + GPT/MBR partitioning
442 #
443 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
444 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
445 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
446 FatPkg/EnhancedFatDxe/Fat.inf
447
448 #
449 # USB
450 #
451 Omap35xxPkg/PciEmulation/PciEmulation.inf
452
453 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
454 <PcdsFixedAtBuild>
455 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
456 }
457
458 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
459 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
460
461 #
462 # Nand Flash
463 #
464 Omap35xxPkg/Flash/Flash.inf
465
466 #
467 # MMC/SD
468 #
469 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
470 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
471
472 #
473 # I2C
474 #
475 Omap35xxPkg/SmbusDxe/Smbus.inf
476
477 #
478 # SoC Drivers
479 #
480 Omap35xxPkg/Gpio/Gpio.inf
481 Omap35xxPkg/InterruptDxe/InterruptDxe.inf
482 Omap35xxPkg/TimerDxe/TimerDxe.inf
483 Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
484
485 #
486 # Power IC
487 #
488 Omap35xxPkg/TPS65950Dxe/TPS65950.inf
489
490 #
491 # Bds
492 #
493 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
494 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
495 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
496 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
497 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
498 MdeModulePkg/Application/UiApp/UiApp.inf {
499 <LibraryClasses>
500 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
501 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
502 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
503 }
504 ShellPkg/Application/Shell/Shell.inf {
505 <LibraryClasses>
506 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
507 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
508 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
509 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
510 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
511 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
512 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
513 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
514 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
515 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
516 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
517 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
518
519 <PcdsFixedAtBuild>
520 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
521 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
522 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
523 }
524
525 # Legacy Linux Loader
526 ArmPkg/Application/LinuxLoader/LinuxLoader.inf {
527 <LibraryClasses>
528 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
529 }