[edk2] [PATCH 2/2] MdeModulePkg Variable: Correct the returned EFI_STATUS in the UpdateVariableStore().

2018-05-10 Thread cinnamon shia
If Fvb is a NULL, EFI_NOT_FOUND should be returned. If the remaining size is not enough, EFI_OUT_OF_RESOURCES should be returned. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: cinnamon shia Signed-off-by: Ansen Huang ---

[edk2] [PATCH 1/2] MdeModulePkg Variable: Failed to set a variable if the remaining size is equal to the variable data size.

2018-05-10 Thread cinnamon shia
Fix the issue that failed to update or add a UEFI variable if the remaining size is equal to the data size of the variable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: cinnamon shia Signed-off-by: Ansen Huang ---

Re: [edk2] Trying to build OVMF fails

2018-05-10 Thread Gao, Liming
On linux build failure, it may be related to the wrong config files. Please type ". edksetup.sh --reconfig" to update config file, and try again. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Gao, > Liming > Sent: Thursday, May 10, 2018

Re: [edk2] [PATCH] BaseTools: Fix python error with --genfds-multi-thread.

2018-05-10 Thread Zhu, Yonghong
Reviewed-by: Yonghong Zhu Best Regards, Zhu Yonghong -Original Message- From: Lin, Derek (HPS UEFI Dev) [mailto:derek.l...@hpe.com] Sent: Wednesday, May 09, 2018 5:03 PM To: edk2-devel@lists.01.org Cc: Zhu, Yonghong ; Lin, Derek (HPS

Re: [edk2] Question with building UEFI SCT

2018-05-10 Thread Supreeth Venkatesh
+utwg Supreeth -Original Message- From: edk2-devel On Behalf Of Macheeri Ramaswamy, ShubhashreeX Sent: Thursday, May 10, 2018 1:45 PM To: edk2-devel-ow...@lists.01.org; edk2-devel@lists.01.org Subject: [edk2] Question with building UEFI SCT Hi, I built

[edk2] Question with building UEFI SCT

2018-05-10 Thread Macheeri Ramaswamy, ShubhashreeX
Hi, I built my SCT using the steps mentioned in the How to build SCT in UDK2017. I found that InstallX64.efi which is built, is smaller in size than what we get when we download the same from the UEFI website (Mine is just 27k, while the downloaded one is 43k). Also when I run the one I built,

Re: [edk2] OVMF Logo

2018-05-10 Thread Richardson, Brian
You shouldn't have to hack BGRT in OVMF since you change the logo in the EDK II source. Can you provide a screenshot to show what the logo corruption looks like? Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian.richard...@intel.com -- @intel_brian

Re: [edk2] [PATCH v2 02/17] ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.

2018-05-10 Thread Supreeth Venkatesh
On Wed, 2018-05-09 at 20:52 +, Udit Kumar wrote: > > > > > -Original Message- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf > > Of > > Supreeth Venkatesh > > Sent: Saturday, May 5, 2018 2:11 AM > > To: edk2-devel@lists.01.org > > Cc:

Re: [edk2] [PATCH v2 03/17] ArmPkg/Include: Add MM interface SVC return codes.

2018-05-10 Thread Supreeth Venkatesh
On Wed, 2018-05-09 at 20:57 +, Udit Kumar wrote: > > > > > -Original Message- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf > > Of > > Supreeth Venkatesh > > Sent: Saturday, May 5, 2018 2:11 AM > > To: edk2-devel@lists.01.org > > Cc:

Re: [edk2] [PATCH v2 04/17] ArmPkg/ArmMmuLib: Add MMU Library suitable for use in S-EL0.

2018-05-10 Thread Supreeth Venkatesh
On Wed, 2018-05-09 at 21:09 +, Udit Kumar wrote: > Hi Supreeth,  > One question on this patch  > We are asking permission on base-address and changing the permission > of  > memory based upon base and size.  > I haven't looked at other part of code which manage this ,  > But will there be

Re: [edk2] Trying to build OVMF fails

2018-05-10 Thread Rebecca Cran
I've had to update the toolchain definitions in edk2\Conf in the past to point WINSDK to a newer version, since I've been using VS2015 for a few years now. The error about not finding "C:\Program" is from the build tool not being able to find rc.exe, likely because you don't have the Windows

[edk2] [PATCH v2 1/1] BaseTools: loop to retry remove when it fails.

2018-05-10 Thread Jaben Carsey
There is a common race condition when the OS fails to release a file fast enough. this adds a retry loop. v2 - Add a timeout. Cc: Mike Kinney Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution

Re: [edk2] Trying to build OVMF fails

2018-05-10 Thread Gao, Liming
VS build requires to install WINSDK. VS2013 requires WINSDK8. This path c:\Program Files (x86)\Windows Kits\8.0\bin\x64\rc.exe is from the installed WINSDK8. When you installs visual studio, you can select winsdk and install it together VS compiler. > -Original Message- > From:

Re: [edk2] [PATCH v2] MdeModulePkg/Bus: Enable to use device address when programming BARs

2018-05-10 Thread Roman Bacik
Ray, Sadly our SoC requires offset instead of base+offset to be used when programming BARs. Moreover base+offset must be kept for the drivers to use the correct address. This applies to all PCI devices in the system. We would really appreciate if such requirement can be supported. Thanks, Roman

Re: [edk2] Trying to build OVMF fails

2018-05-10 Thread Marvin H?user
OvmfPkg builds fine here for X64/IA32-RELEASE-VS2013x86. "'c:\Program' is not recognized as an internal or external command, operable program or batch file." Indicates something trying to access a path with spaces lacking proper quotation, so it's definitely a setup error on your side. Maybe

Re: [edk2] [PATCH v1 1/1] BaseTools: loop to retry remove when it fails.

2018-05-10 Thread Carsey, Jaben
Absolutely true. I am really trying to start the discussion as the error is occurring more and more for me. I can send a v1 patch with timeout added. Yonghong and Liming, And thoughts? -Jaben > -Original Message- > From: Kinney, Michael D > Sent: Wednesday, May 09, 2018 4:47 PM >

[edk2] Trying to build OVMF fails

2018-05-10 Thread apianti
I am having a problem building OVMF to use as firmware for QEMU to test EFI binaries. I can only build the X64 arch of OVMF in linux. In windows both IA32, IA32/X64, and X64 all fail with some variation of this error: "C:\Program Files (x86)\Microsoft Visual Studio

Re: [edk2] [PATCH] SecurityPkg: fix sha256 signature check

2018-05-10 Thread Laszlo Ersek
On 05/10/18 00:09, James Bottomley wrote: > commit c035e37335ae43229d7e68de74a65f2c01ebc0af > Author: Zhang Lubo > Date: Thu Jan 5 14:58:05 2017 +0800 > > SecurityPkg: enhance secure boot Config Dxe & Time Based AuthVariable. > > Added a check for sha256 being the

Re: [edk2] [PATCH edk2-platforms v1] Platform/ARM: Add PeiReportStatusCodeLib

2018-05-10 Thread Alexei Fedorov
Hi Leif, >Could you fold that into the patch and update the subject line to something like "fix FVP build with -D ARM_FVP_RUN_NORFLASH"? Yes, I'll provide a new patch. Alexei From: Leif Lindholm Sent: 09 May 2018 22:13:36 To: