From nobody Fri Mar 29 11:50:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1534421787459416.9521888155126; Thu, 16 Aug 2018 05:16:27 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 4A730210F3D79; Thu, 16 Aug 2018 05:16:26 -0700 (PDT) Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1A7BD210F3761 for ; Thu, 16 Aug 2018 05:16:25 -0700 (PDT) Received: by mail-pl0-x243.google.com with SMTP id d5-v6so2027551pll.4 for ; Thu, 16 Aug 2018 05:16:24 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id i192-v6sm37277289pfe.188.2018.08.16.05.16.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Aug 2018 05:16:23 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::243; helo=mail-pl0-x243.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=O5ufFMi6tYGE/67i2q6RkKB1dxwZqMsxk3LFKUaa7tM=; b=jG89Nvp951BDEv+DMT3Jl2Uv5e+bROpDKdweOJAzLk2izVMX1E2G+VBit5vR51D3FR e9t8OShq6EkOgO1JZil/JuS210nNNkR4ktNxVhF8ErApLMuPHpsYakjJFw/+joprNRFL Tj0eLODBG+gw0EHV834UrFTG+zl+uTwRFErMg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=O5ufFMi6tYGE/67i2q6RkKB1dxwZqMsxk3LFKUaa7tM=; b=hrZbem0l4bTmbjP+uBh+8GPhT9m908xuO9YsxtBmL/9w00+q9iGU/45IQ1eg3FRrmP HQHvD8zx2kTsh83cYCnZE/lAwy0FmZF9XSVFi6AhPSk+g759zcK9Ho/YNiLrvlIC6ZvK SPRfrxW7lpFfrq0dm9Lv2ip+TZ9hGFeRskCjp6NaWMx0XzTEtf32bXlr8b2ahbE2RRNu z5GW/Ce+pYOcYY1Fu47WGU7cZbEPrHKLarFb/r6IjkHaDF7wiHyLSvnn5d0IXNm3Z9MY eEXuiXhQFyuCHUJL8QnjSdCCCr621gsvR0/MaQMRvijZO6eQMHC/Df+mJ/3UQvtaFato EHEA== X-Gm-Message-State: AOUpUlG64K2FTjHyN0YLx1KM+admtz74vmI/4XmzU2c43Cfl5GGX46B6 KHGA2JIWLBT7fyu1cKSAOGYxFQ== X-Google-Smtp-Source: AA+uWPwsq0RvaVsn1BgX/rhekJrdJ73/AQCTm7EmqyBRYs4+AQsdvRc3HKxUiOXLfowMdIkw6chEow== X-Received: by 2002:a17:902:bb85:: with SMTP id m5-v6mr28139717pls.46.1534421784139; Thu, 16 Aug 2018 05:16:24 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 16 Aug 2018 20:16:13 +0800 Message-Id: <20180816121614.48850-2-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180816121614.48850-1-ming.huang@linaro.org> References: <20180816121614.48850-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 1/2] Hisilicon/D06: Add binary modules X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, guoheyi@huawei.com, huangdaode@hisilicon.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Description per Module: GetInfoFromBmc: Get board infomation from BMC and install a protocal. IoInitDxe: Serdes initialization and PCIe port initialization and SMMU workaround. IpmiInterfacePei: Install PEI ipmi interface PPI. IpmiInterfaceDxe: Install DXE ipmi interface protocal. IpmiMiscOpDxe: Send some OEM info to BMC via ipmi protocal. IpmiWatchdogDxe: Manage the out of band watchdog timer in BMC. SnpDxe: Snp driver for D06 debug on board net card. PcieRasInitDxe: Initialize PCIe RAS function for all PCIe root port and end point. RasInitDxe: Configure and enable RAS. SfcDxeDriver: SPI flash driver. SasDxeDriver: SAS driver for on board SAS controller. UefiSmi: VGA driver for on board VGA device(SM750). TransSmbiosInfo: Send SMBIOS infomation to BMC via ipmi. OemAddressMapD06: Provide function for configuration components of chips. MemoryInitPeim: Peim for memory initialization. Hi1620SerdesLib: Library for initialization Hi1620 serdes. LpcLib: Include LpcInit, LpcByteWrite and LpcByteRead functions. PlatformSysCtrlLibHi1620: Provide Misc function needed by other modules. FVMAIN_SEC.Fv: A Fv for SEC binary. bl1.bin/fip.bin: Trusted Firmware module. Build commit infomation: edk2: 871c57754c1d edk2-platforms: 820af7623c42 HwPkg: a7947372749e TrustedFirmware: cccdae6ff768 Tools: 6b286b119422 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf = | 26 ++++++++++++ Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf = | 28 +++++++++++++ Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpDxe.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf = | 26 ++++++++++++ Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf = | 25 ++++++++++++ Platform/Hisilicon/D06/Drivers/SFC/SfcDxeDriver.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf = | 27 ++++++++++++ Platform/Hisilicon/D06/Drivers/Sm750Dxe/UefiSmi.inf = | 32 +++++++++++++++ Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf = | 26 ++++++++++++ Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf = | 40 ++++++++++++++++++ Platform/Hisilicon/D06/MemoryInitPei/MemoryInitPeim.inf = | 28 +++++++++++++ Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.inf = | 43 ++++++++++++++++++++ Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.inf = | 39 ++++++++++++++++++ Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlL= ibHi1620.inf | 43 ++++++++++++++++++++ Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.depex = | Bin 0 -> 18 bytes Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi = | Bin 0 -> 20480 bytes Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex = | Bin 0 -> 18 bytes Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi = | Bin 0 -> 229216 bytes Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depe= x | Bin 0 -> 18 bytes Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi = | Bin 0 -> 29440 bytes Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depe= x | Bin 0 -> 18 bytes Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi = | Bin 0 -> 21664 bytes Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.depex = | Bin 0 -> 36 bytes Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi = | Bin 0 -> 24736 bytes Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex = | Bin 0 -> 36 bytes Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi = | Bin 0 -> 20768 bytes Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpPV600Dxe.efi = | Bin 0 -> 75040 bytes Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex = | Bin 0 -> 36 bytes Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.efi = | Bin 0 -> 21248 bytes Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi = | Bin 0 -> 17984 bytes Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.depex = | Bin 0 -> 36 bytes Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi = | Bin 0 -> 262144 bytes Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex = | Bin 0 -> 216 bytes Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi = | Bin 0 -> 221312 bytes Platform/Hisilicon/D06/Drivers/Sm750Dxe/SmiGraphicsOutput.efi = | Bin 0 -> 38208 bytes Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex = | Bin 0 -> 36 bytes Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi = | Bin 0 -> 20288 bytes Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib = | Bin 0 -> 61892 bytes Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex = | Bin 0 -> 18 bytes Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.efi = | Bin 0 -> 297696 bytes Platform/Hisilicon/D06/Sec/FVMAIN_SEC.Fv = | Bin 0 -> 1048576 bytes Platform/Hisilicon/D06/bl1.bin = | Bin 0 -> 12432 bytes Platform/Hisilicon/D06/fip.bin = | Bin 0 -> 113578 bytes Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.lib = | Bin 0 -> 1319320 bytes Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.lib = | Bin 0 -> 15406 bytes Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlL= ibHi1620.lib | Bin 0 -> 356032 bytes 50 files changed, 545 insertions(+) diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.i= nf b/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf new file mode 100644 index 0000000..0ddb8f3 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf @@ -0,0 +1,26 @@ +#/** @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. +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D GetInfoFromBmc + FILE_GUID =3D d6f3d102-f2f7-42ba-8e26-ba34fac721fa + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D GetBmcInfoDriverEntry + +[Binaries.AARCH64] + PE32|GetInfoFromBmc.efi|* + DXE_DEPEX|GetInfoFromBmc.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf b/Platf= orm/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf new file mode 100644 index 0000000..2f60930 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf @@ -0,0 +1,27 @@ +#/** @file +# +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved. +# Copyright (c) 2016 - 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] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D IoInitDxe + FILE_GUID =3D 92e003e6-ac08-4e7a-b7f5-1b1fe093e8ce + MODULE_TYPE =3D UEFI_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D IoInitDxeEntry + +[Binaries] + PE32|IoInitDxe.efi|* + DXE_DEPEX|IoInitDxe.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInter= faceDxe.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInte= rfaceDxe.inf new file mode 100644 index 0000000..93f1b24 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe= .inf @@ -0,0 +1,28 @@ +#/** @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. +# +#**/ + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D IpmiInterfaceDxe + FILE_GUID =3D e848f65c-cb9f-449c-8943-65093180c794 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries.AARCH64] + PE32|IpmiInterfaceDxe.efi|* + DXE_DEPEX|IpmiInterfaceDxe.depex|* + + diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInter= facePei.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInte= rfacePei.inf new file mode 100644 index 0000000..39e0197 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei= .inf @@ -0,0 +1,27 @@ +#/** @file +# +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved. +# Copyright (c) 2016 - 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] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D IpmiInterfacePei + FILE_GUID =3D 580502d5-f5a3-4e7b-9c70-65fbc3bcd368 + MODULE_TYPE =3D PEIM + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D IpmiInterfacePeiEntry + +[Binaries.AARCH64] + TE|IpmiInterfacePei.efi|* + PEI_DEPEX|IpmiInterfacePei.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf= b/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf new file mode 100644 index 0000000..94bc210 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf @@ -0,0 +1,27 @@ +#/** @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. +# +#**/ + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D IpmiMiscOp + FILE_GUID =3D 2769b929-2745-4ceb-bf57-b8b77afd889c + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D IpmiMiscOpEntry + +[Binaries.AARCH64] + PE32|IpmiMiscOp.efi|* + DXE_DEPEX|IpmiMiscOp.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe= .inf b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf new file mode 100644 index 0000000..2821acc --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf @@ -0,0 +1,27 @@ +#/** @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. +# +#**/ + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D IpmiWatchdogDxe + FILE_GUID =3D 320df638-30ce-43a9-831b-752532b894df + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D InitializeWatchdogDxeEntry + +[Binaries.AARCH64] + PE32|IpmiWatchdogDxe.efi|* + DXE_DEPEX|IpmiWatchdogDxe.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpDxe.inf = b/Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpDxe.inf new file mode 100644 index 0000000..6d228fa --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpDxe.inf @@ -0,0 +1,27 @@ +#/** @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. +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D SnpPV600Dxe + FILE_GUID =3D da125140-6cf1-426f-807f-85e6962144ac + MODULE_TYPE =3D UEFI_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D InitializeSnpPV600Driver + UNLOAD_IMAGE =3D NetLibDefaultUnload + +[Binaries.AARCH64] + PE32|SnpPV600Dxe.efi + diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.i= nf b/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf new file mode 100644 index 0000000..c853fe4 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf @@ -0,0 +1,26 @@ +## @file +# +# Component description file PCI Ras Init driver. +# 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 B= SD 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 IM= PLIED. +## + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D PcieRasInitDxe + FILE_GUID =3D f301927a-017a-4f63-b412-4e10f72395ed + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D InitializePcieRas + +[Binaries.AARCH64] + PE32|PcieRasInitDxe.efi|* + DXE_DEPEX|PcieRasInitDxe.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf b/Pla= tform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf new file mode 100644 index 0000000..f436a1b --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf @@ -0,0 +1,25 @@ +## @file +# +# Component description file PCI Ras Init driver. +# 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 B= SD 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 IM= PLIED. +## + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D RasInitDxe + FILE_GUID =3D cb655a58-a090-429b-b324-3efa7a583546 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D RasInitEntry + +[Binaries.AARCH64] + PE32|RasInitDxe.efi|* diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SfcDxeDriver.inf b/Platform= /Hisilicon/D06/Drivers/SFC/SfcDxeDriver.inf new file mode 100644 index 0000000..22e68ea --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/SFC/SfcDxeDriver.inf @@ -0,0 +1,27 @@ +#/** @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. +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D SFCDriver + FILE_GUID =3D 5cfeb794-3e2b-4647-a24c-3a6cbc1fd9b6 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D SFCInitialize + +[Binaries.AARCH64] + PE32|SFCDriver.efi|* + DXE_DEPEX|SFCDriver.depex|* + diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf b/Platform= /Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf new file mode 100644 index 0000000..2264e80 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf @@ -0,0 +1,27 @@ +#/** @file +# +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved. +# Copyright (c) 2016 - 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] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D SasDriverDxe + FILE_GUID =3D 86791da8-ab4a-49c5-95b9-e850332aca81 + MODULE_TYPE =3D UEFI_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D SasDriverInitialize + +[Binaries] + PE32|SasDriverDxe.efi|* + DXE_DEPEX|SasDriverDxe.depex diff --git a/Platform/Hisilicon/D06/Drivers/Sm750Dxe/UefiSmi.inf b/Platform= /Hisilicon/D06/Drivers/Sm750Dxe/UefiSmi.inf new file mode 100644 index 0000000..19befc1 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/Sm750Dxe/UefiSmi.inf @@ -0,0 +1,32 @@ +#/** @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. +# +#**/ + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D SmiGraphicsOutput + FILE_GUID =3D 02b187e4-b6eb-4952-ba28-16c9af377a36 + MODULE_TYPE =3D UEFI_DRIVER + VERSION_STRING =3D 1.0 + + PCI_VENDOR_ID =3D 0x126F + PCI_DEVICE_ID =3D 0x0750 + PCI_CLASS_CODE =3D 0x030000 + PCI_REVISION =3D 0xA1 + COMPRESS =3D TRUE + +[Binaries.AARCH64] + PE32|SmiGraphicsOutput.efi|* + diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosI= nfo.inf b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo= .inf new file mode 100644 index 0000000..9e93e23 --- /dev/null +++ b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf @@ -0,0 +1,26 @@ +#/** @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. +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D TransSmbiosInfo + FILE_GUID =3D 28b38fff-bd02-4e8b-b420-3baf10840a5f + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D TransferSmbiosInfoToBMC + +[Binaries.AARCH64] + PE32|TransSmbiosInfo.efi|* + DXE_DEPEX|TransSmbiosInfo.depex|* diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD= 06.inf b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.i= nf new file mode 100644 index 0000000..3a553e6 --- /dev/null +++ b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf @@ -0,0 +1,40 @@ +#/** @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. +# +#**/ + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D OemAddressMapD05 + FILE_GUID =3D 64a05b8e-6e6d-4384-8c25-2e9720e1f9da + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D OemAddressMapLib + + +[Binaries.AARCH64] + LIB|OemAddressMapD06.lib|* + +[Packages] + ArmPkg/ArmPkg.dec + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + Silicon/Hisilicon/HisiPkg.dec + +[LibraryClasses] + CpldIoLib + +[FixedPcd] + gHisiTokenSpaceGuid.PcdNORFlashBase + diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInitPeim.inf b/Plat= form/Hisilicon/D06/MemoryInitPei/MemoryInitPeim.inf new file mode 100644 index 0000000..b099878 --- /dev/null +++ b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInitPeim.inf @@ -0,0 +1,28 @@ +#/** @file +# +# Copyright (c) 2011-2014, ARM Ltd. All rights reserved.
+# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.
+# Copyright (c) 2016 - 2018, Linaro Limited. All rights reserved.
+# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the B= SD 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 IM= PLIED. +# +# Based on the files under ArmPlatformPkg/MemoryInitPei/ +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D MemoryInit + FILE_GUID =3D bf4e76a5-75aa-4fc4-b211-71a30141f420 + MODULE_TYPE =3D PEIM + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D InitializeMemory + +[Binaries.AARCH64] + TE|MemoryInit.efi|* + PEI_DEPEX|MemoryInit.depex diff --git a/Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.= inf b/Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.inf new file mode 100644 index 0000000..60de63f --- /dev/null +++ b/Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.inf @@ -0,0 +1,43 @@ +#/** @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. +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D Hi1620SerdesLib + FILE_GUID =3D 1deeae34-0534-48e4-88e4-564a66599d6a + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D SerdesLib + +[Binaries.common] + LIB|Hi1620SerdesLib.lib + +[Packages] + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + Silicon/Hisilicon/HisiPkg.dec + +[LibraryClasses] + BaseLib + BaseMemoryLib + DebugLib + IoLib + OemMiscLib + PlatformSysCtrlLib + TimerLib + +[FixedPcd] + gHisiTokenSpaceGuid.PcdIsMPBoot + gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag diff --git a/Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.inf b/Sil= icon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.inf new file mode 100644 index 0000000..eadc941 --- /dev/null +++ b/Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.inf @@ -0,0 +1,39 @@ +#*************************************************************************= ***** +# +# 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] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D LpcLib + FILE_GUID =3D 17cf6de7-8ed6-4dcc-b408-7e0e8a9421d7 + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D LpcLib + +[Binaries.AARCH64] + LIB|LpcLib.lib|* + +[Packages] + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + Silicon/Hisilicon/HisiPkg.dec + +[LibraryClasses] + ArmLib + BaseLib + DebugLib + IoLib + TimerLib + PlatformSysCtrlLib diff --git a/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/Plat= formSysCtrlLibHi1620.inf b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrl= LibHi1620/PlatformSysCtrlLibHi1620.inf new file mode 100644 index 0000000..9186361 --- /dev/null +++ b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSys= CtrlLibHi1620.inf @@ -0,0 +1,43 @@ +#/** @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. +# +#**/ + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D PlatformSysCtrlLibHi1620 + FILE_GUID =3D 26db9c9f-0e58-4fb6-969d-3e83e9e82b05 + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D PlatformSysCtrlLib + +[Binaries.AARCH64] + LIB|PlatformSysCtrlLibHi1620.lib|* + +[Packages] + ArmPkg/ArmPkg.dec + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + Silicon/Hisilicon/HisiPkg.dec + +[LibraryClasses] + ArmLib + IoLib + LpcLib + OemAddressMapLib + OemMiscLib + PcdLib + +[FixedPcd] + gHisiTokenSpaceGuid.PcdPlatformDefaultPackageType + gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.d= epex b/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.depex new file mode 100644 index 0000000..0dc7ce4 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/= GetInfoFromBmc.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.e= fi b/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi new file mode 100644 index 0000000..ca8240b Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/= GetInfoFromBmc.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex b/Pla= tform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex new file mode 100644 index 0000000..0dc7ce4 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoIni= tDxe.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi b/Platf= orm/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi new file mode 100644 index 0000000..afd3ebe Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoIni= tDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInter= faceDxe.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiIn= terfaceDxe.depex new file mode 100644 index 0000000..0dc7ce4 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterf= aceDxe/IpmiInterfaceDxe.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInter= faceDxe.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInte= rfaceDxe.efi new file mode 100644 index 0000000..9a0fa32 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterf= aceDxe/IpmiInterfaceDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInter= facePei.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiIn= terfacePei.depex new file mode 100644 index 0000000..53e435a Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterf= acePei/IpmiInterfacePei.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInter= facePei.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInte= rfacePei.efi new file mode 100644 index 0000000..c76061d Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterf= acePei/IpmiInterfacePei.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.depex = b/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.depex new file mode 100644 index 0000000..d4ce5b8 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/I= pmiMiscOp.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi b/= Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi new file mode 100644 index 0000000..bd88bf6 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/I= pmiMiscOp.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe= .depex b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.dep= ex new file mode 100644 index 0000000..d4ce5b8 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe= /IpmiWatchdogDxe.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe= .efi b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi new file mode 100644 index 0000000..6573ceb Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe= /IpmiWatchdogDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpPV600Dxe= .efi b/Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpPV600Dxe.efi new file mode 100644 index 0000000..c9d6c27 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Net/SnpHi1620Ne= wDxe/SnpPV600Dxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.d= epex b/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex new file mode 100644 index 0000000..7c01109 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/= PcieRasInitDxe.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.e= fi b/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.efi new file mode 100644 index 0000000..0e22237 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/= PcieRasInitDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi b/Pla= tform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi new file mode 100644 index 0000000..19adbc9 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasI= nitDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.depex b/Platform/= Hisilicon/D06/Drivers/SFC/SFCDriver.depex new file mode 100644 index 0000000..e5c4b16 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.d= epex differ diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi b/Platform/Hi= silicon/D06/Drivers/SFC/SFCDriver.efi new file mode 100644 index 0000000..474075a Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.e= fi differ diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex b/Platfo= rm/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex new file mode 100644 index 0000000..1a5bc1e Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDx= e.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi b/Platform= /Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi new file mode 100644 index 0000000..ac6bae7 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDx= e.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Sm750Dxe/SmiGraphicsOutput.efi = b/Platform/Hisilicon/D06/Drivers/Sm750Dxe/SmiGraphicsOutput.efi new file mode 100644 index 0000000..93d7102 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sm750Dxe/SmiGra= phicsOutput.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosI= nfo.depex b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosIn= fo.depex new file mode 100644 index 0000000..d4ce5b8 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/TransferSmbiosI= nfo/TransSmbiosInfo.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosI= nfo.efi b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo= .efi new file mode 100644 index 0000000..c01b08c Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/TransferSmbiosI= nfo/TransSmbiosInfo.efi differ diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD= 06.lib b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.l= ib new file mode 100644 index 0000000..7e1f6b2 Binary files /dev/null and b/Platform/Hisilicon/D06/Library/OemAddressMapD0= 6/OemAddressMapD06.lib differ diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex b/Platfo= rm/Hisilicon/D06/MemoryInitPei/MemoryInit.depex new file mode 100644 index 0000000..53e435a Binary files /dev/null and b/Platform/Hisilicon/D06/MemoryInitPei/MemoryIni= t.depex differ diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.efi b/Platform= /Hisilicon/D06/MemoryInitPei/MemoryInit.efi new file mode 100644 index 0000000..5fba353 Binary files /dev/null and b/Platform/Hisilicon/D06/MemoryInitPei/MemoryIni= t.efi differ diff --git a/Platform/Hisilicon/D06/Sec/FVMAIN_SEC.Fv b/Platform/Hisilicon/= D06/Sec/FVMAIN_SEC.Fv new file mode 100644 index 0000000..247e44e Binary files /dev/null and b/Platform/Hisilicon/D06/Sec/FVMAIN_SEC.Fv differ diff --git a/Platform/Hisilicon/D06/bl1.bin b/Platform/Hisilicon/D06/bl1.bin new file mode 100644 index 0000000..d291359 Binary files /dev/null and b/Platform/Hisilicon/D06/bl1.bin differ diff --git a/Platform/Hisilicon/D06/fip.bin b/Platform/Hisilicon/D06/fip.bin new file mode 100644 index 0000000..a72bef8 Binary files /dev/null and b/Platform/Hisilicon/D06/fip.bin differ diff --git a/Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.= lib b/Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.lib new file mode 100644 index 0000000..955de99 Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/= Hi1620SerdesLib.lib differ diff --git a/Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.lib b/Sil= icon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.lib new file mode 100644 index 0000000..f4ea789 Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/= LpcLib.lib differ diff --git a/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/Plat= formSysCtrlLibHi1620.lib b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrl= LibHi1620/PlatformSysCtrlLibHi1620.lib new file mode 100644 index 0000000..50d453a Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCt= rlLibHi1620/PlatformSysCtrlLibHi1620.lib differ --=20 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Fri Mar 29 11:50:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1534421790578933.9733004242088; Thu, 16 Aug 2018 05:16:30 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7B8A2210F3D94; Thu, 16 Aug 2018 05:16:29 -0700 (PDT) Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C8791210F3761 for ; Thu, 16 Aug 2018 05:16:27 -0700 (PDT) Received: by mail-pl0-x243.google.com with SMTP id j8-v6so2008158pll.12 for ; Thu, 16 Aug 2018 05:16:27 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id i192-v6sm37277289pfe.188.2018.08.16.05.16.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Aug 2018 05:16:26 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::243; helo=mail-pl0-x243.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=f7rBMAp+rBbOoyx3ZEdbnrX4Iall2bQ+giG1gmuQsg8=; b=YgFunzuarIeXwiR+MnSK9KU0NXicG14N1Ao7z5vgM5EngSWXOfw3OUn7uuLlmco1sA ss3iO2w5GjDlbPF8VrVoFzW2IgALLBVXYTW1nfKA1iddLnTKpnXw8QXQeS2G0z3VVUHU 6KjsqGE1mG6bhWXbkF7XTr0szT8Bei4g2T+Tg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=f7rBMAp+rBbOoyx3ZEdbnrX4Iall2bQ+giG1gmuQsg8=; b=XDf5tDzNIcBA5wRROHxTTJim+QCijHy9ZY69RWY1jmZztcLwLI/aWv/Pu19Y9Kz5tp e0euqZ68L41zSbuX6GcjwJazMOrQhCoUPj5gyG3+pftgOUACaYPJqwNStsYkymLPlbil qI/OweTKnw9dRY++NAvy4egUzwfM12V0mCvgknbTJHmXe2xuOUBJ2Ofo8nfYUa2VqU5z 8R9f300NsogXa/Houx/T5LQ7uKcqSL0L9bDQUMcgZN8XdXXMEvmAifcUikUUvpceJ7qO 2Tp7f/w0KeYkb5gmLjcHKqAAsh9d2MuKrIQcR0LAlpCJUR5ovIbxpm70VyNIgDoYgqgt votQ== X-Gm-Message-State: AOUpUlHImu7Tq0iTHpQD5Y/xExYDjGHeojf3zFcCWi7k8R95udUKg/wX DTvBaoIhRfTHvfEwtAKwtoNVvg== X-Google-Smtp-Source: AA+uWPyGoUEAB/14wiuseqhp1g0OVEmcC6ybWP5jntQm92IfEbS5qPFvtWq+bg7iC9jS807VAFbRAw== X-Received: by 2002:a17:902:2ac3:: with SMTP id j61-v6mr28283029plb.172.1534421787458; Thu, 16 Aug 2018 05:16:27 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 16 Aug 2018 20:16:14 +0800 Message-Id: <20180816121614.48850-3-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180816121614.48850-1-ming.huang@linaro.org> References: <20180816121614.48850-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 2/2] Silicon/Hisilicon/D06: Add Oem Shell libraries X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, guoheyi@huawei.com, huangdaode@hisilicon.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add Hisilicon Oem Shell libraries for some commands,such as biosupdate, getmac, setmac, provision, acpistartos, brdinfo, sfpinfo. biosupdate example: ifconfig -s eth2 static 192.168.2.68 255.255.255.0 192.168.2.1 biosupdate serverIp -u user -p password -f D06.fd -m master acpistartos example: ifconfig -s eth2 static 192.168.2.69 255.255.255.0 192.168.2.1 provision serverIp -u user -p password -f os\Image -a 0x80000 2 provision serverIp -u user -p password -f os\minifs.cpio.gz -a 0x07000000 2 acpistartos Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.inf= | 41 ++++++++++++++ Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.inf = | 59 ++++++++++++++++++++ Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.lib= | Bin 0 -> 144880 bytes Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.lib = | Bin 0 -> 1109382 bytes 4 files changed, 100 insertions(+) diff --git a/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06She= llCmdLib.inf b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06S= hellCmdLib.inf new file mode 100644 index 0000000..3dea3fb --- /dev/null +++ b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLi= b.inf @@ -0,0 +1,41 @@ +/** @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 B= SD 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 IM= PLIED. +* +**/ + + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D HisiD06ShellCmdLib + FILE_GUID =3D 41878264-1668-460f-b0bf-26bdc89d464c + MODULE_TYPE =3D UEFI_APPLICATION + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D NULL|UEFI_APPLICATION UEFI_DRIVER + CONSTRUCTOR =3D HisiD06ShellCmdLibConstructor + DESTRUCTOR =3D HisiD06ShellCmdLibDestructor + + +[Binaries.AARCH64] + LIB|HisiD06ShellCmdLib.lib|* + +[Packages] + ShellPkg/ShellPkg.dec + Silicon/Hisilicon/HisiPkg.dec + +[LibraryClasses] + I2CLib + ShellLib + +[Guids] + HisiPlatformShellSampleHiiGuid ## CONSUMES ## HII diff --git a/Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.inf = b/Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.inf new file mode 100644 index 0000000..a81af92 --- /dev/null +++ b/Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.inf @@ -0,0 +1,59 @@ +/** @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 B= SD 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 IM= PLIED. +* +**/ + + +[Defines] + INF_VERSION =3D 0x0001001A + BASE_NAME =3D HisiShellCmdLib + FILE_GUID =3D 88324505-C49D-4eac-8253-75D324457B88 + MODULE_TYPE =3D UEFI_APPLICATION + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D NULL|UEFI_APPLICATION UEFI_DRIVER + CONSTRUCTOR =3D HisiShellCmdLibConstructor + DESTRUCTOR =3D HisiShellCmdLibDestructor + +[Binaries.AARCH64] + LIB|HisiShellCmdLib.lib|* + +[Packages] + ArmPkg/ArmPkg.dec + ShellPkg/ShellPkg.dec + Silicon/Hisilicon/HisiPkg.dec + +[LibraryClasses] + ArmSmcLib + IpmiCmdLib + PcdLib + ShellCommandLib + ShellLib + +[Pcd] + gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask ## CONSUMES + gHisiTokenSpaceGuid.PcdMdioSubctrlAddress ## CONSUMES + gHisiTokenSpaceGuid.PcdStartOsParameter ## CONSUMES + +[FixedPcd.common] + gArmTokenSpaceGuid.PcdFdSize ## CONSUMES + gHisiTokenSpaceGuid.PcdBaseBoardProductName ## CONSUMES + gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable ## CONSUMES + +[Protocols] + gHisiSpiFlashProtocolGuid ## CONSUMES + gOemNicProtocolGuid ## CONSUMES + gUniNorFlashProtocolGuid ## CONSUMES + +[Guids] + gVersionInfoHobGuid ## CONSUMES + HisiShellSampleHiiGuid ## CONSUMES ## HII diff --git a/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06She= llCmdLib.lib b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06S= hellCmdLib.lib new file mode 100644 index 0000000..9ba14a2 Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellC= mdLib/HisiD06ShellCmdLib.lib differ diff --git a/Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.lib = b/Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.lib new file mode 100644 index 0000000..d3ca398 Binary files /dev/null and b/Silicon/Hisilicon/Library/HisiShellCmdLib/Hisi= ShellCmdLib.lib differ --=20 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel