HiKey.dsc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. #
  2. # Copyright (c) 2014-2017, Linaro 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. # Defines Section - statements that will be processed to create a Makefile.
  15. #
  16. ################################################################################
  17. [Defines]
  18. PLATFORM_NAME = HiKey
  19. PLATFORM_GUID = 8edf1480-da5c-4857-bc02-7530bd8e7b7a
  20. PLATFORM_VERSION = 0.2
  21. DSC_SPECIFICATION = 0x00010019
  22. OUTPUT_DIRECTORY = Build/HiKey
  23. SUPPORTED_ARCHITECTURES = AARCH64
  24. BUILD_TARGETS = DEBUG|RELEASE
  25. SKUID_IDENTIFIER = DEFAULT
  26. FLASH_DEFINITION = Platform/Hisilicon/HiKey/HiKey.fdf
  27. [LibraryClasses.common]
  28. !if $(TARGET) == RELEASE
  29. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  30. !else
  31. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  32. !endif
  33. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  34. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  35. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  36. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  37. ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
  38. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  39. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  40. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  41. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  42. ArmPlatformLib|Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf
  43. ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
  44. ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf
  45. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  46. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  47. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  48. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  49. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  50. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  51. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  52. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  53. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  54. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  55. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  56. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  57. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  58. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  59. PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  60. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  61. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  62. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  63. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  64. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  65. # UiApp dependencies
  66. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  67. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  68. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  69. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  70. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  71. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  72. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  73. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  74. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  75. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  76. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  77. PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
  78. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  79. RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
  80. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  81. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  82. #
  83. # Assume everything is fixed at build
  84. #
  85. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  86. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  87. PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  88. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  89. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  90. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  91. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  92. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  93. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  94. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  95. # USB Requirements
  96. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  97. DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
  98. UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
  99. # Network Libraries
  100. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  101. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  102. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  103. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  104. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  105. # It is not possible to prevent compilers from generating calls to generic
  106. # intrinsic functions. This library provides the intrinsic functions
  107. # generated by a given compiler.
  108. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  109. # Add support for GCC stack protector
  110. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  111. [LibraryClasses.common.SEC]
  112. PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
  113. ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
  114. LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  115. MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
  116. HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
  117. PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
  118. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  119. PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
  120. MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
  121. ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  122. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
  123. [LibraryClasses.common.DXE_CORE]
  124. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  125. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  126. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  127. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  128. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  129. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  130. [LibraryClasses.common.UEFI_DRIVER]
  131. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  132. [LibraryClasses.common.DXE_DRIVER]
  133. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  134. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  135. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  136. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  137. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  138. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  139. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  140. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  141. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  142. [BuildOptions]
  143. GCC:*_*_*_PLATFORM_FLAGS = -I$(WORKSPACE)/Silicon/Hisilicon/Hi6220/Include -I$(WORKSPACE)/Platform/Hisilicon/HiKey/Include
  144. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  145. GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  146. ################################################################################
  147. #
  148. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  149. #
  150. ################################################################################
  151. [PcdsFeatureFlag.common]
  152. #
  153. # Control what commands are supported from the UI
  154. # Turn these on and off to add features or save size
  155. #
  156. gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
  157. gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
  158. gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
  159. gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
  160. gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
  161. gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
  162. gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
  163. gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
  164. # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
  165. gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
  166. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  167. gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
  168. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
  169. # It could be set FALSE to save size.
  170. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|FALSE
  171. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  172. [PcdsFixedAtBuild.common]
  173. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  174. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  175. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  176. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  177. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  178. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
  179. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  180. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  181. # DEBUG_ASSERT_ENABLED 0x01
  182. # DEBUG_PRINT_ENABLED 0x02
  183. # DEBUG_CODE_ENABLED 0x04
  184. # CLEAR_MEMORY_ENABLED 0x08
  185. # ASSERT_BREAKPOINT_ENABLED 0x10
  186. # ASSERT_DEADLOOP_ENABLED 0x20
  187. !if $(TARGET) == RELEASE
  188. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  189. !else
  190. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  191. !endif
  192. # DEBUG_INIT 0x00000001 // Initialization
  193. # DEBUG_WARN 0x00000002 // Warnings
  194. # DEBUG_LOAD 0x00000004 // Load events
  195. # DEBUG_FS 0x00000008 // EFI File system
  196. # DEBUG_POOL 0x00000010 // Alloc & Free's
  197. # DEBUG_PAGE 0x00000020 // Alloc & Free's
  198. # DEBUG_INFO 0x00000040 // Verbose
  199. # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
  200. # DEBUG_VARIABLE 0x00000100 // Variable
  201. # DEBUG_BM 0x00000400 // Boot Manager
  202. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  203. # DEBUG_NET 0x00004000 // SNI Driver
  204. # DEBUG_UNDI 0x00010000 // UNDI Driver
  205. # DEBUG_LOADFILE 0x00020000 // Load File
  206. # DEBUG_EVENT 0x00080000 // Event messages
  207. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  208. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  209. # DEBUG_ERROR 0x80000000 // Error
  210. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
  211. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  212. #
  213. # Optional feature to help prevent EFI memory map fragments
  214. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  215. # Values are in EFI Pages (4K). DXE Core will make sure that
  216. # at least this much of each type of memory can be allocated
  217. # from a single memory range. This way you only end up with
  218. # maximum of two fragements for each type in the memory map
  219. # (the memory used, and the free memory that was prereserved
  220. # but not used).
  221. #
  222. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  223. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  224. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  225. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
  226. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65
  227. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
  228. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
  229. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  230. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  231. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  232. gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
  233. gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
  234. gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
  235. gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"hikey"
  236. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Alpha"
  237. gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"HiKey"
  238. #
  239. # NV Storage PCDs.
  240. #
  241. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x30000000
  242. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000
  243. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x30010000
  244. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000
  245. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x30020000
  246. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000
  247. # System Memory (1GB)
  248. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000
  249. gArmTokenSpaceGuid.PcdSystemMemorySize|0x3E000000
  250. # HiKey Dual-Cluster profile
  251. gArmPlatformTokenSpaceGuid.PcdCoreCount|8
  252. gArmPlatformTokenSpaceGuid.PcdClusterCount|2
  253. gArmTokenSpaceGuid.PcdVFPEnabled|1
  254. #
  255. # ARM PrimeCell
  256. #
  257. ## PL011 - Serial Terminal
  258. DEFINE SERIAL_BASE = 0xF7113000 # UART3
  259. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|$(SERIAL_BASE)
  260. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  261. gArmPlatformTokenSpaceGuid.PL011UartInteger|10
  262. gArmPlatformTokenSpaceGuid.PL011UartFractional|26
  263. ## PL031 RealTimeClock
  264. gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0xF8003000
  265. #
  266. # ARM General Interrupt Controller
  267. #
  268. gArmTokenSpaceGuid.PcdGicDistributorBase|0xF6801000
  269. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xF6802000
  270. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10
  271. # GUID of the UI app
  272. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  273. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  274. gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|1000
  275. #
  276. # DW MMC/SD card controller
  277. #
  278. gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeBaseAddress|0xF723D000
  279. gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeClockFrequencyInHz|100000000
  280. #
  281. #
  282. # Fastboot
  283. #
  284. gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbVendorId|0x18d1
  285. gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbProductId|0xd00d
  286. ################################################################################
  287. #
  288. # Components Section - list of all EDK II Modules needed by this Platform
  289. #
  290. ################################################################################
  291. [Components.common]
  292. #
  293. # PEI Phase modules
  294. #
  295. ArmPlatformPkg/PrePi/PeiUniCore.inf
  296. #
  297. # DXE
  298. #
  299. MdeModulePkg/Core/Dxe/DxeMain.inf {
  300. <LibraryClasses>
  301. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  302. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  303. }
  304. #
  305. # Architectural Protocols
  306. #
  307. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  308. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  309. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  310. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  311. EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
  312. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  313. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  314. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  315. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  316. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  317. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  318. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  319. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  320. MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
  321. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  322. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  323. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  324. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
  325. #
  326. # GPIO
  327. #
  328. ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
  329. #
  330. # MMC/SD
  331. #
  332. EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
  333. EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf
  334. #
  335. # USB Host Support
  336. #
  337. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  338. #
  339. # USB Mass Storage Support
  340. #
  341. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  342. #
  343. # USB Peripheral Support
  344. #
  345. EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
  346. #
  347. # Fastboot
  348. #
  349. EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf {
  350. <LibraryClasses>
  351. BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
  352. }
  353. #
  354. # UEFI Network Stack
  355. #
  356. MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
  357. MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
  358. MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
  359. MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
  360. MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
  361. MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
  362. MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
  363. MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
  364. MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
  365. #
  366. # AX88772 Ethernet Driver
  367. #
  368. OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
  369. #
  370. # FAT filesystem + GPT/MBR partitioning
  371. #
  372. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  373. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  374. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  375. #
  376. # Bds
  377. #
  378. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  379. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  380. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  381. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  382. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  383. MdeModulePkg/Application/UiApp/UiApp.inf {
  384. <LibraryClasses>
  385. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  386. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  387. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  388. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  389. }
  390. ShellPkg/Application/Shell/Shell.inf {
  391. <LibraryClasses>
  392. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  393. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  394. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  395. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  396. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  397. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  398. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  399. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  400. NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
  401. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  402. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  403. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  404. <PcdsFixedAtBuild>
  405. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  406. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  407. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  408. }