From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.8950.1592705644652679429 for ; Sat, 20 Jun 2020 19:14:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=XMXmyMU9; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: guo.dong@intel.com) IronPort-SDR: DFJmz6CRxfqdGXtCimeibloTEb3ZEYPAdfHouZfe+RXypEKEa6exDXLMumBAt67v3e3ZyDSbBb JmwRvIsFp3gw== X-IronPort-AV: E=McAfee;i="6000,8403,9658"; a="123722612" X-IronPort-AV: E=Sophos;i="5.75,261,1589266800"; d="scan'208,217";a="123722612" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2020 19:14:03 -0700 IronPort-SDR: vEAM3RlAHL9n9SyJGOy909nnwDfSo+toz1CKzt5xA+EGuwdP+kqrNJJxNeHZq1bOiJHZHnD2F+ X4fnsBlg0laQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,261,1589266800"; d="scan'208,217";a="422264384" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 20 Jun 2020 19:14:03 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 20 Jun 2020 19:14:03 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 20 Jun 2020 19:14:02 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 20 Jun 2020 19:14:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FghM1ezwt4aruL2JCIabNgqyblAF5Br2C9QKNv4LVixBG865whk1nrboH3iwMJd4ubKKAB7FTP1zn8FPQ9xS4nl4W5hl7s8qcrtnSCZM5uS+DT7U1I5Y/Xd3z+A1Jobak9Eji0OCLpPPwGOIRIDmo8VCnKLtqtiJ9d2gkPs12FaZ7rc26/iPWFF876+iFr1luYWNE/fduFfcfsVWN/lTRI6l7p5fm63/cxi2Kr7UbGIThWDLRoqS/uLje/kYGwMshNuin7VdgJUCJeYXl0quRT14/zfraIqE2BxPFFENyMnoVEle+krtMA93RMECHu4ASc8ghLOpPOh+82gNapBgKQ== 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=e6fd3JADzEud0pjgZO8LEYv8L1bdqoAz9aTBdNrAr+w=; b=NK0voZL9AYbbDnfvkecLdacjwHyJOag5r6SA7jaH2MhWxk5fa/KuADFvfTOG2FPvwMByJshDWz4/1XwfQQkOnrCdfFJyl9l17qJDlR6WmYIFPRA6KdcgT6c9l+Dou4bUJULFtFcYEtr9DaG39T5BHyOepxwpNdPNqW+WWqplaXM7c+LKgo51ExZMXVc49/x+pxP4Box2DZVMM2wwFnRBGioyjDBsZpMdMC/go0dBa52g3Dq8UYKRbmhVzU9GoCVvmYlBVzFHUHqSrHoGMvgNuTHlqvlCZv9tvV7kHr4GYPNhvRNyDIHNBLuFvIm+C6RV81XBIefBnYI47iTw5unFHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e6fd3JADzEud0pjgZO8LEYv8L1bdqoAz9aTBdNrAr+w=; b=XMXmyMU9jrVE72MTA3joNqAi41YWzZq+xAzsyHyHa/jV5N0q+S183hfPQNgPN0Rj0sX/wDNSDP2S3mjQJEyDs4ahpR0kXeFC6NayzMV9RC6duGNnL36sownBZ6wb5YXkyeCotX1vcZ8+3a0zefV7iOWK3wkb4GEMr8Lm8FpL5NU= Received: from BYAPR11MB3653.namprd11.prod.outlook.com (2603:10b6:a03:f7::14) by BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.24; Sun, 21 Jun 2020 02:14:01 +0000 Received: from BYAPR11MB3653.namprd11.prod.outlook.com ([fe80::6c0c:f784:6060:76de]) by BYAPR11MB3653.namprd11.prod.outlook.com ([fe80::6c0c:f784:6060:76de%7]) with mapi id 15.20.3109.023; Sun, 21 Jun 2020 02:14:01 +0000 From: "Guo Dong" To: Pierre Gondois , "devel@edk2.groups.io" , "Ma, Maurice" , "You, Benjamin" , nd Subject: Re: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc Thread-Topic: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc Thread-Index: AdZFgBMsodLFn79lQLy7ENmvIb5E9QAOzizgABimKkAARZI+cA== Date: Sun, 21 Jun 2020 02:14:00 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [68.2.51.172] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e0bf3feb-e6d5-419b-9d4f-08d81588c371 x-ms-traffictypediagnostic: BYAPR11MB2711: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 04410E544A x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kuaxjy6zMos2RlnIbDdjd6FOWc9kRU+ziUy7R4esM2JEE0q1ne2JR5afo1A2vN7wfgW8z3NKh+P7rqyNf159gA4v/vu0PgvKkMMKjUNUz4ysdFxVXigXpgwcsBK3Yiwc78yHm/h9Iu2z30nWadQpKdkJASpAqi/9cjfNJOWmtizuo/HKiWtDxLacpbCQmBYIQu0moVl3dSPgbFhGTb553eHJocf2fPcFi4rIcMfKBr5INSLmqecuqZ+2DuiwtEyhl+gK0WF4hTMKEPX3nWpoHN8lb4YV2jybMErgpRp0v8oH+DEhMh38ys27e9hsSYn14iezQfsvynALMEqnlBCD7YcH30SVGGyPKt/Fc4VcDB9Y7L7xyOVG2TAMiagtBBW2875n+xgBmqRgJzt6xlIjIA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3653.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(366004)(136003)(346002)(376002)(396003)(83380400001)(166002)(66556008)(55016002)(9686003)(66476007)(2906002)(66446008)(64756008)(8676002)(66946007)(478600001)(76116006)(9326002)(86362001)(8936002)(33656002)(52536014)(71200400001)(316002)(5660300002)(186003)(6506007)(7696005)(26005)(110136005)(53546011);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: B6Iad9odSxa8e3wR+A2bAii3in2lm7Z7qAab7aULufZ2295Ip2yGJ9CZ6+JbD2P+qRtBFQTsx/3i3nWf+lSADvrw+hvaNsX0/wk+l40cnDXjudj9CeYuknLhcv3SJTzG/JPrLAy1qNHHOlT+27lqAWKjL0rFIg4uP8PjvN+1gX/7w4f97IdV5SMysWP5a+gW158hqS+zRUgDZXJgmAmPxUNwgFnsfzEVMC1wz1ONnKdk44TVb62FQ0h/r3xM/8Ozcqy2JI5vzh9M9HM5JwPBaeUdjb5m1zKTAI0vtIE22WNp3GbRudSQko88ROfbRcNL4Y/dYUOGS2+uM/NiYlLYFgFI34Rha+x9gb9xwkxI1z6ieG6TpkNwpe83XfwV6MCoQakDmYQjoyCjKLS63v1mByAR1nyp326+7Zhg6J2GMgWOJrET3uadaUkmA1RSToyGMUd1nuZhpdzOg67ur75BX1JwQvuA2cBXEpyLGOHe6CM= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e0bf3feb-e6d5-419b-9d4f-08d81588c371 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2020 02:14:01.0194 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: D27Kqk2EkxKT0405m7sYTe9yyuOIFIGDk8PJ0edDDku8krt9RIgj/8qUQeZ6hRehBbgCFRhgHZGkRgWp7MhmOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2711 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BYAPR11MB36536A2480BDDC31064A03E69E960BYAPR11MB3653namp_" --_000_BYAPR11MB36536A2480BDDC31064A03E69E960BYAPR11MB3653namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Pierre, There is no trouble to update FDF file to increase FV size. I will create= a patch to support NOOPT build. Thanks, Guo From: Pierre Gondois Sent: Friday, June 19, 2020 2:55 AM To: devel@edk2.groups.io; Dong, Guo ; Ma, Maurice ; You, Benjamin ; nd Subject: RE: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc Hello Guo, Thank you for your quick answer. I am asking on a testing perspective, I a= m not using a pure IA32 UEFI payload image. However, would it be possible to increase the FV size for the NOOPT build = type, or not to advertise it in the DSC file? I believe the build configura= tion should work if advertised. Again, this is only for testing purpose. I can also remove this configurat= ion from my test suite if this is too much trouble. Regards, Pierre From: devel@edk2.groups.io > On Behalf Of Guo Dong via groups.io Sent: 18 June 2020 23:17 To: devel@edk2.groups.io; Pierre Gondois >; Ma, Maurice >; You, Benjamin >; nd > Subject: Re: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc Thanks Pierre to report this build failure. The failure is caused by FV size increase when using build parameter "-b N= OOPT". Given this build option would almost double the build size and it is seld= om used, I prefer you update the FDF file to increase the FV size to solve = it locally. BTW, from your build command, you are trying to build a pure IA32 UEFI pay= load image, are you still using pure IA32 UEFI payload? I ask this question because I plan to add pure X64 UEFI payload support an= d drop pure IA32 UEFI payload if possible. Of course UEFI payload will continue support IA32 entrypoint and switch to= X64 before DXE core. Thanks, Guo From: devel@edk2.groups.io > On Behalf Of PierreGondois Sent: Thursday, June 18, 2020 7:55 AM To: Ma, Maurice >; Dong,= Guo >; You, Benjamin >; devel@edk2.groups.io; nd > Subject: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc Hello, I am not actively using this platform, but I wanted to report an error whe= n building one of the DSC files in the UefiPayloadPkg with the following co= nfiguration: build -b NOOPT -a IA32 -t VS2017 -p edk2 edk2\UefiPayloadPkg\UefiPayloadPk= gIa32.dsc The following error occurs: Generating PEIFV FV #### ['GenFv', '-a', 'Build\\UefiPayloadPkgIA32\\NOOPT_VS2017\\FV\\Ffs\\PE= IFV.inf', '-o', 'Build\\UefiPayloadPkgIA32\\NOOPT_VS2017\\FV\\PEIFV.Fv', '-= i', Build\\UefiPayloadPkgIA32\\NOOPT_VS2017\\FV\\PEIFV.inf'] Return Value =3D 2 GenFv: ERROR 3000: Invalid the required fv image size 0x406c8 exceeds the set fv image size 0x30000 Regards, Pierre IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in= any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in= any medium. Thank you. --_000_BYAPR11MB36536A2480BDDC31064A03E69E960BYAPR11MB3653namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 =

Hi Pierre,<= o:p>

 =

There is no= trouble to update FDF file to increase FV size.  I will create a patc= h to support NOOPT build.

 =

Thanks,

Guo

 =

From: Pierre Gondois <Pierre.Gondois@arm.= com>
Sent: Friday, June 19, 2020 2:55 AM
To: devel@edk2.groups.io; Dong, Guo <guo.dong@intel.com>; Ma,= Maurice <maurice.ma@intel.com>; You, Benjamin <benjamin.you@intel= .com>; nd <nd@arm.com>
Subject: RE: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc

 

Hello Guo,

Thank you f= or your quick answer. I am asking on a testing perspective, I am not using = a pure IA32 UEFI payload image.

However, wo= uld it be possible to increase the FV size for the NOOPT build type, or not= to advertise it in the DSC file? I believe the build configuration should = work if advertised.

Again, this= is only for testing purpose. I can also remove this configuration from my = test suite if this is too much trouble.

 =

Regards,

Pierre

 

From: devel@edk2.groups.io <deve= l@edk2.groups.io> On Behalf Of Guo Dong via groups.io
Sent: 18 June 2020 23:17
To: devel@edk2.groups.io; Pierre Gondois <Pierre.Gond= ois@arm.com>; Ma, Maurice <maurice.ma@intel.com>; You, Benjamin <benjamin.you@intel.com>; nd <nd@arm.com>
Subject: Re: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc

 

 =

Thanks Pier= re to report this build failure.

The failure= is caused by FV size increase when using build parameter “-b NOOPT&#= 8221;.

Given this = build option would almost double the build size and it is  seldom used= , I prefer you update the FDF file to increase the FV size to solve it loca= lly.

 =

BTW, from y= our build command, you are trying to build a pure IA32 UEFI payload image, =  are you still using pure IA32 UEFI payload?

I ask this = question because I plan to add pure X64 UEFI payload support and drop pure = IA32 UEFI payload if possible.

Of course U= EFI payload will continue support IA32 entrypoint and switch to X64 before = DXE core.

 =

Thanks,

Guo

 =

From: devel@edk2.groups.io <deve= l@edk2.groups.io> On Behalf Of PierreGondois
Sent: Thursday, June 18, 2020 7:55 AM
To: Ma, Maurice <maurice= .ma@intel.com>; Dong, Guo <= guo.dong@intel.com>; You, Benjamin <benjamin.you@intel.com>; devel@edk2.groups.io; nd <<= a href=3D"mailto:nd@arm.com">nd@arm.com>
Subject: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc

 

Hello,

I am not actively using this p= latform, but I wanted to report an error when building one of the DSC files= in the UefiPayloadPkg with the following configuration:<= /p>

build -b NOOPT -a IA32 -t VS20= 17 -p edk2 edk2\UefiPayloadPkg\UefiPayloadPkgIa32.dsc

 

The following error occurs:

Generating PEIFV FV=

#### ['GenFv', '-a', 'Build\\U= efiPayloadPkgIA32\\NOOPT_VS2017\\FV\\Ffs\\PEIFV.inf', '-o', 'Build\\UefiPay= loadPkgIA32\\NOOPT_VS2017\\FV\\PEIFV.Fv', '-i', Build\\UefiPayloadPkgIA32\\= NOOPT_VS2017\\FV\\PEIFV.inf']

Return Value =3D 2<= /span>

GenFv: ERROR 3000: Invalid

the required fv image size 0x4= 06c8 exceeds the set fv image size 0x30000

 

Regards,

Pierre

IMPORTANT NOTICE: The contents= of this email and any attachments are confidential and may also be privile= ged. If you are not the intended recipient, please notify the sender immedi= ately and do not disclose the contents to any other person, use it for any purpose, or store or copy the informa= tion in any medium. Thank you.

IMPORTANT NOTICE: The contents= of this email and any attachments are confidential and may also be privile= ged. If you are not the intended recipient, please notify the sender immedi= ately and do not disclose the contents to any other person, use it for any purpose, or store or copy the informa= tion in any medium. Thank you.

--_000_BYAPR11MB36536A2480BDDC31064A03E69E960BYAPR11MB3653namp_--