]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc
ArmPlatformPkg/ArmJunoPkg: Added ACPI support
[mirror_edk2.git] / ArmPlatformPkg / ArmJunoPkg / ArmJuno.dsc
1 #
2 # Copyright (c) 2013-2014, ARM Limited. All rights reserved.
3 #
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
8 #
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.
11 #
12
13 ################################################################################
14 #
15 # Defines Section - statements that will be processed to create a Makefile.
16 #
17 ################################################################################
18 [Defines]
19 PLATFORM_NAME = ArmJuno
20 PLATFORM_GUID = ca0722fd-7d3d-45ea-948c-d62b2199807d
21 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x00010005
23 OUTPUT_DIRECTORY = Build/ArmJuno
24 SUPPORTED_ARCHITECTURES = AARCH64|ARM
25 BUILD_TARGETS = DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = ArmPlatformPkg/ArmJunoPkg/ArmJuno.fdf
28
29 # On RTSM, most peripherals are VExpress Motherboard peripherals
30 !include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
31
32 [LibraryClasses.common]
33 ArmPlatformLib|ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib/ArmJunoLib.inf
34 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
35
36 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
37 NorFlashPlatformLib|ArmPlatformPkg/ArmJunoPkg/Library/NorFlashJunoLib/NorFlashJunoLib.inf
38 EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
39
40 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
41
42 # USB Requirements
43 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
44
45 [LibraryClasses.ARM]
46 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
47
48 [LibraryClasses.AARCH64]
49 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
50
51 [LibraryClasses.common.SEC]
52 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
53 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
54 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
55 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
56 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
57 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
58 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
59 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
60 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
61
62 [BuildOptions]
63 *_*_*_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmJunoPkg/Include
64
65 ################################################################################
66 #
67 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
68 #
69 ################################################################################
70
71 [PcdsFeatureFlag.common]
72 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
73
74 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
75 # It could be set FALSE to save size.
76 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
77
78 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
79
80 [PcdsFixedAtBuild.common]
81 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Juno"
82 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmJuno"
83
84 #
85 # NV Storage PCDs. Use base of 0x08000000 for NOR0
86 #
87 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0BFC0000
88 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000
89 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0BFD0000
90 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000
91 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0BFE0000
92 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000
93
94 # System Memory (2GB - 16MB of Trusted DRAM at the top of the 32bit address space)
95 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
96 gArmTokenSpaceGuid.PcdSystemMemorySize|0x7F000000
97
98 # Juno Dual-Cluster profile
99 gArmPlatformTokenSpaceGuid.PcdCoreCount|6
100 gArmPlatformTokenSpaceGuid.PcdClusterCount|2
101
102 gArmTokenSpaceGuid.PcdVFPEnabled|1
103
104 #
105 # ARM PrimeCell
106 #
107
108 ## PL011 - Serial Terminal
109 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x7FF80000
110 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
111 gArmPlatformTokenSpaceGuid.PL011UartInteger|4
112 gArmPlatformTokenSpaceGuid.PL011UartFractional|0
113
114 ## PL031 RealTimeClock
115 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x1C170000
116
117 # LAN9118 Ethernet Driver
118 gEmbeddedTokenSpaceGuid.PcdLan9118DxeBaseAddress|0x18000000
119 gEmbeddedTokenSpaceGuid.PcdLan9118DefaultMacAddress|0x1215161822242628
120
121 #
122 # ARM General Interrupt Controller
123 #
124 gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C010000
125 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C02F000
126
127 # List of Device Paths that support BootMonFs
128 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)"
129
130 #
131 # ARM OS Loader
132 #
133 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NOR Flash"
134 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/Image"
135 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/juno.dtb"
136 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda1 rootwait verbose debug"
137 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|2
138
139 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
140 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"
141 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
142
143 #
144 # ARM Architectural Timer Frequency
145 #
146 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|50000000
147 gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|1000
148
149 [PcdsPatchableInModule]
150 # Console Resolution (Full HD)
151 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1920
152 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|1080
153
154
155 ################################################################################
156 #
157 # Components Section - list of all EDK II Modules needed by this Platform
158 #
159 ################################################################################
160 [Components.common]
161 #
162 # PEI Phase modules
163 #
164 ArmPlatformPkg/PrePi/PeiMPCore.inf {
165 <LibraryClasses>
166 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
167 }
168
169 #
170 # DXE
171 #
172 MdeModulePkg/Core/Dxe/DxeMain.inf {
173 <LibraryClasses>
174 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
175 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
176 }
177
178 #
179 # Architectural Protocols
180 #
181 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
182 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
183 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
184 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
185 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
186 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
187 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
188 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
189
190 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
191 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
192 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
193 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
194 EmbeddedPkg/SerialDxe/SerialDxe.inf
195
196 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
197 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
198
199 #
200 # ACPI Support
201 #
202 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
203
204 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
205
206 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
207 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
208 ArmPkg/Drivers/TimerDxe/TimerDxe.inf
209 ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
210
211 #
212 # Semi-hosting filesystem
213 #
214 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
215
216 #
217 # FAT filesystem + GPT/MBR partitioning
218 #
219 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
220 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
221 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
222
223 # Networking stack
224 EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf
225
226 #
227 # Usb Support
228 #
229 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
230 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
231 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
232 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
233 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
234
235 #
236 # Juno platform driver
237 #
238 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf
239
240 #
241 # Bds
242 #
243 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
244 ArmPlatformPkg/Bds/Bds.inf
245