- Apr 21, 2020
-
-
Samer El-Haj-Mahmoud authored
Update Readme.md with the supported platforms in edk2-platforms: * Added: - Arm: Juno, SGI - Hisilicon: D06, HiKey960 - Intel: Comet Lake - Marvel: Armada 80x0, CN913, Solidrun MacchiatoBin - Raspberry Pi: RPi4 * Removed: - Hisilicon: D02 * Updated - Marvell: Armada 70x0 (fixed broken link) Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Pete Batard authored
* device_tree_address/end was incorrect for RPi3. * Link to TF-A Readme.md in non-osi was broken. * RPi4 now uses TF-A binaries built from official source. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Pete Batard authored
Note: This commit depends on an "Update TF-A binaries to v2.3" patch having been applied to edk2-non-osi. With the update of non-osi TF-A binaries to latest, we can switch to using the single bl31.bin instead of the now removed bl31_pl011.bin. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Chasel Chiu authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2680 The patch broke all OpenBoardPkg build so reverted: 944af47a. Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Liming Gao <liming.gao@intel.com>
-
- Apr 20, 2020
-
-
Samer El-Haj-Mahmoud authored
Set the PcdShellLibAutoInitialize for the TFTP dynamic Shell command. This fixes an ASSERT observed in https://github.com/pftf/RPi4/issues/38 Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Samer El-Haj-Mahmoud authored
Set the PcdShellLibAutoInitialize for the TFTP dynamic Shell command. This fixes an ASSERT observed in https://github.com/pftf/RPi3/issues/11 Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
- Apr 17, 2020
-
-
Chandana Kumar authored
Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2674 Reviewed-by:
Sai Chaganty <rangasai.v.chaganty@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Signed-off-by:
Chandana Kumar <chandana.c.kumar@intel.com> Cc: Sai Chaganty <rangasai.v.chaganty@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
-
- Apr 15, 2020
-
-
Heng Luo authored
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2656 1. Add GetPackagesPath.py, it will be used to get package pathes from special directories. A sub directory is a qualified package path when an EDKII Package can be found under it. 2. Add AppendPackagesPath.bat and AppendPackagesPath.sh, these scripts call GetPackagesPath.py to collect all package paths under specified directories and append them to PACKAGES_PATH environment variable. Cc: Liming Gao <liming.gao@intel.com> Cc: Amy Chan <amy.chan@intel.com> Signed-off-by:
Heng Luo <heng.luo@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Bob Feng <bob.c.feng@intel.com> Reviewed-by:
Eric Dong <eric.dong@intel.com>
-
- Apr 14, 2020
-
-
Samer El-Haj-Mahmoud authored
Remove the PI specific GraphicsConsoleDxe driver, since RPi3/RPi4 switched to using the common driver in MdeModulePkg. Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Andrei Warkentin <andrey.warkentin@gmail.com>
-
Samer El-Haj-Mahmoud authored
Switch from the PI specific GraphicsConsoleDxe driver to the common driver in MdeModulePkg. There is no need to carry RPi specific version. Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Andrei Warkentin <andrey.warkentin@gmail.com>
-
Samer El-Haj-Mahmoud authored
Switch from the PI specific GraphicsConsoleDxe driver to the common driver in MdeModulePkg. There is no need to carry RPi specific version. Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Andrei Warkentin <andrey.warkentin@gmail.com>
-
- Apr 13, 2020
-
-
Guomin Jiang authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2587 SmmAccessLib.h and ConfigBlockLib.h is the primary header file in IntelSiliconPkg. Cc: Ray Ni <ray.ni@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Signed-off-by:
Guomin Jiang <guomin.jiang@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
- Apr 09, 2020
-
-
Ard Biesheuvel authored
Currently, SynQuacer's platform DXE driver installs a non-discoverable device protocol onto a new handle to declare the existence of the NetSec network controller. This protocol is consumed by the NetSec DXE driver in its implementation of the UEFI driver model supported/start/stop routines. Only when the driver is started, an instance of the device path protocol is installed onto the handle, annotating the handle as supporting the MAC flavor of the messaging device path. This approach works as long as the non-discoverable driver is always connected at some point during the boot. However, it breaks the intent of the UEFI driver model, since it is not possible to defer connection of the driver to the controller to the point where it is actually being used. For instance, the following device path could be attached to a boot entry to trigger HTTP boot once the entry is chosen: MAC(408d5cb1e6fa,1)/IPv4(0.0.0.0,0,0)/Uri() This only works as expected if some part of this device path resolves to a controller which can be connected recursively. In other words, an instance of the EFI device path protocol needs to already exist, covering at least the first level of the path. Fix this by moving the instantiation of the device path protocol to the platform DXE code that instantiates the handle. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Ard Biesheuvel authored
EDK2 carries an interesting quirk which dates back to the EFI 1.02 days, where each protocol that is installed onto a handle during the execution of a DXE driver's entrypoint is connected immediately (in the UEFI driver model sense) after the entry point returns. This means that, depending on the order that these drivers happen to end up being dispatched, we may enter the BDS phase with the device's driver stack fully connected, even if the device in question is not being used to boot the machine. Given the substantial delays that this might incur, let's work around this 'feature' by deferring the registration of the network and eMMC controllers to an EndOfDxe event handler. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Ard Biesheuvel authored
The recently added support for TPM2 measured boot added a description of the TPM to the device tree, but failed to take the build configuration into account, and so it adds it unconditionally. Fix this, by #define'ing a TPM2_ENABLE CPP macro that can be referenced in the device tree source file. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
- Apr 08, 2020
-
-
Samer El-Haj-Mahmoud authored
Enable HTTP Boot (with and without TLS) on RPi3 Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Pete Batard <pete@akeo.ie>
-
- Apr 06, 2020
-
-
Ard Biesheuvel authored
Enable the various components, library class resolutions and PCD defaults to enable measured boot based on a version 2 TPM. The TPM is exposed as having a memory mapped TIS frame, which is accomplished using the SPI command sequencer that is available on this platform. Note that this requires SCP firmware support. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
Sami Mujawar authored
RunAxf is a shell command used for running an Axf file. The ShellDynCmdRunAxfHandler() loads an ELF file or one processed by the Flashloader. It calls the appropriate loaders to load the file in memory and to obtain the entry point address. The first argument to RunAxfPivot() is the entry point address for the image to execute. The patch https://github.com/tianocore/edk2-platforms/commit/996047695a06167a918b07b22fcd0fbd0def5da6 changes set/way cache maintenance operations to by-VA operation. This patch however introduced an error: 'variable StartElf is not initialized'. Since, StartElf is the first argument to RunAxfPivot(), which is expected to be the entry point address; RunAxfPivot() would end up branching to an invalid address resulting in a crash. Therefore, initialize StartElf to the entry point address before calling RunAxfPivot(). Signed-off-by:
Sami Mujawar <sami.mujawar@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
- Apr 01, 2020
-
-
Luo, Heng authored
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2644 Correct wrong codes and remove unnecessary codes in LogoFeaturePkg. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by:
Heng Luo <heng.luo@intel.com> Reviewed-by:
Eric Dong <eric.dong@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Luo, Heng authored
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2644 Need to add LogoFeaturePkg to TemporaryBuildWorkaround because OpenBoard still includes TemporaryBuildWorkaround for building BIOS. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by:
Heng Luo <heng.luo@intel.com> Reviewed-by:
Eric Dong <eric.dong@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Luo, Heng authored
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2644 Add all pathes of feature domains to package path in build_bios.py. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by:
Heng Luo <heng.luo@intel.com> Reviewed-by:
Eric Dong <eric.dong@intel.com>
-
- Mar 31, 2020
-
-
Thomas Abraham authored
Update the reviewers list for Arm platforms. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@arm.com>
-
Andrei Warkentin authored
I no longer work for Linaro so switch to my ARM email address. Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by:
Leif Lindholm <leif@nuviainc.com>
-
- Mar 30, 2020
-
-
Andrei Warkentin authored
SD Host is not usable on Pi 4 so replace it with an eMMC2 option. Note that is a menu only change at this stage, since we don't have eMMC support finalized. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Pete Batard authored
There's no real reason to have the PPTT constants factorized in AcpiTables.h, and hiding them away with the interrupts is only going to end up being counter-productive for folks trying to understand or maintain the code. Move these sections to Pptt.aslc where they belong. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
- Mar 27, 2020
-
-
Heng Luo authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2584 1. LogoDxe.inf includes a BMP logo in the EFI file, the driver decodes the BMP file and provide the image via EDKII_PLATFORM_LOGO_PROTOCOL. 2. JpegLogoDxe.inf includes a JPEG logo in the EFI file, the driver use EFI_HII_IMAGE_DECODER_PROTOCOL to decode the Jpeg file and provide the image via EDKII_PLATFORM_LOGO_PROTOCOL. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by:
Heng Luo <heng.luo@intel.com> Reviewed-by:
Liming Gao <liming.gao@intel.com>
-
Guomin Jiang authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2589 According to code logic, it just judge the condition rather than the status, it should use the ASSERT rather than ASSERT_EFI_ERROR. Cc: Ray Ni <ray.ni@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Signed-off-by:
Guomin Jiang <guomin.jiang@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com> Reviewed-by:
Bret Barkelew <bret.barkelew@microsoft.com>
-
GuoMinJ authored
https://bugzilla.tianocore.org/show_bug.cgi?id=2518 ECC need '.' character at the end of line. Cc: Ray Ni <ray.ni@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Signed-off-by:
Guomin Jiang <guomin.jiang@intel.com> Reviewed-by:
Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by:
Sai Chaganty <rangasai.v.chaganty@intel.com>
-
- Mar 26, 2020
-
-
Jeremy Linton authored
ACPI 6.2 adds a new table, which describes how processing units are related to each other in tree like fashion. Caches are also sprinkled throughout the tree and describe the properties of the caches in relation to other caches and processing units. Add a static PPTT table with one L2 cache and an L1I/L1D cache for each of the 4 cores. The cache size/assc/policy/etc are from the public docs. The source from the aslc is derived from the one in: Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/Pptt.aslc Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Andrei Warkentin authored
Legacy devices on a Raspberry Pi sit behind GPU/VideoCore and can only address the first GB of RAM. This address range of 0xc0000000-0xffffffff requires a translation, since it is aliased to the first GB of memory 0x00000000-0x3fffffff, which is what this commit accomplishes by introducing a new "GDV0" device along with a "_DMA" ResourceTemplate that performs the address translation. Note that this translation does not apply to the ARM cores, PCIe, GENET, and 40-bit DMA channels, that all have a wider view of the address space. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Andrei Warkentin authored
In order to describe the DMA constraints of legacy devices behind the Raspberry Pi GPU/VideoCore, we move them into their own separate ASL file. This is a straight copy of the existing content from Dsdt.asl, with no alteration, so that the changes applied in the next patch are made more obvious. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Pete Batard authored
Only apply the "BC2836" override to the one table that needs it for Pi 3, instead of setting it globally. Use more appropriate OEM and Vendor IDs for hardware that is produced by the Raspberry Pi Foundation. Ensure that the Pi 3 and Pi 4 have different OEM IDs. Additionally fix a comment typo (MEMORY32SETBASE -> MEMORY32FIXED). Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Pete Batard authored
Instead of going through a model #ifdef, the call to EFI_ACPI_5_1_GICC_STRUCTURE_INIT () is factorized by setting up a new set of PCDs. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Andrei Warkentin authored
Per https://github.com/MicrosoftDocs/windows-uwp/issues/1751 , MsftFunctionConfig () calls can be replaced by PinFunction () calls. Since these had been converted to VendorLong () blobs due to lack of implementation of MsftFunctionConfig (), we replace them back now that PinFunction () is available. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Pete Batard authored
Some of the Pi 4 interrupts were copied from Pi 3 and are incorrect. We fix the ones that can be found by decompiling the official .dtbs. We also add a couple more GPIO interrupts, that are used for both the Pi 3 and the Pi 4, as per the dtbs. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
- Mar 25, 2020
-
-
Pete Batard authored
Improve the CPU frequency settings of the platforms by: - Adding a "Default" option that sets the frequency to the official default for each model/submodel. - Adding a "Low" option, that sets the frequency to a fixed PCD, custom to each platform. - Using fixed PCDs to set the maximum and default values for the custom frequency range, according to the overclocking capabilities of the platform. - Ensuring that the firmware defaults to using the platform's default frequency, instead of a low arbitrary value. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Pete Batard authored
This fixes "WARNING: default value re-defined with different value" being produced when trying to set default values for the Scaled VModes in ConfigDxeHii.vfr. This warning is generated regardless of what the default value is being set to and since we don't actually care about setting a default value, as long as the PCD is properly set, we choose to simply remove the default. We also ensure that all the PCDs are set to the expected default value. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Pete Batard authored
Silence 2 warnings from pep.asl: * "Warning 3133 - Unknown reserved name (_GPI/_GCI/_GDI)" * "Warning 3150 - Empty Resource Template", which is caused by section "Name (_CRS, ResourceTemplate () {})" Remove "Offset(0)" in Xhci.asl, which produces the warning: "Unnecessary/redundant use of Offset operator". Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
Samer El-Haj-Mahmoud authored
Enable HTTP Boot (with and without TLS) on RPi4 Signed-off-by:
Samer El-Haj-Mahmoud <samer@elhajmahmoud.com> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
-
- Mar 18, 2020
-
-
TinaX Y Chen authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2318 Change reference path of ConfigBlockLib to IntelSiliconPkg for Coffeelake. Signed-off-by:
TinaX Y Chen <tinax.y.chen@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Cc: Ethan Tsao <ethan.tsao@intel.com>
-