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.5176.1592518620222001105 for ; Thu, 18 Jun 2020 15:17:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=oajYwHrm; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: guo.dong@intel.com) IronPort-SDR: i7Lo9gayqWFw9+91dQjFiVWjordPxnq6skooSJl3gTMPbsQFV0VoCgJw2sfWU5TiJjcdpBhJS0 DOuhE9xztt4g== X-IronPort-AV: E=McAfee;i="6000,8403,9656"; a="122988242" X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208,217";a="122988242" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2020 15:16:59 -0700 IronPort-SDR: sjkkcSmNYZVj076/dOV+YDt6a7Dek8DgYdevp4WZ6jdvpvgqQm0DUWXRGFkdSeY05skMO+SMHR /MgE1N3oIzfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208,217";a="299847512" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga004.fm.intel.com with ESMTP; 18 Jun 2020 15:16:59 -0700 Received: from orsmsx157.amr.corp.intel.com (10.22.240.23) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 15:16:59 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX157.amr.corp.intel.com (10.22.240.23) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 15:16:58 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 15:16:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HQeu5aA2QPyj9p6Du16FOyrkobGbR/NUKNRFrO56yd6RJOG250vYJ9IlRAOZ2sxs3dNGJwoe3G3S43UuXGn1VSunJOLSUcNH8mFTKRguSw4yu624acOenYV3rInZM0SoBn+FuxF1t2o0V9/9vWBwZkSLb1K5vRGC2Y9UteB1cBa8SQU5jR/g9DKrpqPccc8EFkG9Nqq7hKJg9vftXpEvICDTNMKbj3PHZsW4swfgRjWkIRdZ3cFLaRsOD51A9nZOw6hKFAjFmOcoj9nC9xhXlQu0KBpF1yt/iJGZVduwvoAlqFEmRIMw9RFQDs+2Rk+W178yI+M19gUS9x3d+wcKMQ== 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=IzRPYLEVMofwI/eJBjBPWhaFUq0CnT2B6TMLSBg2ZNs=; b=TVmkxY99KHCVSknsVyp485y/A7QGLiKDZ7H7pWZezrLHOIBJg4U1WJcWqkOCSqE0de0fFuwtfFR5o+2uRixRd4CNH8if2H8EW2eLxTA7OCCbyxigRDuiInpaNqOmXLVYvMV8MoSKKuBRBurbqZidFLtqjVu2CIx5UnL23sDXEvefKyD5ob+pvl9wUDgfa5UDg9WYkQYK0gQy4/kmtSmVEq92FGssExyWUr5LBe14788v4R66dAfpchA853MlQb/Kjg09ZmvXTx9TgIprm8UJpHGXXBR2GhGzqiR5zNeYsHJ7Gl4kSYqY5QlpF16Bt2MjoT/Ot9qm8BP5frJe+sl6Xw== 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=IzRPYLEVMofwI/eJBjBPWhaFUq0CnT2B6TMLSBg2ZNs=; b=oajYwHrmpJvvOcMdUNhaNA6lmVoKU11hp2HV98i2onVwndaCZ9HM9QWr8d95uXqVo+xmJ0hACQM9Vg+TzvxzaTomrWquvYGD8Q/xIx8EcyMH75x254J8HtWaU6NKTuEJDxXSX9XWusGQ/Ty5M84gFpH80ruWdwICF/crnHG1VA8= Received: from BYAPR11MB3653.namprd11.prod.outlook.com (2603:10b6:a03:f7::14) by BY5PR11MB4500.namprd11.prod.outlook.com (2603:10b6:a03:1c3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.21; Thu, 18 Jun 2020 22:16:57 +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.3088.029; Thu, 18 Jun 2020 22:16:57 +0000 From: "Guo Dong" To: "devel@edk2.groups.io" , "pierre.gondois@arm.com" , "Ma, Maurice" , "You, Benjamin" , nd Subject: Re: Build error for UefiPayloadPkgIa32.dsc Thread-Topic: Build error for UefiPayloadPkgIa32.dsc Thread-Index: AdZFgBMsodLFn79lQLy7ENmvIb5E9QAOzizg Date: Thu, 18 Jun 2020 22:16:57 +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: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; 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: 308b0eb2-108d-4642-8f18-08d813d550b4 x-ms-traffictypediagnostic: BY5PR11MB4500: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0438F90F17 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TC/GpDp6rjM7K2QYVAfZO3irih2ub75oZJ6huDa3thH75GQexoxufWZeYmcaeSzHIIpZ7QzCANrYoh+OGvnVkG2KsHPPPhWLMr7Panr6AIqyAZU9VeyyN0hjc+JmDc57ipA4ELnFKQi9NW32wcPRxfB5I9bSEr8zgF7P2zgMzHE+6ezBHfjUr8PhqJzqQrFBq02enFgVSpmmzkCOqHv7UevIS/fpy1vDUGfwzgg0pfSRukuY0NOcHy+Dq2iIhJlfbpgIcH4303whLxRftJMo4ku5Xx87h8DOIXf+AWSoVQ+HQGMNxcS5hnloZoX9xZQQBvPJJV0aethu5OWwj2XwWCbnIc1EoZtKrjgEsc5ZQkJmQxo7CnwLAnAgNoSZRZydV5CG5W0V0QSKCiD72qMuug== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(52536014)(9686003)(55016002)(26005)(5660300002)(6506007)(53546011)(76236003)(478600001)(2906002)(110136005)(8676002)(8936002)(86362001)(316002)(7696005)(66946007)(186003)(76116006)(33656002)(66446008)(83380400001)(166002)(64756008)(66556008)(71200400001)(66476007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: P7cvufXY1VD/ClnpIbBbPPsF4L7KCtFHyNaIhzbiPbZsq7NcBNNkyD7+ILV9k1pav+xUtorETC+qrDZZytthoxXAtl+JsOOrosMcGGhGVATu6emJ5Hgc4CwyPlhsudHms/LxnhaCSP0KYJjkeXYCgXzvlm7wHQPOH5pKO2qfxBqFwYRbV4cCIaapJ4nURK3CW8Bc6cWtdlaFY7mqvEpqPOs92ayST6OWc/dDtBeZtM62XOzKGjt0eDQyr7im6yjeu5cz9QfMTpM5ffcrFwzqBAgOlj/fdMV+5FP+oUIpFEV6JMQ5+uOqobls/5nvW3GQTbeb26I9+XbOjtQjD9nXdvW/l0WHfKhedX8udOQEDs8d8okDuf7qM2o1GN2Q35Z9YDuOHszrrNPRk2YZqIy8j3f7hV1xyaoQPuxUnbLjCE3Qzv9ShGX18L5dqifFxB7+DaLsi0wDdf+U6lZIb8X2y46kNC07+e6N0KPEU8+97W0= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 308b0eb2-108d-4642-8f18-08d813d550b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 22:16:57.3678 (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: QqMm/z/dR0zpt2gWyQqafTH/LRtzWm2ufTqsCCkhb/TcqNMBOp6z3UT4QbfE0Tnw5r6qL4G/2v8bTE5hOiBHvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4500 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BYAPR11MB36530FF3278DEF6CB2AD725C9E9B0BYAPR11MB3653namp_" --_000_BYAPR11MB36530FF3278DEF6CB2AD725C9E9B0BYAPR11MB3653namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 PierreGondo= is Sent: Thursday, June 18, 2020 7:55 AM To: Ma, Maurice ; Dong, Guo ; Yo= u, 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. --_000_BYAPR11MB36530FF3278DEF6CB2AD725C9E9B0BYAPR11MB3653namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 =

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 <devel@edk2.gr= oups.io> On Behalf Of PierreGondois
Sent: Thursday, June 18, 2020 7:55 AM
To: Ma, Maurice <maurice.ma@intel.com>; Dong, Guo <guo.don= g@intel.com>; You, Benjamin <benjamin.you@intel.com>; devel@edk2.g= roups.io; nd <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.

--_000_BYAPR11MB36530FF3278DEF6CB2AD725C9E9B0BYAPR11MB3653namp_--