2 # Copyright (c) 2011, ARM Limited. All rights reserved.
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 ################################################################################
16 # Defines Section - statements that will be processed to create a Makefile.
18 ################################################################################
20 PLATFORM_NAME = ArmRealViewEbPkg
21 PLATFORM_GUID = F4C1AD3E-9D3E-4F61-8791-B3BB1C43D04C
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A8
25 SUPPORTED_ARCHITECTURES = ARM
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf
30 [LibraryClasses.common]
31 !if $(BUILD_TARGETS) == RELEASE
32 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
33 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
35 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
36 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
37 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
39 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
41 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
42 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
45 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
46 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
48 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
49 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
50 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
52 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
53 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
56 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
57 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
60 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
61 # in the debugger will show load and unload commands for symbols. You can cut and paste this
62 # into the command window to load symbols. We should be able to use a script to do this, but
63 # the version of RVD I have does not support scripts accessing system memory.
65 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
66 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
67 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
69 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
70 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
72 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
74 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
76 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
78 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
79 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
81 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
82 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
83 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
84 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
85 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
87 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
88 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
89 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
92 # Assume everything is fixed at build
94 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
96 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
98 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
100 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
101 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
103 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
105 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
106 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
107 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
109 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
110 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
111 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf
112 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
114 # ARM PL011 UART Driver
115 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
117 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
119 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf
120 NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf
121 LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf
123 [LibraryClasses.common.SEC]
124 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
125 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf
126 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
128 # 1/123 faster than Stm or Vstm version
129 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
131 # Uncomment to turn on GDB stub in SEC.
132 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
135 L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
136 # ARM PL390 General Interrupt Driver in Secure and Non-secure
137 PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
139 !if $(EDK2_SKIP_PEICORE) == 1
140 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
141 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
142 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
143 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
144 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
145 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
146 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
147 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
150 [LibraryClasses.common.PEI_CORE]
151 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
152 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
153 # note: this won't actually work since globals in PEI are not writeable
154 # need to generate an ARM PEI services table pointer implementation
155 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
156 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
157 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
158 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
159 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
160 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
161 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
162 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
163 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
164 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
166 [LibraryClasses.common.PEIM]
167 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
168 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
169 # note: this won't actually work since globals in PEI are not writeable
170 # need to generate an ARM PEI services table pointer implementation
171 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
172 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
173 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
174 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
175 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
176 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
177 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
178 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
179 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
180 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
181 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
183 [LibraryClasses.common.DXE_CORE]
184 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
185 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
186 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
187 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
188 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
189 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
190 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
191 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
193 [LibraryClasses.common.DXE_DRIVER]
194 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
195 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
196 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
197 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
198 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
200 [LibraryClasses.common.UEFI_APPLICATION]
201 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
202 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
203 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
204 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
206 [LibraryClasses.common.UEFI_DRIVER]
207 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
208 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
209 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
210 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
211 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
214 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
215 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
216 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
217 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
221 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
222 # This library provides the instrinsic functions generate by a given compiler.
223 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
225 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
228 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
229 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
230 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
232 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
233 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
234 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
236 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
237 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
238 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
239 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
242 ################################################################################
244 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
246 ################################################################################
248 [PcdsFeatureFlag.common]
249 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
250 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
251 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
252 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
254 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
256 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
257 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
259 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
261 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
263 !if $(EDK2_SKIP_PEICORE) == 1
264 gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE
267 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
268 # It could be set FALSE to save size.
269 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
271 [PcdsFixedAtBuild.common]
272 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
274 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A8"
275 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
276 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
277 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
278 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
279 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
280 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
281 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
282 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
283 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
284 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
286 # DEBUG_ASSERT_ENABLED 0x01
287 # DEBUG_PRINT_ENABLED 0x02
288 # DEBUG_CODE_ENABLED 0x04
289 # CLEAR_MEMORY_ENABLED 0x08
290 # ASSERT_BREAKPOINT_ENABLED 0x10
291 # ASSERT_DEADLOOP_ENABLED 0x20
292 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
294 # DEBUG_INIT 0x00000001 // Initialization
295 # DEBUG_WARN 0x00000002 // Warnings
296 # DEBUG_LOAD 0x00000004 // Load events
297 # DEBUG_FS 0x00000008 // EFI File system
298 # DEBUG_POOL 0x00000010 // Alloc & Free's
299 # DEBUG_PAGE 0x00000020 // Alloc & Free's
300 # DEBUG_INFO 0x00000040 // Verbose
301 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
302 # DEBUG_VARIABLE 0x00000100 // Variable
303 # DEBUG_BM 0x00000400 // Boot Manager
304 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
305 # DEBUG_NET 0x00004000 // SNI Driver
306 # DEBUG_UNDI 0x00010000 // UNDI Driver
307 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
308 # DEBUG_EVENT 0x00080000 // Event messages
309 # DEBUG_ERROR 0x80000000 // Error
310 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
312 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
315 # NV Storage PCDs. Use base of 0x43F00000 for NOR0
317 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000
318 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000
319 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000
320 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000
321 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000
322 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000
324 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
325 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
326 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
329 # Optional feature to help prevent EFI memory map fragments
330 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
331 # Values are in EFI Pages (4K). DXE Core will make sure that
332 # at least this much of each type of memory can be allocated
333 # from a single memory range. This way you only end up with
334 # maximum of two fragements for each type in the memory map
335 # (the memory used, and the free memory that was prereserved
338 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000
340 gArmPlatformTokenSpaceGuid.PcdStandalone|1
342 # Stack for CPU Cores in Secure Mode
343 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World
344 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Size of SEC Stack for Secure World
346 # Stack for CPU Cores in Secure Monitor Mode
347 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World
348 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Size of SEC Stack for Monitor World
350 # Stack for CPU Cores in Non Secure Mode
351 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World
352 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Size of SEC Stack for Normal World
354 # System Memory (256MB)
355 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
356 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
358 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
359 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
361 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
362 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
363 gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|36
368 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
373 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
376 # ARM PL011 - Serial Terminal
378 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
381 # ARM PL390 General Interrupt Controller
383 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000
384 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000
385 gArmTokenSpaceGuid.PcdGicNumInterrupts|96
390 gArmTokenSpaceGuid.PcdArmMachineType|827
391 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"
392 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage-RTSM"
393 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=128M"
394 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
396 # Use the Serial console (ConIn & ConOut) and the Graphic driver (ConOut)
397 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"
398 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
399 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
404 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
408 ################################################################################
410 # Components Section - list of all EDK II Modules needed by this Platform
412 ################################################################################
418 ArmPlatformPkg/Sec/Sec.inf
423 !if $(EDK2_SKIP_PEICORE) == 1
424 ArmPlatformPkg/PrePi/PeiUniCore.inf {
426 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
427 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
430 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
431 MdeModulePkg/Core/Pei/PeiMain.inf
432 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
434 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
436 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
437 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
438 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
439 Nt32Pkg/BootModePei/BootModePei.inf
440 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
441 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
443 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
450 MdeModulePkg/Core/Dxe/DxeMain.inf {
452 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
453 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
457 # Architectural Protocols
459 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
460 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
461 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
462 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
463 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
464 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
465 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
466 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
468 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
469 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
470 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
472 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
473 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
474 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
476 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
477 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
478 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
479 EmbeddedPkg/SerialDxe/SerialDxe.inf
481 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
482 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
484 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
487 # Semi-hosting filesystem
489 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
492 # FAT filesystem + GPT/MBR partitioning
494 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
495 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
496 FatPkg/EnhancedFatDxe/Fat.inf
497 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
503 EmbeddedPkg/Ebl/Ebl.inf
508 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
509 ArmPlatformPkg/Bds/Bds.inf