Re: [edk2] EmulatorPkg Unix Host Segmentation fault.

2019-02-16 Thread Andrew Fish via edk2-devel
> On Feb 15, 2019, at 11:40 PM, Ni, Ray > wrote: > > I also met this issue. > I found three solutions: > 1. Forcing PeiMain CC flag to "-O0" works. > 2. Changing EmulatorPkg/Sec to not produce TemporaryRamSupportPpi also works. > 3. Implement the temporary migration ro

[edk2] [Patch] BaseTools: Fix a ParseDevPathValue function issue.

2019-02-16 Thread Feng, Bob C
In ParseDevPathValue, the binary data need to convert to string for python3 and python2 compatiblity. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng Cc: Liming Gao --- BaseTools/Source/Python/Common/Misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Bas

[edk2] [Patch] BaseTools: Add MaxSizeUserSet to Pcd deepcopy function

2019-02-16 Thread Feng, Bob C
MaxSizeUserSet is missing in Pcd deepcopy function. This patch is to add it back to Pcd deepcopy function. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng Cc: Liming Gao --- BaseTools/Source/Python/Workspace/BuildClassObject.py | 1 + 1 file changed, 1 insertion(

[edk2] [PATCH edk2-platforms 1/2] Silicon/Bcm2836: add random number generator driver

2019-02-16 Thread Ard Biesheuvel
Expose the SoC's RNG peripheral via the EFI_RNG_PROTOCOL. This is used by Linux to seed the KASLR routines. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.c| 203 Silicon/B

[edk2] [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support

2019-02-16 Thread Ard Biesheuvel
Add a RNG driver for the BCM283x and wire it up for the Raspberry Pi 3 platform so that the random number generator is accessible to the OS loader via the EFI_RNG_PROTOCOL. This is used by the KASLR implementation in the arm64 Linux kernel to randomize the placement of various parts of the kernel.

[edk2] [PATCH edk2-platforms 2/2] Platform/RaspberryPi3: add RNG driver

2019-02-16 Thread Ard Biesheuvel
Expose the on-SoC RNG via the EFI_RNG_PROTOCOL, so that OS loaders that need true entropy very early (such as the EFI stub in the arm64 Linux kernel) can invoke it while still at boot time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Raspber

Re: [edk2] [PATCH] Maintainers: add TPM2 reviewers for OvmfPkg

2019-02-16 Thread Jordan Justen
Acked-by: Jordan Justen On 2019-02-11 04:53:43, Laszlo Ersek wrote: > OVMF can be built with a significant amount of TPM2 code now; add > Marc-André and Stefan as Reviewers for TPM2-related patches. > > Keep the list of "R" entries alphabetically sorted. > > Cc: Andrew Fish > Cc: Ard Biesheuve

Re: [edk2] EmulatorPkg Unix Host Segmentation fault.

2019-02-16 Thread Jordan Justen
On 2019-02-16 00:05:27, Ni, Ray wrote: > On 2/16/2019 3:43 PM, Ni, Ray wrote: > > (Sent third times to make sure Andrew and Laszlo are in the TO list.) > > > > I also met this issue. > > I found three solutions: > > 1. Forcing PeiMain CC flag to "-O0" works. > > 2. Changing EmulatorPkg/Sec to not

[edk2] [PATCH] OvmfPkg/build.sh: Enable flash for qemu 3 or later

2019-02-16 Thread Jordan Justen
The check for 1.[1-9][0-9].* was removed since qemu jumped to 2.0 after 1.7. Changed 2.*.* to [2-9].*.* to match major releases 3 - 9. Added [1-9][0-9]*.*.* to match major releses >= 10. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jordan Justen Cc: Laszlo Ersek Cc: A

Re: [edk2] EmulatorPkg Unix Host Segmentation fault.

2019-02-16 Thread Ni, Ray
On 2/16/2019 3:43 PM, Ni, Ray wrote: (Sent third times to make sure Andrew and Laszlo are in the TO list.) I also met this issue. I found three solutions: 1. Forcing PeiMain CC flag to "-O0" works. 2. Changing EmulatorPkg/Sec to not produce TemporaryRamSupportPpi also works. 3. Implement the te