- Dec 08, 2020
-
-
Phong Vo authored
Update Readme.md with information about Ampere's Mt. Jade platform Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Phong Vo <phong@os.amperecomputing.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Phong Vo authored
Add initial version of Readme.md for Ampere platform Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Phong Vo <phong@os.amperecomputing.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Andrei Warkentin authored
Like the Pi 4B, the 3GB/4GB choices apply to it as well. Values taken from https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md Signed-off-by:
Andrei Warkentin <andrey.warkentin@gmail.com> Reviewed-by:
Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
-
Luo, Heng authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3014 1. Add SerialPortTerminalLib to MinPlatformPkg/Library. 2. Add SerialPortTerminalLib to BdsDxe driver, to add the serial device to ConIn and ConOut variables 3. Include SerialDxe and TerminalDxe to CoreDxeInclude.dsc and CoreUefiBootInclude.fdf. Reviewed-by:
Eric Dong <eric.dong@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by:
Heng Luo <heng.luo@intel.com>
-
- Nov 30, 2020
-
-
Ard Biesheuvel authored
As it turns out, the DeveloperBox platform never described its Ethernet PHY mode correctly: the 'rgmii' value it exposes to the OS was inherited from the SynQuacer evaluation board, which uses a different PHY, and the Realtek PHY used on DeveloperBox is integrated on the board with straps that configure it to 'rgmii-id' mode. We never noticed because the Realtek PHY driver in Linux ignored the PHY mode to begin with, and simply used the configuration that was active at boot. Unfortunately, that has changed, and recent versions of the Linux kernel (including stable releases) will now honour the firmware provided PHY mode, and therefore configure the PHY incorrectly on these boards, resulting in loss of network connectivity. For ACPI boot, we can fix this by just setting the PHY mode to the empty string - the Linux driver will be updated (and the change backported) to ignore it anyway, as ACPI boot implies rich firmware, and it is reasonable to assume that the PHY will be configured before the OS boots. For DT, let's fix the description instead. This involves moving the 'phy-mode' property out of the shared .dtsi, as the change should only apply to DeveloperBox, not to the SynQuacer evaluation board. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
- Nov 27, 2020
-
-
Vijayenthiran Subramaniam authored
Fix "use of logical '&&' with constant operand" error when built with clang. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Wenyi Xie authored
Add myself to Maintainers.txt as a Hisilicon reviewer. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Wenyi Xie <xiewenyi2@huawei.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Ard Biesheuvel authored
Due to recent changes in core EDK2, the DeveloperBoxMM standalone MM build no longer fits when built in DEBUG or NOOPT mode. So increase the FD size a little bit - we still have some spare room available in the FIP image. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Leif Lindholm authored
Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) to Hisilicon platforms. Cc: Ming Huang <huangming23@huawei.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) to DeveloperBox/DeveloperBoxMm platforms. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) These need SafeIntLib, so move that out of the ifdef restricting it to capsule builds. Cc: Marcin Wojtas <mw@semihalf.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) for u500/u540 platforms. Cc: Abner Chang <abner.chang@hpe.com> Cc: Daniel Schaefer <daniel.schaefer@hpe.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Reviewed-by:
Abner Chang <abner.chang@hpe.com>
-
Leif Lindholm authored
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Update .dsc.inc by adding mappings for: - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (runtime) Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Thomas Abraham <thomas.abraham@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
When building in NOOPT mode, SynQuacer/Drivers/Fip006Dxe/NorFlashFvb.c fails to build with -Werror=unused-but-set-variable due to the Instance variable being set from the This pointer but never actually referenced. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
- Nov 26, 2020
-
-
Leif Lindholm authored
OpenSSL now requires an RngLib. Add the generic MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf to fix build. Cc: Ming Huang <huangming23@huawei.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
Fix two instances of masking a single bit and testing another. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
OpenSSL now requires an RngLib. Since we have EFI_RNG_PROTOCOL, add MdePkg/Library/DxeRngLib/DxeRngLib.inf to fix Overdrive build. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Leif Lindholm authored
The non-status reporting PcdSet functions were deprecated and have now been removed. Update Styx code to assert on error status. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
- Nov 25, 2020
-
-
Samer El-Haj-Mahmoud authored
REF: https://github.com/pftf/RPi4/issues/103 Commit 602a7ea1 changed the RPi4 PMU interrupts reported in GICC to the PPI values recommended by SBSA specification. This caused the PMU overflow interrupts to stop working. The RPi documentation (Figure 7, page 111) state that the PMU interrupts are SPI not PPI: https://www.raspberrypi.org/ documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0.pdf Also, the BSA 1.0 spec (page 24) clarifies hat the PPI values are recommendations, not requirements: https://developer.arm.com/documentation/den0094/latest Fix by reverting to the old SPI values per the RPi spec. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Pete Batard <pete@akeo.ie> Cc: Andrei Warkentin <awarkentin@vmware.com> Signed-off-by:
Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Graeme Gregory authored
Build breakage after b6490426e320 Based on commit 879f483c Add the VariablePolicyLib to the dsc to fix the build. Signed-off-by:
Graeme Gregory <graeme@nuviainc.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Wenyi Xie authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2777 The deprecated code under DISABLE_NEW_DEPRECATED_INTERFACES will be removed, which will result in compilation breakage of the Hisilicon platforms. Prevent that by switching to S-suffixed one. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by:
Wenyi Xie <xiewenyi2@huawei.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Liu, Zhiguang authored
Makes the changes because of the new added library instances: VariablePolicyLib and VariablePolicyHelperLib Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by:
Eric Dong <eric.dong@intel.com>
-
- Nov 20, 2020
-
-
Andrei Warkentin authored
Add VariablePolicyLib and its dependency. Testing: Pi 4 boot. Signed-off-by:
Andrei Warkentin <andrey.warkentin@gmail.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Joey Gouly authored
Fixes the build breakage introduced by b6490426e320: MdeModulePkg: Connect VariablePolicy business logic to VariableServices Signed-off-by:
Joey Gouly <joey.gouly@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
- Nov 19, 2020
-
-
Pierre Gondois authored
Dynamic Tables Framework has been updated to include support for SSDT Serial Port generator. The SSDT Serial port generator uses AmlLib library to parse, iterate and update AML nodes. The addition of these libraries to the Dynamic Tables Framework have increased the size requirement of the Firmware Device (FD) Image. The current FD size is not sufficient due to which the Juno firmware builds are failing. This patch adds one additional block to accommodate the increase in FD size. Signed-off-by:
Pierre Gondois <pierre.gondois@arm.com> Signed-off-by:
Sami Mujawar <sami.mujawar@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Pierre Gondois authored
Due to the following patch available in edk2: 0a4aa20e8d446c2f5dd54f3a0a7ec4d52f0ebdb6 BaseTools: Compile AML bytecode arrays into .obj file a C array containing the AML bytecode is generated from ASL files, and a .obj file containing this array is generated. The Configuration Manager is currently providing an extra flag to the ASL compiler to generate a C array containing AML bytecode. This C array is contained in a .hex file. This .hex file is included where necessary. This mechanism was necessary due to the impossibility to describe dependencies between ASL files and C files. This mechanism is not required anymore. Thus the ASL and CfgMngr directories can me merged in one module. This patch merge the two directories for the FVP. Signed-off-by:
Pierre Gondois <pierre.gondois@arm.com> Signed-off-by:
Sami Mujawar <sami.mujawar@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Pierre Gondois authored
Due to the following patch available in edk2: 0a4aa20e8d446c2f5dd54f3a0a7ec4d52f0ebdb6 BaseTools: Compile AML bytecode arrays into .obj file a C array containing the AML bytecode is generated from ASL files, and a .obj file containing this array is generated. The Configuration Manager is currently providing an extra flag to the ASL compiler to generate a C array containing AML bytecode. This C array is contained in a .hex file. This .hex file is included where necessary. This mechanism was necessary due to the impossibility to describe dependencies between ASL files and C files. This mechanism is not required anymore. Thus the ASL and CfgMngr directories can me merged in one module. This patch merge the two directories for the Juno. Signed-off-by:
Pierre Gondois <pierre.gondois@arm.com> Signed-off-by:
Sami Mujawar <sami.mujawar@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
- Nov 12, 2020
-
-
Vijayenthiran Subramaniam authored
Commit e8fe2026 (“Platform/ARM/SgiPkg: Use chip count constant on rdn1edgex2 platformâ€) used the PcdChipCount constant but did not declare its use in the ACPI table module. Fix this by listing it in the list of PCDs to be looked up. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Reviewed-by:
Thomas Abraham <thomas.abraham@arm.com> Reviewed-by:
Sami Mujawar <sami.mujawar@arm.com>
-
- Nov 11, 2020
-
-
Michael Kubacki authored
Makes the changes necessary for these library instances of FmpDeviceLib to be compatible with new functions added recently to FmpDeviceLib. Two new functions were introduced in FmpDeviceLib to allow a library instance to return a Last Attempt Status code during check image and set image operations: 1. FmpDeviceCheckImageWithStatus ( ) 2. FmpDeviceSetImageWithStatus ( ) FmpDxe (in FmpDevicePkg) will begin calling these new functions instead of the previous functions. Therefore, this change: 1. Adds these functions to Vlv2TbltDevicePkg implementations 2. Moves the main functionality to these new functions 3. Updates the old functions to call the new functions (for backward compatibility) Note: As of this commit, the Vlv2TbltDevicePkg build is broken due to: 1. A required RngLib library instance not defined by the platform 2. Other FMP libraries not being defined by the platform (e.g. FmpDependencyLib, FmpDependencyCheckLib, etc.) Those changes were fixed locally to test the changes in this commit but maintainers should make the proper changes for those issues. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Yi Qian <yi.qian@intel.com> Cc: Zailiang Sun <zailiang.sun@intel.com> Signed-off-by:
Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by:
Michael D Kinney <michael.d.kinney@intel.com> Tested-by:
Michael D Kinney <Michael.d.kinney@intel.com>
-
- Nov 04, 2020
-
-
Michael D Kinney authored
Cc: Zailiang Sun <zailiang.sun@intel.com> Cc: Yi Qian <yi.qian@intel.com> Signed-off-by:
Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by:
Zailiang Sun <zailiang.sun@intel.com>
-
Michael D Kinney authored
https://bugzilla.tianocore.org/show_bug.cgi?id=2983 Cc: Zailiang Sun <zailiang.sun@intel.com> Cc: Yi Qian <yi.qian@intel.com> Cc: Kilian Kegel <kilian_kegel@outlook.com> Signed-off-by:
Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by:
Zailiang Sun <zailiang.sun@intel.com>
-
Michael D Kinney authored
Update all modules to use safe string functions from BaseLib and PcdLib to address build failures. Cc: Zailiang Sun <zailiang.sun@intel.com> Cc: Yi Qian <yi.qian@intel.com> Signed-off-by:
Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by:
Zailiang Sun <zailiang.sun@intel.com>
-
Samer El-Haj-Mahmoud authored
Fix https://github.com/pftf/RPi4/issues/100 by swapping RPi DisplayDxe resolution settings for 640x480 and 800x600, which were incorrectly mapped to the settings shown in the Setup configuration variable. Signed-off-by:
Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com> Reviewed-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Andrei Warkentin <awarkentin@vmware.com>
-
Shashi Mallela authored
SBSA generic watchdog timer structure entry has been added to GTDT table as per SBSAv6.0. This enables acpi detection of wdt in qemu sbsa platform Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Graeme Gregory <graeme@nuviainc.com> Signed-off-by:
Shashi Mallela <shashi.mallela@linaro.org> Reviewed-by:
Graeme Gregory <graeme@nuviainc.com> Acked-by:
Leif Lindholm <leif@nuviainc.com>
-
- Nov 03, 2020
-
-
Michael Kubacki authored
This commit updates the contents of the .gitignore file to include relevant items from the edk2 file for a similar experience across the two repos. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by:
Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-