[edk2] PrePi.c:DecompressFirstFv() Use Conditions

2014-07-21 Thread Varad Gautam
Hi, I'm working on the BeagleBoneBlack port for UEFI. I am using the PrePi as the entry point, and need some help with the call to DecompressFirstFv(). I figure that FwVol.c:FfsAnyFvFindFirstFile() loops through each FV it gets from the FV HOB and searches for `EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAG

Re: [edk2] [RFC 0/2] Introduce Mp Service protocol to UefiCpuPkg

2014-07-21 Thread chen.fan.f...@cn.fujitsu.com
On Tue, 2014-07-22 at 01:32 +, Fan, Jeff wrote: > Fan, > > If you want to promote this feature into EDKII UefiCpuPkg, please re-create > the patch based on the current revision of EDK2 like Scott said. Then we > could give further comments based on the new patch. Thanks your contribution!

Re: [edk2] [RFC 0/2] Introduce Mp Service protocol to UefiCpuPkg

2014-07-21 Thread Fan, Jeff
Fan, If you want to promote this feature into EDKII UefiCpuPkg, please re-create the patch based on the current revision of EDK2 like Scott said. Then we could give further comments based on the new patch. Thanks your contribution! Jeff -Original Message- From: Scott Duplichan [mailto:

Re: [edk2] "orderedlist" grammar inconsistency

2014-07-21 Thread Dong, Eric
Tim, Thanks for you to report this issue, I will follow up to fix it. Thanks, Eric From: Tim Lewis [mailto:tim.le...@insyde.com] Sent: Tuesday, July 22, 2014 1:24 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] "orderedlist" grammar inconsistency The "flags" "=" portion of the VFR gramma

Re: [edk2] [PATCH 2/3] OvmfPkg/build.sh: Add support for GCC49 toolchain

2014-07-21 Thread Laszlo Ersek
On 07/21/14 23:48, Jordan Justen wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Justen > --- > OvmfPkg/build.sh | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh > index 5bfee72..c3cc72e 1007

Re: [edk2] GCC 4.9 build issue - Re: Error building OvmfPkg

2014-07-21 Thread Andrew Fish
On Jul 21, 2014, at 2:55 PM, Jordan Justen wrote: > On Mon, Jul 21, 2014 at 2:44 PM, Andrew Fish wrote: >> On Jul 21, 2014, at 2:42 PM, Jordan Justen wrote: >>> On Sun, Jul 20, 2014 at 9:28 AM, Andrew Fish wrote: On Jul 19, 2014, at 9:42 PM, Jordan Justen wrote: > Anyway, I figured

Re: [edk2] GCC 4.9 build issue - Re: Error building OvmfPkg

2014-07-21 Thread Jordan Justen
On Mon, Jul 21, 2014 at 2:44 PM, Andrew Fish wrote: > On Jul 21, 2014, at 2:42 PM, Jordan Justen wrote: >> On Sun, Jul 20, 2014 at 9:28 AM, Andrew Fish wrote: >>> On Jul 19, 2014, at 9:42 PM, Jordan Justen wrote: Anyway, I figured out what the issue is, but I don't have a solution yet. >>>

[edk2] [PATCH 2/3] OvmfPkg/build.sh: Add support for GCC49 toolchain

2014-07-21 Thread Jordan Justen
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen --- OvmfPkg/build.sh | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 5bfee72..c3cc72e 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -85,

[edk2] [PATCH 3/3] EmulatorPkg: Add support for GCC48 & GCC49 toolchains

2014-07-21 Thread Jordan Justen
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen --- EmulatorPkg/Unix/Host/Host.inf | 2 ++ EmulatorPkg/build.sh | 8 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/EmulatorPkg/Unix/Host/Host.inf b/EmulatorPkg/Unix/Host/Host.in

[edk2] [PATCH 1/3] BaseTools: Add GCC49 toolchain; align data sections to 0x40

2014-07-21 Thread Jordan Justen
GCC 4.9 may use 64-byte (0x40) alignment for data sections. Therefore we use a different link script for GCC 4.9. The only difference from the gcc4.4-ld-script is the alignment for data sections. When using the GCC48 toolchain with GCC 4.9, this error would be encountered by GenFw: > GenFw: ERROR

Re: [edk2] GCC 4.9 build issue - Re: Error building OvmfPkg

2014-07-21 Thread Andrew Fish
On Jul 21, 2014, at 2:42 PM, Jordan Justen wrote: > On Sun, Jul 20, 2014 at 9:28 AM, Andrew Fish wrote: >> On Jul 19, 2014, at 9:42 PM, Jordan Justen wrote: >>> Anyway, I figured out what the issue is, but I don't have a solution yet. >>> https://gcc.gnu.org/ml/gcc-help/2014-07/msg00075.html >

Re: [edk2] GCC 4.9 build issue - Re: Error building OvmfPkg

2014-07-21 Thread Jordan Justen
On Sun, Jul 20, 2014 at 9:28 AM, Andrew Fish wrote: > On Jul 19, 2014, at 9:42 PM, Jordan Justen wrote: >> Anyway, I figured out what the issue is, but I don't have a solution yet. >> https://gcc.gnu.org/ml/gcc-help/2014-07/msg00075.html >> >> Basically GCC 4.9 creates a 64-byte aligned section i

Re: [edk2] [edk2-buildtools] [RFC] Proposal to retire edk2-buildtools sub-project

2014-07-21 Thread Kinney, Michael D
Hi, Thank you to everyone who provided feedback. There were no comments against this proposal, and there was feedback to make some refinements and clarifications. The detailed proposal with these updates is shown below. We will start the transition this week. We may need help from the EDK I

[edk2] "orderedlist" grammar inconsistency

2014-07-21 Thread Tim Lewis
The "flags" "=" portion of the VFR grammar currently does not allow a "," after it, which is different from all of the other questions. It should, at least, allow it to make it consistent with the other questions. Tim --

Re: [edk2] [RFC 0/2] Introduce Mp Service protocol to UefiCpuPkg

2014-07-21 Thread Scott Duplichan
Chen Fan [mailto:chen.fan.f...@cn.fujitsu.com] wrote: ]This series patches is base on Jljusten's tree: ]https://github.com/jljusten/edk2/tree/ap-startup-example ]this patches tried to implement Mp Service protocol in UefiCpuPkg, ]there was only startup APs in previous code, so add some initializa

[edk2] [RFC 2/2] UefiCpuPkg/CpuMp: Introduce Mp Service protocol

2014-07-21 Thread Chen Fan
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan --- UefiCpuPkg/CpuDxe/ApStartup.c |9 +- UefiCpuPkg/CpuDxe/CpuDxe.inf |4 + UefiCpuPkg/CpuDxe/CpuMp.c | 1126 - UefiCpuPkg/CpuDxe/CpuMp.h | 62 ++- UefiCpuPkg

[edk2] [RFC 0/2] Introduce Mp Service protocol to UefiCpuPkg

2014-07-21 Thread Chen Fan
This series patches is base on Jljusten's tree: https://github.com/jljusten/edk2/tree/ap-startup-example this patches tried to implement Mp Service protocol in UefiCpuPkg, there was only startup APs in previous code, so add some initialization to let all APs work up, this Mp Service protocol's i

[edk2] [RFC 1/2] UefiCpuPkg/CpuDxe: Detect all APs

2014-07-21 Thread Chen Fan
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan --- UefiCpuPkg/CpuDxe/ApStartup.c | 28 +--- UefiCpuPkg/CpuDxe/CpuMp.c | 36 -- UefiCpuPkg/CpuDxe/X64/MpAsm.S | 9 +--