From: Ming <ming.huang@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org,
graeme.gregory@linaro.org, ard.biesheuvel@linaro.org,
guoheyi@huawei.com, wanghuiqiang@huawei.com,
huangming23@huawei.com, zhangjinsong2@huawei.com,
huangdaode@hisilicon.com, john.garry@huawei.com,
xinliang.liu@linaro.org, Heyi Guo <heyi.guo@linaro.org>
Subject: Re: [PATCH edk2-platforms v1 03/38] Hisilicon/D06: Add several basal file for D06
Date: Mon, 6 Aug 2018 11:01:04 +0800 [thread overview]
Message-ID: <898255dd-4b5d-5873-e613-04f5dc4eab9a@linaro.org> (raw)
In-Reply-To: <f79d76d8-5de8-b2d3-0e7e-3559ed1c20f9@linaro.org>
在 8/5/2018 11:06 PM, Ming 写道:
>
>
> 在 8/3/2018 12:14 AM, Leif Lindholm 写道:
>> On Tue, Jul 24, 2018 at 03:08:47PM +0800, Ming Huang wrote:
>>> Add several basal head file and add several build configuration
>>
>> basal -> base
>>
>>> for D06.
>>>
>>> Contributed-under: TianoCore Contribution Agreement 1.1
>>> Signed-off-by: Ming Huang <ming.huang@linaro.org>
>>> Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
>>
>> Ah, yes - please drop the multiple Signed-off-bys as well.
>> If Heyi wrote the patch, keep him as Author - but only your
>> Signed-off-by on patches you send out.
>>
>>> ---
>>> Platform/Hisilicon/D06/D06.dec | 29 ++
>>> Platform/Hisilicon/D06/D06.dsc | 459 ++++++++++++++++++++
>>> Platform/Hisilicon/D06/D06.fdf | 351 +++++++++++++++
>>> Platform/Hisilicon/D06/Include/Library/CpldD06.h | 37 ++
>>> Silicon/Hisilicon/Hi1620/Include/Library/SerdesLib.h | 85 ++++
>>> Silicon/Hisilicon/Include/Library/OemAddressMapLib.h | 6 +
>>> Silicon/Hisilicon/Include/Library/OemNicLib.h | 58 +++
>>> 7 files changed, 1025 insertions(+)
>>>
>>> diff --git a/Platform/Hisilicon/D06/D06.dec b/Platform/Hisilicon/D06/D06.dec
>>> new file mode 100644
>>> index 0000000000..555f816e69
>>> --- /dev/null
>>> +++ b/Platform/Hisilicon/D06/D06.dec
>>> @@ -0,0 +1,29 @@
>>> +#/** @file
>>> +#
>>> +# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
>>> +# Copyright (c) 2018, Linaro Limited. All rights reserved.
>>> +#
>>> +# 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.
>>> +#
>>> +#**/
>>> +
>>> +#
>>> +# D06 Package
>>> +#
>>> +#
>>> +#
>>> +
>>> +[Defines]
>>> + DEC_SPECIFICATION = 0x00010005
>>
>> 0x0001001a
>>
>>> + PACKAGE_NAME = D06Pkg
>>> + PACKAGE_GUID = B46F75D7-3864-450D-86D9-A0346A882232
>>> + PACKAGE_VERSION = 0.1
>>> +
>>> +[Includes]
>>> + Include
>>> diff --git a/Platform/Hisilicon/D06/D06.dsc b/Platform/Hisilicon/D06/D06.dsc
>>> new file mode 100644
>>> index 0000000000..91470118b2
>>> --- /dev/null
>>> +++ b/Platform/Hisilicon/D06/D06.dsc
>>> @@ -0,0 +1,459 @@
>>> +#
>>> +# Copyright (c) 2011-2012, ARM Limited. All rights reserved.
>>> +# Copyright (c) 2018, Hisilicon Limited. All rights reserved.
>>> +# Copyright (c) 2018, Linaro Limited. All rights reserved.
>>> +#
>>> +# 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 = D06
>>> + PLATFORM_GUID = D0D445F1-B2CA-4101-9986-1B23525CBEA6
>>> + PLATFORM_VERSION = 0.1
>>> + DSC_SPECIFICATION = 0x00010005
>>
>> 0x0001001a
>>
>>> + OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
>>> + SUPPORTED_ARCHITECTURES = AARCH64
>>> + BUILD_TARGETS = DEBUG|RELEASE
>>
>> Can you also add NOOPT please?
>> Between DEBUG and RELEASE.
>>
>
> Yes, I will add spaces between DEBUG and RELEASE.
>
I think that I made a mistake in last email. Do you mean add NOOPT targets?
DEBUG|NOOPT|RELEASE ?
What is the NOOPT?
>>> + SKUID_IDENTIFIER = DEFAULT
>>> + FLASH_DEFINITION = Platform/Hisilicon/$(PLATFORM_NAME)/$(PLATFORM_NAME).fdf
>>> + DEFINE INCLUDE_TFTP_COMMAND=1
>>
>> TFTP needs to be disabled by default.
>> Also, if you set a default value here to edit, the test belows needs to
>> be !if ... == 1 (but preferable to use TRUE/FALSE) rather than !ifdef ...
>> (Currently it would be included regardless of what you set this
>> variable to.)
>>
>
> I will delete this line and modify the test statement below.
>
>>> + DEFINE NETWORK_IP6_ENABLE = FALSE
>>> + DEFINE HTTP_BOOT_ENABLE = FALSE
>>> + DEFINE SECURE_BOOT_ENABLE = FALSE
>>> +
>>> +!include Silicon/Hisilicon/Hisilicon.dsc.inc
>>> +
>>> +[LibraryClasses.common]
>>> + ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
>>> + ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.inf
>>> +
>>> +
>>> + I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLib.inf
>>> + TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
>>> + NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
>>> + DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
>>> + HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
>>> + UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
>>> + UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
>>> + IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
>>> + OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
>>> + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
>>> + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
>>> + FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
>>> + BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
>>> + SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
>>> +
>>> +!if $(NETWORK_IP6_ENABLE) == TRUE
>>> + TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
>>> +!endif
>>> +
>>> +!if $(HTTP_BOOT_ENABLE) == TRUE
>>> + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
>>> +!endif
>>> +
>>> + CpldIoLib|Silicon/Hisilicon/Library/CpldIoLib/CpldIoLib.inf
>>> +
>>> + TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
>>> +
>>> + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
>>> + GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
>>> + BmcConfigBootLib|Silicon/Hisilicon/Library/BmcConfigBootLib/BmcConfigBootLib.inf
>>> + UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
>>> + SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
>>> + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
>>> + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
>>> + PlatformBootManagerLib|Silicon/Hisilicon/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
>>> + FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
>>> + CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
>>> +
>>> + # USB Requirements
>>> + UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
>>> +
>>> + SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
>>> +!if $(SECURE_BOOT_ENABLE) == TRUE
>>> + FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
>>> +!endif
>>> + PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
>>> +
>>> +[LibraryClasses.common.SEC]
>>> + ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLibSec.inf
>>> +
>>> +
>>> +[LibraryClasses.common.DXE_RUNTIME_DRIVER]
>>> + I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf
>>> + SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
>>> +
>>> +[BuildOptions]
>>> + GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/Silicon/Hisilicon/Hi1620/Include -I$(WORKSPACE)/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/
>>
>> I do not understand the need for the Hi1620AcpiTables/ addition at
>> all. Can you explain why it is needed?
>>
>
> Hi1620Platform.h is included by Apei.h, but after moving ARM_ACPI_HEADER
> to PlatformArch, Hi1620Platform.h is no need by Apei.h. So it can be delete
> here.
>
>>> +
>>> +################################################################################
>>> +#
>>> +# Pcd Section - list of all EDK II PCD Entries defined by this Platform
>>> +#
>>> +################################################################################
>>> +
>>> +[PcdsFeatureFlag.common]
>>> +
>>> + ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
>>> + # It could be set FALSE to save size.
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
>>> + gHisiTokenSpaceGuid.PcdIsItsSupported|TRUE
>>> + gArmTokenSpaceGuid.PcdArmGicV3WithV2Legacy|FALSE
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
>>> +
>>> +[PcdsFixedAtBuild.common]
>>> + gArmPlatformTokenSpaceGuid.PcdCoreCount|48
>>> + gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|48
>>> +
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
>>> +
>>> +
>>> + # Stacks for MPCores in Normal World
>>> + gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0xA0E88000
>>> + gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x40000
>>> +
>>> + gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000
>>> + gArmTokenSpaceGuid.PcdSystemMemorySize|0x3FC00000
>>> +
>>> + # Size of the region used by UEFI in permanent memory (Reserved 64MB)
>>> + gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x10000000
>>> +
>>> + gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag|1
>>> +
>>> + gHisiTokenSpaceGuid.PcdSlotPerChannelNum|0x2
>>> +
>>> + ## Serial Terminal
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x94080000
>>> + gArmPlatformTokenSpaceGuid.PcdSerialDbgRegisterBase|0x400094080000
>>> + gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
>>> +
>>> + gArmPlatformTokenSpaceGuid.PL011UartClkInHz|200000000
>>> +
>>> + gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
>>> + gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
>>> + gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
>>> +
>>> + gHisiTokenSpaceGuid.PcdIsMPBoot|1
>>> + gHisiTokenSpaceGuid.PcdSocketMask|0x3
>>> + !ifdef $(FIRMWARE_VER)
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
>>> + !else
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Hisilicon D06 UEFI RC0 - B308 (V0.38)"
>>> + !endif
>>> +
>>> + gHisiTokenSpaceGuid.PcdBiosVersionString|L"10.01.01T18"
>>> +
>>> + gHisiTokenSpaceGuid.PcdBiosVersionForBmc|L"0.38"
>>> +
>>> + gHisiTokenSpaceGuid.PcdSystemProductName|L"D06"
>>> + gHisiTokenSpaceGuid.PcdSystemVersion|L"VER.A"
>>> + gHisiTokenSpaceGuid.PcdBaseBoardProductName|L"D06"
>>> + gHisiTokenSpaceGuid.PcdBaseBoardVersion|L"Estuary"
>>> +
>>> + gHisiTokenSpaceGuid.PcdCPUInfo|L"Hisilicon 1620"
>>> +
>>> + # TA
>>> + gHisiTokenSpaceGuid.PcdArmPrimaryCoreTemp|0x80010000
>>> + gArmTokenSpaceGuid.PcdGicDistributorBase|0xAE000000
>>> + gArmTokenSpaceGuid.PcdGicRedistributorsBase|0xAE100000
>>> + gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xFE000000
>>> +
>>> +
>>> +
>>> + #
>>> + # ARM Architectual Timer Frequency
>>> + #
>>> + # Set it to 0 so that the code will read frequency from register and be
>>> + # adapted to 100M and 50M boards
>>> + gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0
>>> + gEmbeddedTokenSpaceGuid.PcdTimerPeriod|10000
>>> +
>>> +
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
>>> + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }|VOID*|0x0001006b
>>
>> *cough* I see that "|VOID*|0x0001006b" in d03 and d05 as well.
>> It's copy-pasted from a .dec file and shouldn't be here :)
>>
>
> Yes, I will remove it.
>
>>> + gHisiTokenSpaceGuid.PcdSysControlBaseAddress|0x94010000
>>> + gHisiTokenSpaceGuid.PcdMailBoxAddress|0x0000FFF8
>>> +
>>> + gHisiTokenSpaceGuid.PcdCpldBaseAddress|0x80000000
>>> + gHisiTokenSpaceGuid.PcdSFCMEM0BaseAddress|0x204000000
>>> +
>>> + gHisiTokenSpaceGuid.PcdPeriSubctrlAddress|0x94000000
>>> +
>>> + ## DTB address at spi flash
>>> + gHisiTokenSpaceGuid.FdtFileAddress|0xA47C0000
>>
>> Are we really still including DT in server platforms?
>>
>
> DT is not included in D06 now, just acpi boot is support,
> so I will remove this.
>
>>> +
>>> + ## 2+1
>>> + gHisiTokenSpaceGuid.PcdPlatformDefaultPackageType|0x1
>>> +
>>> + gHisiTokenSpaceGuid.PcdTopOfLowMemory|0x40000000
>>> +
>>> + gHisiTokenSpaceGuid.PcdBottomOfHighMemory|0x1000000000
>>> +
>>> + gHisiTokenSpaceGuid.PcdNORFlashBase|0x80000000
>>> + gHisiTokenSpaceGuid.PcdNORFlashCachableSize|0x8000000
>>> +
>>> + gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable|0x1
>>> + gHisiTokenSpaceGuid.PcdMacAddress|0xA47E0000
>>> +
>>> + # PCIe ECAM Access BaseAddress
>>> + gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xD0000000
>>> + gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
>>> +
>>> + gHisiTokenSpaceGuid.Pcdsoctype|0x1620
>>> +
>>> + # SMBIOS 3.0 only
>>> + # BIT0 set indicates 32-bit entry point and table are produced.<BR>
>>> + # BIT1 set indicates 64-bit entry point and table are produced.<BR>
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
>>> +
>>> + #
>>> + # ACPI Table Version
>>> + #
>>> + # BIT 1 - EFI_ACPI_TABLE_VERSION_1_0B.<BR>
>>> + # BIT 2 - EFI_ACPI_TABLE_VERSION_2_0.<BR>
>>> + # BIT 3 - EFI_ACPI_TABLE_VERSION_3_0.<BR>
>>> + # BIT 4 - EFI_ACPI_TABLE_VERSION_4_0.<BR>
>>> + # BIT 5 - EFI_ACPI_TABLE_VERSION_5_0.<BR>
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20
>>> +
>>> + gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
>>> + gArmTokenSpaceGuid.PcdPciIoTranslation|0x0
>>> +
>>> +################################################################################
>>> +#
>>> +# Components Section - list of all EDK II Modules needed by this Platform
>>> +#
>>> +################################################################################
>>> +[Components.common]
>>> +
>>> + #
>>> + # SEC
>>> + #
>>> +
>>> + #
>>> + # PEI Phase modules
>>> + #
>>> + ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
>>> + MdeModulePkg/Core/Pei/PeiMain.inf
>>> + MdeModulePkg/Universal/PCD/Pei/Pcd.inf
>>> +
>>> + ArmPlatformPkg/PlatformPei/PlatformPeim.inf
>>> +
>>> + ArmPkg/Drivers/CpuPei/CpuPei.inf
>>> + IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
>>> + MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
>>> + MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
>>> +
>>> + Silicon/Hisilicon/Drivers/VersionInfoPeim/VersionInfoPeim.inf
>>> +
>>> + MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
>>> + <LibraryClasses>
>>> + NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
>>
>> Can you switch this to MdeModulePkg/Library/LzmaCustomDecompressLib
>> instead?
>>
>
> Yes, the module in MdeModulePkg should be used first.
>
>>> + }
>>> +
>>> + #
>>> + # DXE
>>> + #
>>> + MdeModulePkg/Core/Dxe/DxeMain.inf {
>>> + <LibraryClasses>
>>> + NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
>>> + }
>>> + MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
>>> +
>>> +
>>> + #
>>> + # Architectural Protocols
>>> + #
>>> + ArmPkg/Drivers/CpuDxe/CpuDxe.inf
>>> + MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
>>> +
>>> +
>>> +!if $(SECURE_BOOT_ENABLE) == TRUE
>>> + MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
>>> + <LibraryClasses>
>>> + NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
>>> + }
>>> + SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
>>> +!else
>>> + MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
>>> +!endif
>>> + Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf
>>> + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
>>> + <LibraryClasses>
>>> + NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
>>> + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
>>> + }
>>> + MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
>>> + MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
>>> +
>>> + MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
>>> + MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
>>> + EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
>>> + <LibraryClasses>
>>> + CpldIoLib|Silicon/Hisilicon/Library/CpldIoLib/CpldIoLibRuntime.inf
>>> + }
>>> + EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
>>> +
>>> + MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
>>> + MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
>>> + MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
>>> + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
>>> + MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
>>> +
>>> + MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
>>> +
>>> + ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
>>> +
>>> + ArmPkg/Drivers/TimerDxe/TimerDxe.inf
>>> +
>>> + MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
>>> + IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
>>> + #
>>> + #ACPI
>>> + #
>>> + MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
>>> + Silicon/Hisilicon/Drivers/HisiAcpiPlatformDxe/AcpiPlatformDxe.inf
>>> +
>>> + Silicon/Hisilicon/Drivers/AcpiPlatformDxe/AcpiPlatformDxe.inf
>>> +
>>> + #
>>> + # Usb Support
>>> + #
>>> + MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
>>> + MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
>>> + MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
>>> + MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
>>> + MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
>>> + MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
>>> +
>>> + #
>>> + #network
>>> + #
>>> + MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
>>> +
>>> + MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
>>> + MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
>>> + MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
>>> + MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
>>> + MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
>>> + MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
>>> + MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
>>> +!if $(NETWORK_IP6_ENABLE) == TRUE
>>> + NetworkPkg/Ip6Dxe/Ip6Dxe.inf
>>> + NetworkPkg/TcpDxe/TcpDxe.inf
>>> + NetworkPkg/Udp6Dxe/Udp6Dxe.inf
>>> + NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
>>> + NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
>>> + NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
>>> +!else
>>> + MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
>>> + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
>>> +!endif
>>> + MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
>>> +!if $(HTTP_BOOT_ENABLE) == TRUE
>>> + NetworkPkg/DnsDxe/DnsDxe.inf
>>> + NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
>>> + NetworkPkg/HttpDxe/HttpDxe.inf
>>> + NetworkPkg/HttpBootDxe/HttpBootDxe.inf
>>> +!endif
>>> +
>>> + MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
>>> + MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
>>> + MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
>>> + #
>>> + # FAT filesystem + GPT/MBR partitioning
>>> + #
>>> +
>>> + MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
>>> + MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
>>> + FatPkg/EnhancedFatDxe/Fat.inf
>>> + MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
>>> +
>>> + MdeModulePkg/Application/UiApp/UiApp.inf {
>>> + <LibraryClasses>
>>> + NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
>>> + NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
>>> + NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
>>> + }
>>> + #
>>> + # Bds
>>> + #
>>> + MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
>>> +
>>> + MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
>>> + Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
>>> + Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf
>>> + Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf
>>> + Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf
>>> +
>>> + #PCIe Support
>>> + Silicon/Hisilicon/Drivers/PciPlatform/PciPlatform.inf
>>> + ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
>>> + MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
>>> + <LibraryClasses>
>>> + PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
>>> + PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
>>> + PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
>>> + }
>>> +
>>> + MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
>>> +
>>> + MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
>>> +
>>> + #
>>> + # Memory test
>>> + #
>>> + MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
>>> + MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
>>> + MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
>>> + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
>>> +
>>> + #
>>> + # UEFI application (Shell Embedded Boot Loader)
>>> + #
>>> + ShellPkg/Application/Shell/Shell.inf {
>>> + <LibraryClasses>
>>> + ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
>>> + NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
>>> + NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
>>> + NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
>>> + NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
>>> + NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
>>> + NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
>>> + NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
>>> + HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
>>> + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
>>> + BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
>>> +!if $(NETWORK_IP6_ENABLE) == TRUE
>>> + NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
>>> +!endif
>>> +
>>> +!ifdef $(INCLUDE_DP)
>>
>> Please change to !if (...) == TRUE
>>
>>> + NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
>>> +!endif #$(INCLUDE_DP)
>>> +
>>> + <PcdsFixedAtBuild>
>>> + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
>>> + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>>> + gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
>>> + }
>>> +!ifdef $(INCLUDE_TFTP_COMMAND)
>>
>> Please change to !if (...) == TRUE
>>
>>> + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
>>> + <PcdsFixedAtBuild>
>>> + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>>> + }
>>> +!endif #$(INCLUDE_TFTP_COMMAND)
>>> +
>>> diff --git a/Platform/Hisilicon/D06/D06.fdf b/Platform/Hisilicon/D06/D06.fdf
>>> new file mode 100644
>>> index 0000000000..93c464c9f7
>>> --- /dev/null
>>> +++ b/Platform/Hisilicon/D06/D06.fdf
>>> @@ -0,0 +1,351 @@
>>> +#
>>> +# Copyright (c) 2011, 2012, ARM Limited. All rights reserved.
>>> +# Copyright (c) 2017 - 2018, Hisilicon Limited. All rights reserved.
>>> +# Copyright (c) 2017 - 2018, Linaro Limited. All rights reserved.
>>> +#
>>> +# 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]
>>> +
>>> +################################################################################
>>> +#
>>> +# FD Section
>>> +# The [FD] Section is made up of the definition statements and a
>>> +# description of what goes into the Flash Device Image. Each FD section
>>> +# defines one flash "device" image. A flash device image may be one of
>>> +# the following: Removable media bootable image (like a boot floppy
>>> +# image,) an Option ROM image (that would be "flashed" into an add-in
>>> +# card,) a System "Flash" image (that would be burned into a system's
>>> +# flash) or an Update ("Capsule") image that will be used to update and
>>> +# existing system flash.
>>> +#
>>> +################################################################################
>>> +[FD.D06]
>>> +
>>> +BaseAddress = 0x204100000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash.
>>> +
>>> +Size = 0x00400000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device
>>> +ErasePolarity = 1
>>> +
>>> +# This one is tricky, it must be: BlockSize * NumBlocks = Size
>>> +BlockSize = 0x00010000
>>> +NumBlocks = 0x40
>>> +
>>> +################################################################################
>>> +#
>>> +# Following are lists of FD Region layout which correspond to the locations of different
>>> +# images within the flash device.
>>> +#
>>> +# Regions must be defined in ascending order and may not overlap.
>>> +#
>>> +# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
>>> +# the pipe "|" character, followed by the size of the region, also in hex with the leading
>>> +# "0x" characters. Like:
>>> +# Offset|Size
>>> +# PcdOffsetCName|PcdSizeCName
>>> +# RegionType <FV, DATA, or FILE>
>>> +#
>>> +################################################################################
>>> +
>>> +0x00000000|0x00100000
>>> +gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvSize
>>> +
>>> +0x00100000|0x00280000
>>> +gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
>>> +FV = FVMAIN_COMPACT
>>> +
>>> +0x00380000|0x00020000
>>> +gHisiTokenSpaceGuid.PcdTrustedFirmwareBL1Base
>>> +FILE = Platform/Hisilicon/D06/bl1.bin
>>> +0x003A0000|0x00020000
>>> +FILE = Platform/Hisilicon/D06/fip.bin
>>> +
>>> +0x003C0000|0x0000e000
>>> +gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
>>> +DATA = {
>>> + ## This is the EFI_FIRMWARE_VOLUME_HEADER
>>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
>>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
>>> + # FileSystemGuid: gEfiSystemNvDataFvGuid =
>>> + 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
>>> + 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
>>> + # FvLength: 0x20000
>>> + 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
>>> + #Signature "_FVH" #Attributes
>>> + 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
>>> + #HeaderLength #CheckSum #ExtHeaderOffset #Reserved #Revision
>>> + 0x48, 0x00, 0x36, 0x09, 0x00, 0x00, 0x00, 0x02,
>>> + #Blockmap[0]: 2 Blocks * 0x10000 Bytes / Block
>>> + 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
>>> + #Blockmap[1]: End
>>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
>>> + ## This is the VARIABLE_STORE_HEADER
>>> +!if $(SECURE_BOOT_ENABLE) == TRUE
>>> + #Signature: gEfiAuthenticatedVariableGuid =
>>> + # { 0xaaf32c78, 0x947b, 0x439a, { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 }}
>>> + 0x78, 0x2c, 0xf3, 0xaa, 0x7b, 0x94, 0x9a, 0x43,
>>> + 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92,
>>> +!else
>>> + #Signature: gEfiVariableGuid =
>>> + # { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
>>> + 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
>>> + 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
>>> +!endif
>>> + #Size: 0xe000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) - 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xdFB8
>>> + 0xB8, 0xdF, 0x00, 0x00,
>>> + #FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
>>> + 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
>>> +}
>>> +
>>> +0x003CE000|0x00002000
>>> +gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
>>> +#NV_FTW_WORKING
>>> +DATA = {
>>> + # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEdkiiWorkingBlockSignatureGuid =
>>> + 0x2B, 0x29, 0x58, 0x9E, 0x68, 0x7C, 0x7D, 0x49,
>>> + 0xA0, 0xCE, 0x65, 0x0 , 0xFD, 0x9F, 0x1B, 0x95,
>>> + # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
>>> + 0xE2, 0x33, 0xF2, 0x03, 0xFE, 0xFF, 0xFF, 0xFF,
>>> + # WriteQueueSize: UINT64 #Size: 0x2000 - 0x20 (FTW_WORKING_HEADER) = 0x1FE0
>>> + 0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
>>> +}
>>> +
>>> +0x003D0000|0x00010000
>>> +gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
>>> +
>>> +0x003E0000|0x00010000
>>> +
>>> +0x003F0000|0x00010000
>>> +FILE = Platform/Hisilicon/D03/CustomData.Fv
>>
>> D03? (I think I said the same about D05.)
>> Can we move the binary in edk2-non-osi to
>> Platform/Hisilicon/D0x-CustomData.Fv?
>>
>
> Yes, I will do this and add patch in edk2-non-osi.
>
>>> +
>>> +################################################################################
>>> +#
>>> +# FV Section
>>> +#
>>> +# [FV] section is used to define what components or modules are placed within a flash
>>> +# device file. This section also defines order the components and modules are positioned
>>> +# within the image. The [FV] section consists of define statements, set statements and
>>> +# module statements.
>>> +#
>>> +################################################################################
>>> +
>>> +[FV.FvMain]
>>> +BlockSize = 0x40
>>> +NumBlocks = 0 # This FV gets compressed so make it just big enough
>>> +FvAlignment = 16 # FV alignment and FV attributes setting.
>>> +ERASE_POLARITY = 1
>>> +MEMORY_MAPPED = TRUE
>>> +STICKY_WRITE = TRUE
>>> +LOCK_CAP = TRUE
>>> +LOCK_STATUS = TRUE
>>> +WRITE_DISABLED_CAP = TRUE
>>> +WRITE_ENABLED_CAP = TRUE
>>> +WRITE_STATUS = TRUE
>>> +WRITE_LOCK_CAP = TRUE
>>> +WRITE_LOCK_STATUS = TRUE
>>> +READ_DISABLED_CAP = TRUE
>>> +READ_ENABLED_CAP = TRUE
>>> +READ_STATUS = TRUE
>>> +READ_LOCK_CAP = TRUE
>>> +READ_LOCK_STATUS = TRUE
>>> +
>>> + APRIORI DXE {
>>> + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
>>> + }
>>> +
>>> + INF MdeModulePkg/Core/Dxe/DxeMain.inf
>>> + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
>>> +
>>> + #
>>> + # PI DXE Drivers producing Architectural Protocols (EFI Services)
>>> + #
>>> + INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
>>> + INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
>>> +
>>> +
>>> + INF Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf
>>> + INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
>>> + INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
>>> + INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
>>> +
>>> +!if $(SECURE_BOOT_ENABLE) == TRUE
>>> + INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
>>> +!endif
>>> +
>>> + INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
>>> + INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
>>> + INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
>>> +
>>> + #
>>> + # Multiple Console IO support
>>> + #
>>> + INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
>>> + INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
>>> + INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
>>> + INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
>>> + INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
>>> +
>>> + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
>>> + INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
>>> +
>>> + #
>>> + # FAT filesystem + GPT/MBR partitioning
>>> + #
>>> + INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
>>> + INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
>>> + INF FatPkg/EnhancedFatDxe/Fat.inf
>>> + INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
>>> + INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
>>> +
>>> + #
>>> + # Usb Support
>>> + #
>>> +
>>> +
>>> + INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
>>> +
>>> + INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
>>> + INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
>>> + INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
>>> + INF MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
>>> + INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
>>> + INF Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
>>> + INF Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf
>>> +
>>> +
>>> +
>>> + INF Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf
>>> +
>>> + INF Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf
>>> +
>>> + #
>>> + #ACPI
>>> + #
>>> + INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
>>> + INF Silicon/Hisilicon/Drivers/HisiAcpiPlatformDxe/AcpiPlatformDxe.inf
>>> +
>>> + INF Silicon/Hisilicon/Drivers/AcpiPlatformDxe/AcpiPlatformDxe.inf
>>> +
>>> + #
>>> + #Network
>>> + #
>>> +
>>> + INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
>>> + INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
>>> + INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
>>> + INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
>>> + INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
>>> + INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
>>> + INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
>>> + INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
>>> +!if $(NETWORK_IP6_ENABLE) == TRUE
>>> + INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf
>>> + INF NetworkPkg/TcpDxe/TcpDxe.inf
>>> + INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf
>>> + INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
>>> + INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
>>> + INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
>>> +!else
>>> + INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
>>> + INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
>>> +!endif
>>> + INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
>>> +!if $(HTTP_BOOT_ENABLE) == TRUE
>>> + INF NetworkPkg/DnsDxe/DnsDxe.inf
>>> + INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
>>> + INF NetworkPkg/HttpDxe/HttpDxe.inf
>>> + INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf
>>> +!endif
>>> +
>>> +
>>> + #
>>> + # PCI Support
>>> + #
>>> + INF Silicon/Hisilicon/Drivers/PciPlatform/PciPlatform.inf
>>> + INF ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
>>> + INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
>>> + INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
>>> +
>>> + INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
>>> + INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
>>> + INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
>>> + INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
>>> + #
>>> + # Build Shell from latest source code instead of prebuilt binary
>>> + #
>>> + INF ShellPkg/Application/Shell/Shell.inf
>>> +
>>> + INF MdeModulePkg/Application/UiApp/UiApp.inf
>>> + #
>>> + # Bds
>>> + #
>>> + INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
>>> +
>>> + INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
>>> + INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
>>> + INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
>>> + INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
>>> +
>>> +[FV.FVMAIN_COMPACT]
>>> +FvAlignment = 16
>>> +ERASE_POLARITY = 1
>>> +MEMORY_MAPPED = TRUE
>>> +STICKY_WRITE = TRUE
>>> +LOCK_CAP = TRUE
>>> +LOCK_STATUS = TRUE
>>> +WRITE_DISABLED_CAP = TRUE
>>> +WRITE_ENABLED_CAP = TRUE
>>> +WRITE_STATUS = TRUE
>>> +WRITE_LOCK_CAP = TRUE
>>> +WRITE_LOCK_STATUS = TRUE
>>> +READ_DISABLED_CAP = TRUE
>>> +READ_ENABLED_CAP = TRUE
>>> +READ_STATUS = TRUE
>>> +READ_LOCK_CAP = TRUE
>>> +READ_LOCK_STATUS = TRUE
>>> +
>>> + APRIORI PEI {
>>> + INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
>>> + }
>>> + INF ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
>>> + INF MdeModulePkg/Core/Pei/PeiMain.inf
>>> + INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf
>>> +
>>> + INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
>>> + INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
>>> +
>>> + INF Silicon/Hisilicon/Drivers/VersionInfoPeim/VersionInfoPeim.inf
>>> +
>>> + INF ArmPkg/Drivers/CpuPei/CpuPei.inf
>>> + INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
>>> + INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
>>> +
>>> + INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
>>> +
>>> + FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
>>> + SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
>>> + SECTION FV_IMAGE = FVMAIN
>>> + }
>>> + }
>>> +
>>> +!include Silicon/Hisilicon/Hisilicon.fdf.inc
>>> +
>>> diff --git a/Platform/Hisilicon/D06/Include/Library/CpldD06.h b/Platform/Hisilicon/D06/Include/Library/CpldD06.h
>>> new file mode 100644
>>> index 0000000000..2e7deeca6d
>>> --- /dev/null
>>> +++ b/Platform/Hisilicon/D06/Include/Library/CpldD06.h
>>> @@ -0,0 +1,37 @@
>>> +/** @file
>>> +
>>> + Copyright (c) 2018, Hisilicon Limited. All rights reserved.<BR>
>>> + Copyright (c) 2018, Linaro Limited. All rights reserved.<BR>
>>> +
>>> + 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.
>>> +
>>> +**/
>>> +
>>> +#ifndef __CPLDD06_H__
>>> +#define __CPLDD06_H__
>>> +
>>> +#define CPLD_BASE_ADDRESS 0x80000000
>>> +
>>> +#define CPLD_BIOSINDICATE_FLAG 0x09
>>> +#define CPLD_I2C_SWITCH_FLAG 0x17
>>> +#define CPU_GET_I2C_CONTROL BIT2
>>> +#define BMC_I2C_STATUS BIT3
>>> +
>>> +#define CPLD_LOGIC_VERSION (0x4)
>>> +#define CPLD_LOGIC_COMPLIER_YEAR (0x1)
>>> +#define CPLD_LOGIC_COMPLIER_MONTH (0x2)
>>> +#define CPLD_LOGIC_COMPLIER_DAY (0x3)
>>
>> COMPLIER? Is this meant to be COMPILER? or COMPILATION?
>>
>
> I think this is COMPILE for build date of cpld.
>
>>> +
>>> +#define CPLD_RISER_PRSNT_FLAG 0x40
>>> +#define CPLD_RISER2_BOARD_ID 0x44
>>> +
>>> +#define CPLD_X8_X8_X8_BOARD_ID 0x92
>>> +#define CPLD_X16_X8_BOARD_ID 0x93
>>> +
>>> +#endif /* __CPLDD06_H__ */
>>> diff --git a/Silicon/Hisilicon/Hi1620/Include/Library/SerdesLib.h b/Silicon/Hisilicon/Hi1620/Include/Library/SerdesLib.h
>>> new file mode 100644
>>> index 0000000000..e13309a6bc
>>> --- /dev/null
>>> +++ b/Silicon/Hisilicon/Hi1620/Include/Library/SerdesLib.h
>>> @@ -0,0 +1,85 @@
>>> +/** @file
>>> +*
>>> +* Copyright (c) 2018, Hisilicon Limited. All rights reserved.
>>> +* Copyright (c) 2018, Linaro Limited. All rights reserved.
>>> +*
>>> +* 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.
>>> +*
>>> +**/
>>> +
>>> +#ifndef _SERDES_LIB_H_
>>> +#define _SERDES_LIB_H_
>>> +
>>> +typedef enum {
>>> + EmHilink0Hccs1X8 = 0,
>>> + EmHilink0Pcie1X8 = 2,
>>> + EmHilink0Pcie1X4Pcie2X4 = 3,
>>> + EmHilink0Sas2X8 = 4,
>>> + EmHilink0Hccs1X8Width16,
>>> + EmHilink0Hccs1X8Width32,
>>> + EmHilink0Hccs1X8Speed5G,
>>> +} HILINK0_MODE_TYPE;
>>> +
>>> +typedef enum {
>>> + EmHilink1Sas2X1 = 0,
>>> + EmHilink1Hccs0X8 = 1,
>>> + EmHilink1Pcie0X8 = 2,
>>> + EmHilink1Hccs0X8Width16,
>>> + EmHilink1Hccs0X8Width32,
>>> + EmHilink1Hccs0X8Speed5G,
>>> +} HILINK1_MODE_TYPE;
>>> +
>>> +typedef enum {
>>> + EmHilink2Pcie2X8 = 0,
>>> + EmHilink2Hccs2X8 = 1,
>>> + EmHilink2Sas0X8 = 2,
>>> + EmHilink2Hccs2X8Width16,
>>> + EmHilink2Hccs2X8Width32,
>>> + EmHilink2Hccs2X8Speed5G,
>>> +} HILINK2_MODE_TYPE;
>>> +
>>> +typedef enum {
>>> + EmHilink5Pcie3X4 = 0,
>>> + EmHilink5Pcie2X2Pcie3X2 = 1,
>>> + EmHilink5Sas1X4 = 2,
>>> +} HILINK5_MODE_TYPE;
>>> +
>>> +
>>> +typedef struct {
>>> + HILINK0_MODE_TYPE Hilink0Mode;
>>> + HILINK1_MODE_TYPE Hilink1Mode;
>>> + HILINK2_MODE_TYPE Hilink2Mode;
>>> + UINT32 Hilink3Mode;
>>> + UINT32 Hilink4Mode;
>>> + HILINK5_MODE_TYPE Hilink5Mode;
>>> + UINT32 Hilink6Mode;
>>> + UINT32 UseSsc;
>>> +} SERDES_PARAM;
>>> +
>>> +#define SERDES_INVALID_MACRO_ID 0xFFFFFFFF
>>> +#define SERDES_INVALID_LANE_NUM 0xFFFFFFFF
>>> +#define SERDES_INVALID_RATE_MODE 0xFFFFFFFF
>>> +
>>> +typedef struct {
>>> + UINT32 MacroId;
>>> + UINT32 DsNum;
>>> + UINT32 DsCfg;
>>> +} SERDES_POLARITY_INVERT;
>>> +
>>> +EFI_STATUS OemGetSerdesParam (SERDES_PARAM *ParamA, SERDES_PARAM *ParamB, UINT32 SocketId);
>>> +extern SERDES_POLARITY_INVERT gSerdesPolarityTxDesc[];
>>> +extern SERDES_POLARITY_INVERT gSerdesPolarityRxDesc[];
>>> +UINT32 GetEthType(UINT8 EthChannel);
>>
>> Space after ( for functions.
>> (Applies throughout.)
>>
>>> +VOID SerdesEnableCtleDfe(UINT32 NimbusId, UINT32 Macro, UINT32 Lane, UINT32 LaneMode);
>>> +
>>> +EFI_STATUS EfiSerdesInitWrap (UINT32 RateMode);
>>> +INT32 SerdesReset(UINT32 SiclId, UINT32 Macro);
>>> +VOID SerdesLoadFirmware(UINT32 SiclId, UINT32 Macro);
>>> +int h30_serdes_run_firmware(UINT32 nimbus_id, UINT32 macro, UINT8 DsMask, UINT8 ctle_mode);
>>
>> There's no 'int' in EDK2. Is this INT64, INT32 or INTN?
>>
>
> It is INT32 here.
>
>>> +#endif
>>> diff --git a/Silicon/Hisilicon/Include/Library/OemAddressMapLib.h b/Silicon/Hisilicon/Include/Library/OemAddressMapLib.h
>>> index 21498b7056..86a839b935 100644
>>> --- a/Silicon/Hisilicon/Include/Library/OemAddressMapLib.h
>>> +++ b/Silicon/Hisilicon/Include/Library/OemAddressMapLib.h
>>> @@ -24,10 +24,16 @@ typedef struct _DDRC_BASE_ID{
>>> // Invalid address, will cause exception when accessed by bug code
>>> #define ADDRESS_MAP_INVALID ((UINTN)(-1))
>>>
>>> +UINTN OemGetGicSubBase (UINT32 NodeId);
>>> +UINTN OemGetCfgbusBase (UINT32 NodeId);
>>> UINTN OemGetPoeSubBase (UINT32 NodeId);
>>> UINTN OemGetPeriSubBase (UINT32 NodeId);
>>> UINTN OemGetAlgSubBase (UINT32 NodeId);
>>> UINTN OemGetM3SubBase (UINT32 NodeId);
>>> +UINTN OemGetPCIeSubBase (UINT32 NodeId);
>>> +UINTN OemGetIOMGMTSubBase(UINT32 NodeId);
>>> +UINTN OemGetNetworkSubBase(UINT32 NodeId);
>>> +UINTN OemGetHACSubBase(UINT32 NodeId);
>>
>> Could the new declarations be added in best possible alphabetical
>> order?
>> Something like
>>
>> UINTN OemGetPoeSubBase (UINT32 NodeId);
>> UINTN OemGetPeriSubBase (UINT32 NodeId);
>> UINTN OemGetAlgSubBase (UINT32 NodeId);
>> +UINTN OemGetCfgbusBase (UINT32 NodeId);
>> +UINTN OemGetGicSubBase (UINT32 NodeId);
>> +UINTN OemGetHACSubBase(UINT32 NodeId);
>> +UINTN OemGetIOMGMTSubBase(UINT32 NodeId);
>> +UINTN OemGetNetworkSubBase(UINT32 NodeId);
>> UINTN OemGetM3SubBase (UINT32 NodeId);
>> +UINTN OemGetPCIeSubBase (UINT32 NodeId);
>>
>> ?
>>
>> At least then we're left with only two prototypes out of order within
>> the block.
>>
>
> Yes, I will modify this as your suggestions.
>
>>>
>>> VOID OemAddressMapInit(VOID);
>>>
>>> diff --git a/Silicon/Hisilicon/Include/Library/OemNicLib.h b/Silicon/Hisilicon/Include/Library/OemNicLib.h
>>> new file mode 100644
>>> index 0000000000..22a29257fb
>>> --- /dev/null
>>> +++ b/Silicon/Hisilicon/Include/Library/OemNicLib.h
>>> @@ -0,0 +1,58 @@
>>> +/** @file
>>> +*
>>> +* Copyright (c) 2018, Hisilicon Limited. All rights reserved.
>>> +* Copyright (c) 2018, Linaro Limited. All rights reserved.
>>> +*
>>> +* 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.
>>> +*
>>> +**/
>>> +
>>> +
>>> +#ifndef _OEM_NIC_LIB_H_
>>> +#define _OEM_NIC_LIB_H_
>>> +
>>> +#define ETH_MAX_PORT 8
>>> +#define ETH_DEBUG_PORT0 6
>>> +#define ETH_DEBUG_PORT1 7
>>> +
>>> +#define ETH_SPEED_10M 6
>>> +#define ETH_SPEED_100M 7
>>> +#define ETH_SPEED_1000M 8
>>> +#define ETH_SPEED_10KM 9
>>> +#define ETH_HALF_DUPLEX 0
>>> +#define ETH_FULL_DUPLEX 1
>>> +
>>> +#define ETH_GDD_ID 0x001378e0
>>> +#define ETH_PHY_BCM5241_ID 0x0143bc30
>>> +#define ETH_PHY_MVL88E1145_ID 0x01410cd0
>>> +#define ETH_PHY_MVL88E1119_ID 0x01410e80
>>> +#define ETH_PHY_MVL88E1512_ID 0x01410dd0
>>> +#define ETH_PHY_MVL88E1543_ID 0x01410ea0
>>> +#define ETH_PHY_NLP3142_ID 0x00000412
>>> +
>>> +#define ETH_INVALID 0xffffffff
>>> +
>>> +typedef struct {
>>> + UINT32 Valid;
>>> + UINT32 Speed;
>>> + UINT32 Duplex;
>>> + UINT32 PhyId;
>>> + UINT32 PhyAddr;
>>> +} ETH_PRODUCT_DESC;
>>> +
>>> +BOOLEAN OemIsInitEth (UINT32 Port);
>>> +UINT32 OemEthFindFirstSP();
>>> +ETH_PRODUCT_DESC *OemEthInit(UINT32 port);
>>> +//UINT32 GetFiberType(UINT8* FiberType);
>>
>> Please don't add commented-out code.
>>
>> /
>> Leif
>>
>
> This line will be remove, all comments above will be applied.
>
> Ming
>
>>> +UINT32 GetCpu1FiberType(UINT8* Fiber1Type, UINT8* Fiber2Type);
>>> +UINT32 GetCpu2FiberType(UINT8* Fiber1Type, UINT8* Fiber2Type, UINT8* Fiber100Ge);
>>> +EFI_STATUS EFIAPI OemGetMac (IN OUT EFI_MAC_ADDRESS *Mac, IN UINTN Port);
>>> +EFI_STATUS EFIAPI OemSetMac (IN EFI_MAC_ADDRESS *Mac, IN UINTN Port);
>>> +
>>> +#endif
>>> --
>>> 2.17.0
>>>
next prev parent reply other threads:[~2018-08-06 3:01 UTC|newest]
Thread overview: 153+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 7:08 [PATCH edk2-platforms v1 00/38] Upload for D06 platform Ming Huang
2018-07-24 7:08 ` [PATCH edk2-platforms v1 01/38] Silicon/Hisilicon: Modify the MRC interface for other module Ming Huang
2018-08-02 14:42 ` Leif Lindholm
2018-08-05 3:35 ` Ming
2018-07-24 7:08 ` [PATCH edk2-platforms v1 02/38] Silicon/Hisilicon: Separate PlatformArch.h Ming Huang
2018-08-02 14:56 ` Leif Lindholm
2018-08-05 15:11 ` Ming
2018-07-24 7:08 ` [PATCH edk2-platforms v1 03/38] Hisilicon/D06: Add several basal file for D06 Ming Huang
2018-08-02 16:14 ` Leif Lindholm
2018-08-05 15:06 ` Ming
2018-08-06 3:01 ` Ming [this message]
2018-08-06 9:57 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 04/38] Platform/Hisilicon/D06: Add M41T83RealTimeClockLib Ming Huang
2018-08-02 16:56 ` Leif Lindholm
2018-08-08 8:02 ` Ming
2018-08-08 9:12 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 05/38] Platform/Hisilicon/D06: Add binary file for D06 Ming Huang
2018-08-02 17:05 ` Leif Lindholm
2018-08-07 15:04 ` Ming
2018-07-24 7:08 ` [PATCH edk2-platforms v1 06/38] Hisilicon/D06: Add OemMiscLibD06 Ming Huang
2018-08-02 17:22 ` Leif Lindholm
2018-08-08 3:49 ` Ming
2018-08-08 9:43 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 07/38] Silicon/Hisilicon/D06: Wait for all disk ready Ming Huang
2018-08-02 17:36 ` Leif Lindholm
2018-08-08 9:02 ` Ming
2018-08-08 9:59 ` Leif Lindholm
2018-08-08 11:44 ` Ming
2018-08-08 12:53 ` Leif Lindholm
2018-08-10 1:44 ` Ming
2018-08-14 15:26 ` Leif Lindholm
2018-08-15 4:01 ` Ming
2018-08-15 13:12 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 08/38] Silicon/Hisilicon/Acpi: Unify HisiAcipPlatformDxe Ming Huang
2018-08-02 17:39 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 09/38] Hisilicon/D06: Add Debug Serial Port Init Driver Ming Huang
2018-08-02 18:10 ` Leif Lindholm
2018-08-08 7:37 ` Ming
2018-08-08 10:01 ` Leif Lindholm
2018-08-08 14:48 ` Ming
2018-07-24 7:08 ` [PATCH edk2-platforms v1 10/38] Hisilicon/D06: Add ACPI Tables for D06 Ming Huang
2018-08-02 18:13 ` Leif Lindholm
2018-08-02 18:24 ` Ard Biesheuvel
2018-07-24 7:08 ` [PATCH edk2-platforms v1 11/38] Hisilicon/D06: Add Hi1620OemConfigUiLib Ming Huang
2018-08-03 10:24 ` Leif Lindholm
2018-08-08 12:09 ` Ming
2018-08-11 6:35 ` Ming
2018-07-24 7:08 ` [PATCH edk2-platforms v1 12/38] Silicon/Hisilicon/D06: Stop watchdog Ming Huang
2018-08-03 10:28 ` Leif Lindholm
2018-08-08 9:49 ` Ming
2018-08-03 10:31 ` Ard Biesheuvel
2018-08-09 11:40 ` Ming
2018-08-09 11:53 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 13/38] Silicon/Hisilicon/Acpi: Move some macro to PlatformArch.h Ming Huang
2018-08-03 10:37 ` Leif Lindholm
2018-08-08 12:22 ` Ming
2018-08-08 12:57 ` Leif Lindholm
2018-07-24 7:08 ` [PATCH edk2-platforms v1 14/38] Silicon/Hisilicon/D06: Fix I2C enable fail issue for D06 Ming Huang
2018-08-03 10:40 ` Leif Lindholm
2018-08-08 14:33 ` Ming
2018-07-24 7:08 ` [PATCH edk2-platforms v1 15/38] Silicon/Hisilicon/I2C: Optimize I2C library Ming Huang
2018-08-03 13:24 ` Leif Lindholm
2018-08-08 14:41 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 16/38] Silicon/Hisilicon/D06: Add I2C delay for HNS auto config Ming Huang
2018-08-03 13:28 ` Leif Lindholm
2018-08-09 3:59 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 17/38] Silicon/Hisilicon/D06: Optimize HNS config CDR post time Ming Huang
2018-08-03 13:30 ` Leif Lindholm
2018-08-08 14:54 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 18/38] Silicon/Hisilicon/Setup: Add Setup Item "EnableGOP" Ming Huang
2018-08-03 13:32 ` Leif Lindholm
2018-08-09 0:35 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 19/38] Hisilicon/Hi1620: Add ACPI PPTT table Ming Huang
2018-08-03 13:42 ` Leif Lindholm
2018-08-09 0:52 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 20/38] Platform/Hisilicon/D06: Enable ACPI PPTT Ming Huang
2018-08-03 13:43 ` Leif Lindholm
2018-07-24 7:09 ` [PATCH edk2-platforms v1 21/38] Silicon/Hisilicon/D0x: Move macro definition to PlatformArch.h Ming Huang
2018-08-03 13:44 ` Leif Lindholm
2018-07-24 7:09 ` [PATCH edk2-platforms v1 22/38] Platform/Hisilicon/D06: Add OemNicLib Ming Huang
2018-08-03 14:36 ` Leif Lindholm
2018-08-09 6:16 ` Ming
2018-08-09 10:19 ` Leif Lindholm
2018-08-09 14:41 ` Ming
2018-08-14 2:38 ` Ming
2018-08-14 15:48 ` Leif Lindholm
2018-08-15 11:08 ` Ming
2018-08-15 13:22 ` Leif Lindholm
2018-08-15 14:16 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 23/38] Hisilicon/D0X: Rename the global variable gDS3231RtcDevice Ming Huang
2018-08-03 15:20 ` Leif Lindholm
2018-08-09 6:22 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 24/38] Platform/Hisilicon/D06: Add OemNicConfig2P Driver Ming Huang
2018-08-03 15:23 ` Leif Lindholm
2018-08-09 6:24 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 25/38] Hisilicon/D0x: Update SMBIOS type9 info Ming Huang
2018-08-04 9:28 ` Leif Lindholm
2018-08-09 6:34 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 26/38] Silicon/Hisilicon/D0x: Move macro definition to PlatformArch.h Ming Huang
2018-08-04 9:34 ` Leif Lindholm
2018-08-09 6:37 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 27/38] Platform/Hisilicon/D06: Add EarlyConfigPeim peim Ming Huang
2018-08-04 9:59 ` Leif Lindholm
2018-08-09 7:07 ` Ming
2018-08-09 10:27 ` Leif Lindholm
2018-08-09 11:54 ` Ming
2018-08-14 2:31 ` Ming
2018-08-14 15:42 ` Leif Lindholm
2018-07-24 7:09 ` [PATCH edk2-platforms v1 28/38] Hisilicon/D0x: Unify FlashFvbDxe driver Ming Huang
2018-08-04 10:06 ` Leif Lindholm
2018-08-09 7:15 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 29/38] Platform/Hisilicon/D06: Add PciHostBridgeLib Ming Huang
2018-08-04 13:41 ` Leif Lindholm
2018-08-09 7:22 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 30/38] Hisilicon/D06: add apei driver Ming Huang
2018-08-04 14:47 ` Leif Lindholm
2018-08-10 2:46 ` Ming
2018-08-14 15:39 ` Leif Lindholm
2018-08-15 8:57 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 31/38] Silicon/Hisilicon/D06: Add some Lpc macro to LpcLib.h Ming Huang
2018-08-04 14:58 ` Leif Lindholm
2018-08-09 12:02 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 32/38] Platform/Hisilicon/D06: Add capsule upgrade support Ming Huang
2018-08-04 15:08 ` Leif Lindholm
2018-07-24 7:09 ` [PATCH edk2-platforms v1 33/38] Silicon/Hisilicon/D06: Modify for close slave core clock Ming Huang
2018-08-04 15:14 ` Leif Lindholm
2018-08-09 12:15 ` Ming
2018-08-09 12:27 ` Leif Lindholm
2018-08-10 2:05 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 34/38] Silicon/Hisilicon/D06: Add I2C Bus Exception deal function Ming Huang
2018-08-04 15:18 ` Leif Lindholm
2018-08-10 2:19 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 35/38] Silicon/Hisilicon/Setup: Support SPCR table switch Ming Huang
2018-08-04 15:20 ` Leif Lindholm
2018-08-09 14:17 ` Ming
2018-08-09 14:44 ` Leif Lindholm
2018-08-09 15:40 ` Ming
2018-08-09 15:48 ` Leif Lindholm
2018-07-24 7:09 ` [PATCH edk2-platforms v1 36/38] Silicon/Hisilicon/setup: Support SMMU switch Ming Huang
2018-08-06 9:59 ` Leif Lindholm
2018-08-09 14:19 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 37/38] Hisilicon/D06: Add PciPlatformLib Ming Huang
2018-08-06 10:01 ` Leif Lindholm
2018-08-09 14:27 ` Ming
2018-07-24 7:09 ` [PATCH edk2-platforms v1 38/38] Platform/Hisilicon/D0x: Update version string to 18.08 Ming Huang
2018-08-06 10:03 ` Leif Lindholm
2018-08-09 14:29 ` Ming
2018-08-01 21:56 ` [PATCH edk2-platforms v1 00/38] Upload for D06 platform Leif Lindholm
2018-08-02 1:46 ` Ming
2018-08-02 3:17 ` 答复: " Guoheyi
2018-08-02 10:12 ` Leif Lindholm
2018-08-02 15:36 ` Graeme Gregory
2018-08-04 14:26 ` Ming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=898255dd-4b5d-5873-e613-04f5dc4eab9a@linaro.org \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox