From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.92.21.33]) by mx.groups.io with SMTP id smtpd.web12.561.1588021073735801373 for ; Mon, 27 Apr 2020 13:57:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=uushWFsH; spf=pass (domain: outlook.com, ip: 40.92.21.33, mailfrom: spbrogan@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NpVnOC2G1glDIvSda8d0OBkJUFkdotnlUx6IvYI+VPfa0wJ8rIwPu8cnvg9EA9GOP2+P4au+M/nBFZlsNZC6HmOUtzfBcKuZqSEjIp3tL6tZuyJ5twUnNmbTwP423MBN0ZZnMJFbyBNENRWyCwVMMJrwhpYv5JterprDUJWuB/PSsA5tR2jAYNHbcbc+CUuNpsD4BbnGzz3xg8Ed0JnUVigSS26zGXT9SHXtqXM8uh56SWGbNcAfJPDshwFd+0Ot1VX3q8V676p7yiP5gZb65PCpMFqS6Ny0rlPhmJzfsmQsq6jhmMYq18JtAiK3mzWDYeZZ17dHxMdmHCW1u55wKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bp2hUkLEQLXApYTz2Bubcao/KRhlLyk/odwOB55NJ48=; b=aLEWeu3TgkF+wJPe9HFu/ucUNYfJEEYgdh0mI1PJc3et4Rmgir6bvZZiL8eZeEsAyyz2FeSN5yaJQRmv6iwCMqci59C0Cfk/ZRLqwCz5NwNiOCwVBRpY1fk9W1UpT0eRXzYOwxrvlxOoJ1ACcNGF+Ob4eO8t+f3XBRYbnjt6ZkF1+lUFi3T5lTp4uQvM5FhZboUoxKirjmpQlqZzLmM+Yh2gxMMrcvx6m9vdJ4dwx09+mr0gwfA9nhmKXFP24KwRczkU2h8ab3ARGTEcTOI9nx6kUptwS0ZAZrvh6b0L89YzVMF/k7/t+YfhC0zfFEjuxmQ3nuh654XT+AlTVOzn8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=outlook.com; dmarc=pass action=none header.from=outlook.com; dkim=pass header.d=outlook.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bp2hUkLEQLXApYTz2Bubcao/KRhlLyk/odwOB55NJ48=; b=uushWFsH9DiA+jotNzpb46ycxhGX1AxNfzbCUOd8jDNVOsBWcEGqPWlr4NrvNMXGui1JX8RxBAQKKK+SxwWfXKXZk6FB0llfdOWA+NDuy7kLFsJSb1BicpgMdpJWTJJnY/ZvAf7jsoFgfFKyVUPEKgdur4JZsXWJF2+R/UReKsf3xvVZyRgOyEVe8bCoF0r266Z4b0+JIiaFpUo54rh40GK6tAWlP0dzmGArD0dIHVLtYzqW15iNYyBiW6X/yIKFm7MrB80aRCXIe6wiuwCr2gxudaGUtBl9BeaU7azqYM557wcC8Nqc6A5Ue3pzZORjj4kaLLiqkXhXtc4MHL84/Q== Received: from DM6NAM12FT024.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::4f) by DM6NAM12HT245.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::309) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.12; Mon, 27 Apr 2020 20:57:52 +0000 Received: from BN8PR07MB6962.namprd07.prod.outlook.com (2a01:111:e400:fc64::43) by DM6NAM12FT024.mail.protection.outlook.com (2a01:111:e400:fc64::472) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.12 via Frontend Transport; Mon, 27 Apr 2020 20:57:52 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:31D77169CC36BAD17FD9AD557FE1DD9E35422C533305E17908059B49ACA19BCD;UpperCasedChecksum:DFC2FAE4F1E5BBE98A0AC4E490824B656BB61B7AE6FA8F835A220D6C39F84AB3;SizeAsReceived:3335;Count:43 Received: from BN8PR07MB6962.namprd07.prod.outlook.com ([fe80::1ca2:e7f1:adf1:dcc5]) by BN8PR07MB6962.namprd07.prod.outlook.com ([fe80::1ca2:e7f1:adf1:dcc5%6]) with mapi id 15.20.2937.023; Mon, 27 Apr 2020 20:57:52 +0000 Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup To: devel@edk2.groups.io, Navdeeppal.Singh@dell.com, sean.brogan@microsoft.com, Bret.Barkelew@microsoft.com, jim.slaughter@sage-micro.com References: <54a4f7933a1c4c0ea0eb34b43b837fb2@BLRX13MDC402.AMER.DELL.COM> <476a558a166b44e993d60c156fefd72a@BLRX13MDC402.AMER.DELL.COM> From: "Sean" Message-ID: Date: Mon, 27 Apr 2020 13:57:38 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 In-Reply-To: <476a558a166b44e993d60c156fefd72a@BLRX13MDC402.AMER.DELL.COM> X-TMN: [J6l+aO4+VbbWqip7NxG5eSdjwZaZdHy4] X-ClientProxiedBy: MW2PR16CA0029.namprd16.prod.outlook.com (2603:10b6:907::42) To BN8PR07MB6962.namprd07.prod.outlook.com (2603:10b6:408:d6::11) Return-Path: spbrogan@outlook.com X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 43 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: c4b3905f-8b1b-40f7-369a-08d7eaeda6a9 X-MS-TrafficTypeDiagnostic: DM6NAM12HT245: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S/wfvteBIvodT8pukoQWHpmbocgdOx5ita02uBxip6jxoBmxSd6aLaKiu0Jw9wO1jM5u8JELI9tnIoBnB6zQZXZ7lPoe2QYgZ/3WVVAJYDoC/c88pfMyNTMh8ziReukinK2F4Sxkupbw1a2mAFAuMXRd3BhhQoKukxNV/j2AU6ftMRQEzNvxcoNQWveive4er/Bd2KfokZIDJG+aWlFmQxiPMbuChxq71HWr6NjTxV4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR07MB6962.namprd07.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4b3905f-8b1b-40f7-369a-08d7eaeda6a9 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2020 20:57:52.5966 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM12HT245 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Are you using edksetup.bat? I would have expected this code to set the=20 path for you.=20 https://github.com/tianocore/edk2/blob/master/BaseTools/toolsetup.bat#L134= = =20 So without more logs i don't know. If you want to use "stuart" (my preferred method) I have a commit here=20 for EmulatorPkg which has a platformbuild.py and readme.md that=20 describes the process. This should be committed to edk2 master this=20 week to enable Platform CI for every PR. Here is the readme and details. https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVirtEmula= torPackages_v10/EmulatorPkg/PlatformCI Here is the commit you should cherry-pick if you want to try it. https://github.com/spbrogan/edk2/commit/8bdb9075b52a9d1c196b068729eefd76f0= 68d0a2 Thanks Sean On 4/27/2020 1:26 AM, Navdeeppal.Singh@dell.com wrote: > Hi, >=20 > Thanks for your help. >=20 > I am to build base tools and able to generate bin files. >=20 > =93Build=94 command is generated. >=20 > Later, I am trying to build =93EmulatorPkg=94. >=20 > And running into VfrCompile error. >=20 > 'VfrCompile' is not recognized as an internal or external command, >=20 > operable program or batch file. >=20 > NMAKE : fatal error U1077: '"VfrCompile' : return code '0x1' >=20 > Stop. >=20 > 'VfrCompile' is not recognized as an internal or external command, >=20 > operable program or batch file. >=20 > I can see VfrCompile.exe generated in =93BaseTools=94. >=20 > Attached build log for =93Emulator Pkg=94. >=20 > I tried checking the Env Paths . >=20 > Regards, >=20 > Navdeep >=20 > *From:* Sean Brogan > *Sent:* Friday, April 24, 2020 12:33 AM > *To:* devel@edk2.groups.io; Singh, Navdeeppal; Bret Barkelew;=20 > jim.slaughter@sage-micro.com > *Subject:* RE: [EXTERNAL] [edk2-devel] EDK2 environment setup >=20 > [EXTERNAL EMAIL] >=20 > Navdeep, >=20 > Yes since the 202002 stable tag there have been submodules introduced to= = =20 > the basetools.=A0 If you look closely you will see in the CI process thi= s=20 > required a change where stuart_setup is run before calling=20 > edk2toolsbuild.py. >=20 > https://github.com/tianocore/edk2/commit/e1fbff3ded87704fb0086f9b5fb3680= 80eb4db51#diff-6973939bf9ad6f6a3082d99ce3b32ff1 >=20 > If you are using =93stuart=94 to build then that is the suggested path a= s=20 > stuar_setup will init your submodules listed in the RequiredSubmodules= =20 > (https://github.com/tianocore/edk2/blob/master/.pytool/CISettings.py#L13= 6).=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. =A0In this case you only= = =20 > need to run =93git submodule update --init=94 >=20 > I just did this and it works fine with VS2019. >=20 > Jim, >=20 > Just as fyi as I know there are lots of reasons for toolchain selection. >=20 > I believe the Visual studio build tools are available free of charge=20 > (not the IDE but the compilers).=A0 =A0Directions here.=20 > https://microsoft.github.io/mu/CodeDevelopment/prerequisites/#visual-stu= dio-2019-preferred >=20 > Thanks >=20 > Sean >=20 > *From:* devel@edk2.groups.io =20 > > *On Behalf Of=20 > *Navdeeppal.Singh via groups.io > *Sent:* Thursday, April 23, 2020 9:14 AM > *To:* Bret Barkelew >; devel@edk2.groups.io=20 > > *Subject:* Re: [EXTERNAL] [edk2-devel] EDK2 environment setup >=20 > Hi Bret, >=20 > Yes PIP requirements are up to date. >=20 > On further digging through the logging file BASETOOLS_BUILD.txt. >=20 > INFO - subprocess not exit successfully >=20 > INFO - Error while execute command 'nmake all' in direcotry=20 > C:\edk2\BaseTools\Source\C\BrotliCompress >=20 > Regards, >=20 > Navdeep >=20 > *From:* Bret Barkelew > > *Sent:* Thursday, April 23, 2020 9:37 PM > *To:* devel@edk2.groups.io ; Singh, Navdeep= pal > *Subject:* RE: [EXTERNAL] [edk2-devel] EDK2 environment setup >=20 > [EXTERNAL EMAIL] >=20 > Have you installed the up-to-date Python requirements? =93pip install=20 > =96upgrade -r pip-requirements.txt=94? >=20 > That=92s the first thing I would check. Otherwise, happy to look at the= =20 > problem with you. >=20 > - Bret >=20 > *From: *NAVDEEPPAL_SINGH via groups.io=20 > > *Sent: *Thursday, April 23, 2020 6:05 AM > *To: *devel@edk2.groups.io > *Subject: *[EXTERNAL] [edk2-devel] EDK2 environment setup >=20 > I am trying to setup EDK2 environment setup from Tianocore/EDK2. > While doing the Base Tool setup. After running=20 > BaseTool/EDK2ToolsBuild.py -t VS2019 > Getting following error :- > c:\edk2\BaseTools>python Edk2ToolsBuild.py=A0 -t VS2019 > SECTION - Init SDE > SECTION - Loading Plugins > SECTION - Start Invocable Tool > Traceback (most recent call last): > =A0 File "Edk2ToolsBuild.py", line 177, in > =A0=A0=A0 main() > =A0 File "Edk2ToolsBuild.py", line 173, in main > =A0=A0=A0 Edk2ToolsBuild().Invoke() > =A0 File "C:\Program=20 > Files\Python38\lib\site-packages\edk2toolext\base_abstract_invocable.py"= , line=20 > 141, in Invoke > =A0=A0=A0 retcode =3D self.Go() > =A0 File "Edk2ToolsBuild.py", line 139, in Go > =A0=A0=A0 raise Exception("Failed to build.") > Exception: Failed to build. >=20 > set EDK_TOOLS_PATH=3DC:\edk2\BaseTools > set EDK_TOOLS_BIN=3DC:\edk2\BaseTools\Bin\Win32 > Can some one help >=20 >=20