]>
Commit | Line | Data |
---|---|---|
2ef2b01e A |
1 | #/** @file |
2 | # Beagle board package. | |
3 | # | |
b830c1df | 4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR> |
2ef2b01e | 5 | # |
1ebd6c11 | 6 | # This program and the accompanying materials |
2ef2b01e A |
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 | |
2ef2b01e A |
31 | |
32 | ||
33 | [LibraryClasses.common] | |
60884a0a | 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 | |
adbd84b4 | 39 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf |
aebb096e | 40 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf |
adbd84b4 | 41 | !else |
2ef2b01e | 42 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf |
b830c1df | 43 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf |
44 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf | |
adbd84b4 | 45 | !endif |
4e7b7318 | 46 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf |
2ef2b01e | 47 | |
5dea9bd6 | 48 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf |
f659880b | 49 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
60884a0a | 50 | PrePiHobListPointerLib|EmbeddedPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf |
2ef2b01e A |
51 | |
52 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf | |
d39eb83c | 53 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf |
2ef2b01e | 54 | |
2ef2b01e A |
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 | ||
60884a0a | 61 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf |
2ef2b01e A |
62 | |
63 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf | |
64 | ||
65 | ||
66 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
225290eb A |
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 | |
5b792f1a | 75 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf |
76 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf | |
225290eb A |
77 | |
78 | ||
2ef2b01e | 79 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf |
6f72e28d | 80 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf |
2ef2b01e A |
81 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf |
82 | ||
cb0f9ff1 | 83 | SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf |
2ef2b01e A |
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 | ||
f659880b A |
111 | |
112 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | |
2ef2b01e | 113 | |
b1c5bd52 | 114 | TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf |
cb0f9ff1 | 115 | OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf |
d3f55de3 | 116 | OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf |
2ef2b01e | 117 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf |
8c454d98 | 118 | DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf |
685f8c76 | 119 | |
cb0f9ff1 | 120 | GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf |
097bd461 | 121 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf |
fe35c036 | 122 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf |
81bc205d | 123 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf |
2ef2b01e | 124 | |
2ef2b01e | 125 | [LibraryClasses.common.SEC] |
5dea9bd6 | 126 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf |
2ef2b01e A |
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 | |
934309d5 | 132 | |
133 | # Temp work around for Movt relocation issue. | |
134 | PeCoffLib|ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
135 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
136 | ||
9d1d7243 | 137 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf |
60884a0a | 138 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf |
9d1d7243 | 139 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf |
d39eb83c | 140 | |
141 | # 1/123 faster than Stm or Vstm version | |
142 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
2ef2b01e | 143 | |
8c454d98 | 144 | # Uncomment to turn on GDB stub in SEC. |
145 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf | |
685f8c76 | 146 | |
2ef2b01e A |
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 | |
eea55531 | 159 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf |
160 | PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf | |
2ef2b01e | 161 | |
9d1d7243 | 162 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf |
163 | ||
164 | ||
2ef2b01e A |
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 | |
d02b28d7 | 169 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
2ef2b01e A |
170 | |
171 | ||
172 | [LibraryClasses.common.UEFI_APPLICATION] | |
173 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
174 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
d02b28d7 | 175 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
60884a0a | 176 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
2ef2b01e A |
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 | |
d02b28d7 | 182 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
2ef2b01e A |
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 | |
eea55531 | 189 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf |
190 | PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf | |
2ef2b01e | 191 | |
a957d4a7 A |
192 | |
193 | [LibraryClasses.ARM] | |
5aa324d9 | 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 | # | |
a957d4a7 A |
199 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf |
200 | ||
201 | ||
2ef2b01e | 202 | [BuildOptions] |
752d258a | 203 | XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 |
204 | XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 | |
205 | XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 | |
8c3f387b | 206 | XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG |
076c0505 | 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 | |
2ef2b01e | 211 | |
d02b28d7 | 212 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb |
213 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 | |
214 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG | |
2ef2b01e A |
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 | ||
60884a0a | 242 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress |
243 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE | |
244 | ||
2ef2b01e A |
245 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE |
246 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE | |
247 | ||
d367fe46 | 248 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE |
2ef2b01e A |
249 | |
250 | [PcdsFixedAtBuild.common] | |
e6b3b508 | 251 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2" |
2ef2b01e A |
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 | |
5b792f1a | 259 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 |
2ef2b01e A |
260 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 |
261 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 | |
262 | ||
263 | # DEBUG_ASSERT_ENABLED 0x01 | |
2ef2b01e | 264 | # DEBUG_PRINT_ENABLED 0x02 |
2ef2b01e | 265 | # DEBUG_CODE_ENABLED 0x04 |
2ef2b01e | 266 | # CLEAR_MEMORY_ENABLED 0x08 |
2ef2b01e | 267 | # ASSERT_BREAKPOINT_ENABLED 0x10 |
2ef2b01e | 268 | # ASSERT_DEADLOOP_ENABLED 0x20 |
60884a0a | 269 | !if $(TARGET) == RELEASE |
270 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 | |
271 | !else | |
2ef2b01e | 272 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f |
60884a0a | 273 | !endif |
2ef2b01e A |
274 | |
275 | # DEBUG_INIT 0x00000001 // Initialization | |
2ef2b01e | 276 | # DEBUG_WARN 0x00000002 // Warnings |
2ef2b01e | 277 | # DEBUG_LOAD 0x00000004 // Load events |
2ef2b01e | 278 | # DEBUG_FS 0x00000008 // EFI File system |
2ef2b01e | 279 | # DEBUG_POOL 0x00000010 // Alloc & Free's |
2ef2b01e | 280 | # DEBUG_PAGE 0x00000020 // Alloc & Free's |
2ef2b01e | 281 | # DEBUG_INFO 0x00000040 // Verbose |
2ef2b01e | 282 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers |
2ef2b01e | 283 | # DEBUG_VARIABLE 0x00000100 // Variable |
2ef2b01e | 284 | # DEBUG_BM 0x00000400 // Boot Manager |
2ef2b01e | 285 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver |
2ef2b01e | 286 | # DEBUG_NET 0x00004000 // SNI Driver |
2ef2b01e | 287 | # DEBUG_UNDI 0x00010000 // UNDI Driver |
2ef2b01e | 288 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver |
2ef2b01e | 289 | # DEBUG_EVENT 0x00080000 // Event messages |
2ef2b01e A |
290 | # DEBUG_ERROR 0x80000000 // Error |
291 | ||
5b792f1a | 292 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000 |
2ef2b01e A |
293 | |
294 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
295 | ||
296 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" | |
297 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 | |
298 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 | |
299 | ||
2ef2b01e A |
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 | |
753816a3 | 330 | |
331 | gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x80000000 | |
332 | gEmbeddedTokenSpaceGuid.PcdMemorySize|0x10000000 | |
333 | ||
8c454d98 | 334 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 |
335 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000 | |
753816a3 | 336 | |
2ef2b01e A |
337 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000 |
338 | gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000 | |
339 | ||
2ef2b01e | 340 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 |
d02b28d7 | 341 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77 |
342 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000 | |
2ef2b01e A |
343 | |
344 | # | |
345 | # ARM Pcds | |
346 | # | |
347 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 | |
348 | ||
60884a0a | 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 | ||
2ef2b01e A |
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 | |
eea55531 | 383 | # NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf |
384 | NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf | |
2ef2b01e A |
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 | |
63ca7402 | 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 | # } | |
2ef2b01e A |
403 | |
404 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf | |
405 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | |
47d5cc90 | 406 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf |
2ef2b01e A |
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 | # | |
cb0f9ff1 | 424 | Omap35xxPkg/PciEmulation/PciEmulation.inf |
2ef2b01e A |
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 | } | |
319dd747 | 432 | |
2ef2b01e A |
433 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf |
434 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf | |
435 | ||
436 | # | |
437 | # Nand Flash | |
438 | # | |
cb0f9ff1 | 439 | Omap35xxPkg/Flash/Flash.inf |
2ef2b01e A |
440 | |
441 | # | |
442 | # MMC/SD | |
443 | # | |
b830c1df | 444 | Omap35xxPkg/MMCHSDxe/MMCHS.inf { |
445 | <PcdsFixedAtBuild> | |
446 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff | |
447 | } | |
2ef2b01e A |
448 | |
449 | # | |
450 | # I2C | |
451 | # | |
cb0f9ff1 | 452 | Omap35xxPkg/SmbusDxe/Smbus.inf |
2ef2b01e A |
453 | |
454 | # | |
455 | # SoC Drivers | |
456 | # | |
cb0f9ff1 | 457 | Omap35xxPkg/Gpio/Gpio.inf |
458 | Omap35xxPkg/InterruptDxe/InterruptDxe.inf | |
459 | Omap35xxPkg/TimerDxe/TimerDxe.inf | |
2ef2b01e A |
460 | |
461 | # | |
462 | # Power IC | |
463 | # | |
cb0f9ff1 | 464 | Omap35xxPkg/TPS65950Dxe/TPS65950.inf |
2ef2b01e A |
465 | |
466 | # | |
467 | # Application | |
468 | # | |
469 | EmbeddedPkg/Ebl/Ebl.inf | |
470 | ||
471 | # | |
472 | # Bds | |
473 | # | |
60884a0a | 474 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf |
475 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | |
476 | ArmPlatformPkg/Bds/Bds.inf | |
d02b28d7 | 477 | |
2ef2b01e | 478 | # |
d02b28d7 | 479 | # Example Application |
480 | # | |
481 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf | |
2ef2b01e | 482 |