]>
Commit | Line | Data |
---|---|---|
11c20f4e | 1 | #\r |
ff4d6bb3 | 2 | # Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r |
11c20f4e | 3 | # \r |
4 | # This program and the accompanying materials \r | |
5 | # are licensed and made available under the terms and conditions of the BSD License \r | |
6 | # which accompanies this distribution. The full text of the license may be found at \r | |
7 | # http://opensource.org/licenses/bsd-license.php \r | |
8 | #\r | |
9 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | #\r | |
12 | #\r | |
13 | \r | |
14 | ################################################################################\r | |
15 | #\r | |
16 | # Defines Section - statements that will be processed to create a Makefile.\r | |
17 | #\r | |
18 | ################################################################################\r | |
19 | [Defines]\r | |
20 | PLATFORM_NAME = ArmRealViewEb-RTSM-A9x2\r | |
21 | PLATFORM_GUID = f6c2f4a0-2027-11e0-a2a1-0002a5d5c51b\r | |
22 | PLATFORM_VERSION = 0.1\r | |
23 | DSC_SPECIFICATION = 0x00010005\r | |
24 | OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A9x2\r | |
25 | SUPPORTED_ARCHITECTURES = ARM\r | |
26 | BUILD_TARGETS = DEBUG|RELEASE\r | |
27 | SKUID_IDENTIFIER = DEFAULT\r | |
28 | FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf\r | |
29 | \r | |
f4ee7a82 | 30 | !include ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb.dsc.inc\r |
11c20f4e | 31 | \r |
f4ee7a82 | 32 | [LibraryClasses.common]\r |
aa84fef5 | 33 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r |
90d6a1bb | 34 | ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf\r |
11c20f4e | 35 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r |
11c20f4e | 36 | \r |
11c20f4e | 37 | # ARM PL390 General Interrupt Driver in Secure and Non-secure\r |
55a0d64b | 38 | ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf\r |
39 | ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r | |
11c20f4e | 40 | \r |
11c20f4e | 41 | [LibraryClasses.common.SEC]\r |
aa84fef5 | 42 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r |
e314d564 | 43 | ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf\r |
44 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLibSec.inf\r | |
11c20f4e | 45 | \r |
46 | [BuildOptions]\r | |
f4ee7a82 | 47 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r |
11c20f4e | 48 | \r |
90d6a1bb | 49 | GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r |
11c20f4e | 50 | \r |
f4ee7a82 | 51 | XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r |
11c20f4e | 52 | \r |
53 | \r | |
54 | ################################################################################\r | |
55 | #\r | |
56 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
57 | #\r | |
58 | ################################################################################\r | |
59 | \r | |
60 | [PcdsFeatureFlag.common]\r | |
4103bc94 | 61 | !ifdef $(EDK2_SKIP_PEICORE)\r |
11c20f4e | 62 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r |
63 | gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r | |
64 | !endif\r | |
65 | \r | |
66 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r | |
67 | # It could be set FALSE to save size.\r | |
68 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
69 | \r | |
70 | [PcdsFixedAtBuild.common]\r | |
71 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"\r | |
11c20f4e | 72 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"\r |
11c20f4e | 73 | \r |
74 | #\r | |
75 | # NV Storage PCDs. Use base of 0x43F00000 for NOR0\r | |
76 | #\r | |
77 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000\r | |
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000\r | |
79 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000\r | |
80 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000\r | |
81 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000\r | |
82 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000\r | |
83 | \r | |
11c20f4e | 84 | # Stacks for MPCores in Secure World\r |
2dbcb8f0 | 85 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000\r |
11c20f4e | 86 | # Stacks for MPCores in Monitor Mode\r |
2dbcb8f0 | 87 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000\r |
11c20f4e | 88 | # Stacks for MPCores in Normal World\r |
2dbcb8f0 | 89 | gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000\r |
11c20f4e | 90 | \r |
91 | # System Memory (256MB) \r | |
92 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000\r | |
93 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000\r | |
94 | \r | |
95 | # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r | |
96 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r | |
97 | \r | |
98 | #\r | |
99 | # ARM Pcds\r | |
100 | #\r | |
101 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r | |
102 | \r | |
11c20f4e | 103 | #\r |
104 | # ARM PrimeCells\r | |
105 | #\r | |
106 | \r | |
107 | ## SP804 Timer\r | |
108 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r | |
109 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r | |
110 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33\r | |
f4ee7a82 | 111 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000 \r |
112 | gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10011020\r | |
11c20f4e | 113 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020\r |
11c20f4e | 114 | \r |
115 | ## PL031 RealTimeClock\r | |
116 | gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000\r | |
117 | \r | |
f4ee7a82 | 118 | ## PL111 Lcd\r |
119 | gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000\r | |
120 | \r | |
11c20f4e | 121 | #\r |
122 | # ARM PL011 - Serial Terminal\r | |
123 | #\r | |
124 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r | |
125 | \r | |
126 | #\r | |
127 | # ARM PL390 General Interrupt Controller\r | |
128 | #\r | |
129 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000\r | |
130 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100\r | |
11c20f4e | 131 | \r |
11c20f4e | 132 | #\r |
133 | # ARM L2x0 PCDs\r | |
134 | #\r | |
135 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000\r | |
136 | \r | |
11c20f4e | 137 | ################################################################################\r |
138 | #\r | |
139 | # Components Section - list of all EDK II Modules needed by this Platform\r | |
140 | #\r | |
141 | ################################################################################\r | |
142 | [Components.common]\r | |
143 | \r | |
f4ee7a82 | 144 | #\r |
145 | # SEC\r | |
146 | #\r | |
11c20f4e | 147 | ArmPlatformPkg/Sec/Sec.inf\r |
148 | \r | |
f4ee7a82 | 149 | #\r |
150 | # PEI Phase modules\r | |
151 | #\r | |
4103bc94 | 152 | !ifdef $(EDK2_SKIP_PEICORE)\r |
11c20f4e | 153 | ArmPlatformPkg/PrePi/PeiMPCore.inf {\r |
154 | <LibraryClasses>\r | |
55a0d64b | 155 | ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r |
aa84fef5 | 156 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r |
11c20f4e | 157 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r |
d48e4b19 | 158 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r |
11c20f4e | 159 | }\r |
160 | !else\r | |
161 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {\r | |
162 | <LibraryClasses>\r | |
55a0d64b | 163 | ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r |
11c20f4e | 164 | }\r |
165 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
166 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
167 | <LibraryClasses>\r | |
168 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
169 | }\r | |
170 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r | |
171 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r | |
44788bae | 172 | ArmPkg/Drivers/CpuPei/CpuPei.inf\r |
11c20f4e | 173 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r |
174 | Nt32Pkg/BootModePei/BootModePei.inf\r | |
175 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r | |
176 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r | |
177 | <LibraryClasses>\r | |
178 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
179 | }\r | |
180 | !endif\r | |
181 | \r | |
f4ee7a82 | 182 | #\r |
183 | # DXE\r | |
184 | #\r | |
11c20f4e | 185 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r |
186 | <LibraryClasses>\r | |
187 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
188 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
189 | }\r | |
190 | \r | |
191 | #\r | |
192 | # Architectural Protocols\r | |
193 | #\r | |
194 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r | |
195 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
196 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
197 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
198 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
199 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r | |
200 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
201 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf \r | |
202 | \r | |
203 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r | |
204 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r | |
205 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r | |
206 | \r | |
207 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
208 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
209 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r | |
210 | \r | |
211 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
212 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
213 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
214 | EmbeddedPkg/SerialDxe/SerialDxe.inf\r | |
215 | \r | |
216 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r | |
217 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r | |
218 | \r | |
219 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r | |
220 | \r | |
221 | #\r | |
222 | # Semi-hosting filesystem\r | |
223 | #\r | |
224 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r | |
225 | \r | |
226 | #\r | |
227 | # FAT filesystem + GPT/MBR partitioning\r | |
228 | #\r | |
229 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
230 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
231 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
232 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
233 | \r | |
11c20f4e | 234 | #\r |
235 | # Application\r | |
236 | # \r | |
237 | EmbeddedPkg/Ebl/Ebl.inf\r | |
238 | \r | |
239 | #\r | |
240 | # Bds\r | |
241 | #\r | |
242 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
243 | ArmPlatformPkg/Bds/Bds.inf\r |