Re: [edk2-devel] [PATCH] BaseTools: Skip .mcb file module in Binary Cache

2019-05-08 Thread Steven Shi
> > Can we have better way to describe the binary cache? > Yes. Steven provides some wiki pages for it. https://raw.githubusercontent.com/shijunjing/WikiDoc/master/BuildCache/MultipleBuildCache.jpg I agree it sounds a bit confusing. Binary Cache is the legacy name for the current model level

Re: [edk2-devel] [PATCH] BaseTools: Skip .mcb file module in Binary Cache

2019-05-08 Thread Liming Gao
Jiewen: > -Original Message- > From: Yao, Jiewen > Sent: Thursday, May 9, 2019 1:13 PM > To: devel@edk2.groups.io; Shi, Steven > Cc: Feng, Bob C ; Gao, Liming ; > Rodriguez, Christian ; > Johnson, Michael > Subject: RE: [edk2-devel] [PATCH] BaseTools: Skip .mcb file module in Binary >

[edk2-devel] [PATCH v2 4/6] CryptoPkg/OpensslLib: Prepare for upgrading OpenSSL

2019-05-08 Thread Xiaoyu lu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 Disable warning for building OpenSSL_1_1_1b add /wd4132 /wd4700 /wd4310 for Visual Studio in OpensslLib[Crypto].inf add -Wno-error=unused-but-set-variable for GCC in OpensslLib[Crypto].inf Although this option is set in some build

[edk2-devel] [PATCH v2 6/6] CryptoPkg/BaseCryptLib: Make HMAC_CTX size backward compatible

2019-05-08 Thread Xiaoyu lu
From: Xiaoyu Lu Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 OpenSSL internally redefines the size of HMAC_CTX at crypto/hmac/hmac_lcl.h(OpenSSL commit e0810e35). We should not use it directly and should remove relevant functions(Hmac*GetContextSize). But for compatiblility,

[edk2-devel] [PATCH v2 1/6] CryptoPkg/OpensslLib: Modify process_files.pl for upgrading OpenSSL

2019-05-08 Thread Xiaoyu lu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 OpenSSL configure mechanism use --with-rand-seed=xxx option to configure random number generation. OpenSSL_1_1_0j(74f2d9c1ec5f5510e1d3da5a9f03c28df0977762) we use default --with-rand-seed=os option to for building it. But

[edk2-devel] [PATCH v2 3/6] CryptoPkg/IntrinsicLib: Fix possible unresolved external symbol issue

2019-05-08 Thread Xiaoyu lu
From: Xiaoyu Lu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 This is for the upcoming upgrade to OpenSSL_1_1_1b Compiler optimization(Visual Studio) may automatically use _ftol2 instead of some type conversion. For example: OpensslLib.lib(drbg_lib.obj) : error LNK2001:

[edk2-devel] [PATCH v2 5/6] CryptoPkg: Upgrade OpenSSL to 1.1.1b

2019-05-08 Thread Xiaoyu lu
From: Xiaoyu Lu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 Update OpenSSL submodule to OpenSSL_1_1_1b OpenSSL_1_1_1b(50eaac9f3337667259de725451f201e784599687) Run process_files.pl script to regenerate OpensslLib[Crypto].inf and opensslconf.h Remove NO_SYSLOG from

[edk2-devel] [PATCH v2 2/6] CryptoPkg/OpensslLib: Exclude unnecessary files in process_files.pl

2019-05-08 Thread Xiaoyu lu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 When running process_files.py to configure OpenSSL, we can exclude some unnecessary files. This can reduce porting time, compiling time and library size. OpenSSL_1_1_1(1708e3e85b4a8) add a STORE module (crypto/store/*). But UEFI don't use

Re: [edk2-devel] [PATCH] BaseTools: Skip .mcb file module in Binary Cache

2019-05-08 Thread Yao, Jiewen
Hi Can we have better way to describe the binary cache? I have 2 concern: 1) we have other type of binary besides MCB. How can we indicate that without update base tool source code ? 2) .inc might be text file, instead of binary. How can we support that? Thank you Yao Jiewen > -Original

Re: [edk2-devel] [PATCH V2] IntelSiliconPkg/IntelVTdDxe: Do global invalidation before boot

2019-05-08 Thread Chiu, Chasel
Reviewed-by: Chasel Chiu > -Original Message- > From: Gao, Zhichao > Sent: Thursday, May 9, 2019 11:34 AM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Chiu, Chasel ; > Ni, Ray ; Chaganty, Rangasai V > > Subject: [PATCH V2] IntelSiliconPkg/IntelVTdDxe: Do global invalidation before >

[edk2-devel] [Patch 00/16] Vlv2TbltDevicePkg: Sync with edk2/master

2019-05-08 Thread Michael D Kinney
Fix a number of small issues for MinnowMax to build and boot with latest edk2/master and to prepare MinnowMax for move to edk2-platforms/master. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney Michael D Kinney (16): Vlv2TbltDevicePkg/PlatformFlashAccessLib: Add error return

[edk2-devel] [Patch 11/16] Vlv2TbltDevicePkg/Stitch/Gcc: Update default setting binary

2019-05-08 Thread Michael D Kinney
Update the binary file that contains the default configuration settings. This file is generated using FCE.exe during a Windows build and this binary file needs to be updated when there are changes to the configuration setting layout or configuration setting default values. Cc: Zailiang Sun Cc:

[edk2-devel] [Patch 05/16] Vlv2TbltDevicePkg/SmBiosMiscDxe: Fix GCC build issue

2019-05-08 Thread Michael D Kinney
From: Michael D Kinney Fix loop comparison for end of languages. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../MiscNumberOfInstallableLanguagesFunction.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[edk2-devel] [Patch 02/16] Vlv2TbltDevicePkg/AcpiPlatform: Change Size type to UINTN

2019-05-08 Thread Michael D Kinney
Change the type of the local variable Size in the function AcpiPlatformEntryPoint() from UINT32 to UINTN. This local variable is passed into the function ReadSection() that returns a value of type UINTN. Using type UINT32 can potentially corrupt an adjacent local on the stack. Cc: Zailiang Sun

[edk2-devel] [Patch 10/16] Vlv2TbltDevicePkg: Always enable QuietBoot to produce BGRT

2019-05-08 Thread Michael D Kinney
Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../Library/PlatformBdsLib/BdsPlatform.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c

[edk2-devel] [Patch 16/16] Vlv2TbltDevicePkg: Update Readme.md

2019-05-08 Thread Michael D Kinney
Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- Vlv2TbltDevicePkg/Readme.md | 232 +--- 1 file changed, 190 insertions(+), 42 deletions(-) diff --git a/Vlv2TbltDevicePkg/Readme.md b/Vlv2TbltDevicePkg/Readme.md index 139aa4ea61..647d0ba361

[edk2-devel] [Patch 09/16] Vlv2TbltDevicePkg: Add PchInitSmm module

2019-05-08 Thread Michael D Kinney
Add the PcdInitSmm module that should not have been removed. This module performs actions at Exit Boot Services to place devices in an OS compatible state. Wothout this module, so versions of Linux are not bootable. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney ---

[edk2-devel] [Patch 13/16] Vlv2TbltDevicePkg/Capsule: Do not clear UEFI varstore

2019-05-08 Thread Michael D Kinney
Preserve the UEFI Variable store when a capsule update is performed. UEFI Variables are used to store firmware version information for the sample devices (Red, Green, Blue). Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney ---

[edk2-devel] [Patch 12/16] Vlv2TbltDevicePkg: Remove directory assumptions from build scripts

2019-05-08 Thread Michael D Kinney
In preparation for moving Vlv2TbltDevicePkg to the edk2-platforms repository, the batch scripts used to build this platform are updated to not make any assumptions about the directory location of Vlv2TbltDevicePkg. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney ---

[edk2-devel] [Patch 01/16] Vlv2TbltDevicePkg/PlatformFlashAccessLib: Add error return

2019-05-08 Thread Michael D Kinney
If the FLASH device cannot be erased or written, then the flag FlashError is set to TRUE. Add the missing logic to return an error if FlashError is TRUE. The missing logic was found from a GCC build that noticed a local variable was declared and assigned, but was not being used. Cc: Zailiang

[edk2-devel] [Patch 15/16] Vlv2TbltDevicePkg/Capsule: Add Linux/LVFS generation scripts

2019-05-08 Thread Michael D Kinney
Add batch scripts to generate the LVFS compatible capsule update driver. Add DSC/FDF files to build capsules and invoke post build shell scripts for Linux build environments. Make versions consistent. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney ---

[edk2-devel] [Patch 14/16] Vlv2TbltDevicePkg/Capsule: Remove path to openssl tools

2019-05-08 Thread Michael D Kinney
Remove path to openssl tools from batch scripts. Instead, the path to the openssl tools must be included in PATH for a build to complete. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMax.bat | 2 --

Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"

2019-05-08 Thread Liming Gao
Fan: The below is my step to build OvmfIa32X64. I don't try OvmfPkg/build.sh 1. . edksetup.sh 2. cd BaseTools, type make 3. cd .. 4. build -p OvmfPkg/OvmfPkgIa32X64.dsc -a IA32 -a X64 -t GCC5 Thanks Liming > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io]

Re: [edk2-devel] [PATCH v1 1/1] ShellPkg: Display VENDOR_ID in ASCII when parsing PPTT

2019-05-08 Thread Gao, Zhichao
The patch looks good for me. And make the Vender Id to be ASCII format make more sense than hex data format depend on the info in https://uefi.org/ACPI_ID_List?search. I'd like to test it on some real open platform. But seems most platforms do not install PPTT. By the way I can't 'am' your

[edk2-devel] [PATCH V2] IntelSiliconPkg/IntelVTdDxe: Do global invalidation before boot

2019-05-08 Thread Gao, Zhichao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1547 V2: Abandon V1. Do global invalidation of context-cache and IOTLB at ExitBootServices. V1: Only doing IOTLB invalidation would cause a BSOD 'DRIVER_VERIFIER_DMA_VIOLATION' while changing the second level page entry's attributes. So always

[edk2-devel] [PATCH 2/2] PurleyOpenBoardPkg/BoardMtOlympus: Extend build to support Binary Cache

2019-05-08 Thread Steven Shi
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1785 Extend the options in the Purley build batch file to support Binary Cache produce and consume switch. --- .../PurleyOpenBoardPkg/BoardMtOlympus/bld.bat | 18 -- .../BoardMtOlympus/prebuild.bat| 4 ++-- 2

Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"

2019-05-08 Thread Gary Lin
On Thu, May 09, 2019 at 02:31:13AM +, Chen, Farrah wrote: > Hi, > > We build the latest OVMF and found that it doesn't start to build using > "OvmfPkg/build.sh -a X64 -n 40" actually. > > Step: > git clone https://github.com/tianocore/edk2.git > cd edk2 > git submodule init > git submodule

Re: [edk2-devel] [Patch v2 1/3] SecurityPkg/SecurityPkg.dec: Change default value.

2019-05-08 Thread Wu, Hao A
> -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Dong, > Eric > Sent: Wednesday, May 08, 2019 11:02 AM > To: devel@edk2.groups.io > Cc: Wu, Hao A > Subject: [edk2-devel] [Patch v2 1/3] SecurityPkg/SecurityPkg.dec: Change > default value. Just

Re: [edk2-devel] [Patch v2 2/3] SecurityPkg/OpalPassword: Change send BlockSID policy.

2019-05-08 Thread Wu, Hao A
> -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Dong, > Eric > Sent: Wednesday, May 08, 2019 11:02 AM > To: devel@edk2.groups.io > Cc: Wu, Hao A > Subject: [edk2-devel] [Patch v2 2/3] SecurityPkg/OpalPassword: Change send > BlockSID policy. > >

[edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"

2019-05-08 Thread Chen, Farrah
Hi, We build the latest OVMF and found that it doesn't start to build using "OvmfPkg/build.sh -a X64 -n 40" actually. Step: git clone https://github.com/tianocore/edk2.git cd edk2 git submodule init git submodule update -recursive OvmfPkg/build.sh -a X64 -n 40 Then it didn't start to build.

Re: [edk2-devel] [Patch V2] BaseTools: Correct the value assignment for StructurePcd

2019-05-08 Thread Liming Gao
Please remove Contributed-under: TianoCore Contribution Agreement 1.1. Please list which test has been done for this change. > -Original Message- > From: Fan, ZhijuX > Sent: Monday, May 6, 2019 10:38 AM > To: devel@edk2.groups.io > Cc: Gao, Liming > Subject: [Patch V2] BaseTools:

Re: [edk2-devel] [Patch] BaseTools: Fix the issue that build report missing Module Size

2019-05-08 Thread Liming Gao
Reviewed-by: Liming Gao > -Original Message- > From: Feng, Bob C > Sent: Wednesday, May 8, 2019 5:47 PM > To: devel@edk2.groups.io > Cc: Feng, Bob C ; Gao, Liming > Subject: [Patch] BaseTools: Fix the issue that build report missing Module > Size > > BZ:

Re: [edk2-devel] [PATCH 0/2] Retire CorebootModulePkg and CorebootPayloadPkg

2019-05-08 Thread Ma, Maurice
This patchset looks good me. Reviewed-by: Maurice Ma Regards, Maurice > -Original Message- > From: Dong, Guo > Sent: Tuesday, May 7, 2019 15:27 > To: devel@edk2.groups.io > Cc: Ma, Maurice ; Agyeman, Prince > ; You, Benjamin ; > Dong, Guo > Subject: [edk2-devel] [PATCH 0/2] Retire

Re: [edk2-devel] [edk2-platforms: PATCH v2 0/4] Armada 7k8k network improvements

2019-05-08 Thread Marcin Wojtas
śr., 8 maj 2019 o 19:52 Leif Lindholm napisał(a): > > On Mon, May 06, 2019 at 04:37:03AM +0200, Marcin Wojtas wrote: > > Hi, > > > > The second version of the patchset addresses all comments from > > v1 review. Details can be found in a changelog below. > > > > The purpose of this patchset is to

[edk2-devel] [PATCH] Marvell/Drivers: MvFvbDxe: Fix compilation error

2019-05-08 Thread Marcin Wojtas
Commit cee103d37d6b ("Marvell/Drivers: MvFvbDxe: Introduce non-mmio mode) introduced a compilation error, visible with certain toolchains. Fix that. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.c | 4 +---

Re: [edk2-devel][edk2-test][PATCH V2] EFI/Protocol: Fix to use VENDOR_DEVICE_PATH to create the Debug port device node for DevicePath related protocol tests.

2019-05-08 Thread Supreeth Venkatesh
On Wed, 2019-05-08 at 10:02 +0800, Nick Wang wrote: > Follow edk2 tree hash: 9343d0a1cd09544686b14dba5b428d7bc811f6b9 to > use VENDOR_DEVICE_PATH to create the Debug port device node. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Nick Wang Reviewed-by: Supreeth

Re: [edk2-devel] [PATCH V2] BaseTools:improve code to support C files with .C suffixes

2019-05-08 Thread Laszlo Ersek
On 05/08/19 14:08, Leif Lindholm wrote: > Hi Fan Zhiju, > > I understand your reasoning, but that strengthens my view that we > should leave this change out. > > Actually, could we consider *dropping* support for .C files > altogether, since we are striving to support multiple toolchains, and >

Re: [edk2-devel] [edk2-test] issue in writing SCT test case

2019-05-08 Thread Supreeth Venkatesh
+ devel@edk2.groups.io Adding edk2-test to Subject line. Did you add this test case details to SctPkg/Config/Data/Category.ini? Also, John had created a script to generate a

Re: [edk2-devel] [edk2-platforms] [patch v2 0/7] Update UefiDecompressLib instance

2019-05-08 Thread Leif Lindholm
On Wed, May 08, 2019 at 10:00:24AM +0800, Dandan Bi wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1722 > > BaseUefiDecompressLib in MdePkg is the > base UEFI decompress Library. > BaseUefiTianoCustomDecompressLib in MdeModulePkg > implements the base UEFI decompress functionality

Re: [edk2-devel] [edk2-platforms: PATCH v2 0/4] Armada 7k8k network improvements

2019-05-08 Thread Leif Lindholm
On Mon, May 06, 2019 at 04:37:03AM +0200, Marcin Wojtas wrote: > Hi, > > The second version of the patchset addresses all comments from > v1 review. Details can be found in a changelog below. > > The purpose of this patchset is to fix possible hangs when attempting > to PXE boot on unconnected

Re: [edk2-devel] [patch] ShellBinPkg: Remove ShellBinPkg

2019-05-08 Thread Michael D Kinney
Killian, The immediate replacement is to use the link to the edk2-stable tag from March that includes the UEFI Shell binary. https://github.com/tianocore/edk2/tree/edk2-stable201903/ShellBinPkg/UefiShell/X64 There have been discussions that future edk2-stable tags to provide pre-built

Re: [edk2-devel] tool chain tag setting for vs2017

2019-05-08 Thread 徐林
> >On Wed, May 08, 2019 at 03:44:45PM +0100, Pete Batard wrote: >> On 2019.05.08 13:16, xulin wrote: >> > Got it. BTW, do you have plan to support for higher version GCC? Such as >> > GCC8? >> >> Well, I am not speaking for the project as a whole, but past experience >> seems to

Re: [edk2-devel] tool chain tag setting for vs2017

2019-05-08 Thread Leif Lindholm
On Wed, May 08, 2019 at 03:44:45PM +0100, Pete Batard wrote: > On 2019.05.08 13:16, xulin wrote: > > Got it. BTW, do you have plan to support for higher version GCC? Such as > > GCC8? > > Well, I am not speaking for the project as a whole, but past experience > seems to indicate that support for

Re: [edk2-devel] [PATCH V2] BaseTools:improve code to support C files with .C suffixes

2019-05-08 Thread Leif Lindholm
On Wed, May 08, 2019 at 06:59:40AM -0700, Andrew Fish wrote: > > > > On May 8, 2019, at 5:08 AM, Leif Lindholm wrote: > > > > Hi Fan Zhiju, > > > > I understand your reasoning, but that strengthens my view that we > > should leave this change out. > > > > Actually, could we consider

[edk2-devel] [PATCH v1 1/1] DynamicTablesPkg: Add frame number validation to GTDT generator

2019-05-08 Thread Krzysztof Koch
Added code to check if the Generic Timer Block Structure's frame number provided by the platform repository is within the allowed range (0-7). References: - ACPI 6.2 Errata A, Table 5-122, September 2017 Signed-off-by: Krzysztof Koch --- The changes can be seen at:

Re: [edk2-devel] [PATCH V2] BaseTools:improve code to support C files with .C suffixes

2019-05-08 Thread Andrew Fish via Groups.Io
> On May 8, 2019, at 5:08 AM, Leif Lindholm wrote: > > Hi Fan Zhiju, > > I understand your reasoning, but that strengthens my view that we > should leave this change out. > > Actually, could we consider *dropping* support for .C files > altogether, since we are striving to support multiple

[edk2-devel] [PATCH v1 1/1] ShellPkg: acpiview: Add GT Frame Number validation to GTDT parser

2019-05-08 Thread Krzysztof Koch
The ACPI 6.2 specification mandates that the Generic Timer (GT) Block Timer Structures must have a frame number in the range 0-7. Update the GTDT parser to warn if this condition is violated. Signed-off-by: Krzysztof Koch --- The changes can be seen at:

Re: [edk2-devel] [PATCH V2] BaseTools:improve code to support C files with .C suffixes

2019-05-08 Thread Leif Lindholm
Hi Fan Zhiju, I understand your reasoning, but that strengthens my view that we should leave this change out. Actually, could we consider *dropping* support for .C files altogether, since we are striving to support multiple toolchains, and the two major families of toolchains we use consider .C

Re: [edk2-devel] [PATCH] BaseTools:The code used to test python module is moved to edksetup

2019-05-08 Thread Leif Lindholm
Hi guys, This patch (now committed) break our ci (which runs with 'set -e'). This seems to be caused by TestUtilModule() returning error (1 - non-zero) when it actually finds the module, and success (0) when it does not. While debugging, I found another side effect that I have not had time to

[edk2-devel] [PATCH 1/1] EmbeddedPkg: Add SD command support for DwEmmc

2019-05-08 Thread Loh, Tien Hock
From: "TIen Hock, Loh" Added ACMD6 for SD support. For SD, after CMD55 is sent, the next command should be an application command, which should not expect data Signed-off-by: "Tien Hock, Loh" Cc: Leif Lindholm Cc: Ard Biesheuvel -- v2: - Move IsACmd as a local static variable in function -

Re: [edk2-devel] [PATCH V2] BaseTools:improve code to support C files with .C suffixes

2019-05-08 Thread Fan, ZhijuX
Hi Leif, This patch is going to fix the bug in commit 05217d210e. this patch and commit 05217d210e is just for MSVC. It doesn't have any effect on GCC. this patch does not imply to compile .C as C instead of C++. We just found out that they build break because the.C file was in the source file,

Re: [edk2-devel] tool chain tag setting for vs2017

2019-05-08 Thread Pete Batard
Hi Flynn, On 2019.05.08 09:00, " wrote: Hey guys, I may found a problem here.. I'm trying to build tianocore with visual studio 2017, the tianocore commit id is df7c81b5b219c9aee776baa466dd64c9d318dd80(Tue Apr 30 10:16:01 2019), after seting up the build environment and change

Re: [edk2-devel] [patch] ShellBinPkg: Remove ShellBinPkg

2019-05-08 Thread Minnow Ware
Hi all, does that mean, that SHELL.EFI from a trusted source is currently unavailable for the industry? There are a couple of web sites that refer to “https://github.com/tianocore/edk2/raw/master/ShellBinPkg/UefiShell/X64”

[edk2-devel] tool chain tag setting for vs2017

2019-05-08 Thread 徐林
Hey guys, I may found a problem here.. I'm trying to build tianocore with visual studio 2017, the tianocore commit id is df7c81b5b219c9aee776baa466dd64c9d318dd80(Tue Apr 30 10:16:01 2019), after seting up the build environment and change TOOL_CHAIN_TAG to VS2017x86 according from

Re: [edk2-devel] RFC for Edk2-Library

2019-05-08 Thread Laszlo Ersek
On 05/07/19 23:35, Sean via Groups.Io wrote: > RFC Edk2-Library creation > > Create a new tianocore owned repository to host a python library > package in support of UEFI development. This package will allow easy > sharing of python library code to facilitate reuse. Inclusion of this > package

[edk2-devel] [Patch] BaseTools: Fix the issue that build report missing Module Size

2019-05-08 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1786 commit b1e27d changed GENFW output folder from DEBUG to OUTPUT, but that commit missed updating the buildreport.py for FwReportFileName. This patch is going to fix this issue. Signed-off-by: Bob Feng Cc: Liming Gao ---

Re: [edk2-devel] [PATCH 4/4] OvmfPkg/PlatformPei: fix MTRR for low-RAM sizes that have many bits clear

2019-05-08 Thread Laszlo Ersek
Hi Phil, On 05/08/19 09:33, Philippe Mathieu-Daudé wrote: > On 5/4/19 2:07 AM, Laszlo Ersek wrote: >> Assume that we boot OVMF in a QEMU guest with 1025 MB of RAM. The >> following assertion will fire: >> >>> ASSERT_EFI_ERROR (Status = Out of Resources) >>> ASSERT

Re: [edk2-devel] [PATCH V2] BaseTools:improve code to support C files with .C suffixes

2019-05-08 Thread Leif Lindholm
On Tue, May 07, 2019 at 07:01:26PM -0700, Andrew Fish wrote: > > > > On May 7, 2019, at 7:40 AM, Leif Lindholm wrote: > > > > Hi Fan Zhiju, > > > > But where does the string come from that contains a .C suffix? > > Is the tool internally converting things to uppercase, or is some > > source

Re: [edk2-devel] [PATCH 3/3] ArmPlatformPkg:Delete FrameworkDatabase from ArmPlatformPkg

2019-05-08 Thread Leif Lindholm
Hi Thomas, On Wed, May 08, 2019 at 06:11:18AM +, Thomas Abraham wrote: > > We do not use this file and am ok if this is removed. However, I will let > > Thomas confirm this. > > This makefile is not used for ARM platforms (FVP, Juno, SGI, RD) and so > this makefile can be removed.

Re: [edk2-devel] [PATCH V2 1/6] MdeModulePkg/ResetSystemLib.h: Add useful reset data definition

2019-05-08 Thread Laszlo Ersek
On 05/08/19 06:49, Zhichao Gao wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1772 > > Add a useful definition of reset data which start with a NULL > string and followed by a EFI_GUID. > > Cc: Jian J Wang > Cc: Hao Wu > Cc: Ray Ni > Cc: Star Zeng > Cc: Liming Gao > Cc: Sean

Re: [edk2-devel] [patch 04/11] MdeModulePkg/Core: Remove PcdFrameworkCompatibilitySupport usage

2019-05-08 Thread Liming Gao
Dandan: I am OK to submit the separate BZ to remove the header definition of EFI_PE32_IMAGE_PROTOCOL. For this patch, the change is good. Reviewed-by: Liming Gao Thanks Liming >-Original Message- >From: Bi, Dandan >Sent: Tuesday, May 07, 2019 3:08 PM >To: Wu, Hao A ;

Re: [edk2-devel] [PATCH v1 1/1 -resend] MdePkg: Add ACPI 6.3 header file

2019-05-08 Thread Sami Mujawar
Reviewed-by: Sami Mujawar -Original Message- From: Gao, Liming Sent: 07 May 2019 04:08 PM To: devel@edk2.groups.io; Krzysztof Koch Cc: Sami Mujawar ; nd Subject: RE: [edk2-devel] [PATCH v1 1/1 -resend] MdePkg: Add ACPI 6.3 header file The change is good. Reviewed-by: Liming Gao

Re: [edk2-devel] [PATCH 4/4] OvmfPkg/PlatformPei: fix MTRR for low-RAM sizes that have many bits clear

2019-05-08 Thread Philippe Mathieu-Daudé
On 5/4/19 2:07 AM, Laszlo Ersek wrote: > Assume that we boot OVMF in a QEMU guest with 1025 MB of RAM. The > following assertion will fire: > >> ASSERT_EFI_ERROR (Status = Out of Resources) >> ASSERT OvmfPkg/PlatformPei/MemDetect.c(696): !EFI_ERROR (Status) > > That's because the range [1025 MB,

Re: [edk2-devel] [patch] ShellBinPkg: Remove ShellBinPkg

2019-05-08 Thread Liming Gao
Binary Shell can still be got from https://github.com/tianocore/edk2/tree/edk2-stable201903/ShellBinPkg/UefiShell/X64 For next stable tag, Binary Shell will be uploaded into https://github.com/tianocore/edk2/releases tag. Thanks Liming From: Minnow Ware [mailto:minnoww...@outlook.com] Sent:

Re: [edk2-devel] [PATCH v3] MdeModulePkg/DumpDynPcd: Add application to dump dynamic PCD settings

2019-05-08 Thread Wu, Hao A
Patch has been pushed via commit: a642e2b42e Best Regards, Hao Wu > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Wu, > Hao A > Sent: Tuesday, May 07, 2019 8:50 PM > To: devel@edk2.groups.io; Zhang, Shenglei > Cc: Wang, Jian J; Ni, Ray; Zeng,

Re: [edk2-devel] [PATCH 3/3] ArmPlatformPkg:Delete FrameworkDatabase from ArmPlatformPkg

2019-05-08 Thread Thomas Abraham
Hi Leif, Sami, On 5/7/19 3:18 PM, Sami Mujawar wrote: > Hi Leif, > > We do not use this file and am ok if this is removed. However, I will let > Thomas confirm this. This makefile is not used for ARM platforms (FVP, Juno, SGI, RD) and so this makefile can be removed. Thanks, Thomas. > >