From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp02.apple.com (ma1-aaemail-dr-lapp02.apple.com [17.171.2.68]) by mx.groups.io with SMTP id smtpd.web11.12993.1588618078160187163 for ; Mon, 04 May 2020 11:47:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=qAEVNOuq; spf=pass (domain: apple.com, ip: 17.171.2.68, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp02.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp02.apple.com (8.16.0.42/8.16.0.42) with SMTP id 044Iis3M037796; Mon, 4 May 2020 11:47:54 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : message-id : content-type : mime-version : subject : date : in-reply-to : cc : to : references; s=20180706; bh=s3QNJzHk/lJ/JYxKuZLaUTalgqEdI8GdB1a6m/Ntpa8=; b=qAEVNOuqsN45bF0Uam6iFTVnxdotFrhWiDmIyGlrDQEwQhJ37LCywUuiMpbZaXlc6dPN IOUWXz16wai6oSRDj9Jc1BJ3eRO3rAOeXt/N1/TxzXOZnobEH8yVsZkmoR1UNK1MUAqd QD+i0K2ikuvefPl1jmpamo8MTqzTxwdZFxVy16ksmzu27+KkSF7NqBaArdmBjZaMqrin G1XWm/DuQ3qEGivNJm075pbM7UCAeV9iSStRtncsqqMkWfYpVLGVh40/0InpAHELpIAX EKJkScKg553JMsMBMoz7WxTGOT/9xeWK+YoKYQBAUiSWPT2+BrdOj31m6FPVhsan75MP 8g== Received: from rn-mailsvcp-mta-lapp03.rno.apple.com (rn-mailsvcp-mta-lapp03.rno.apple.com [10.225.203.151]) by ma1-aaemail-dr-lapp02.apple.com with ESMTP id 30s5hsnj20-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 04 May 2020 11:47:54 -0700 Received: from rn-mailsvcp-mmp-lapp04.rno.apple.com (rn-mailsvcp-mmp-lapp04.rno.apple.com [17.179.253.17]) by rn-mailsvcp-mta-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPS id <0Q9T00YPDLJP4EF0@rn-mailsvcp-mta-lapp03.rno.apple.com>; Mon, 04 May 2020 11:47:49 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp04.rno.apple.com by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) id <0Q9T00X00L862300@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Mon, 04 May 2020 11:47:49 -0700 (PDT) X-Va-A: X-Va-T-CD: 678bf7de5df0d9ff994f556fd1b44182 X-Va-E-CD: 4144aee9c6519a2be0c06f1b873060a6 X-Va-R-CD: 8071c1cdbea7c31f334cf6c18934a815 X-Va-CD: 0 X-Va-ID: 74202fbb-87db-4e17-806f-dd9074e73e8f X-V-A: X-V-T-CD: 678bf7de5df0d9ff994f556fd1b44182 X-V-E-CD: 4144aee9c6519a2be0c06f1b873060a6 X-V-R-CD: 8071c1cdbea7c31f334cf6c18934a815 X-V-CD: 0 X-V-ID: a5f653c0-4bbd-437f-87aa-9aefc49f4468 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-05-04_11:2020-05-04,2020-05-04 signatures=0 Received: from [17.235.2.216] (unknown [17.235.2.216]) by rn-mailsvcp-mmp-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPSA id <0Q9T008ONLJ42M00@rn-mailsvcp-mmp-lapp04.rno.apple.com>; Mon, 04 May 2020 11:47:48 -0700 (PDT) From: "Andrew Fish" Message-id: MIME-version: 1.0 (Mac OS X Mail 13.0 \(3594.4.17\)) Subject: Re: [edk2-devel] EDK2 environment setup Date: Mon, 04 May 2020 11:47:47 -0700 In-reply-to: Cc: leif@nuviainc.com, guomin.jiang@intel.com, spbrogan@outlook.com, sean.brogan@microsoft.com, Bret.Barkelew@microsoft.com, jim.slaughter@sage-micro.com To: devel@edk2.groups.io, Navdeeppal.Singh@dell.com References: <54a4f7933a1c4c0ea0eb34b43b837fb2@BLRX13MDC402.AMER.DELL.COM> <476a558a166b44e993d60c156fefd72a@BLRX13MDC402.AMER.DELL.COM> <71f3d979500348cbbe263445163583b5@BLRX13MDC402.AMER.DELL.COM> <20200428094756.GB21486@vanye> X-Mailer: Apple Mail (2.3594.4.17) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-05-04_11:2020-05-04,2020-05-04 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_38DE7EA0-8664-4E05-ADEB-BE51BFBA89EA" --Apple-Mail=_38DE7EA0-8664-4E05-ADEB-BE51BFBA89EA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Navdeep, The emulator is just a C command line app that loads an FD into memory and= jumps into it.=20 The 1st set of prints are from the emulator App.=20 The SEC is in an FV in the FD and the application has transferred control = to the SEC. Your last print is "SEC Has Started" [1] and that means you sta= rted running code from the FD.=20 So maybe the App is faulting in some way and if you ran it under a debugge= r you would find out why?=20 [1] $ git grep "SEC Has Started" EmulatorPkg/Sec/Sec.c:83: DEBUG ((EFI_D_ERROR, "SEC Has Started\n")); Thanks, Andrew Fish > On May 3, 2020, at 10:17 PM, wrote: >=20 > Hi, > Any suggestions. > > Regards, > Navdeep > > From: Singh, Navdeeppal=20 > Sent: Thursday, April 30, 2020 10:39 AM > To: 'Leif Lindholm'; 'devel@edk2.groups.io = '; 'guomin.jiang@intel.com ' > Cc: 'spbrogan@outlook.com '; 'sean.brogan@m= icrosoft.com '; 'Bret.Barkelew@microsoft.= com '; 'jim.slaughter@sage-micro.com ' > Subject: RE: [edk2-devel] EDK2 environment setup > > Hi, > After launching Winhost.exe. Emulator exits after displaying =E2=80=9CSe= c Has Started=E2=80=9D. > I have not built any platform pkgs yet. This is just after building Emul= ator Pkg . > To boot to Shell what shall I do. How can I achive this.=20 > Is there a document I can refer to. > > > Regards, > Navdeep > -----Original Message----- > From: Singh, Navdeeppal=20 > Sent: Tuesday, April 28, 2020 3:23 PM > To: 'Leif Lindholm'; devel@edk2.groups.io ;= guomin.jiang@intel.com > Cc: spbrogan@outlook.com ; sean.brogan@micr= osoft.com ; Bret.Barkelew@microsoft.com <= mailto:Bret.Barkelew@microsoft.com>; jim.slaughter@sage-micro.com > Subject: RE: [edk2-devel] EDK2 environment setup > > Thank you. > Able to build Emulator pkg after adding VS2019 build options. > Regards, > Navdeep > > -----Original Message----- > From: Leif Lindholm > > Sent: Tuesday, April 28, 2020 3:18 PM > To: devel@edk2.groups.io ; guomin.jiang@int= el.com > Cc: Singh, Navdeeppal; spbrogan@outlook.com ; sean.brogan@microsoft.com ; Bret.Barke= lew@microsoft.com ; jim.slaughter@sage-= micro.com > Subject: Re: [edk2-devel] EDK2 environment setup > > > [EXTERNAL EMAIL]=20 > > My bad, was checking on a different computer than I thought where the > edk2 checkout wasn't up to date. Still, gives me a way to close out the = stackoverflow question, so thanks :) > > / > Leif > > On Tue, Apr 28, 2020 at 09:35:22 +0000, Guomin Jiang wrote: > > It is known issue and can refer https://bugzilla.tianocore.org/show_bu= g.cgi?id=3D2637 for= detail. > >=20 > > It have been fixed in newest repository, you can update to the newest = repository and try again. > >=20 > > From: devel@edk2.groups.io > On Behalf Of=20 > > Navdeeppal.Singh@dell.com > > Sent: Tuesday, April 28, 2020 5:15 PM > > To: spbrogan@outlook.com ; devel@edk2.gro= ups.io ; > > sean.brogan@microsoft.com ; Bret.Bar= kelew@microsoft.com ; > > jim.slaughter@sage-micro.com > > Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup > >=20 > >=20 > > Hi, > >=20 > > Yes I am using edksetup.bat. > >=20 > > I was able to fix VFR compiler after making path changes. > >=20 > > And I was able to build MdeModulePkg Successfully. > >=20 > > But while building Emulator Pkg. I see the following Linker Error. Do = I need to build some other module before building Emulator Pkg. > >=20 > >=20 > >=20 > > [cid:image001.jpg@01D61D83.5E9F0750 ] > >=20 > >=20 > >=20 > > Regards, > >=20 > > Navdeep > >=20 > > -----Original Message----- > > From: Sean Brogan >> > > Sent: Tuesday, April 28, 2020 2:28 AM > > To: devel@edk2.groups.io>; Singh, > > Navdeeppal;=20 > > sean.brogan@microsoft.com>; > > Bret.Barkelew@microsoft.com>; > > jim.slaughter@sage-micro.com> > > Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup > >=20 > >=20 > >=20 > >=20 > >=20 > > [EXTERNAL EMAIL] > >=20 > >=20 > >=20 > > Are you using edksetup.bat? I would have expected this code to set th= e path for you. > >=20 > > https://github.com/tianocore/edk2/blob/master/BaseTools/toolsetup.bat#= > > L134 > >=20 > > So without more logs i don't know. > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > If you want to use "stuart" (my preferred method) I have a commit here= for EmulatorPkg which has a platformbuild.py and readme.md that describes = the process. This should be committed to edk2 master this week to enable P= latform CI for every PR. > >=20 > >=20 > >=20 > > Here is the readme and details. > >=20 > > https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVirtE= > > mulatorPackages_v10/EmulatorPkg/PlatformCI > >=20 > >=20 > >=20 > > Here is the commit you should cherry-pick if you want to try it. > >=20 > >=20 > >=20 > > https://github.com/spbrogan/edk2/commit/8bdb9075b52a9d1c196b068729eefd= > > 76f068d0a2 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > Thanks > >=20 > > Sean > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > On 4/27/2020 1:26 AM, Navdeeppal.Singh@dell.com> wrote: > >=20 > > > Hi, > >=20 > > > > >=20 > > > Thanks for your help. > >=20 > > > > >=20 > > > I am to build base tools and able to generate bin files. > >=20 > > > > >=20 > > > "Build" command is generated. > >=20 > > > > >=20 > > > Later, I am trying to build "EmulatorPkg". > >=20 > > > > >=20 > > > And running into VfrCompile error. > >=20 > > > > >=20 > > > 'VfrCompile' is not recognized as an internal or external command, > >=20 > > > > >=20 > > > operable program or batch file. > >=20 > > > > >=20 > > > NMAKE : fatal error U1077: '"VfrCompile' : return code '0x1' > >=20 > > > > >=20 > > > Stop. > >=20 > > > > >=20 > > > 'VfrCompile' is not recognized as an internal or external command, > >=20 > > > > >=20 > > > operable program or batch file. > >=20 > > > > >=20 > > > I can see VfrCompile.exe generated in "BaseTools". > >=20 > > > > >=20 > > > Attached build log for "Emulator Pkg". > >=20 > > > > >=20 > > > I tried checking the Env Paths . > >=20 > > > > >=20 > > > Regards, > >=20 > > > > >=20 > > > Navdeep > >=20 > > > > >=20 > > > *From:* Sean Brogan=20 > > > >> > >=20 > > > *Sent:* Friday, April 24, 2020 12:33 AM > >=20 > > > *To:* devel@edk2.groups.io>; Singh, > > > Navdeeppal; Bret Barkelew; > >=20 > > > jim.slaughter@sage-micro.com> > >=20 > > > *Subject:* RE: [EXTERNAL] [edk2-devel] EDK2 environment setup > >=20 > > > > >=20 > > > [EXTERNAL EMAIL] > >=20 > > > > >=20 > > > Navdeep, > >=20 > > > > >=20 > > > Yes since the 202002 stable tag there have been submodules > > > introduced > >=20 > > > to the basetools. If you look closely you will see in the CI > > > process > >=20 > > > this required a change where stuart_setup is run before calling > >=20 > > > edk2toolsbuild.py. > >=20 > > > > >=20 > > > https://github.com/tianocore/edk2/commit/e1fbff3ded87704fb0086f9b5fb= > > > 36 > >=20 > > > 8080eb4db51#diff-6973939bf9ad6f6a3082d99ce3b32ff1 > >=20 > > > > >=20 > > > If you are using "stuart" to build then that is the suggested path > > > as > >=20 > > > stuar_setup will init your submodules listed in the=20 > > > RequiredSubmodules > >=20 > > > (https://github.com/tianocore/edk2/blob/master/.pytool/CISettings.py= #L136 ). > >=20 > > > Given that the edk2 project and ecosystem has numerous ways to setup > >=20 > > > your environment and build, you can also just make sure your > > > workspace > >=20 > > > is complete prior to running Edk2ToolsBuild.py. In this case you > > > only > >=20 > > > need to run "git submodule update --init" > >=20 > > > > >=20 > > > I just did this and it works fine with VS2019. > >=20 > > > > >=20 > > > Jim, > >=20 > > > > >=20 > > > Just as fyi as I know there are lots of reasons for toolchain select= ion. > >=20 > > > > >=20 > > > I believe the Visual studio build tools are available free of charge > >=20 > > > (not the IDE but the compilers). Directions here. > >=20 > > > https://microsoft.github.io/mu/CodeDevelopment/prerequisites/#visual= > > > -s > >=20 > > > tudio-2019-preferred > >=20 > > > > >=20 > > > Thanks > >=20 > > > > >=20 > > > Sean > >=20 > > > > >=20 > > > *From:* devel@edk2.groups.io> > > > > > >=20 > > > > > > %20%3cmailto > > > :devel@edk2.groups.io >>> *On Behalf Of > >=20 > > > *Navdeeppal.Singh via groups.io > >=20 > > > *Sent:* Thursday, April 23, 2020 9:14 AM > >=20 > > > *To:* Bret Barkelew > >=20 > > > >>; > > > devel@edk2.groups.io> > >=20 > > > > > >=20 > > > *Subject:* Re: [EXTERNAL] [edk2-devel] EDK2 environment setup > >=20 > > > > >=20 > > > Hi Bret, > >=20 > > > > >=20 > > > Yes PIP requirements are up to date. > >=20 > > > > >=20 > > > On further digging through the logging file BASETOOLS_BUILD.txt. > >=20 > > > > >=20 > > > INFO - subprocess not exit successfully > >=20 > > > > >=20 > > > INFO - Error while execute command 'nmake all' in direcotry > >=20 > > > C:\edk2\BaseTools\Source\C\BrotliCompress > >=20 > > > > >=20 > > > Regards, > >=20 > > > > >=20 > > > Navdeep > >=20 > > > > >=20 > > > *From:* Bret Barkelew > >=20 > > > >> > >=20 > > > *Sent:* Thursday, April 23, 2020 9:37 PM > >=20 > > > *To:* devel@edk2.groups.io> > > > >; Singh, > >=20 > > > Navdeeppal > >=20 > > > *Subject:* RE: [EXTERNAL] [edk2-devel] EDK2 environment setup > >=20 > > > > >=20 > > > [EXTERNAL EMAIL] > >=20 > > > > >=20 > > > Have you installed the up-to-date Python requirements? "pip install > >=20 > > > -upgrade -r pip-requirements.txt"? > >=20 > > > > >=20 > > > That's the first thing I would check. Otherwise, happy to look at > > > the > >=20 > > > problem with you. > >=20 > > > > >=20 > > > - Bret > >=20 > > > > >=20 > > > *From: *NAVDEEPPAL_SINGH via groups.io > >=20 > > > > > >=20 > > > *Sent: *Thursday, April 23, 2020 6:05 AM > >=20 > > > *To: *devel@edk2.groups.io> > > > > > >=20 > > > *Subject: *[EXTERNAL] [edk2-devel] EDK2 environment setup > >=20 > > > > >=20 > > > I am trying to setup EDK2 environment setup from Tianocore/EDK2. > >=20 > > > While doing the Base Tool setup. After running > >=20 > > > BaseTool/EDK2ToolsBuild.py -t VS2019 Getting following error :- > >=20 > > > c:\edk2\BaseTools>python Edk2ToolsBuild.py -t VS2019 SECTION - Init > >=20 > > > SDE SECTION - Loading Plugins SECTION - Start Invocable Tool > > > Traceback > >=20 > > > (most recent call last): > >=20 > > > File "Edk2ToolsBuild.py", line 177, in > >=20 > > > main() > >=20 > > > File "Edk2ToolsBuild.py", line 173, in main > >=20 > > > Edk2ToolsBuild().Invoke() > >=20 > > > File "C:\Program > >=20 > > > Files\Python38\lib\site-packages\edk2toolext\base_abstract_invocable > > > .p > >=20 > > > y", line 141, in Invoke > >=20 > > > retcode =3D self.Go() > >=20 > > > File "Edk2ToolsBuild.py", line 139, in Go > >=20 > > > raise Exception("Failed to build.") > >=20 > > > Exception: Failed to build. > >=20 > > > > >=20 > > > set EDK_TOOLS_PATH=3DC:\edk2\BaseTools > >=20 > > > set EDK_TOOLS_BIN=3DC:\edk2\BaseTools\Bin\Win32 > >=20 > > > Can some one help > >=20 > > > > >=20 > >=20 > >=20 > >=20 > > >=20 --Apple-Mail=_38DE7EA0-8664-4E05-ADEB-BE51BFBA89EA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Navdeep,
<= br class=3D"">
The emulator is just a C command line a= pp that loads an FD into memory and jumps into it. 

The 1st set of prints are from the = emulator App. 

The SEC is in an FV in the FD and the application has transferred contro= l to the SEC. Your last print is "SEC Has Started" [1] and that means you s= tarted running code from the FD. 

=
So maybe the App is faulting in some way and if you r= an it under a debugger you would find out why? 
<= br class=3D"">
[1]  $ git grep "SE= C Has Started"
EmulatorPkg/Sec/Sec.c:83:  DEBUG ((EFI_D_ERROR, "SEC Ha= s Started\n"));

Thanks,

Andrew Fish

On May 3, 2020, at 10:17 PM, <Navdeeppal.Singh@dell.com&= gt; <Navdeeppal.= Singh@dell.com> wrote:

=
Hi,
Any suggestions.
 
Regards,
Na= vdeep
 
From: Singh, Navdeeppal 
= Sent: Thursday, April= 30, 2020 10:39 AM
To: 'Leif Lindholm'; 'devel@edk2.groups.io'; 'guomin.jiang@intel.com'
Cc: 'spbrogan@outlook.com'; 'sean.brogan@microsoft.com'; 'Bret.Barkelew@microsoft.com'; 'jim.slaughter@sage-micro.com'
Subject: R= E: [edk2-devel] EDK2 environment setup
 
Hi,
After launching Winhost.exe. Emulator exits after displaying =E2=80=9CSe= c Has Started=E2=80=9D.
I have not built any platform pkgs yet. This is just after building = Emulator Pkg .
To bo= ot to Shell what shall I do. How can I achive this. 
Is there a document I can refer to.
<= ;image001.jpg>
 
Regard= s,
Navdeep
-----Original Message-----From: Singh, Navdeeppal&= nbsp;
Sent: Tuesday, April 28, 2020 3:23 PM
To: 'Leif Lindholm'; devel@edk2.groups.io; guomin.jiang@intel.com
Cc: spbr= ogan@outlook.com; sean.brogan@microsoft.com; 
Bret.Barkelew@microsoft.com; jim.slaughter@sage-micro.com
Subject: RE: [edk2-devel] E= DK2 environment setup
 
Thank you.<= o:p class=3D"">
Able to build Emulat= or pkg after adding VS2019 build options.
Regards,
Navdeep
<= o:p class=3D""> 
-----Original = Message-----
From: L= eif Lindholm <leif@nuviainc.com>
Subject:= Re: [edk2-devel] EDK2 environment setup
 
 
[EXTE= RNAL EMAIL] 
 
My bad, was checking on a different computer = than I thought where the
edk2 checkout wasn't up to date. Still, gives me a way to close out = the stackoverflow question, so thanks :)
 
/
 &nbs= p;  Leif
 
On Tue, Apr 28, 202= 0 at 09:35:22 +0000, Guomin Jiang wrote:
> It is known issue and can refer https://bugzilla.tianocore.org/show_bug.cgi?id=3D2637 for detail.
> 
> It have been fixed in newest repository, you can update to = the newest repository and try again.
> <= o:p class=3D"">
> Sent: Tuesday, April 28, 2020 5:15 PM
> To: spbrogan@outlook.com; devel@edk2.groups.io;<= /div>
> Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environ= ment setup
> 
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> Hi,
> 
> Yes I am using edksetup.bat.
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> I was a= ble to fix VFR compiler after making path changes.
>&n= bsp;
> And= I was able to build MdeModulePkg Successfully.
=
> = ;
> But wh= ile building Emulator Pkg. I see the following Linker Error. Do I need to b= uild some other module before building Emulator Pkg.<= /div>
>=  
> 
>&nb= sp;
> 
> <= /span>
> 
> Regards,
> <= o:p class=3D"">
> Navdeep
> 
> -----Original Message-----
> Sent: Tuesday, April 28, 2020 2:28 AM
> Navdee= ppal; 
> Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environm= ent setup
> 
> <= /span>
> 
> 
> 
> [EXTERNAL EMAIL]
> 
> 
> 
> Are you usin= g edksetup.bat?  I would have expected this code to set the path for y= ou.
> 
> L134<= o:p class=3D"">
> 
>   So without more logs i don't know.
> 
> 
> 
> 
> 
> 
> 
> If you want to use "stuart" (my preferred method) I have a com= mit here for EmulatorPkg which has a platformbuild.py and readme.md that de= scribes the process.  This should be committed to edk2 master this wee= k to enable Platform CI for every PR.
> <= o:p class=3D"">
> 
> <= o:p class=3D"">
> Here is the rea= dme and details.
>= ; <= /div>
> mulatorPackages_v10/EmulatorPkg/PlatformCI
>&nb= sp;
> 
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> Here is= the commit you should cherry-pick if you want to try it.
> 
&= gt; 
> 
> 76f068d0a2
> 
>= ; <= /div>
>=  
> 
>&nb= sp;
> 
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> Thanks<= o:p class=3D"">
> 
> Sean
> 
> 
> 
> 
> 
> 
> 
> 
&g= t; > Hi,
> 
=
> >
> <= o:p class=3D"">
> > Thanks for= your help.
> 
=
> >
> <= o:p class=3D"">
> > I am to bu= ild base tools and able to generate bin files.
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> >
> 
> > "Build" command is generated.=
> 
> = >
> 
> > Later, I am trying to build "EmulatorPkg".<= o:p class=3D"">
> 
> >
> 
> > And running into V= frCompile error.
>= ; <= /div>
> >
> 
> > 'VfrCo= mpile' is not recognized as an internal or external command,
> 
> >
> 
=
> > operable program or batch file.
> 
> >
> 
> > NMAKE : fatal error U1077: '= "VfrCompile' : return code '0x1'
> 
> ><= /o:p>
> 
= > > Stop.
>=  
> >
> 
> > 'VfrCom= pile' is not recognized as an internal or external command,=
> 
> >
> 
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> > operable program or batch file.
> 
> >
= > 
> > I can see VfrCompile.exe gene= rated in "BaseTools".
> 
> >
=
> = ;
> > A= ttached build log for "Emulator Pkg".
> <= o:p class=3D"">
> >
> 
> > I tried checking the Env Paths .
>&n= bsp;
> >= ;
> 
> > Regards,
> <= o:p class=3D"">
> >
> 
> > Navdeep
> 
> ><= /div>
>=  
> &= gt; *From:* Sean Brogan <= o:p class=3D"">
> 
> > *Sent:* Friday, April 24, 2020 12:33 AM
> 
> > *To:* <= a href=3D"mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io" style= =3D"color: rgb(149, 79, 114); text-decoration: underline;" class=3D"">devel@edk2= .groups.io<mailto:devel@edk2.groups.io>; Singh,
> > Navdeeppal; Bret B= arkelew;
> 
> >&nb= sp;jim.slaughter@sage-micro.com<mailto:jim.slaughter@sage-mi= cro.com>
> <= /o:p>
> > *Subject:* RE: [EXTERNAL] = [edk2-devel] EDK2 environment setup
> <= o:p class=3D"">
> >
> 
> > [EXTERNAL EMAIL]
> 
> >
> 
> > Navdeep,
> 
> >
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> > Ye= s since the 202002 stable tag there have been submodules
> > introduced
> 
&= gt; > to the basetools.  If you look closely you will see in the CI=
> > process
> 
> > this required a change where stuart_setup is run b= efore calling
> 
> > edk2toolsbuild.py.<= /o:p>
> 
= > >
> 
> >&n= bsp;https://github.com/tianocore/edk2/commit/e1fbff3ded87704fb0086f9= b5fb
>= > 36
> 
> > 8080eb4db51#diff-6973939bf9ad6f6a3082d99= ce3b32ff1
> 
> >
> <= o:p class=3D"">
> > If you are= using "stuart" to build then that is the suggested path
> > as
>&nb= sp;
> >= stuar_setup will init your submodules listed in the 
> > RequiredSubmodules
> <= o:p class=3D"">
> 
=
> > Given that the edk2 project and ecosy= stem has numerous ways to setup
> 
> > your environment = and build, you can also just make sure your
> > workspace
> 
> > is co= mplete prior to running Edk2ToolsBuild.py.  In this case you
> > only
> 
> > need to run "git submodule update --init"
> 
>= >
> 
> > I just did this and it works fine with VS20= 19.
> 
> >
> 
> > Jim,
> 
> >
>= ; <= /div>
> > Just as fyi as I know there are = lots of reasons for toolchain selection.
> 
> >
> 
> > I believe the Visual studio build tools are available fre= e of charge
> 
=
> > (not the IDE but the compilers). = ;  Directions here.
> 
> > -s
> 
> > tudio-2019-preferred
> 
> >
> 
> > Thanks=
> 
> >
> 
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> > Sean
> 
> >
> 
> 
> > :devel@edk2.groups.io>>> *On = Behalf Of
> 
> > *Navdeeppal.Singh via groups.io
<= div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibr= i, sans-serif;" class=3D"">> =
> 
> > C:\e= dk2\BaseTools\Source\C\BrotliCompress
> <= o:p class=3D"">
> >
> 
> > Regards,
> 
> ><= /div>
>=  
> &= gt; Navdeep
> 
=
> >
> <= o:p class=3D"">
= > 
> 
> > *Sent:* Thursday, April 23, 2020 9:37 PM
> 
> > *To:* devel@edk2.group= s.io<mailto:devel@edk2.groups.io>
> 
&= gt; > Navdeeppal
= > 
> > *Subject:* RE: [EXTERNAL] [ed= k2-devel] EDK2 environment setup
> 
> ><= /o:p>
> 
= > > [EXTERNAL EMAIL]
> 
> ><= /div>
>=  
> &= gt; Have you installed the up-to-date Python requirements? "pip install
> 
> > -upgrade -r pip-requirements.txt"?
> 
&= gt; >
> 
> > That's the first thing I would check. Ot= herwise, happy to look at
> > the
> 
> > problem with you.
> 
> >
&g= t; =
> > - Bret
>&n= bsp;
> >= ;
> 
> > *From: *NAVDEEPPAL_SINGH via groups.io
> 
> > *Sent: *Thursday, April 23, 2020 6:05 AM
> 
> > <mailto:devel@edk2.groups.io>
>&nb= sp;
> >= *Subject: *[EXTERNAL] [edk2-devel] EDK2 environment setup<= /o:p>
> 
= > >
> 
> > I am trying to setup EDK2 environment s= etup from Tianocore/EDK2.
> 
> > While doing the Base T= ool setup. After running
> 
> > BaseTool/EDK2ToolsBuil= d.py -t VS2019 Getting following error :-
> 
> > c:\edk2= \BaseTools>python Edk2ToolsBuild.py  -t VS2019 SECTION - Init
> 
> > SDE SECTION - Loading Plugins SECTION - Start Invocabl= e Tool
> > Tra= ceback
> 
> > (most recent call last):
> 
&= gt; >    File "Edk2ToolsBuild.py", line 177, in <modul= e>
> 
> >      main()
> 
> >    File "Edk2ToolsBuild.py", line 173, i= n main
> 
> >      Edk2ToolsBui= ld().Invoke()
> 
> >    File "C:\Program<= o:p class=3D"">
> 
> > Files\Python38\lib\site-packages\edk2toolext\b= ase_abstract_invocable
> > .p
>=  
> > y", line 141, in Invoke
> 
> >      retcode =3D self.Go()
> 
> >    File "Edk2ToolsBuild.py", line 139, = in Go
> 
> >      raise Excepti= on("Failed to build.")
> <= /o:p>
> > Exception: Failed to build= .
> 
> >
> 
> > set EDK_TOOLS_PATH= = =3DC:\edk2\BaseTools
> 
> > set EDK_TOOLS_BIN=3DC:\edk2= \BaseTools\Bin\Win32
> 
> > Can some one help
> 
> >
&g= t; =
> 
><= span class=3D"Apple-converted-space"> 
>&n= bsp;
 
 = ;

--Apple-Mail=_38DE7EA0-8664-4E05-ADEB-BE51BFBA89EA--