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