From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.482.1594230954914551331 for ; Wed, 08 Jul 2020 10:55:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=HMt8u9sq; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: guo.dong@intel.com) IronPort-SDR: 7svUAba957Y0KmPta21d9JR9w1AniBdHij8aEykTJzoqOJj+JmSUpfUrZpaPUeM9JfC+Hc5+Ae M/2yuTgslzDg== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="127464564" X-IronPort-AV: E=Sophos;i="5.75,328,1589266800"; d="scan'208,217";a="127464564" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 10:55:53 -0700 IronPort-SDR: xtMZ/zY2E0ws4xeWGtQX/7Av+z9Jm7IeXbJ2ywIRN2pvY/i97parbdxtaA1uU+0rntcgdaaX4c SnBo/4S4yT8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,328,1589266800"; d="scan'208,217";a="457594237" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga005.jf.intel.com with ESMTP; 08 Jul 2020 10:55:53 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 8 Jul 2020 10:55:42 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 8 Jul 2020 10:55:42 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 8 Jul 2020 10:55:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EiCtGamDA7ok+U5DOS2R3jFuoNxdTzFk4/PkQ1Mzmv1ylOAR+JR1Ybs162LxdDJs3gQf3h2SUrKcyfABwHhQOHwI44Ivl+LEeFNBZGo5IVgAAVEfAK/tzXDHXY1y7IQIxxH93U0ODfsjeIVPCsmudJ75qBPOIzMhd6L0PlnxkQZo7go83cSqGlfdljXqXY+U85A+Y1oixYm19zDvP8ibB2SJjZqrkhyqaHUJC3k4ZalQanaUTVrOQzEPU0spJpr8omTAwKVUXG/PKmMexdwVH8o+vQOt7SleQA4cFmcHCAd/i39y50gd5dwD9ET2Uu3/BUFtKOLVzJKwZnj//Ces2w== 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=NvmUoo4WNbHLgXhyOBJjX3NMn2QivMbVSnM53n7smvg=; b=OKcKXQR4OUiTdvFzA1IEtlReZw3xtIPxC2iYtXdLOHUkCNb4v8+7XvIz9Fa5XWeuSrQhdZYPjcpX6TNcGnTn4KmMcJ8lBXHPq0AVOT4oSFnVc6AaYZqTuvhlnDMnQSKkI+d0Ljl6qUGbjNPVhQoooHnGtEORfIF4tZc6EaEjfgZaUudKB2XTZ9C6Ip49893255crOZVhp/tzDF65BtTQ2/6ztEaLXQ3vyfM15NZjTOJjqWyvr4uI6tx4a3nX0pOMecxIYPPkZsoL4r+yFZ8DczqveblLR+XJ9SFJICdoQJTxgMJlztdQi1zkfQYuuwbibqGWHr+jpMApQKGXZWrz/g== 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=NvmUoo4WNbHLgXhyOBJjX3NMn2QivMbVSnM53n7smvg=; b=HMt8u9sq1rfd+KjT15fkJXgE4UJFlBOvgqX/F6IiNXU8K47mCeOVVpH6pKaNy8LpExzWxWrSBr1OIQnaERYGM0CJUc7AV5f4t7OaRG4Js2pkQHpo6P5hjmUKN3QPdYIf8oH3ckZLGTp5UW6OscW3AaU6CVryZL5GIu8M1uv6CvY= Received: from BYAPR11MB3622.namprd11.prod.outlook.com (2603:10b6:a03:fe::30) by BY5PR11MB4226.namprd11.prod.outlook.com (2603:10b6:a03:1bf::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Wed, 8 Jul 2020 17:55:36 +0000 Received: from BYAPR11MB3622.namprd11.prod.outlook.com ([fe80::b8ef:75ed:246d:228c]) by BYAPR11MB3622.namprd11.prod.outlook.com ([fe80::b8ef:75ed:246d:228c%6]) with mapi id 15.20.3153.030; Wed, 8 Jul 2020 17:55:36 +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+cAOB38swAAVPKvA= Date: Wed, 8 Jul 2020 17:55:36 +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: [134.134.136.209] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f1982757-faf7-4322-82d2-08d823681e52 x-ms-traffictypediagnostic: BY5PR11MB4226: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BmsaKzze9B3/pAPAeTu5ms2Ab0VktDWelUc+8KlmriMGAoxPvZyE6iWIy6dC09H254Gbaq5X3tdVu1TfbbSv4wfrZi0Qjo8umLTLdVK0I1tmdu4AsmKjGm5KolqY1NYf+VKkJfvXBv+H6VTD8mctM+lkrgFfJ2IFhR+NXWXUIZU5xzJg7/yS/BLWsrWXMLBiFaMRpxTlCcdqs3lxKwTaNm3G2AsI13CFQjLzF+TWW5euO5Vvun7a+wgwAaTcCaUUgmYLUyT/E4SkURtBGYvlKjpH61CCbLtdeM9wY4QjXpCjupj0v9ET9u2EYKYT7FzgWOY6p1Kur0gJQKJ7CUOqFWwGMRIm4Mmn8j/Is1p+cKoItOMvsb32GH/lY7jMJj1l4hnPNQF8h2s4s8xPRCqC1A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3622.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(136003)(366004)(39860400002)(396003)(376002)(316002)(166002)(8676002)(66556008)(110136005)(186003)(52536014)(9686003)(26005)(2906002)(5660300002)(478600001)(33656002)(53546011)(6506007)(83380400001)(55016002)(71200400001)(86362001)(7696005)(66476007)(64756008)(66446008)(76116006)(66946007)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 18LfBq4+zWe5f2Kf8aNJkkRHKnr0O5fsdRVAcVFjCTssNfMjMThszyoWM5iZd4mZAw3WzrF3GA2G1x91eZhIEd06+nTHDhupsFemrl58B1hoVFxS8YswtjFfGZ9RKZ29D2jBVfdw0gF2raRB3x1WRmCJYz+AiCbz0qUw5uVaqlUMDJ1eaSlQvHak2NuzQ7TdvlT9IaTXCRb7Gs2ZMoKRCwCRX7b/1rdocqz/xkltj5anLdaY0jAtUNCKF2RyvHXJ21Fs9301GrMH2dZsCXcFC0ScexiTpfegOb9w1RYjk4ZzDfXV9HFwR3dDoI11UtCY4OdVQwfGHJyUmVDvPO86n90Znncpw7jTXz/D7o7fMS1dGDUuKfiqnKl71F9BpaRNhfcpkyId7pBUf8LbBDaO6cPyGhN9+3hDQblJzKmMNkQ2R97VMtBaC6EtkNJA6zjRQi3hd1Ff2t1b+POtXfLRFEpO8xWvYBZ4ZmeRJtWm57dz4jpYWZqqZOmACAa4SmwY MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3622.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1982757-faf7-4322-82d2-08d823681e52 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2020 17:55:36.4160 (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: VbfNoND+6+knTP5MEjXKsRvvHdP7UG5sl/fcHDQ4Ub4Y7uPZX0ZhVstpAhAGHmv66uEv/vV9toSYTfzatDg9RA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4226 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BYAPR11MB36220F0000D94BCCAB2866F89E670BYAPR11MB3622namp_" --_000_BYAPR11MB36220F0000D94BCCAB2866F89E670BYAPR11MB3622namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Pierre for the remainder. Will merge the fix this week. /Guo From: Pierre Gondois Sent: Wednesday, July 8, 2020 8:25 AM To: Dong, Guo ; devel@edk2.groups.io; Ma, Maurice ; You, Benjamin ; nd Subject: RE: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc Hello Guo, This is just a remainder in case you forgot, Regards, Pierre From: Dong, Guo > Sent: 21 June 2020 03:14 To: Pierre Gondois >= ; devel@edk2.groups.io; Ma, Maurice >; You, Benjamin >; nd > Subject: RE: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc 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. 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_BYAPR11MB36220F0000D94BCCAB2866F89E670BYAPR11MB3622namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 =

Thanks Pier= re for the remainder. Will merge the fix this week. /Guo<= /p>

 =

From: Pierre Gondois <Pierre.Gondois@arm.= com>
Sent: Wednesday, July 8, 2020 8:25 AM
To: Dong, Guo <guo.dong@intel.com>; devel@edk2.groups.io; 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,

This is just a remainder in ca= se you forgot,

 

Regards,

Pierre

 

From: Dong, Guo <guo.dong@intel.com>
Sent: 21 June 2020 03:14
To: Pierre Gondois <Pi= erre.Gondois@arm.com>; devel@edk2.groups.io; Ma, Maur= ice <maurice.ma@intel.com>= ;; You, Benjamin <benjamin.you= @intel.com>; nd <nd@arm.com>=
Subject: RE: [edk2-devel] Build error for UefiPayloadPkgIa32.dsc

 

 =

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.

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_BYAPR11MB36220F0000D94BCCAB2866F89E670BYAPR11MB3622namp_--