mbox series

[edk2,edk2-platforms,v3,00/11] Update D03/D05 binary for edk2 update and bug fix.

Message ID 1505991597-52989-1-git-send-email-heyi.guo@linaro.org
Headers show
Series Update D03/D05 binary for edk2 update and bug fix. | expand

Message

gary guo Sept. 21, 2017, 10:59 a.m. UTC
Code can also be found in github:
https://github.com/hisilicon/OpenPlatformPkg.git
branch: rp-1710-platforms-v3    rp-1710-osi-v3

Note: If occurs BIOS boot hang up issue, please revert below commit to fix:
      "2f03dc8"

Chenhui Sun (1):
  Hisilicon/D03: Disable the function of PerfTuning

Heyi Guo (4):
  Hisilicon/D05: Modify dsc and fdf file
  Hisilicon/D03: Modify dsc and fdf file
  Hisilicon: Fix the drivers use the same GUID issue
  Hisilicon/PciHostBridgeDxe: Assign BAR resource from PciRegionBase

Ming Huang (4):
  Hisilicon D03/D05: get firmware version from FIRMWARE_VER
  D05/ACPI: Disable D05 SAS0 and SAS2
  D05/ACPI: Modify I2C device
  Hisilicon D03/D05: Enlarge iATU for RP with ARI capable device.

huangming (2):
  Hisilicon/D05/Pcie: fix bug of size definition
  D05/PCIe: Modify PcieRegionBase of secondary chip

 Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf                  |  2 +-
 Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf                     |  2 +-
 Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf            |  2 +-
 Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf                  |  2 +-
 Platform/Hisilicon/D03/D03.dsc                                              | 13 ++-
 Platform/Hisilicon/D03/D03.fdf                                              |  5 +-
 Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf                |  2 +-
 Platform/Hisilicon/D05/D05.dsc                                              | 83 +++++++++--------
 Platform/Hisilicon/D05/D05.fdf                                              |  4 +-
 Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf               |  2 +-
 Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf              |  2 +-
 Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf            |  2 +-
 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c                  | 38 ++++----
 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h                  |  7 ++
 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c                | 94 +++++++++++++++++++-
 Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf                    |  2 +-
 Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf               |  2 +-
 Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl                      | 20 +----
 Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl                      |  8 +-
 Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl                      | 10 +++
 Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf |  2 +-
 Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf       |  2 +-
 Silicon/Hisilicon/Library/I2CLib/I2CLib.inf                                 |  2 +-
 Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf                          |  2 +-
 24 files changed, 205 insertions(+), 105 deletions(-)

-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

gary guo Sept. 21, 2017, 10:59 a.m. UTC | #1
Update binary file for edk2 upgrade.
1. Replace UncachedMemoryAllocationLib with DmaLib;
2. Remove ArmCpuLib dependenc;
3. Remove ConvertToPhysicalAddress;

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <huangming23@huawei.com>

---
 Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi                       | Bin 21696 -> 4768 bytes
 Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi              | Bin 22208 -> 4672 bytes
 Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi              | Bin 25440 -> 6784 bytes
 Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi                            | Bin 23712 -> 4896 bytes
 Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi                     | Bin 18080 -> 2304 bytes
 Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi                                  | Bin 48352 -> 21664 bytes
 Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi | Bin 22112 -> 3712 bytes
 Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi                                       | Bin 262144 -> 262144 bytes
 Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi                                    | Bin 208288 -> 98144 bytes
 Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi                          | Bin 36480 -> 17728 bytes
 Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi                  | Bin 21408 -> 4000 bytes
 Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib                     | Bin 19486 -> 20550 bytes
 Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi                                    | Bin 161280 -> 90272 bytes
 Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv                                               | Bin 262144 -> 262144 bytes
 Platform/Hisilicon/D03/bl1.bin                                                         | Bin 14336 -> 14336 bytes
 Platform/Hisilicon/D03/fip.bin                                                         | Bin 45601 -> 62513 bytes
 Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib                      | Bin 603524 -> 587188 bytes
 Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib                             | Bin 247176 -> 210280 bytes
 Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib                                     | Bin 13998 -> 13958 bytes
 Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib | Bin 305230 -> 297590 bytes
 Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib            | Bin 17022 -> 16942 bytes
 21 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi b/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi
index 269243a..12640f2 100644
Binary files a/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi and b/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi
index c197895..d2565c8 100644
Binary files a/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi and b/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi
index 6201971..0d8ff52 100644
Binary files a/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi and b/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi b/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi
index 7409fcb..b85c19b 100644
Binary files a/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi and b/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi b/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi
index a9238b1..89c4b5b 100644
Binary files a/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi and b/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi b/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi
index 0a0d9d5..e1970fd 100644
Binary files a/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi and b/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi b/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi
index 12b2af7..0572a71 100644
Binary files a/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi and b/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi
index b8d9be3..28a4104 100644
Binary files a/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi and b/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi b/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi
index e135930..c9b2ad6 100644
Binary files a/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi and b/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi
index 30a0f77..16c91e2 100644
Binary files a/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi and b/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi differ
diff --git a/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi b/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi
index 39b8f58..2b6e4c1 100644
Binary files a/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi and b/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi differ
diff --git a/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib b/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib
index fe23d93..ffe2a13 100644
Binary files a/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib and b/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib differ
diff --git a/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi b/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi
index 1fdea0c..354abcc 100644
Binary files a/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi and b/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi differ
diff --git a/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv b/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv
index 1830a6a..9c781c6 100644
Binary files a/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv and b/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv differ
diff --git a/Platform/Hisilicon/D03/bl1.bin b/Platform/Hisilicon/D03/bl1.bin
index 7bf0698..cdaa743 100644
Binary files a/Platform/Hisilicon/D03/bl1.bin and b/Platform/Hisilicon/D03/bl1.bin differ
diff --git a/Platform/Hisilicon/D03/fip.bin b/Platform/Hisilicon/D03/fip.bin
index 913d40d..ae4ed1a 100644
Binary files a/Platform/Hisilicon/D03/fip.bin and b/Platform/Hisilicon/D03/fip.bin differ
diff --git a/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib b/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib
index c55d678..e7c5f9f 100644
Binary files a/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib and b/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib differ
diff --git a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib b/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib
index 1b02db1..5ad2c8f 100644
Binary files a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib and b/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib differ
diff --git a/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib b/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib
index f74d98d..e76c741 100644
Binary files a/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib and b/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib differ
diff --git a/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib b/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib
index ca78ae6..68be770 100644
Binary files a/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib and b/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib differ
diff --git a/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib b/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib
index 6f88fc1..d6ce068 100644
Binary files a/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib and b/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib differ
-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
gary guo Sept. 21, 2017, 10:59 a.m. UTC | #2
Fix bug 3061: D05(before EC) boot hangs at "Need Reset";

Update binary file for edk2 upgrade.
  1. Replace UncachedMemoryAllocationLib with DmaLib;
  2. Remove ArmCpuLib dependenc;
  3. Remove ConvertToPhysicalAddress;

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <huangming23@huawei.com>

---
 Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi                       | Bin 19552 -> 5024 bytes
 Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi              | Bin 25696 -> 7680 bytes
 Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi              | Bin 22528 -> 5344 bytes
 Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi                            | Bin 23136 -> 5280 bytes
 Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi                     | Bin 15968 -> 2592 bytes
 Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi                                  | Bin 48000 -> 23328 bytes
 Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi | Bin 21536 -> 4032 bytes
 Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi                                       | Bin 262144 -> 262144 bytes
 Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi                                    | Bin 230912 -> 116288 bytes
 Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi                          | Bin 35904 -> 18592 bytes
 Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi                  | Bin 16576 -> 4288 bytes
 Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib                   | Bin 42136 -> 52968 bytes
 Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi                                    | Bin 273312 -> 152576 bytes
 Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv                                               | Bin 262144 -> 262144 bytes
 Platform/Hisilicon/D05/bl1.bin                                                         | Bin 12296 -> 14344 bytes
 Platform/Hisilicon/D05/fip.bin                                                         | Bin 41493 -> 41493 bytes
 Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib                      | Bin 707246 -> 726884 bytes
 Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib | Bin 358602 -> 344310 bytes
 18 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi b/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi
index 6f117e2..a0fa8c8 100644
Binary files a/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi and b/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi
index 139658c..9b4e23e 100644
Binary files a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi and b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi
index c3d28ec..5bf6ded 100644
Binary files a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi and b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi b/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi
index 96d1680..3092139 100644
Binary files a/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi and b/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi b/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi
index 029ce97..ece5615 100644
Binary files a/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi and b/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi b/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi
index dcabce2..9e7dd0e 100644
Binary files a/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi and b/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi b/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi
index da85b0b..2be627f 100644
Binary files a/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi and b/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi
index 02ea2b1..52d6107 100644
Binary files a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi and b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi b/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi
index a1b16d7..9a680c5 100644
Binary files a/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi and b/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi
index d22bf64..b8de025 100644
Binary files a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi and b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi differ
diff --git a/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi b/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi
index 980be0a..80fe6fa 100644
Binary files a/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi and b/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi differ
diff --git a/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib b/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib
index e37546e..00954c7 100644
Binary files a/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib and b/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib differ
diff --git a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi
index 5a93c4e..b94e0cb 100644
Binary files a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi and b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi differ
diff --git a/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv b/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv
index 16500b7..ab6ea83 100644
Binary files a/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv and b/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv differ
diff --git a/Platform/Hisilicon/D05/bl1.bin b/Platform/Hisilicon/D05/bl1.bin
index f207cd9..7341476 100644
Binary files a/Platform/Hisilicon/D05/bl1.bin and b/Platform/Hisilicon/D05/bl1.bin differ
diff --git a/Platform/Hisilicon/D05/fip.bin b/Platform/Hisilicon/D05/fip.bin
index 0952662..496a9b8 100644
Binary files a/Platform/Hisilicon/D05/fip.bin and b/Platform/Hisilicon/D05/fip.bin differ
diff --git a/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib b/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib
index 82abd5f..cdfaeb7 100644
Binary files a/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib and b/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib differ
diff --git a/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib b/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib
index a4fe13a..b3cc88e 100644
Binary files a/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib and b/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib differ
-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Graeme Gregory Sept. 21, 2017, 12:11 p.m. UTC | #3
All ACPI changes apart from the small comment I had on I2C one

Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>


On Thu, Sep 21, 2017 at 06:59:39PM +0800, Heyi Guo wrote:
> Code can also be found in github:

> https://github.com/hisilicon/OpenPlatformPkg.git

> branch: rp-1710-platforms-v3    rp-1710-osi-v3

> 

> Note: If occurs BIOS boot hang up issue, please revert below commit to fix:

>       "2f03dc8"

> 

> Chenhui Sun (1):

>   Hisilicon/D03: Disable the function of PerfTuning

> 

> Heyi Guo (4):

>   Hisilicon/D05: Modify dsc and fdf file

>   Hisilicon/D03: Modify dsc and fdf file

>   Hisilicon: Fix the drivers use the same GUID issue

>   Hisilicon/PciHostBridgeDxe: Assign BAR resource from PciRegionBase

> 

> Ming Huang (4):

>   Hisilicon D03/D05: get firmware version from FIRMWARE_VER

>   D05/ACPI: Disable D05 SAS0 and SAS2

>   D05/ACPI: Modify I2C device

>   Hisilicon D03/D05: Enlarge iATU for RP with ARI capable device.

> 

> huangming (2):

>   Hisilicon/D05/Pcie: fix bug of size definition

>   D05/PCIe: Modify PcieRegionBase of secondary chip

> 

>  Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf                  |  2 +-

>  Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf                     |  2 +-

>  Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf            |  2 +-

>  Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf                  |  2 +-

>  Platform/Hisilicon/D03/D03.dsc                                              | 13 ++-

>  Platform/Hisilicon/D03/D03.fdf                                              |  5 +-

>  Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf                |  2 +-

>  Platform/Hisilicon/D05/D05.dsc                                              | 83 +++++++++--------

>  Platform/Hisilicon/D05/D05.fdf                                              |  4 +-

>  Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf               |  2 +-

>  Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf              |  2 +-

>  Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf            |  2 +-

>  Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c                  | 38 ++++----

>  Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h                  |  7 ++

>  Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c                | 94 +++++++++++++++++++-

>  Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf                    |  2 +-

>  Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf               |  2 +-

>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl                      | 20 +----

>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl                      |  8 +-

>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl                      | 10 +++

>  Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf |  2 +-

>  Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf       |  2 +-

>  Silicon/Hisilicon/Library/I2CLib/I2CLib.inf                                 |  2 +-

>  Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf                          |  2 +-

>  24 files changed, 205 insertions(+), 105 deletions(-)

> 

> -- 

> 1.9.1

>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Leif Lindholm Sept. 21, 2017, 12:40 p.m. UTC | #4
On Thu, Sep 21, 2017 at 06:59:39PM +0800, Heyi Guo wrote:
> Code can also be found in github:

> https://github.com/hisilicon/OpenPlatformPkg.git

> branch: rp-1710-platforms-v3    rp-1710-osi-v3


This is looking a lot better, thanks.
But it could be useful to have a separate cover letter for the
edk2-non-osi patches.

> Note: If occurs BIOS boot hang up issue, please revert below commit to fix:

>       "2f03dc8"


Can you give more information?
2f03dc8 is "Silicon/Hisilicon: switch to NonDiscoverable driver for
EHCI".

/
    Leif

> Chenhui Sun (1):

>   Hisilicon/D03: Disable the function of PerfTuning

> 

> Heyi Guo (4):

>   Hisilicon/D05: Modify dsc and fdf file

>   Hisilicon/D03: Modify dsc and fdf file

>   Hisilicon: Fix the drivers use the same GUID issue

>   Hisilicon/PciHostBridgeDxe: Assign BAR resource from PciRegionBase

> 

> Ming Huang (4):

>   Hisilicon D03/D05: get firmware version from FIRMWARE_VER

>   D05/ACPI: Disable D05 SAS0 and SAS2

>   D05/ACPI: Modify I2C device

>   Hisilicon D03/D05: Enlarge iATU for RP with ARI capable device.

> 

> huangming (2):

>   Hisilicon/D05/Pcie: fix bug of size definition

>   D05/PCIe: Modify PcieRegionBase of secondary chip

> 

>  Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf                  |  2 +-

>  Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf                     |  2 +-

>  Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf            |  2 +-

>  Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf                  |  2 +-

>  Platform/Hisilicon/D03/D03.dsc                                              | 13 ++-

>  Platform/Hisilicon/D03/D03.fdf                                              |  5 +-

>  Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf                |  2 +-

>  Platform/Hisilicon/D05/D05.dsc                                              | 83 +++++++++--------

>  Platform/Hisilicon/D05/D05.fdf                                              |  4 +-

>  Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf               |  2 +-

>  Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf              |  2 +-

>  Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf            |  2 +-

>  Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c                  | 38 ++++----

>  Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h                  |  7 ++

>  Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c                | 94 +++++++++++++++++++-

>  Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf                    |  2 +-

>  Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf               |  2 +-

>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl                      | 20 +----

>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl                      |  8 +-

>  Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl                      | 10 +++

>  Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf |  2 +-

>  Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf       |  2 +-

>  Silicon/Hisilicon/Library/I2CLib/I2CLib.inf                                 |  2 +-

>  Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf                          |  2 +-

>  24 files changed, 205 insertions(+), 105 deletions(-)

> 

> -- 

> 1.9.1

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Leif Lindholm Sept. 21, 2017, 12:54 p.m. UTC | #5
On Thu, Sep 21, 2017 at 06:59:44PM +0800, Heyi Guo wrote:
> Update binary file for edk2 upgrade.

> 1. Replace UncachedMemoryAllocationLib with DmaLib;

> 2. Remove ArmCpuLib dependenc;

> 3. Remove ConvertToPhysicalAddress;


OK, this is fine for the EDK2 bits, but:

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ming Huang <huangming23@huawei.com>

> ---

>  Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi                       | Bin 21696 -> 4768 bytes

>  Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi              | Bin 22208 -> 4672 bytes

>  Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi              | Bin 25440 -> 6784 bytes

>  Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi                            | Bin 23712 -> 4896 bytes

>  Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi                     | Bin 18080 -> 2304 bytes

>  Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi                                  | Bin 48352 -> 21664 bytes

>  Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi | Bin 22112 -> 3712 bytes

>  Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi                                       | Bin 262144 -> 262144 bytes

>  Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi                                    | Bin 208288 -> 98144 bytes

>  Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi                          | Bin 36480 -> 17728 bytes

>  Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi                  | Bin 21408 -> 4000 bytes

>  Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib                     | Bin 19486 -> 20550 bytes

>  Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi                                    | Bin 161280 -> 90272 bytes


>  Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv                                               | Bin 262144 -> 262144 bytes

>  Platform/Hisilicon/D03/bl1.bin                                                         | Bin 14336 -> 14336 bytes

>  Platform/Hisilicon/D03/fip.bin                                                         | Bin 45601 -> 62513 bytes


What is the update for the above three?
I guess this bumps the version of ARM Trusted Firmware. Can we have a
reference to the internal commit hash this is generated from?

(May make more sense as a separate patch.)

/
    Leif

>  Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib                      | Bin 603524 -> 587188 bytes

>  Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib                             | Bin 247176 -> 210280 bytes

>  Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib                                     | Bin 13998 -> 13958 bytes

>  Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib | Bin 305230 -> 297590 bytes

>  Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib            | Bin 17022 -> 16942 bytes

>  21 files changed, 0 insertions(+), 0 deletions(-)

> 

> diff --git a/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi b/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi

> index 269243a..12640f2 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi and b/Platform/Hisilicon/D03/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi

> index c197895..d2565c8 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi and b/Platform/Hisilicon/D03/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi

> index 6201971..0d8ff52 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi and b/Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi b/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi

> index 7409fcb..b85c19b 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi and b/Platform/Hisilicon/D03/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi b/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi

> index a9238b1..89c4b5b 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi and b/Platform/Hisilicon/D03/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi b/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi

> index 0a0d9d5..e1970fd 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi and b/Platform/Hisilicon/D03/Drivers/OhciDxe/NativeOhci.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi b/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi

> index 12b2af7..0572a71 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi and b/Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi

> index b8d9be3..28a4104 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi and b/Platform/Hisilicon/D03/Drivers/SFC/SFCDriver.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi b/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi

> index e135930..c9b2ad6 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi and b/Platform/Hisilicon/D03/Drivers/Sas/SasDriverDxe.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi

> index 30a0f77..16c91e2 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi and b/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi differ

> diff --git a/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi b/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi

> index 39b8f58..2b6e4c1 100644

> Binary files a/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi and b/Platform/Hisilicon/D03/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi differ

> diff --git a/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib b/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib

> index fe23d93..ffe2a13 100644

> Binary files a/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib and b/Platform/Hisilicon/D03/Library/OemAddressMap2P/OemAddressMap2P.lib differ

> diff --git a/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi b/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi

> index 1fdea0c..354abcc 100644

> Binary files a/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi and b/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi differ

> diff --git a/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv b/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv

> index 1830a6a..9c781c6 100644

> Binary files a/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv and b/Platform/Hisilicon/D03/Sec/FVMAIN_SEC.Fv differ

> diff --git a/Platform/Hisilicon/D03/bl1.bin b/Platform/Hisilicon/D03/bl1.bin

> index 7bf0698..cdaa743 100644

> Binary files a/Platform/Hisilicon/D03/bl1.bin and b/Platform/Hisilicon/D03/bl1.bin differ

> diff --git a/Platform/Hisilicon/D03/fip.bin b/Platform/Hisilicon/D03/fip.bin

> index 913d40d..ae4ed1a 100644

> Binary files a/Platform/Hisilicon/D03/fip.bin and b/Platform/Hisilicon/D03/fip.bin differ

> diff --git a/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib b/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib

> index c55d678..e7c5f9f 100644

> Binary files a/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib and b/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.lib differ

> diff --git a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib b/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib

> index 1b02db1..5ad2c8f 100644

> Binary files a/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib and b/Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.lib differ

> diff --git a/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib b/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib

> index f74d98d..e76c741 100644

> Binary files a/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib and b/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.lib differ

> diff --git a/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib b/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib

> index ca78ae6..68be770 100644

> Binary files a/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib and b/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlLibHi1610.lib differ

> diff --git a/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib b/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib

> index 6f88fc1..d6ce068 100644

> Binary files a/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib and b/Silicon/Hisilicon/Hi1610/Library/Uart/LpcSerialPortLib/LpcSerialPortLib.lib differ

> -- 

> 1.9.1

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Leif Lindholm Sept. 21, 2017, 12:59 p.m. UTC | #6
On Thu, Sep 21, 2017 at 06:59:51PM +0800, Heyi Guo wrote:
> Fix bug 3061: D05(before EC) boot hangs at "Need Reset";

> 

> Update binary file for edk2 upgrade.

>   1. Replace UncachedMemoryAllocationLib with DmaLib;

>   2. Remove ArmCpuLib dependenc;

>   3. Remove ConvertToPhysicalAddress;

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ming Huang <huangming23@huawei.com>

> ---

>  Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi                       | Bin 19552 -> 5024 bytes

>  Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi              | Bin 25696 -> 7680 bytes

>  Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi              | Bin 22528 -> 5344 bytes

>  Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi                            | Bin 23136 -> 5280 bytes

>  Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi                     | Bin 15968 -> 2592 bytes

>  Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi                                  | Bin 48000 -> 23328 bytes

>  Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi | Bin 21536 -> 4032 bytes

>  Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi                                       | Bin 262144 -> 262144 bytes

>  Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi                                    | Bin 230912 -> 116288 bytes

>  Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi                          | Bin 35904 -> 18592 bytes

>  Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi                  | Bin 16576 -> 4288 bytes

>  Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib                   | Bin 42136 -> 52968 bytes

>  Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi                                    | Bin 273312 -> 152576 bytes


>  Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv                                               | Bin 262144 -> 262144 bytes

>  Platform/Hisilicon/D05/bl1.bin                                                         | Bin 12296 -> 14344 bytes

>  Platform/Hisilicon/D05/fip.bin                                                         | Bin 41493 -> 41493 bytes


Like for D03 - I guess this means ARM Trusted Firmware update. Can it
be a separate patch and describe the commit hash it was produced from?
Does the (bugs.linaro.org) 3061 fix also belong to these files?

/
    Leif

>  Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib                      | Bin 707246 -> 726884 bytes

>  Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib | Bin 358602 -> 344310 bytes

>  18 files changed, 0 insertions(+), 0 deletions(-)

> 

> diff --git a/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi b/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi

> index 6f117e2..a0fa8c8 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi and b/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi

> index 139658c..9b4e23e 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi and b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi

> index c3d28ec..5bf6ded 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi and b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi b/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi

> index 96d1680..3092139 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi and b/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi b/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi

> index 029ce97..ece5615 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi and b/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi b/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi

> index dcabce2..9e7dd0e 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi and b/Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi b/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi

> index da85b0b..2be627f 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi and b/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi

> index 02ea2b1..52d6107 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi and b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi b/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi

> index a1b16d7..9a680c5 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi and b/Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi

> index d22bf64..b8de025 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi and b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi differ

> diff --git a/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi b/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi

> index 980be0a..80fe6fa 100644

> Binary files a/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi and b/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi differ

> diff --git a/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib b/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib

> index e37546e..00954c7 100644

> Binary files a/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib and b/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib differ

> diff --git a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi

> index 5a93c4e..b94e0cb 100644

> Binary files a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi and b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi differ

> diff --git a/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv b/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv

> index 16500b7..ab6ea83 100644

> Binary files a/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv and b/Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv differ

> diff --git a/Platform/Hisilicon/D05/bl1.bin b/Platform/Hisilicon/D05/bl1.bin

> index f207cd9..7341476 100644

> Binary files a/Platform/Hisilicon/D05/bl1.bin and b/Platform/Hisilicon/D05/bl1.bin differ

> diff --git a/Platform/Hisilicon/D05/fip.bin b/Platform/Hisilicon/D05/fip.bin

> index 0952662..496a9b8 100644

> Binary files a/Platform/Hisilicon/D05/fip.bin and b/Platform/Hisilicon/D05/fip.bin differ

> diff --git a/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib b/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib

> index 82abd5f..cdfaeb7 100644

> Binary files a/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib and b/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.lib differ

> diff --git a/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib b/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib

> index a4fe13a..b3cc88e 100644

> Binary files a/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib and b/Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.lib differ

> -- 

> 1.9.1

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Ard Biesheuvel Sept. 21, 2017, 1:32 p.m. UTC | #7
On 21 September 2017 at 05:40, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Thu, Sep 21, 2017 at 06:59:39PM +0800, Heyi Guo wrote:

>> Code can also be found in github:

>> https://github.com/hisilicon/OpenPlatformPkg.git

>> branch: rp-1710-platforms-v3    rp-1710-osi-v3

>

> This is looking a lot better, thanks.

> But it could be useful to have a separate cover letter for the

> edk2-non-osi patches.

>

>> Note: If occurs BIOS boot hang up issue, please revert below commit to fix:

>>       "2f03dc8"

>

> Can you give more information?

> 2f03dc8 is "Silicon/Hisilicon: switch to NonDiscoverable driver for

> EHCI".

>


If that patch broke your platform, you should probably have mentioned
this when it was sent out for review. (Apologies if I failed to CC
you, but I think I probably did)
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
gary guo Sept. 22, 2017, 3:20 a.m. UTC | #8
Sorry we didn't catch up the community updates for several months...

Actually this is a really good change for ARM MMIO controllers and we 
appreciate your patches to improve D0x platforms. There may be some 
minor issue (or even in SoC IP) that causes D05 into exception, which 
was just found when we updated edk2 and edk2-platforms these days, and 
we have not enough time to find the root cause yet.

We will continue to investigate the issue and let you know the result.

Regards,

Heyi Guo

在 9/21/2017 9:32 PM, Ard Biesheuvel 写道:
> On 21 September 2017 at 05:40, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>> On Thu, Sep 21, 2017 at 06:59:39PM +0800, Heyi Guo wrote:
>>> Code can also be found in github:
>>> https://github.com/hisilicon/OpenPlatformPkg.git
>>> branch: rp-1710-platforms-v3    rp-1710-osi-v3
>> This is looking a lot better, thanks.
>> But it could be useful to have a separate cover letter for the
>> edk2-non-osi patches.
>>
>>> Note: If occurs BIOS boot hang up issue, please revert below commit to fix:
>>>        "2f03dc8"
>> Can you give more information?
>> 2f03dc8 is "Silicon/Hisilicon: switch to NonDiscoverable driver for
>> EHCI".
>>
> If that patch broke your platform, you should probably have mentioned
> this when it was sent out for review. (Apologies if I failed to CC
> you, but I think I probably did)
Leif Lindholm Sept. 22, 2017, 9:55 a.m. UTC | #9
On Fri, Sep 22, 2017 at 09:36:48AM +0000, Huangming (Mark) wrote:
> See below reply please
> 
> -----邮件原件-----
> 发件人: Leif Lindholm [mailto:leif.lindholm@linaro.org] 
> 发送时间: 2017年9月21日 21:00
> 收件人: Heyi Guo <heyi.guo@linaro.org>
> 抄送: linaro-uefi@lists.linaro.org; edk2-devel@lists.01.org; graeme.gregory@linaro.org; ard.biesheuvel@linaro.org; Guoheyi <guoheyi@huawei.com>; wanghuiqiang <wanghuiqiang@huawei.com>; Huangming (Mark) <huangming23@huawei.com>; zhangjinsong (A) <zhangjinsong2@huawei.com>; waip23@126.com
> 主题: Re: [PATCH edk2-non-osi v3 6/7] Hisilicon/D05: Update binary file
> 
> On Thu, Sep 21, 2017 at 06:59:51PM +0800, Heyi Guo wrote:
> > Fix bug 3061: D05(before EC) boot hangs at "Need Reset";
> > 
> > Update binary file for edk2 upgrade.
> >   1. Replace UncachedMemoryAllocationLib with DmaLib;
> >   2. Remove ArmCpuLib dependenc;
> >   3. Remove ConvertToPhysicalAddress;
> > 
> > Contributed-under: TianoCore Contribution Agreement 1.1
> > Signed-off-by: Ming Huang <huangming23@huawei.com>
> > ---
> >  Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.efi                       | Bin 19552 -> 5024 bytes
> >  Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.efi              | Bin 25696 -> 7680 bytes
> >  Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.efi              | Bin 22528 -> 5344 bytes
> >  Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOp.efi                            | Bin 23136 -> 5280 bytes
> >  Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.efi                     | Bin 15968 -> 2592 bytes
> >  Platform/Hisilicon/D05/Drivers/OhciDxe/NativeOhci.efi                                  | Bin 48000 -> 23328 bytes
> >  Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.efi | Bin 21536 -> 4032 bytes
> >  Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.efi                                       | Bin 262144 -> 262144 bytes
> >  Platform/Hisilicon/D05/Drivers/Sas/SasDriverDxe.efi                                    | Bin 230912 -> 116288 bytes
> >  Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi                          | Bin 35904 -> 18592 bytes
> >  Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.efi                  | Bin 16576 -> 4288 bytes
> >  Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.lib                   | Bin 42136 -> 52968 bytes
> >  Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi                                    | Bin 273312 -> 152576 bytes
> 
> >  Platform/Hisilicon/D05/Sec/FVMAIN_SEC.Fv                                               | Bin 262144 -> 262144 bytes
> >  Platform/Hisilicon/D05/bl1.bin                                                         | Bin 12296 -> 14344 bytes
> >  Platform/Hisilicon/D05/fip.bin                                                         | Bin 41493 -> 41493 bytes
> 
> Like for D03 - I guess this means ARM Trusted Firmware update. Can it be a separate patch and describe the commit hash it was produced from?
> -- FVMAIN_SEC.Fv use some edk2 lib, so it is related with edk2 update.
> I will make sepatate patch for Other two bin files.

Understood. Yes, please do so.

> Do you mean that I should add commitId in the separate patch ? like "126aef8"?

Yes, please.

> Does the (bugs.linaro.org) 3061 fix also belong to these files?
> -- Yes

OK, then please delete that note from commit message in this patch and
add it in the new one. Please include the full URL to the bug.

Regards,

Leif