On Thu, Dec 08, 2016 at 04:41:53PM +0800, Heyi Guo wrote:
Hi Leif,
在 12/8/2016 3:25 PM, Leif Lindholm 写道:
Ping?
On 7 Dec 2016 13:03, "Leif Lindholm" <leif.lindholm@linaro.org mailto:leif.lindholm@linaro.org> wrote:
Hi Heyi,
On Wed, Dec 07, 2016 at 07:48:57PM +0800, Heyi Guo wrote:
Hisilicon new platform D05 will be pushed to Linaro Reference
Platform
16.12 release, and these patches are to enable Hisilicon D05 in OPP. Also add the patches D02/3 platform bug fixed.
Code can also be found in my linaro repo: http://git.linaro.org/people/heyi.guo/OpenPlatformPkg.git
http://git.linaro.org/people/heyi.guo/OpenPlatformPkg.git
branch: rp-16.12-04-all
This series does not appear to be generated from this branch.
Can you push the actual one?
Really apologize for forgetting to push the new code to rp-16.12-04-all. It's ok now.
Thanks - making some final sanity checks.
Regards,
Leif
Thanks and Regards,
Heyi
Regards,
Leif
Changelog v6>v7:
- Improve the code according to Leif's comments
- Add new patches to fix new issues after updating EDKII base
code and
some new bug fix they are path 32--38: Hisilicon/D05: update distance of Slit table Platforms/D05/ACPI:dynamically detect chip version to set
port enable/disable
D03 enhance RTC lock acquiring Hisilicon: fix PXE boot fail issue Hisilicon/D05: flash related drivers switch to use generic BaseMemoryLib Hisilicon/D03: flash related drivers switch to use generic BaseMemoryLib Hisilicon/D02: flash related drivers switch to use generic and patch 1: Hisilicon/D02/D03: refine serdes lib structure
Chenhui Sun (6): D02/ACPI: Use HISI0031 HID for uart on Hip05 soc Platform/D02: Update ACPI table header D03: Update ACPI Oem table header id D02: Update ACPI table header id D02/D03: Update version to 16.08 RC1 Hisilicon/D05: update distance of Slit table
Hanjun Guo (1): D03/DSDT: use irq producer/consumer to support mbi-gen
Heyi Guo (20): Hisilicon/D02/D03: refine serdes lib structure Platforms/Hisilicon: add D05 platform modules and files Hisilicon: fix FirmwareVendor pcd Hisilicon/D02: enlarge FVMAIN_COMPACT Hisilicon/D02: update ATF binaries to fix a bug in ATF code Hisilicon/D03: enlarge FVMAIN_COMPACT Platforms/D03: Update binaries D02/D03/D05: Support Spd mirror mode Hisilicon: remove D02 unused ACPI files Hisilicon: Add D03 ACPI tables Hisilicon/SMBIOS: Update ProcessorID from MIDR Hisilicon: Remove unnesseary variable initializtion D03/FdtUpdateLib: Update refclk in DT D03/ACPI: Refine SAS ASL code indention D03/USB: fix ehci interrupt pin number Hisilicon/D03: switch to NullMemoryTest Hisilicon: fix PXE boot fail issue Hisilicon/D05: flash related drivers switch to use generic BaseMemoryLib Hisilicon/D03: flash related drivers switch to use generic BaseMemoryLib Hisilicon/D02: flash related drivers switch to use generic BaseMemoryLib
Kefeng Wang (1): D02/D03/ACPI: Fix wrong GTDT length
Kejian Yan (2): D02/D03/Dsdt: add media-type property for hns D02/D03/Dsdt/hns: fix the bug of serdes loopback
MaJun (1): D03/IORT:Change the single mapping flags of mbigen node to 1
Peicong Li (2): D03/D05: Change to access EEPROM data by checking page boundary D03: enhance RTC lock acquiring
Salil Mehta (3): D03/ACPI: Add RoCE device to ACPI & IORT Tables D03/ACPI: Add support of RoCE Reset in DSDT D03/ACPI/ROCE: Add node-guid parameter to DSDT
flyingnosky (1): D03/ACPI: support 50MHZ and 66MHZ boards in acpi mode
huangming23 (1): Platforms/D05/ACPI: dynamically detect chip version to set port enable/disable
.../Library/Hi1610Serdes/Hi1610SerdesLib.lib | Bin 601828 ->
603524 bytes
.../Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib | Bin 253328 ->
247176 bytes
.../Binary/Hi1610/Library/LpcLib/LpcLib.lib | Bin 13870 ->
13998 bytes
.../Uart/LpcSerialPortLib/LpcSerialPortLib.lib | Bin 17086 ->
17022 bytes
.../ProcessorSubClassDxe/ProcessorSubClass.c | 6 +- .../Type09/MiscSystemSlotDesignationFunction.c | 14 +- .../Hi1610/Hi1610AcpiTables/AcpiTablesHi1610.inf | 56 ++ .../Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl | 368 +++++++++++ .../Hisilicon/Hi1610/Hi1610AcpiTables/D03Mcfg.aslc | 85 +++ .../Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/CPU.asl | 88 +++ .../Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/Com.asl | 36 ++ .../Hi1610/Hi1610AcpiTables/Dsdt/D03Hns.asl | 691
+++++++++++++++++++++
.../Hi1610/Hi1610AcpiTables/Dsdt/D03Mbig.asl | 305 +++++++++ .../Hi1610/Hi1610AcpiTables/Dsdt/D03Pci.asl | 261 ++++++++ .../Hi1610/Hi1610AcpiTables/Dsdt/D03Sas.asl | 367 +++++++++++ .../Hi1610/Hi1610AcpiTables/Dsdt/D03Usb.asl | 136 ++++ .../Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl | 29 + .../Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/Lpc.asl | 25 + Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Facs.aslc | 67 ++ Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Fadt.aslc | 91 +++ Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc | 96 +++ .../Hi1610/Hi1610AcpiTables/Hi1610Platform.h | 48 ++ .../Hi1610/Hi1610AcpiTables/MadtHi1610.aslc | 128 ++++ Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Slit.aslc | 81 +++ Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Srat.aslc | 115 ++++ Chips/Hisilicon/Hi1610/Include/Library/SerdesLib.h | 108 ++-- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc | 8 +- .../Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl | 33 +- Chips/Hisilicon/Hi1616/Include/Library/SerdesLib.h | 86 +++ Chips/Hisilicon/HisiPkg.dec | 3 + Chips/Hisilicon/Include/Library/HwMemInitLib.h | 4 + .../Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 2 + .../PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 1 + Chips/Hisilicon/Pv660/Include/Library/SerdesLib.h | 89 ++- .../Pv660/Pv660AcpiTables/AcpiTablesHi1610.inf | 56 -- Chips/Hisilicon/Pv660/Pv660AcpiTables/D03Iort.asl | 337 ---------- Chips/Hisilicon/Pv660/Pv660AcpiTables/D03Mcfg.aslc | 85 --- Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Com.asl | 5 +- .../Pv660/Pv660AcpiTables/Dsdt/D03Hns.asl | 558 ----------------- .../Pv660/Pv660AcpiTables/Dsdt/D03Mbig.asl | 125 ---- .../Pv660/Pv660AcpiTables/Dsdt/D03Pci.asl | 261 -------- .../Pv660/Pv660AcpiTables/Dsdt/D03Sas.asl | 247 -------- .../Pv660/Pv660AcpiTables/Dsdt/D03Usb.asl | 136 ---- .../Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Dsdt.asl | 2 +- .../Pv660/Pv660AcpiTables/Dsdt/DsdtHi1610.asl | 29 - Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Hns.asl | 16 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Lpc.asl | 25 - Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc | 2 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl | 6 +- .../Pv660/Pv660AcpiTables/MadtHi1610.aslc | 128 ---- .../Pv660/Pv660AcpiTables/Pv660Platform.h | 10 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/SASSSDT.ASL | 2 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/SATASSDT.ASL | 2 +- Platforms/Hisilicon/Binary/D02/bl1.bin | Bin 14344 -> 12296 bytes Platforms/Hisilicon/Binary/D02/fip.bin | Bin 45621 -> 45621 bytes .../D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi | Bin 22304
-> 21696 bytes
.../Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi | Bin 22240 ->
22208 bytes
.../Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi | Bin 26720 ->
25440 bytes
.../D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi | Bin 24704 ->
23712 bytes
.../Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi | Bin 18368
-> 18080 bytes
.../Net/SnpPV660DxeMac0/SnpPV600DxeMac0.efi | Bin 63648 ->
56832 bytes
.../Net/SnpPV660DxeMac1/SnpPV600DxeMac1.efi | Bin 63648 ->
56832 bytes
.../Net/SnpPV660DxeMac4/SnpPV600DxeMac4.efi | Bin 63648 ->
56832 bytes
.../Net/SnpPV660DxeMac5/SnpPV600DxeMac5.efi | Bin 63648 ->
56832 bytes
.../Binary/D03/Drivers/OhciDxe/NativeOhci.efi | Bin 55488 ->
48352 bytes
.../ReportPciePlugDidVidToBmc.efi | Bin 22752 -> 22112 bytes .../Hisilicon/Binary/D03/Drivers/SFC/SFCDriver.efi | Bin 262144
-> 262144 bytes
.../D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 38624 ->
36480 bytes
.../Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi | Bin 22112
-> 21408 bytes
Platforms/Hisilicon/Binary/D03/Ebl/Ebl.efi | Bin 159744 ->
134240 bytes
.../Library/OemAddressMap2P/OemAddressMap2P.lib | Bin 19568
-> 19486 bytes
Platforms/Hisilicon/Binary/D03/Sec/FVMAIN_SEC.Fv | Bin 262144
-> 262144 bytes
Platforms/Hisilicon/Binary/D03/bl1.bin | Bin 14336 -> 14336 bytes Platforms/Hisilicon/Binary/D03/fip.bin | Bin 45601 -> 45601 bytes .../D02/Library/OemMiscLibD02/BoardFeatureD02.c | 18 +- Platforms/Hisilicon/D02/Pv660D02.dsc | 9 +- Platforms/Hisilicon/D02/Pv660D02.fdf | 22 +- Platforms/Hisilicon/D03/D03.dsc | 17 +- Platforms/Hisilicon/D03/D03.fdf | 10 +- .../Drivers/OemNicConfig2PHi1610/OemNicConfig2P.c | 45 +- Platforms/Hisilicon/D03/Include/Library/CpldD03.h | 4 + .../DS3231RealTimeClockLib.c | 89 ++- .../DS3231RealTimeClockLib.inf | 2 + .../D03/Library/FdtUpdateLib/FdtUpdateLib.c | 60 ++ .../D03/Library/FdtUpdateLib/FdtUpdateLib.inf | 2 + .../Library/OemMiscLib2P/BoardFeature2PHi1610.c | 68 +- Platforms/Hisilicon/D05/D05.dsc | 679 ++++++++++++++++++++ Platforms/Hisilicon/D05/D05.fdf | 366 +++++++++++ .../D05/EarlyConfigPeim/EarlyConfigPeimD05.c | 64 ++ .../D05/EarlyConfigPeim/EarlyConfigPeimD05.inf | 53 ++ .../D05/Library/OemMiscLibD05/BoardFeatureD05.c | 225 +++++++ .../OemMiscLibD05/BoardFeatureD05Strings.uni | 56 ++ .../D05/Library/OemMiscLibD05/OemMiscLibD05.c | 107 ++++ .../D05/Library/OemMiscLibD05/OemMiscLibD05.inf | 55 ++ .../D05/Library/PlatformPciLib/PlatformPciLib.c | 279 +++++++++ .../D05/Library/PlatformPciLib/PlatformPciLib.inf | 183 ++++++ 96 files changed, 5650 insertions(+), 2222 deletions(-) create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/AcpiTablesHi1610.inf
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Mcfg.aslc
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/CPU.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/Com.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/D03Hns.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/D03Mbig.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/D03Pci.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/D03Sas.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/D03Usb.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/DsdtHi1610.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/Lpc.asl
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Facs.aslc
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Fadt.aslc
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Hi1610Platform.h
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/MadtHi1610.aslc
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Slit.aslc
create mode 100644
Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Srat.aslc
create mode 100644
Chips/Hisilicon/Hi1616/Include/Library/SerdesLib.h
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/AcpiTablesHi1610.inf
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/D03Iort.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/D03Mcfg.aslc
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/D03Hns.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/D03Mbig.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/D03Pci.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/D03Sas.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/D03Usb.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/DsdtHi1610.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Lpc.asl
delete mode 100644
Chips/Hisilicon/Pv660/Pv660AcpiTables/MadtHi1610.aslc
create mode 100644 Platforms/Hisilicon/D05/D05.dsc create mode 100644 Platforms/Hisilicon/D05/D05.fdf create mode 100644
Platforms/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.c
create mode 100644
Platforms/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf
create mode 100644
Platforms/Hisilicon/D05/Library/OemMiscLibD05/BoardFeatureD05.c
create mode 100644
Platforms/Hisilicon/D05/Library/OemMiscLibD05/BoardFeatureD05Strings.uni
create mode 100644
Platforms/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.c
create mode 100644
Platforms/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf
create mode 100644
Platforms/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.c
create mode 100644
Platforms/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf
-- 1.9.1