* [PATCH edk2-non-osi v2 0/4] Upload D06 binary modules @ 2018-08-14 8:04 Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 1/4] Hisilicon/D0x: Move CustomData.Fv to common path of Hisilicon Ming Huang ` (3 more replies) 0 siblings, 4 replies; 11+ messages in thread From: Ming Huang @ 2018-08-14 8:04 UTC (permalink / raw) To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory Cc: ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu, Ming Huang This patch set include: 1 Move some modules to common path; 2 Add D06 binary modules; 3 Add oem shell libraries. Code can also be found in github: https://github.com/hisilicon/OpenPlatformPkg.git branch: d06-non-osi-v2 Ming Huang (4): Hisilicon/D0x: Move CustomData.Fv to common path of Hisilicon Hisilicon/D0x: Move IpmiCmdLib to common path of Hisilicon Hisilicon/D06: Add binary modules Silicon/Hisilicon/D06: Add Oem Shell libraries .../Drivers/GetInfoFromBmc/GetInfoFromBmc.inf | 26 ++++++++ .../D06/Drivers/IoInitDxe/IoInitDxe.inf | 27 ++++++++ .../IpmiInterfaceDxe/IpmiInterfaceDxe.inf | 28 +++++++++ .../IpmiInterfacePei/IpmiInterfacePei.inf | 27 ++++++++ .../Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf | 27 ++++++++ .../IpmiWatchdogDxe/IpmiWatchdogDxe.inf | 27 ++++++++ .../Drivers/Net/SnpHi1620NewDxe/SnpDxe.inf | 27 ++++++++ .../Drivers/PcieRasInitDxe/PcieRasInitDxe.inf | 26 ++++++++ .../D06/Drivers/RasInitDxe/RasInitDxe.inf | 25 ++++++++ .../D06/Drivers/SFC/SfcDxeDriver.inf | 27 ++++++++ .../D06/Drivers/Sas/SasDxeDriver.inf | 27 ++++++++ .../D06/Drivers/Sm750Dxe/UefiSmi.inf | 32 ++++++++++ .../TransferSmbiosInfo/TransSmbiosInfo.inf | 26 ++++++++ .../OemAddressMapD06/OemAddressMapD06.inf | 40 ++++++++++++ .../D06/MemoryInitPei/MemoryInitPeim.inf | 28 +++++++++ .../Library/Hi1620Serdes/Hi1620SerdesLib.inf | 43 +++++++++++++ .../HisiD06ShellCmdLib/HisiD06ShellCmdLib.inf | 41 ++++++++++++ .../Hi1620/Library/LpcLibHi1620/LpcLib.inf | 39 ++++++++++++ .../PlatformSysCtrlLibHi1620.inf | 43 +++++++++++++ .../HisiShellCmdLib/HisiShellCmdLib.inf | 59 ++++++++++++++++++ .../Library/IpmiCmdLib/IpmiCmdLib.inf | 0 .../GetInfoFromBmc/GetInfoFromBmc.depex | Bin 0 -> 18 bytes .../Drivers/GetInfoFromBmc/GetInfoFromBmc.efi | Bin 0 -> 20480 bytes .../D06/Drivers/IoInitDxe/IoInitDxe.depex | Bin 0 -> 18 bytes .../D06/Drivers/IoInitDxe/IoInitDxe.efi | Bin 0 -> 229216 bytes .../IpmiInterfaceDxe/IpmiInterfaceDxe.depex | Bin 0 -> 18 bytes .../IpmiInterfaceDxe/IpmiInterfaceDxe.efi | Bin 0 -> 29440 bytes .../IpmiInterfacePei/IpmiInterfacePei.depex | Bin 0 -> 18 bytes .../IpmiInterfacePei/IpmiInterfacePei.efi | Bin 0 -> 21664 bytes .../Drivers/IpmiMiscOpDxe/IpmiMiscOp.depex | Bin 0 -> 36 bytes .../D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi | Bin 0 -> 24736 bytes .../IpmiWatchdogDxe/IpmiWatchdogDxe.depex | Bin 0 -> 36 bytes .../IpmiWatchdogDxe/IpmiWatchdogDxe.efi | Bin 0 -> 20768 bytes .../Net/SnpHi1620NewDxe/SnpPV600Dxe.efi | Bin 0 -> 75040 bytes .../PcieRasInitDxe/PcieRasInitDxe.depex | Bin 0 -> 36 bytes .../Drivers/PcieRasInitDxe/PcieRasInitDxe.efi | Bin 0 -> 21248 bytes .../D06/Drivers/RasInitDxe/RasInitDxe.efi | Bin 0 -> 17984 bytes .../Hisilicon/D06/Drivers/SFC/SFCDriver.depex | Bin 0 -> 36 bytes .../Hisilicon/D06/Drivers/SFC/SFCDriver.efi | Bin 0 -> 262144 bytes .../D06/Drivers/Sas/SasDriverDxe.depex | Bin 0 -> 216 bytes .../D06/Drivers/Sas/SasDriverDxe.efi | Bin 0 -> 221248 bytes .../Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 0 -> 38208 bytes .../TransferSmbiosInfo/TransSmbiosInfo.depex | Bin 0 -> 36 bytes .../TransferSmbiosInfo/TransSmbiosInfo.efi | Bin 0 -> 20288 bytes .../OemAddressMapD06/OemAddressMapD06.lib | Bin 0 -> 61892 bytes .../D06/MemoryInitPei/MemoryInit.depex | Bin 0 -> 18 bytes .../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 .../{D03/CustomData.Fv => D0x-CustomData.Fv} | Bin .../Library/Hi1620Serdes/Hi1620SerdesLib.lib | Bin 0 -> 1319320 bytes .../HisiD06ShellCmdLib/HisiD06ShellCmdLib.lib | Bin 0 -> 144880 bytes .../Hi1620/Library/LpcLibHi1620/LpcLib.lib | Bin 0 -> 15406 bytes .../PlatformSysCtrlLibHi1620.lib | Bin 0 -> 356032 bytes .../HisiShellCmdLib/HisiShellCmdLib.lib | Bin 0 -> 1109382 bytes .../Library/IpmiCmdLib/IpmiCmdLib.lib | Bin 57 files changed, 645 insertions(+) create mode 100644 Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf create mode 100644 Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf create mode 100644 Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf create mode 100644 Platform/Hisilicon/D06/Drivers/SFC/SfcDxeDriver.inf create mode 100644 Platform/Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf create mode 100644 Platform/Hisilicon/D06/Drivers/Sm750Dxe/UefiSmi.inf create mode 100644 Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf create mode 100644 Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf create mode 100644 Platform/Hisilicon/D06/MemoryInitPei/MemoryInitPeim.inf create mode 100644 Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.inf create mode 100644 Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.inf create mode 100644 Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.inf create mode 100644 Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.inf create mode 100644 Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.inf rename Silicon/Hisilicon/{Hi1610 => }/Library/IpmiCmdLib/IpmiCmdLib.inf (100%) create mode 100644 Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.depex create mode 100644 Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi create mode 100644 Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex create mode 100644 Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex create mode 100644 Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex create mode 100644 Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi create mode 100644 Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.depex create mode 100644 Platform/Hisilicon/D06/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi create mode 100644 Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex create mode 100644 Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/Net/SnpHi1620NewDxe/SnpPV600Dxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex create mode 100644 Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.depex create mode 100644 Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi create mode 100644 Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex create mode 100644 Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi create mode 100644 Platform/Hisilicon/D06/Drivers/Sm750Dxe/SmiGraphicsOutput.efi create mode 100644 Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex create mode 100644 Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi create mode 100644 Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib create mode 100644 Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex create mode 100644 Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.efi create mode 100644 Platform/Hisilicon/D06/Sec/FVMAIN_SEC.Fv create mode 100644 Platform/Hisilicon/D06/bl1.bin create mode 100644 Platform/Hisilicon/D06/fip.bin rename Platform/Hisilicon/{D03/CustomData.Fv => D0x-CustomData.Fv} (100%) create mode 100644 Silicon/Hisilicon/Hi1620/Library/Hi1620Serdes/Hi1620SerdesLib.lib create mode 100644 Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.lib create mode 100644 Silicon/Hisilicon/Hi1620/Library/LpcLibHi1620/LpcLib.lib create mode 100644 Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib create mode 100644 Silicon/Hisilicon/Library/HisiShellCmdLib/HisiShellCmdLib.lib rename Silicon/Hisilicon/{Hi1610 => }/Library/IpmiCmdLib/IpmiCmdLib.lib (100%) -- 2.17.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH edk2-non-osi v2 1/4] Hisilicon/D0x: Move CustomData.Fv to common path of Hisilicon 2018-08-14 8:04 [PATCH edk2-non-osi v2 0/4] Upload D06 binary modules Ming Huang @ 2018-08-14 8:04 ` Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 2/4] Hisilicon/D0x: Move IpmiCmdLib " Ming Huang ` (2 subsequent siblings) 3 siblings, 0 replies; 11+ messages in thread From: Ming Huang @ 2018-08-14 8:04 UTC (permalink / raw) To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory Cc: ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu, Ming Huang CustomData.Fv is used by D0x, so move it to common path of Hisilicon. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <ming.huang@linaro.org> --- Platform/Hisilicon/{D03/CustomData.Fv => D0x-CustomData.Fv} | Bin 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Platform/Hisilicon/D03/CustomData.Fv b/Platform/Hisilicon/D0x-CustomData.Fv similarity index 100% rename from Platform/Hisilicon/D03/CustomData.Fv rename to Platform/Hisilicon/D0x-CustomData.Fv -- 2.17.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH edk2-non-osi v2 2/4] Hisilicon/D0x: Move IpmiCmdLib to common path of Hisilicon 2018-08-14 8:04 [PATCH edk2-non-osi v2 0/4] Upload D06 binary modules Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 1/4] Hisilicon/D0x: Move CustomData.Fv to common path of Hisilicon Ming Huang @ 2018-08-14 8:04 ` Ming Huang 2018-08-15 13:56 ` Leif Lindholm 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries Ming Huang 3 siblings, 1 reply; 11+ messages in thread From: Ming Huang @ 2018-08-14 8:04 UTC (permalink / raw) To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory Cc: ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu, Ming Huang IpmiCmdLib is used by D0x, so move it to common path of Hisilicon. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <ming.huang@linaro.org> --- Silicon/Hisilicon/{Hi1610 => }/Library/IpmiCmdLib/IpmiCmdLib.inf | 0 Silicon/Hisilicon/{Hi1610 => }/Library/IpmiCmdLib/IpmiCmdLib.lib | Bin 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.inf b/Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.inf similarity index 100% rename from Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.inf rename to Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.inf diff --git a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib b/Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.lib similarity index 100% rename from Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib rename to Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.lib -- 2.17.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH edk2-non-osi v2 2/4] Hisilicon/D0x: Move IpmiCmdLib to common path of Hisilicon 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 2/4] Hisilicon/D0x: Move IpmiCmdLib " Ming Huang @ 2018-08-15 13:56 ` Leif Lindholm 0 siblings, 0 replies; 11+ messages in thread From: Leif Lindholm @ 2018-08-15 13:56 UTC (permalink / raw) To: Ming Huang Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu For 1-2 of this set: Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Pushed as b9d09208..5bce5602. On Tue, Aug 14, 2018 at 04:04:49PM +0800, Ming Huang wrote: > IpmiCmdLib is used by D0x, so move it to common > path of Hisilicon. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ming Huang <ming.huang@linaro.org> > --- > Silicon/Hisilicon/{Hi1610 => }/Library/IpmiCmdLib/IpmiCmdLib.inf | 0 > Silicon/Hisilicon/{Hi1610 => }/Library/IpmiCmdLib/IpmiCmdLib.lib | Bin > 2 files changed, 0 insertions(+), 0 deletions(-) > > diff --git a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.inf b/Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.inf > similarity index 100% > rename from Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.inf > rename to Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.inf > diff --git a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib b/Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.lib > similarity index 100% > rename from Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib > rename to Silicon/Hisilicon/Library/IpmiCmdLib/IpmiCmdLib.lib > -- > 2.17.0 > ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules 2018-08-14 8:04 [PATCH edk2-non-osi v2 0/4] Upload D06 binary modules Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 1/4] Hisilicon/D0x: Move CustomData.Fv to common path of Hisilicon Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 2/4] Hisilicon/D0x: Move IpmiCmdLib " Ming Huang @ 2018-08-14 8:04 ` Ming Huang 2018-08-15 15:27 ` Leif Lindholm 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries Ming Huang 3 siblings, 1 reply; 11+ messages in thread From: Ming Huang @ 2018-08-14 8:04 UTC (permalink / raw) To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory Cc: ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu, Ming Huang 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 <ming.huang@linaro.org> --- 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/PlatformSysCtrlLibHi1620.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.depex | Bin 0 -> 18 bytes Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi | Bin 0 -> 29440 bytes Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex | 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 -> 221248 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/PlatformSysCtrlLibHi1620.lib | Bin 0 -> 356032 bytes 50 files changed, 545 insertions(+) diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf 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 = 0x0001001A + BASE_NAME = GetInfoFromBmc + FILE_GUID = d6f3d102-f2f7-42ba-8e26-ba34fac721fa + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = GetBmcInfoDriverEntry + +[Binaries.AARCH64] + PE32|GetInfoFromBmc.efi|* + DXE_DEPEX|GetInfoFromBmc.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf b/Platform/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 = 0x0001001A + BASE_NAME = IoInitDxe + FILE_GUID = 92e003e6-ac08-4e7a-b7f5-1b1fe093e8ce + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = IoInitDxeEntry + +[Binaries] + PE32|IoInitDxe.efi|* + DXE_DEPEX|IoInitDxe.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.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 = 0x0001001A + BASE_NAME = IpmiInterfaceDxe + FILE_GUID = e848f65c-cb9f-449c-8943-65093180c794 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + +[Binaries.AARCH64] + PE32|IpmiInterfaceDxe.efi|* + DXE_DEPEX|IpmiInterfaceDxe.depex|* + + diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.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 = 0x0001001A + BASE_NAME = IpmiInterfacePei + FILE_GUID = 580502d5-f5a3-4e7b-9c70-65fbc3bcd368 + MODULE_TYPE = PEIM + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = IpmiMiscOp + FILE_GUID = 2769b929-2745-4ceb-bf57-b8b77afd889c + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = IpmiWatchdogDxe + FILE_GUID = 320df638-30ce-43a9-831b-752532b894df + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = SnpPV600Dxe + FILE_GUID = da125140-6cf1-426f-807f-85e6962144ac + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = InitializeSnpPV600Driver + UNLOAD_IMAGE = NetLibDefaultUnload + +[Binaries.AARCH64] + PE32|SnpPV600Dxe.efi + diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf 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 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 = 0x0001001A + BASE_NAME = PcieRasInitDxe + FILE_GUID = f301927a-017a-4f63-b412-4e10f72395ed + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = InitializePcieRas + +[Binaries.AARCH64] + PE32|PcieRasInitDxe.efi|* + DXE_DEPEX|PcieRasInitDxe.depex|* diff --git a/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf b/Platform/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 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 = 0x0001001A + BASE_NAME = RasInitDxe + FILE_GUID = cb655a58-a090-429b-b324-3efa7a583546 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = SFCDriver + FILE_GUID = 5cfeb794-3e2b-4647-a24c-3a6cbc1fd9b6 + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = SasDriverDxe + FILE_GUID = 86791da8-ab4a-49c5-95b9-e850332aca81 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = SmiGraphicsOutput + FILE_GUID = 02b187e4-b6eb-4952-ba28-16c9af377a36 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + + PCI_VENDOR_ID = 0x126F + PCI_DEVICE_ID = 0x0750 + PCI_CLASS_CODE = 0x030000 + PCI_REVISION = 0xA1 + COMPRESS = TRUE + +[Binaries.AARCH64] + PE32|SmiGraphicsOutput.efi|* + diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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 = 0x0001001A + BASE_NAME = TransSmbiosInfo + FILE_GUID = 28b38fff-bd02-4e8b-b420-3baf10840a5f + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = TransferSmbiosInfoToBMC + +[Binaries.AARCH64] + PE32|TransSmbiosInfo.efi|* + DXE_DEPEX|TransSmbiosInfo.depex|* diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf 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 = 0x0001001A + BASE_NAME = OemAddressMapD05 + FILE_GUID = 64a05b8e-6e6d-4384-8c25-2e9720e1f9da + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = 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/Platform/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.<BR> +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.<BR> +# Copyright (c) 2016 - 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. +# +# Based on the files under ArmPlatformPkg/MemoryInitPei/ +# +#**/ + +[Defines] + INF_VERSION = 0x0001001A + BASE_NAME = MemoryInit + FILE_GUID = bf4e76a5-75aa-4fc4-b211-71a30141f420 + MODULE_TYPE = PEIM + VERSION_STRING = 1.0 + ENTRY_POINT = 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 = 0x0001001A + BASE_NAME = Hi1620SerdesLib + FILE_GUID = 1deeae34-0534-48e4-88e4-564a66599d6a + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = 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/Silicon/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 = 0x0001001A + BASE_NAME = LpcLib + FILE_GUID = 17cf6de7-8ed6-4dcc-b408-7e0e8a9421d7 + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = 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/PlatformSysCtrlLibHi1620.inf b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.inf new file mode 100644 index 0000000..9186361 --- /dev/null +++ b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.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 = 0x0001001A + BASE_NAME = PlatformSysCtrlLibHi1620 + FILE_GUID = 26db9c9f-0e58-4fb6-969d-3e83e9e82b05 + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = 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.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex new file mode 100644 index 0000000..0dc7ce4 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi new file mode 100644 index 0000000..afd3ebe Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex new file mode 100644 index 0000000..0dc7ce4 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi new file mode 100644 index 0000000..9a0fa32 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex new file mode 100644 index 0000000..53e435a Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi new file mode 100644 index 0000000..c76061d Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/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/IpmiMiscOp.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/IpmiMiscOp.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex 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/SnpHi1620NewDxe/SnpPV600Dxe.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi new file mode 100644 index 0000000..19adbc9 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.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.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi new file mode 100644 index 0000000..474075a Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex new file mode 100644 index 0000000..1a5bc1e Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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..396eb03 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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/SmiGraphicsOutput.efi differ diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex new file mode 100644 index 0000000..d4ce5b8 Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex differ diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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/TransferSmbiosInfo/TransSmbiosInfo.efi differ diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib new file mode 100644 index 0000000..7e1f6b2 Binary files /dev/null and b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib differ diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex new file mode 100644 index 0000000..53e435a Binary files /dev/null and b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.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/MemoryInit.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/Silicon/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/PlatformSysCtrlLibHi1620.lib b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib new file mode 100644 index 0000000..50d453a Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib differ -- 2.17.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules Ming Huang @ 2018-08-15 15:27 ` Leif Lindholm 2018-08-16 2:14 ` Ming 0 siblings, 1 reply; 11+ messages in thread From: Leif Lindholm @ 2018-08-15 15:27 UTC (permalink / raw) To: Ming Huang Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu Thanks, this commit message is a lot better. My only concern with this patch is that the binaries are built with a truly ancient toolchain. Is there some particular reason for this? / Leif On Tue, Aug 14, 2018 at 04:04:50PM +0800, Ming Huang wrote: > 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 <ming.huang@linaro.org> > --- > 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/PlatformSysCtrlLibHi1620.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.depex | Bin 0 -> 18 bytes > Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi | Bin 0 -> 29440 bytes > Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex | 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 -> 221248 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/PlatformSysCtrlLibHi1620.lib | Bin 0 -> 356032 bytes > 50 files changed, 545 insertions(+) > > diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf 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 = 0x0001001A > + BASE_NAME = GetInfoFromBmc > + FILE_GUID = d6f3d102-f2f7-42ba-8e26-ba34fac721fa > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = GetBmcInfoDriverEntry > + > +[Binaries.AARCH64] > + PE32|GetInfoFromBmc.efi|* > + DXE_DEPEX|GetInfoFromBmc.depex|* > diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf b/Platform/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 = 0x0001001A > + BASE_NAME = IoInitDxe > + FILE_GUID = 92e003e6-ac08-4e7a-b7f5-1b1fe093e8ce > + MODULE_TYPE = UEFI_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = IoInitDxeEntry > + > +[Binaries] > + PE32|IoInitDxe.efi|* > + DXE_DEPEX|IoInitDxe.depex|* > diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.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 = 0x0001001A > + BASE_NAME = IpmiInterfaceDxe > + FILE_GUID = e848f65c-cb9f-449c-8943-65093180c794 > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + > +[Binaries.AARCH64] > + PE32|IpmiInterfaceDxe.efi|* > + DXE_DEPEX|IpmiInterfaceDxe.depex|* > + > + > diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.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 = 0x0001001A > + BASE_NAME = IpmiInterfacePei > + FILE_GUID = 580502d5-f5a3-4e7b-9c70-65fbc3bcd368 > + MODULE_TYPE = PEIM > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = IpmiMiscOp > + FILE_GUID = 2769b929-2745-4ceb-bf57-b8b77afd889c > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = IpmiWatchdogDxe > + FILE_GUID = 320df638-30ce-43a9-831b-752532b894df > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = SnpPV600Dxe > + FILE_GUID = da125140-6cf1-426f-807f-85e6962144ac > + MODULE_TYPE = UEFI_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = InitializeSnpPV600Driver > + UNLOAD_IMAGE = NetLibDefaultUnload > + > +[Binaries.AARCH64] > + PE32|SnpPV600Dxe.efi > + > diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf 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 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 = 0x0001001A > + BASE_NAME = PcieRasInitDxe > + FILE_GUID = f301927a-017a-4f63-b412-4e10f72395ed > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = InitializePcieRas > + > +[Binaries.AARCH64] > + PE32|PcieRasInitDxe.efi|* > + DXE_DEPEX|PcieRasInitDxe.depex|* > diff --git a/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf b/Platform/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 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 = 0x0001001A > + BASE_NAME = RasInitDxe > + FILE_GUID = cb655a58-a090-429b-b324-3efa7a583546 > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = SFCDriver > + FILE_GUID = 5cfeb794-3e2b-4647-a24c-3a6cbc1fd9b6 > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = SasDriverDxe > + FILE_GUID = 86791da8-ab4a-49c5-95b9-e850332aca81 > + MODULE_TYPE = UEFI_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = SmiGraphicsOutput > + FILE_GUID = 02b187e4-b6eb-4952-ba28-16c9af377a36 > + MODULE_TYPE = UEFI_DRIVER > + VERSION_STRING = 1.0 > + > + PCI_VENDOR_ID = 0x126F > + PCI_DEVICE_ID = 0x0750 > + PCI_CLASS_CODE = 0x030000 > + PCI_REVISION = 0xA1 > + COMPRESS = TRUE > + > +[Binaries.AARCH64] > + PE32|SmiGraphicsOutput.efi|* > + > diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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 = 0x0001001A > + BASE_NAME = TransSmbiosInfo > + FILE_GUID = 28b38fff-bd02-4e8b-b420-3baf10840a5f > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + ENTRY_POINT = TransferSmbiosInfoToBMC > + > +[Binaries.AARCH64] > + PE32|TransSmbiosInfo.efi|* > + DXE_DEPEX|TransSmbiosInfo.depex|* > diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf > 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 = 0x0001001A > + BASE_NAME = OemAddressMapD05 > + FILE_GUID = 64a05b8e-6e6d-4384-8c25-2e9720e1f9da > + MODULE_TYPE = BASE > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = 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/Platform/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.<BR> > +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.<BR> > +# Copyright (c) 2016 - 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. > +# > +# Based on the files under ArmPlatformPkg/MemoryInitPei/ > +# > +#**/ > + > +[Defines] > + INF_VERSION = 0x0001001A > + BASE_NAME = MemoryInit > + FILE_GUID = bf4e76a5-75aa-4fc4-b211-71a30141f420 > + MODULE_TYPE = PEIM > + VERSION_STRING = 1.0 > + ENTRY_POINT = 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 = 0x0001001A > + BASE_NAME = Hi1620SerdesLib > + FILE_GUID = 1deeae34-0534-48e4-88e4-564a66599d6a > + MODULE_TYPE = BASE > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = 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/Silicon/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 = 0x0001001A > + BASE_NAME = LpcLib > + FILE_GUID = 17cf6de7-8ed6-4dcc-b408-7e0e8a9421d7 > + MODULE_TYPE = BASE > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = 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/PlatformSysCtrlLibHi1620.inf b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.inf > new file mode 100644 > index 0000000..9186361 > --- /dev/null > +++ b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.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 = 0x0001001A > + BASE_NAME = PlatformSysCtrlLibHi1620 > + FILE_GUID = 26db9c9f-0e58-4fb6-969d-3e83e9e82b05 > + MODULE_TYPE = BASE > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = 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.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex > new file mode 100644 > index 0000000..0dc7ce4 > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex differ > diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi > new file mode 100644 > index 0000000..afd3ebe > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi differ > diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex > new file mode 100644 > index 0000000..0dc7ce4 > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex differ > diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi > new file mode 100644 > index 0000000..9a0fa32 > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi differ > diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex > new file mode 100644 > index 0000000..53e435a > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex differ > diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi > new file mode 100644 > index 0000000..c76061d > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/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/IpmiMiscOp.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/IpmiMiscOp.efi differ > diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex > 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/SnpHi1620NewDxe/SnpPV600Dxe.efi differ > diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi > new file mode 100644 > index 0000000..19adbc9 > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.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.depex differ > diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi > new file mode 100644 > index 0000000..474075a > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi differ > diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex > new file mode 100644 > index 0000000..1a5bc1e > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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..396eb03 > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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/SmiGraphicsOutput.efi differ > diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex > new file mode 100644 > index 0000000..d4ce5b8 > Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex differ > diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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/TransferSmbiosInfo/TransSmbiosInfo.efi differ > diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib > new file mode 100644 > index 0000000..7e1f6b2 > Binary files /dev/null and b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib differ > diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex > new file mode 100644 > index 0000000..53e435a > Binary files /dev/null and b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.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/MemoryInit.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/Silicon/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/PlatformSysCtrlLibHi1620.lib b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib > new file mode 100644 > index 0000000..50d453a > Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib differ > -- > 2.17.0 > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules 2018-08-15 15:27 ` Leif Lindholm @ 2018-08-16 2:14 ` Ming 2018-08-16 8:26 ` Leif Lindholm 0 siblings, 1 reply; 11+ messages in thread From: Ming @ 2018-08-16 2:14 UTC (permalink / raw) To: Leif Lindholm Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu 在 8/15/2018 11:27 PM, Leif Lindholm 写道: > Thanks, this commit message is a lot better. > > My only concern with this patch is that the binaries are built with a > truly ancient toolchain. Is there some particular reason for this? In internally, we share build server with product project, so we follow product project rhythm for upgrade toolchain. > > / > Leif > > On Tue, Aug 14, 2018 at 04:04:50PM +0800, Ming Huang wrote: >> 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 <ming.huang@linaro.org> >> --- >> 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/PlatformSysCtrlLibHi1620.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.depex | Bin 0 -> 18 bytes >> Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi | Bin 0 -> 29440 bytes >> Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex | 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 -> 221248 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/PlatformSysCtrlLibHi1620.lib | Bin 0 -> 356032 bytes >> 50 files changed, 545 insertions(+) >> >> diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf 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 = 0x0001001A >> + BASE_NAME = GetInfoFromBmc >> + FILE_GUID = d6f3d102-f2f7-42ba-8e26-ba34fac721fa >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = GetBmcInfoDriverEntry >> + >> +[Binaries.AARCH64] >> + PE32|GetInfoFromBmc.efi|* >> + DXE_DEPEX|GetInfoFromBmc.depex|* >> diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf b/Platform/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 = 0x0001001A >> + BASE_NAME = IoInitDxe >> + FILE_GUID = 92e003e6-ac08-4e7a-b7f5-1b1fe093e8ce >> + MODULE_TYPE = UEFI_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = IoInitDxeEntry >> + >> +[Binaries] >> + PE32|IoInitDxe.efi|* >> + DXE_DEPEX|IoInitDxe.depex|* >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.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 = 0x0001001A >> + BASE_NAME = IpmiInterfaceDxe >> + FILE_GUID = e848f65c-cb9f-449c-8943-65093180c794 >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + >> +[Binaries.AARCH64] >> + PE32|IpmiInterfaceDxe.efi|* >> + DXE_DEPEX|IpmiInterfaceDxe.depex|* >> + >> + >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.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 = 0x0001001A >> + BASE_NAME = IpmiInterfacePei >> + FILE_GUID = 580502d5-f5a3-4e7b-9c70-65fbc3bcd368 >> + MODULE_TYPE = PEIM >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = IpmiMiscOp >> + FILE_GUID = 2769b929-2745-4ceb-bf57-b8b77afd889c >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = IpmiWatchdogDxe >> + FILE_GUID = 320df638-30ce-43a9-831b-752532b894df >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = SnpPV600Dxe >> + FILE_GUID = da125140-6cf1-426f-807f-85e6962144ac >> + MODULE_TYPE = UEFI_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = InitializeSnpPV600Driver >> + UNLOAD_IMAGE = NetLibDefaultUnload >> + >> +[Binaries.AARCH64] >> + PE32|SnpPV600Dxe.efi >> + >> diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf 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 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 = 0x0001001A >> + BASE_NAME = PcieRasInitDxe >> + FILE_GUID = f301927a-017a-4f63-b412-4e10f72395ed >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = InitializePcieRas >> + >> +[Binaries.AARCH64] >> + PE32|PcieRasInitDxe.efi|* >> + DXE_DEPEX|PcieRasInitDxe.depex|* >> diff --git a/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf b/Platform/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 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 = 0x0001001A >> + BASE_NAME = RasInitDxe >> + FILE_GUID = cb655a58-a090-429b-b324-3efa7a583546 >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = SFCDriver >> + FILE_GUID = 5cfeb794-3e2b-4647-a24c-3a6cbc1fd9b6 >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = SasDriverDxe >> + FILE_GUID = 86791da8-ab4a-49c5-95b9-e850332aca81 >> + MODULE_TYPE = UEFI_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = SmiGraphicsOutput >> + FILE_GUID = 02b187e4-b6eb-4952-ba28-16c9af377a36 >> + MODULE_TYPE = UEFI_DRIVER >> + VERSION_STRING = 1.0 >> + >> + PCI_VENDOR_ID = 0x126F >> + PCI_DEVICE_ID = 0x0750 >> + PCI_CLASS_CODE = 0x030000 >> + PCI_REVISION = 0xA1 >> + COMPRESS = TRUE >> + >> +[Binaries.AARCH64] >> + PE32|SmiGraphicsOutput.efi|* >> + >> diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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 = 0x0001001A >> + BASE_NAME = TransSmbiosInfo >> + FILE_GUID = 28b38fff-bd02-4e8b-b420-3baf10840a5f >> + MODULE_TYPE = DXE_DRIVER >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = TransferSmbiosInfoToBMC >> + >> +[Binaries.AARCH64] >> + PE32|TransSmbiosInfo.efi|* >> + DXE_DEPEX|TransSmbiosInfo.depex|* >> diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf >> 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 = 0x0001001A >> + BASE_NAME = OemAddressMapD05 >> + FILE_GUID = 64a05b8e-6e6d-4384-8c25-2e9720e1f9da >> + MODULE_TYPE = BASE >> + VERSION_STRING = 1.0 >> + LIBRARY_CLASS = 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/Platform/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.<BR> >> +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.<BR> >> +# Copyright (c) 2016 - 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. >> +# >> +# Based on the files under ArmPlatformPkg/MemoryInitPei/ >> +# >> +#**/ >> + >> +[Defines] >> + INF_VERSION = 0x0001001A >> + BASE_NAME = MemoryInit >> + FILE_GUID = bf4e76a5-75aa-4fc4-b211-71a30141f420 >> + MODULE_TYPE = PEIM >> + VERSION_STRING = 1.0 >> + ENTRY_POINT = 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 = 0x0001001A >> + BASE_NAME = Hi1620SerdesLib >> + FILE_GUID = 1deeae34-0534-48e4-88e4-564a66599d6a >> + MODULE_TYPE = BASE >> + VERSION_STRING = 1.0 >> + LIBRARY_CLASS = 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/Silicon/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 = 0x0001001A >> + BASE_NAME = LpcLib >> + FILE_GUID = 17cf6de7-8ed6-4dcc-b408-7e0e8a9421d7 >> + MODULE_TYPE = BASE >> + VERSION_STRING = 1.0 >> + LIBRARY_CLASS = 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/PlatformSysCtrlLibHi1620.inf b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.inf >> new file mode 100644 >> index 0000000..9186361 >> --- /dev/null >> +++ b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.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 = 0x0001001A >> + BASE_NAME = PlatformSysCtrlLibHi1620 >> + FILE_GUID = 26db9c9f-0e58-4fb6-969d-3e83e9e82b05 >> + MODULE_TYPE = BASE >> + VERSION_STRING = 1.0 >> + LIBRARY_CLASS = 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.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex >> new file mode 100644 >> index 0000000..0dc7ce4 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex differ >> diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi >> new file mode 100644 >> index 0000000..afd3ebe >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi differ >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex >> new file mode 100644 >> index 0000000..0dc7ce4 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex differ >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi >> new file mode 100644 >> index 0000000..9a0fa32 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi differ >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex >> new file mode 100644 >> index 0000000..53e435a >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex differ >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi >> new file mode 100644 >> index 0000000..c76061d >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/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/IpmiMiscOp.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/IpmiMiscOp.efi differ >> diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex >> 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/SnpHi1620NewDxe/SnpPV600Dxe.efi differ >> diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi >> new file mode 100644 >> index 0000000..19adbc9 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.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.depex differ >> diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi >> new file mode 100644 >> index 0000000..474075a >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi differ >> diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex >> new file mode 100644 >> index 0000000..1a5bc1e >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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..396eb03 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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/SmiGraphicsOutput.efi differ >> diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex >> new file mode 100644 >> index 0000000..d4ce5b8 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex differ >> diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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/TransferSmbiosInfo/TransSmbiosInfo.efi differ >> diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib >> new file mode 100644 >> index 0000000..7e1f6b2 >> Binary files /dev/null and b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib differ >> diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex >> new file mode 100644 >> index 0000000..53e435a >> Binary files /dev/null and b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.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/MemoryInit.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/Silicon/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/PlatformSysCtrlLibHi1620.lib b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib >> new file mode 100644 >> index 0000000..50d453a >> Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib differ >> -- >> 2.17.0 >> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules 2018-08-16 2:14 ` Ming @ 2018-08-16 8:26 ` Leif Lindholm 0 siblings, 0 replies; 11+ messages in thread From: Leif Lindholm @ 2018-08-16 8:26 UTC (permalink / raw) To: Ming Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu On Thu, Aug 16, 2018 at 10:14:14AM +0800, Ming wrote: > 在 8/15/2018 11:27 PM, Leif Lindholm 写道: > > Thanks, this commit message is a lot better. > > > > My only concern with this patch is that the binaries are built with a > > truly ancient toolchain. Is there some particular reason for this? > > In internally, we share build server with product project, so we follow > product project rhythm for upgrade toolchain. Fully understandable. However, I would strongly recommend upgrading _that_ toolchain. 4.8 was the first version of GCC that supported AArch64 upstream. There have been very many improvements made, both in performance and code correctness, since then. Also, anything < GCC5 will miss out on link-time optimisation. But this is a conversation we can have off-line Linaro<->Hisilicon. Anyway, for this patch: Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> (I will push it with the corresponding edk2-platforms patch when ready.) / Leif > > > > / > > Leif > > > > On Tue, Aug 14, 2018 at 04:04:50PM +0800, Ming Huang wrote: > >> 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 <ming.huang@linaro.org> > >> --- > >> 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/PlatformSysCtrlLibHi1620.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.depex | Bin 0 -> 18 bytes > >> Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi | Bin 0 -> 29440 bytes > >> Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex | 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 -> 221248 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/PlatformSysCtrlLibHi1620.lib | Bin 0 -> 356032 bytes > >> 50 files changed, 545 insertions(+) > >> > >> diff --git a/Platform/Hisilicon/D06/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf 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 = 0x0001001A > >> + BASE_NAME = GetInfoFromBmc > >> + FILE_GUID = d6f3d102-f2f7-42ba-8e26-ba34fac721fa > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = GetBmcInfoDriverEntry > >> + > >> +[Binaries.AARCH64] > >> + PE32|GetInfoFromBmc.efi|* > >> + DXE_DEPEX|GetInfoFromBmc.depex|* > >> diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf b/Platform/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 = 0x0001001A > >> + BASE_NAME = IoInitDxe > >> + FILE_GUID = 92e003e6-ac08-4e7a-b7f5-1b1fe093e8ce > >> + MODULE_TYPE = UEFI_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = IoInitDxeEntry > >> + > >> +[Binaries] > >> + PE32|IoInitDxe.efi|* > >> + DXE_DEPEX|IoInitDxe.depex|* > >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.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 = 0x0001001A > >> + BASE_NAME = IpmiInterfaceDxe > >> + FILE_GUID = e848f65c-cb9f-449c-8943-65093180c794 > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + > >> +[Binaries.AARCH64] > >> + PE32|IpmiInterfaceDxe.efi|* > >> + DXE_DEPEX|IpmiInterfaceDxe.depex|* > >> + > >> + > >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.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 = 0x0001001A > >> + BASE_NAME = IpmiInterfacePei > >> + FILE_GUID = 580502d5-f5a3-4e7b-9c70-65fbc3bcd368 > >> + MODULE_TYPE = PEIM > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = IpmiMiscOp > >> + FILE_GUID = 2769b929-2745-4ceb-bf57-b8b77afd889c > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = IpmiWatchdogDxe > >> + FILE_GUID = 320df638-30ce-43a9-831b-752532b894df > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = SnpPV600Dxe > >> + FILE_GUID = da125140-6cf1-426f-807f-85e6962144ac > >> + MODULE_TYPE = UEFI_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = InitializeSnpPV600Driver > >> + UNLOAD_IMAGE = NetLibDefaultUnload > >> + > >> +[Binaries.AARCH64] > >> + PE32|SnpPV600Dxe.efi > >> + > >> diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.inf 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 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 = 0x0001001A > >> + BASE_NAME = PcieRasInitDxe > >> + FILE_GUID = f301927a-017a-4f63-b412-4e10f72395ed > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = InitializePcieRas > >> + > >> +[Binaries.AARCH64] > >> + PE32|PcieRasInitDxe.efi|* > >> + DXE_DEPEX|PcieRasInitDxe.depex|* > >> diff --git a/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.inf b/Platform/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 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 = 0x0001001A > >> + BASE_NAME = RasInitDxe > >> + FILE_GUID = cb655a58-a090-429b-b324-3efa7a583546 > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = SFCDriver > >> + FILE_GUID = 5cfeb794-3e2b-4647-a24c-3a6cbc1fd9b6 > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = SasDriverDxe > >> + FILE_GUID = 86791da8-ab4a-49c5-95b9-e850332aca81 > >> + MODULE_TYPE = UEFI_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = SmiGraphicsOutput > >> + FILE_GUID = 02b187e4-b6eb-4952-ba28-16c9af377a36 > >> + MODULE_TYPE = UEFI_DRIVER > >> + VERSION_STRING = 1.0 > >> + > >> + PCI_VENDOR_ID = 0x126F > >> + PCI_DEVICE_ID = 0x0750 > >> + PCI_CLASS_CODE = 0x030000 > >> + PCI_REVISION = 0xA1 > >> + COMPRESS = TRUE > >> + > >> +[Binaries.AARCH64] > >> + PE32|SmiGraphicsOutput.efi|* > >> + > >> diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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 = 0x0001001A > >> + BASE_NAME = TransSmbiosInfo > >> + FILE_GUID = 28b38fff-bd02-4e8b-b420-3baf10840a5f > >> + MODULE_TYPE = DXE_DRIVER > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = TransferSmbiosInfoToBMC > >> + > >> +[Binaries.AARCH64] > >> + PE32|TransSmbiosInfo.efi|* > >> + DXE_DEPEX|TransSmbiosInfo.depex|* > >> diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf > >> 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 = 0x0001001A > >> + BASE_NAME = OemAddressMapD05 > >> + FILE_GUID = 64a05b8e-6e6d-4384-8c25-2e9720e1f9da > >> + MODULE_TYPE = BASE > >> + VERSION_STRING = 1.0 > >> + LIBRARY_CLASS = 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/Platform/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.<BR> > >> +# Copyright (c) 2016 - 2018, Hisilicon Limited. All rights reserved.<BR> > >> +# Copyright (c) 2016 - 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. > >> +# > >> +# Based on the files under ArmPlatformPkg/MemoryInitPei/ > >> +# > >> +#**/ > >> + > >> +[Defines] > >> + INF_VERSION = 0x0001001A > >> + BASE_NAME = MemoryInit > >> + FILE_GUID = bf4e76a5-75aa-4fc4-b211-71a30141f420 > >> + MODULE_TYPE = PEIM > >> + VERSION_STRING = 1.0 > >> + ENTRY_POINT = 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 = 0x0001001A > >> + BASE_NAME = Hi1620SerdesLib > >> + FILE_GUID = 1deeae34-0534-48e4-88e4-564a66599d6a > >> + MODULE_TYPE = BASE > >> + VERSION_STRING = 1.0 > >> + LIBRARY_CLASS = 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/Silicon/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 = 0x0001001A > >> + BASE_NAME = LpcLib > >> + FILE_GUID = 17cf6de7-8ed6-4dcc-b408-7e0e8a9421d7 > >> + MODULE_TYPE = BASE > >> + VERSION_STRING = 1.0 > >> + LIBRARY_CLASS = 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/PlatformSysCtrlLibHi1620.inf b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.inf > >> new file mode 100644 > >> index 0000000..9186361 > >> --- /dev/null > >> +++ b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.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 = 0x0001001A > >> + BASE_NAME = PlatformSysCtrlLibHi1620 > >> + FILE_GUID = 26db9c9f-0e58-4fb6-969d-3e83e9e82b05 > >> + MODULE_TYPE = BASE > >> + VERSION_STRING = 1.0 > >> + LIBRARY_CLASS = 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.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex > >> new file mode 100644 > >> index 0000000..0dc7ce4 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.depex differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi > >> new file mode 100644 > >> index 0000000..afd3ebe > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex > >> new file mode 100644 > >> index 0000000..0dc7ce4 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.depex differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi > >> new file mode 100644 > >> index 0000000..9a0fa32 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex > >> new file mode 100644 > >> index 0000000..53e435a > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.depex differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi > >> new file mode 100644 > >> index 0000000..c76061d > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Ipmi/IpmiInterfacePei/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/IpmiMiscOp.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/IpmiMiscOp.efi differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex b/Platform/Hisilicon/D06/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.depex > >> 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/SnpHi1620NewDxe/SnpPV600Dxe.efi differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/PcieRasInitDxe/PcieRasInitDxe.depex 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.efi 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/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.efi > >> new file mode 100644 > >> index 0000000..19adbc9 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/RasInitDxe/RasInitDxe.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.depex differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi > >> new file mode 100644 > >> index 0000000..474075a > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/SFC/SFCDriver.efi differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex > >> new file mode 100644 > >> index 0000000..1a5bc1e > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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..396eb03 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.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/SmiGraphicsOutput.efi differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex > >> new file mode 100644 > >> index 0000000..d4ce5b8 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.depex differ > >> diff --git a/Platform/Hisilicon/D06/Drivers/TransferSmbiosInfo/TransSmbiosInfo.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/TransferSmbiosInfo/TransSmbiosInfo.efi differ > >> diff --git a/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib > >> new file mode 100644 > >> index 0000000..7e1f6b2 > >> Binary files /dev/null and b/Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.lib differ > >> diff --git a/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.depex > >> new file mode 100644 > >> index 0000000..53e435a > >> Binary files /dev/null and b/Platform/Hisilicon/D06/MemoryInitPei/MemoryInit.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/MemoryInit.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/Silicon/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/PlatformSysCtrlLibHi1620.lib b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib > >> new file mode 100644 > >> index 0000000..50d453a > >> Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.lib differ > >> -- > >> 2.17.0 > >> ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries 2018-08-14 8:04 [PATCH edk2-non-osi v2 0/4] Upload D06 binary modules Ming Huang ` (2 preceding siblings ...) 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules Ming Huang @ 2018-08-14 8:04 ` Ming Huang 2018-08-15 15:22 ` Leif Lindholm 3 siblings, 1 reply; 11+ messages in thread From: Ming Huang @ 2018-08-14 8:04 UTC (permalink / raw) To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory Cc: ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu, Ming Huang 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 <ming.huang@linaro.org> --- 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/HisiD06ShellCmdLib.inf b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.inf new file mode 100644 index 0000000..3dea3fb --- /dev/null +++ b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.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 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 = 0x0001001A + BASE_NAME = HisiD06ShellCmdLib + FILE_GUID = 41878264-1668-460f-b0bf-26bdc89d464c + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER + CONSTRUCTOR = HisiD06ShellCmdLibConstructor + DESTRUCTOR = 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 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 = 0x0001001A + BASE_NAME = HisiShellCmdLib + FILE_GUID = 88324505-C49D-4eac-8253-75D324457B88 + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER + CONSTRUCTOR = HisiShellCmdLibConstructor + DESTRUCTOR = 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/HisiD06ShellCmdLib.lib b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.lib new file mode 100644 index 0000000..9ba14a2 Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/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/HisiShellCmdLib.lib differ -- 2.17.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries Ming Huang @ 2018-08-15 15:22 ` Leif Lindholm 2018-08-16 2:08 ` Ming 0 siblings, 1 reply; 11+ messages in thread From: Leif Lindholm @ 2018-08-15 15:22 UTC (permalink / raw) To: Ming Huang Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu On Tue, Aug 14, 2018 at 04:04:51PM +0800, Ming Huang wrote: > 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 Is this expected to be used in reality? There is capsule update and there is a BMC - why do you need a magic platform-specific command in the Shell? Is it a debug feature? > 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 Why is there a magic Shell comand to load a Linux kernel and initramfs? This is the opposite of what UEFI is for. / Leif > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ming Huang <ming.huang@linaro.org> > --- > 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/HisiD06ShellCmdLib.inf b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.inf > new file mode 100644 > index 0000000..3dea3fb > --- /dev/null > +++ b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.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 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 = 0x0001001A > + BASE_NAME = HisiD06ShellCmdLib > + FILE_GUID = 41878264-1668-460f-b0bf-26bdc89d464c > + MODULE_TYPE = UEFI_APPLICATION > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER > + CONSTRUCTOR = HisiD06ShellCmdLibConstructor > + DESTRUCTOR = 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 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 = 0x0001001A > + BASE_NAME = HisiShellCmdLib > + FILE_GUID = 88324505-C49D-4eac-8253-75D324457B88 > + MODULE_TYPE = UEFI_APPLICATION > + VERSION_STRING = 1.0 > + LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER > + CONSTRUCTOR = HisiShellCmdLibConstructor > + DESTRUCTOR = 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/HisiD06ShellCmdLib.lib b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.lib > new file mode 100644 > index 0000000..9ba14a2 > Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/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/HisiShellCmdLib.lib differ > -- > 2.17.0 > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries 2018-08-15 15:22 ` Leif Lindholm @ 2018-08-16 2:08 ` Ming 0 siblings, 0 replies; 11+ messages in thread From: Ming @ 2018-08-16 2:08 UTC (permalink / raw) To: Leif Lindholm Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, michael.d.kinney, lersek, guoheyi, wanghuiqiang, huangming23, zhangjinsong2, huangdaode, john.garry, xinliang.liu 在 8/15/2018 11:22 PM, Leif Lindholm 写道: > On Tue, Aug 14, 2018 at 04:04:51PM +0800, Ming Huang wrote: >> 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 > > Is this expected to be used in reality? > There is capsule update and there is a BMC - why do you need a magic > platform-specific command in the Shell? > Is it a debug feature? Yes, it is a debug feature. Think about this case, we don't have a hpm file, and only have fd file or .cap file. for capsule update in uefi shell, ramdisk or USB disk is needed, or we must boot to OS to update .cap. It is convenient to update fd file in uefi shell. > >> 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 > > Why is there a magic Shell comand to load a Linux kernel and > initramfs? This is the opposite of what UEFI is for. This is also for debug. It is convenient to boot OS while we don't have disk in board and PXE setting. > > / > Leif > >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Ming Huang <ming.huang@linaro.org> >> --- >> 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/HisiD06ShellCmdLib.inf b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.inf >> new file mode 100644 >> index 0000000..3dea3fb >> --- /dev/null >> +++ b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.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 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 = 0x0001001A >> + BASE_NAME = HisiD06ShellCmdLib >> + FILE_GUID = 41878264-1668-460f-b0bf-26bdc89d464c >> + MODULE_TYPE = UEFI_APPLICATION >> + VERSION_STRING = 1.0 >> + LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER >> + CONSTRUCTOR = HisiD06ShellCmdLibConstructor >> + DESTRUCTOR = 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 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 = 0x0001001A >> + BASE_NAME = HisiShellCmdLib >> + FILE_GUID = 88324505-C49D-4eac-8253-75D324457B88 >> + MODULE_TYPE = UEFI_APPLICATION >> + VERSION_STRING = 1.0 >> + LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER >> + CONSTRUCTOR = HisiShellCmdLibConstructor >> + DESTRUCTOR = 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/HisiD06ShellCmdLib.lib b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/HisiD06ShellCmdLib.lib >> new file mode 100644 >> index 0000000..9ba14a2 >> Binary files /dev/null and b/Silicon/Hisilicon/Hi1620/Library/HisiD06ShellCmdLib/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/HisiShellCmdLib.lib differ >> -- >> 2.17.0 >> ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-08-16 8:26 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-08-14 8:04 [PATCH edk2-non-osi v2 0/4] Upload D06 binary modules Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 1/4] Hisilicon/D0x: Move CustomData.Fv to common path of Hisilicon Ming Huang 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 2/4] Hisilicon/D0x: Move IpmiCmdLib " Ming Huang 2018-08-15 13:56 ` Leif Lindholm 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 3/4] Hisilicon/D06: Add binary modules Ming Huang 2018-08-15 15:27 ` Leif Lindholm 2018-08-16 2:14 ` Ming 2018-08-16 8:26 ` Leif Lindholm 2018-08-14 8:04 ` [PATCH edk2-non-osi v2 4/4] Silicon/Hisilicon/D06: Add Oem Shell libraries Ming Huang 2018-08-15 15:22 ` Leif Lindholm 2018-08-16 2:08 ` Ming
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox