- Nov 05, 2019
-
-
Michael Kubacki authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 Removes all references to PurleyOpenBoardPkg in Readme.md files in edk2-platforms as the package will be removed in a future change. Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Shifei A Lu <shifei.a.lu@intel.com> Cc: Isaac W Oram <isaac.w.oram@intel.com> Cc: Xiaohu Zhou <bowen.zhou@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Isaac Oram <isaac.w.oram@intel.com>
-
- Nov 01, 2019
-
-
Michael Kubacki authored
Many file descriptions reference "Platform Hook Library" when the file is not related to the PlatformHookLib library class. This change updates those references in WhiskeylakeOpenBoardPkg to a more accurate description. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Michael Kubacki authored
Many file descriptions reference "Platform Hook Library" when the file is not related to the PlatformHookLib library class. This change updates those references in KabylakeOpenBoardPkg to a more accurate description. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Jeremy Soller <jeremy@system76.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Agyeman, Prince authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2250 Changed BoardX58Ich10's build directory to Build/SimicsOpenBoardPkg/BoardX58Ich10 to align it with the other Intel board packages. Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Michael Kubacki <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Agyeman, Prince authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2225 Currently, gcc 5 encounters an error "unused-but-set-variable" in BdsPlatform.c as a result of a Status variable not being used after it's set. This was fixed by printing the Status variable when EfiBootManagerDeleteLoadOptionVariable function encounters an error. Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Kubacki Michael A <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Chasel Chiu authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2314 MinPlatformPkg should contain the library class header (API) and the NULL library class instance. Cc: Michael Kubacki <michael.a.kubacki@intel.com> 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:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
- Oct 29, 2019
-
-
Michael Kubacki authored
Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
- Oct 25, 2019
-
-
Agyeman, Prince authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2307 Updated the RESET_VECTOR rule since ResetVector/Vtf0 is now built from source. Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Michael Kubacki <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Agyeman, Prince authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2307 Updated SimicsX58SktPkg to use the source version of UefiCpuPkg/ResetVector/Vtf0. This will allow the Vtf0 binary to be removed from the edk2 repository Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Michael Kubacki <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Nate DeSimone authored
Cc: Michael Kubacki <michael.a.kubacki@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Philippe Mathieu-Daude <philmd@redhat.com>
-
- Oct 21, 2019
-
-
Pete Batard authored
In preparation for adding Raspberry Pi 4 support, the Pi 3 platform is restructured by factorizing all the drivers and libraries that are going to be commonly used by the two platforms. Because much of the Pi 4 SoC is an extension of the Pi 3 one this means that almost everything, except the ACPI tables, is moved up into a new common RaspberryPi/ subdirectory that will serve both platforms. The .dec is also moved to this directory, under a new RaspberryPi.dec name, and existing references to it are updated. This commit requires the edk2-non-osi in use to contain commit 243e55f622ea in order to build. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Wang, Iwen Evelyn authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1770 1) IOMMU PMR feature should be generic to support different hardware architecture. Platforms may request no overlap between PMR regions and system reserve memory. Create an interface to publish PLMR/PHMR regions. It allows silicon code to adjust PLMR/PHMR region base on the project needs. 2) A new GetVtdPmrAlignmentLib for silicon code to get PMR alignment values. Signed-off-by:
Evelyn Wang <iwen.evelyn.wang@intel.com> Cc: Jenny Huang <jenny.huang@intel.com> Cc: More Shih <more.shih@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com>
-
Wang, Iwen Evelyn authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1770 1) DisableDMAr Function Code Optimization Optimize the flow to follow the VT-d spec requirements. 2) Renamed InitDmar() to InitGlobalVtd() The oringal function name is misleading Signed-off-by:
Evelyn Wang <iwen.evelyn.wang@intel.com> Cc: Jenny Huang <jenny.huang@intel.com> Cc: More Shih <more.shih@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com>
-
- Oct 18, 2019
-
-
Agyeman, Prince authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2210 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2211 Added FitGen tool build and FIT generation to the BIOS build process. What was done: - Build the FIT generation tool - Added default/empty BIOS_INFO_GUID to the build.cfg - Added BIOS_INFO_GUID to GalagoPro3,KabylakeRvp3 and WhiskeylakeURvp's build_config.cfg This allows a board to specify the GUID associated with the BIOS Info PEIM to be used in the board's FIT generation. BIOS_INFO_GUID is passed as an argument to FitGen tool which allows the tool to locate the BIOS Info module to be used in FIT generation. Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Michael Kubacki <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Agyeman, Prince authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2211 Added BIOS Info PEIM to publish Bios Info HOB. This PEIM currently publishes the microcode FV information. Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Kubacki Michael A <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Agyeman, Prince authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2210 Added BIOS Info PEIM to KabylakeRvp3 and GalagoPro3 to publish the BIOS info HOB. This PEIM currently publishes the board's microcode region information. Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Kubacki Michael A <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Agyeman, Prince authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2210 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2211 Added gBiosInfoGuid to be used in publishing the BIOS information HOB which is needed in FIT generation. Also added the BIOS Info header file BiosInfo.h that defines the BIOS info struct and GUID. Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Kubacki Michael A <michael.a.kubacki@intel.com> Signed-off-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by:
Michael Kubacki <michael.a.kubacki@intel.com>
-
Pete Batard authored
TFTP support, which is disabled by default, can be enabled by setting INCLUDE_TFTP_COMMAND to TRUE. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
- Oct 16, 2019
-
-
Michael Kubacki authored
Removes the following functions from FirmwareBootMediaLib.h: * FirmwareBootMediaIsSpi () * FirmwareBootMediaIsUfs () * FirmwareBootMediaIsEmmc () * FirmwareBootMediaIsNvme () It is preferred to have a single method to retrieve the firmware boot media. To reduce overall maintenance effort over time, the FirmwareBootMediaIsXxx () pattern is removed in favor of returning the firmware boot media type via GetFirmwareBootMediaType (). Cc: Sai Chaganty <rangasai.v.chaganty@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Sai Chaganty <rangasai.v.chaganty@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Pete Batard authored
DEBUG_WARNING was invalid. DEBUG_WARN is the proper channel name to use. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
- Oct 15, 2019
-
-
Pete Batard authored
The board revision is the proper channel to use to detect the amount of RAM available as bits [20-22] report the effective RAM size for the board starting with 256 MB (000b) and doubling in size for each value. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Pete Batard authored
String parsing code is added to BIOSInfoUpdateSmbiosType0() so that any numeric "x.y" value being passed in PcdFirmwareVersionString is now used to populate the BIOS major and minor. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Pete Batard authored
This patch cleans up the population SMBIOS entries by removing elements that we don't have data for, as well as properly filling the ones for which we do, through the newly added queries from RpiFirmwareDxe. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Pete Batard authored
Improve RpiFirmwareGetSerial() to derive a serial number from the MAC address, in case the platform returns 0 for the serial number. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Pete Batard authored
This patch introduces the capability to also query the Model Name/ Manufacturer Name/CPU Name/Firmware Revision using the RpiFirmware protocol. This is aims at making the driver more suitable to cater for platforms other than the Raspberry Pi 3 as well as simplifying the population of entries in PlatformSmbiosDxe. Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-by:
Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
Now that the customization of Type1/2/3 SBMIOS tables strings is possible, adjust them for all supported boards. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Patryk Duda authored
This patch implements convenient way of changing strings included in SMBIOS Table1, Table2, Table3. Strings can be altered by defining following PCDs: gMarvellTokenSpaceGuid.PcdProductManufacturer gMarvellTokenSpaceGuid.PcdProductPlatformName gMarvellTokenSpaceGuid.PcdProductSerial gMarvellTokenSpaceGuid.PcdProductVersion Signed-off-by:
Patryk Duda <pdk@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
- Oct 14, 2019
-
-
Marcin Wojtas authored
This patch introduces all necessary components required for building EDK2 firmware for CN9132-DB setup A. Note the ACPI is not yet available for this variant, due to the current ICU (CP1xx interrupt controller) support implementation. In order to build this variant, '-D CN9132' flag should be added. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
This patch introduces all necessary components required for building EDK2 firmware for CN9131-DB setup A. In order to build this variant, '-D CN9131' flag should be added. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
In case the number of CP11x components exceeded the maximum of currently supported, the user is informed with the information. It turned out that the print arguments were incorrect - fix it. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
Hitherto SoC description and MppLib libraries code assumed that there could be only two Xenon SdMmc controller instances in the SoC. Remove those limitations, so that to support CN913x SoCs, which may have up to 4 of such interfaces. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Acked-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
This patch introduces all necessary components required for building EDK2 firmware for CN9130-DB setup A. Because the board is modular and can be extended to support also CN9131 and CN9132 SoC variants, extract common part into .dsc.inc file, which will be included by them. In order to build this variant, '-D CN9130' flag should be added. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
This patch adds ACPI tables and necessary headers, which are common for Cn913x SoCs and the CN9130 development board (variant A). Wiring up of support will be done in the follow-up commits. Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Acked-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
Marcin Wojtas authored
It turned out, that the recently added features broke ARM compilation. Fix all issues: * Update signatures types in structures (UINTN -> UINT64) * Use fixed type for address in ICU * Limit memory for ARM build to 1GB and stop using non-existent PCD Signed-off-by:
Marcin Wojtas <mw@semihalf.com> Reviewed-by:
Leif Lindholm <leif.lindholm@linaro.org>
-
- Oct 11, 2019
-
-
Michael Kubacki authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2249 PCDs declared in the SimicsOpenBoardPkg currently use the GUID gBoardModuleTokenSpaceGuid. The same name is used in other board packages and a package has been added called BoardModulePkg so this name is now misleading. This change assigns a unique GUID value and a name specific to the package to provide differentiation from PCDs in other board packages. Cc: Agyeman Prince <prince.agyeman@intel.com> Cc: Wei David Y <david.y.wei@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Michael Kubacki authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2244 This change refactors OpenBoardPkg.dsc and OpenBoardPkgPcd.dsc to consolidate redundant sections and better group file content to improve maintainability and readability. The same pattern made in this change for BoardX58Ich10 is being applied to all existing board packages in Platform/Intel to improve overall consistency. Cc: Agyeman Prince <prince.agyeman@intel.com> Cc: Wei David Y <david.y.wei@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Michael Kubacki authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2244 The location for PCD configuration is currently inconsistent in SimicsOpenBoardPkg. A large set of FeaturePCD definitions are in OpenBoardPkgConfig.dsc while other PCD definitions (including FeaturePCD) are located in OpenBoardPkgPcd.dsc. This change consolidates PCD configuration for the BoardX58Ich10 board to OpenBoardPkgPcd.dsc and removes OpenBoardPkgConfig.dsc. Cc: Agyeman Prince <prince.agyeman@intel.com> Cc: Wei David Y <david.y.wei@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Michael Kubacki authored
This change moves the following DSC file includes to the top of the OpenBoardPkg.dsc file. This is to improve visibility and align placement of the include with other board DSC files. * OpenBoardPkgConfig.dsc * OpenBoardPkgPcd.dsc * CorePeiLib.dsc * CoreDxeLib.dsc Cc: Agyeman Prince <prince.agyeman@intel.com> Cc: Wei David Y <david.y.wei@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Prince Agyeman <prince.agyeman@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Michael Kubacki authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2248 PCDs declared in the WhiskeylakeOpenBoardPkg currently use the GUID gBoardModuleTokenSpaceGuid. The same name is used in other board packages and a package has been added called BoardModulePkg so this name is now misleading. This change assigns a unique GUID value and a name specific to the package to provide differentiation from PCDs in other board packages. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-
Michael Kubacki authored
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2243 This change refactors OpenBoardPkg.dsc and OpenBoardPkgPcd.dsc to consolidate redundant sections and better group file content to improve maintainability and readability. The same pattern made in this change for WhiskeylakeURvp is being applied to all existing board packages in Platform/Intel to improve overall consistency. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by:
Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Nate DeSimone <nathaniel.l.desimone@intel.com>
-