2013-01-25 12:28:06 +01:00
|
|
|
#/** @file
|
|
|
|
# Embedded Package
|
|
|
|
#
|
|
|
|
#
|
2018-06-29 05:21:57 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2015-02-26 11:54:39 +01:00
|
|
|
# Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>
|
2016-10-24 19:35:08 +02:00
|
|
|
# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
|
2013-01-25 12:28:06 +01:00
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = Embedded
|
|
|
|
PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/Embedded
|
2018-06-29 05:21:57 +02:00
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
|
2018-06-18 18:50:12 +02:00
|
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
2013-01-25 12:28:06 +01:00
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# SKU Identification section - list of all SKU IDs supported by this
|
|
|
|
# Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[SkuIds]
|
|
|
|
0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Library Class section - list of all Library Classes needed by this Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[LibraryClasses.common]
|
|
|
|
# DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2017-08-17 14:58:59 +02:00
|
|
|
AndroidBootImgLib|EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
|
|
|
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2016-12-01 16:13:33 +01:00
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
|
|
|
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
|
|
|
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
|
|
|
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
|
|
|
PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2014-10-27 11:44:30 +01:00
|
|
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
|
|
|
|
EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
|
|
|
|
GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Need to change this for IPF
|
|
|
|
#
|
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
2017-11-25 14:11:31 +01:00
|
|
|
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
|
|
|
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
|
|
|
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
2014-03-05 05:15:44 +01:00
|
|
|
|
2015-01-23 16:59:27 +01:00
|
|
|
AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
|
2014-03-05 05:15:44 +01:00
|
|
|
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
2015-02-25 20:34:07 +01:00
|
|
|
# Shell libraries
|
|
|
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
|
|
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
|
|
|
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
|
|
|
|
2014-04-24 21:29:11 +02:00
|
|
|
# Networking Requirements
|
|
|
|
NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
2014-04-24 21:29:11 +02:00
|
|
|
|
2017-03-31 12:35:13 +02:00
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
|
|
|
DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
|
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
[LibraryClasses.common.DXE_DRIVER]
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses.common.UEFI_APPLICATION]
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
|
|
|
|
[LibraryClasses.common.UEFI_DRIVER]
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
[LibraryClasses.common.SEC]
|
|
|
|
ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
|
|
|
|
2014-03-01 12:01:44 +01:00
|
|
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
2014-03-05 05:15:44 +01:00
|
|
|
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
|
|
|
ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
|
|
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
|
|
|
2014-08-20 20:01:50 +02:00
|
|
|
# Add support for GCC stack protector
|
|
|
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
|
|
|
|
2016-09-05 12:49:37 +02:00
|
|
|
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Pcd Section - list of all PCD Entries defined by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[PcdsFeatureFlag.common]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE
|
|
|
|
|
|
|
|
|
|
|
|
[PcdsFixedAtBuild.common]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0
|
|
|
|
|
|
|
|
#
|
|
|
|
# Optinal feature to help prevent EFI memory map fragments
|
|
|
|
# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
|
2014-08-19 15:29:52 +02:00
|
|
|
# Values are in EFI Pages (4K). DXE Core will make sure that
|
|
|
|
# at least this much of each type of memory can be allocated
|
2013-01-25 12:28:06 +01:00
|
|
|
# from a single memory range. This way you only end up with
|
|
|
|
# maximum of two fragements for each type in the memory map
|
|
|
|
# (the memory used, and the free memory that was prereserved
|
|
|
|
# but not used).
|
|
|
|
#
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
|
|
|
|
|
|
|
|
#
|
|
|
|
# Timer config for this platform
|
|
|
|
#
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdTimerVector|7
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
|
|
|
|
|
2014-03-05 05:15:44 +01:00
|
|
|
[BuildOptions]
|
|
|
|
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security
|
2016-10-24 19:35:08 +02:00
|
|
|
*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Components Section - list of all Modules needed by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Components.common]
|
2014-08-19 15:29:52 +02:00
|
|
|
EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf
|
|
|
|
EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
|
|
|
EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
|
|
|
|
EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
|
|
|
|
EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
|
2017-08-30 08:57:40 +02:00
|
|
|
EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
|
2017-08-30 09:21:59 +02:00
|
|
|
EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
|
2017-03-31 12:35:13 +02:00
|
|
|
EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
|
2019-02-04 13:47:36 +01:00
|
|
|
EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
|
|
|
|
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
|
|
|
EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
|
|
|
|
EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
|
2015-05-06 13:15:44 +02:00
|
|
|
EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
|
|
|
}
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
|
|
|
|
2014-03-24 16:29:50 +01:00
|
|
|
# Drivers
|
2014-04-24 21:29:11 +02:00
|
|
|
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf
|
2015-05-11 19:50:27 +02:00
|
|
|
EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf
|
2014-03-24 16:29:50 +01:00
|
|
|
|
2016-10-24 19:34:14 +02:00
|
|
|
EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
|
|
|
|
EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
|
|
|
|
EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
|
|
|
EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
|
|
|
|
EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
|
|
|
|
2017-12-15 17:22:03 +01:00
|
|
|
EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
|
2017-03-31 14:16:40 +02:00
|
|
|
EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf
|
|
|
|
|
2017-08-30 13:26:42 +02:00
|
|
|
[Components.ARM]
|
|
|
|
EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
|
|
|
|
|
|
|
|
[Components.ARM, Components.AARCH64]
|
|
|
|
EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf
|
2017-11-25 14:16:20 +01:00
|
|
|
EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
|
2017-08-30 13:26:42 +02:00
|
|
|
EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
|
|
|
|
EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf
|
|
|
|
|
2018-06-29 05:21:57 +02:00
|
|
|
[Components.IA32, Components.X64, Components.ARM]
|
2014-03-01 12:01:44 +01:00
|
|
|
EmbeddedPkg/GdbStub/GdbStub.inf
|