]>
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 | [LibraryClasses.common.SEC]\r |
aa84fef5 | 38 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r |
e314d564 | 39 | ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf\r |
40 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLibSec.inf\r | |
11c20f4e | 41 | \r |
42 | [BuildOptions]\r | |
f4ee7a82 | 43 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r |
11c20f4e | 44 | \r |
90d6a1bb | 45 | GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r |
11c20f4e | 46 | \r |
f4ee7a82 | 47 | XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r |
11c20f4e | 48 | \r |
49 | \r | |
50 | ################################################################################\r | |
51 | #\r | |
52 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
53 | #\r | |
54 | ################################################################################\r | |
55 | \r | |
56 | [PcdsFeatureFlag.common]\r | |
4103bc94 | 57 | !ifdef $(EDK2_SKIP_PEICORE)\r |
11c20f4e | 58 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r |
59 | gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r | |
60 | !endif\r | |
61 | \r | |
62 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r | |
63 | # It could be set FALSE to save size.\r | |
64 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
65 | \r | |
66 | [PcdsFixedAtBuild.common]\r | |
67 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"\r | |
11c20f4e | 68 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"\r |
11c20f4e | 69 | \r |
70 | #\r | |
71 | # NV Storage PCDs. Use base of 0x43F00000 for NOR0\r | |
72 | #\r | |
73 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000\r | |
74 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000\r | |
75 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000\r | |
76 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000\r | |
77 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000\r | |
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000\r | |
79 | \r | |
11c20f4e | 80 | # Stacks for MPCores in Secure World\r |
2dbcb8f0 | 81 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000\r |
11c20f4e | 82 | # Stacks for MPCores in Monitor Mode\r |
2dbcb8f0 | 83 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000\r |
11c20f4e | 84 | # Stacks for MPCores in Normal World\r |
2dbcb8f0 | 85 | gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000\r |
11c20f4e | 86 | \r |
87 | # System Memory (256MB) \r | |
88 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000\r | |
89 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000\r | |
90 | \r | |
91 | # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r | |
92 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r | |
93 | \r | |
94 | #\r | |
95 | # ARM Pcds\r | |
96 | #\r | |
97 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r | |
98 | \r | |
11c20f4e | 99 | #\r |
100 | # ARM PrimeCells\r | |
101 | #\r | |
102 | \r | |
103 | ## SP804 Timer\r | |
104 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r | |
105 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r | |
106 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33\r | |
f4ee7a82 | 107 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000 \r |
108 | gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10011020\r | |
11c20f4e | 109 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020\r |
11c20f4e | 110 | \r |
111 | ## PL031 RealTimeClock\r | |
112 | gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000\r | |
113 | \r | |
f4ee7a82 | 114 | ## PL111 Lcd\r |
115 | gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000\r | |
116 | \r | |
11c20f4e | 117 | #\r |
118 | # ARM PL011 - Serial Terminal\r | |
119 | #\r | |
120 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r | |
121 | \r | |
122 | #\r | |
123 | # ARM PL390 General Interrupt Controller\r | |
124 | #\r | |
125 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000\r | |
126 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100\r | |
11c20f4e | 127 | \r |
11c20f4e | 128 | #\r |
129 | # ARM L2x0 PCDs\r | |
130 | #\r | |
131 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000\r | |
132 | \r | |
11c20f4e | 133 | ################################################################################\r |
134 | #\r | |
135 | # Components Section - list of all EDK II Modules needed by this Platform\r | |
136 | #\r | |
137 | ################################################################################\r | |
138 | [Components.common]\r | |
139 | \r | |
f4ee7a82 | 140 | #\r |
141 | # SEC\r | |
142 | #\r | |
f8181c90 | 143 | ArmPlatformPkg/Sec/Sec.inf {\r |
144 | <LibraryClasses>\r | |
145 | # Use the implementation which set the Secure bits\r | |
146 | ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf\r | |
147 | }\r | |
11c20f4e | 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 | |
aa84fef5 | 155 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r |
11c20f4e | 156 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r |
d48e4b19 | 157 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r |
11c20f4e | 158 | }\r |
159 | !else\r | |
f8181c90 | 160 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf\r |
11c20f4e | 161 | MdeModulePkg/Core/Pei/PeiMain.inf\r |
162 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
163 | <LibraryClasses>\r | |
164 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
165 | }\r | |
166 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r | |
167 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r | |
44788bae | 168 | ArmPkg/Drivers/CpuPei/CpuPei.inf\r |
11c20f4e | 169 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r |
170 | Nt32Pkg/BootModePei/BootModePei.inf\r | |
171 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r | |
172 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r | |
173 | <LibraryClasses>\r | |
174 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
175 | }\r | |
176 | !endif\r | |
177 | \r | |
f4ee7a82 | 178 | #\r |
179 | # DXE\r | |
180 | #\r | |
11c20f4e | 181 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r |
182 | <LibraryClasses>\r | |
183 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
184 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
185 | }\r | |
186 | \r | |
187 | #\r | |
188 | # Architectural Protocols\r | |
189 | #\r | |
190 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r | |
191 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
192 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
193 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
194 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
195 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r | |
196 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
197 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf \r | |
198 | \r | |
199 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r | |
200 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r | |
201 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r | |
202 | \r | |
203 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
204 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
205 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r | |
206 | \r | |
207 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
208 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
209 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
210 | EmbeddedPkg/SerialDxe/SerialDxe.inf\r | |
211 | \r | |
212 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r | |
213 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r | |
214 | \r | |
215 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r | |
216 | \r | |
217 | #\r | |
218 | # Semi-hosting filesystem\r | |
219 | #\r | |
220 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r | |
221 | \r | |
222 | #\r | |
223 | # FAT filesystem + GPT/MBR partitioning\r | |
224 | #\r | |
225 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
226 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
11c20f4e | 227 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r |
228 | \r | |
11c20f4e | 229 | #\r |
230 | # Bds\r | |
231 | #\r | |
232 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
233 | ArmPlatformPkg/Bds/Bds.inf\r |