From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: ankit.sinha@intel.com) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by groups.io with SMTP; Wed, 31 Jul 2019 11:59:05 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jul 2019 11:59:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,331,1559545200"; d="scan'208";a="163226785" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga007.jf.intel.com with ESMTP; 31 Jul 2019 11:59:01 -0700 Received: from orsmsx153.amr.corp.intel.com (10.22.226.247) by ORSMSX110.amr.corp.intel.com (10.22.240.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 31 Jul 2019 11:59:00 -0700 Received: from orsmsx109.amr.corp.intel.com ([169.254.11.25]) by ORSMSX153.amr.corp.intel.com ([169.254.12.99]) with mapi id 14.03.0439.000; Wed, 31 Jul 2019 11:59:00 -0700 From: "Sinha, Ankit" To: "devel@edk2.groups.io" , "Chiu, Chasel" CC: "Kubacki, Michael A" , "Desimone, Nathaniel L" , "Gao, Liming" Subject: Re: [edk2-devel] [PATCH 2/4] Platform/Intel: Auto configure Fsp*BaseAddress PCD Thread-Topic: [edk2-devel] [PATCH 2/4] Platform/Intel: Auto configure Fsp*BaseAddress PCD Thread-Index: AQHVRf3i5D7r/OeJl0uZXlRl9U9eLKblGAQg Date: Wed, 31 Jul 2019 18:59:00 +0000 Message-ID: <972926FCCE2F9141BF8AD787AAA02EFF5128EA97@ORSMSX109.amr.corp.intel.com> References: <20190729110715.2312-1-chasel.chiu@intel.com> <20190729110715.2312-3-chasel.chiu@intel.com> In-Reply-To: <20190729110715.2312-3-chasel.chiu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTA3Y2QwMTItNzg4OC00YjRkLWJiZGQtNmM5NTE0ZTRiNmI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRHdWSHd6YVRvVXRBdGg5OFI3RjVhTzlERGFqYzdIMHhQb29FdWp4blFGenVGaVdpVDNuOUN5cFBDMTk2ZEVsaiJ9 x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Return-Path: ankit.sinha@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ankit Sinha -----Original Message----- From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Chiu= , Chasel Sent: Monday, July 29, 2019 4:07 AM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Desimone, Nathaniel = L ; Gao, Liming Subject: [edk2-devel] [PATCH 2/4] Platform/Intel: Auto configure Fsp*BaseA= ddress PCD REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1863 Consume RebaseFspBinBaseAddress.py which will only rebase FSP binary witho= ut patching platform DSC. Cc: Michael Kubacki Cc: Nate DeSimone Cc: Liming Gao Signed-off-by: Chasel Chiu --- Platform/Intel/build_bios.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Platform/Intel/build_bios.py b/Platform/Intel/build_bios.py i= ndex c01b953d16..37b5ee2f5b 100644 --- a/Platform/Intel/build_bios.py +++ b/Platform/Intel/build_bios.py @@ -303,21 +303,18 @@ def build(config): os.path.join(config['WORKSPACE_PLATFORM'], config['PLATFORM_PACKAGE'], 'Tools', 'Fsp', - 'RebaseAndPatchFspBinBaseAddress.py'), + 'RebaseFspBinBaseAddress.py'), os.path.join(config['WORKSPACE_PLATFORM'], config['FLASH_MAP_FDF']), os.path.join(config['WORKSPACE_FSP_BIN'], config['FSP_BIN_PKG']), "Fsp.fd", - os.path.join(config['WORKSPACE_PLATFORM'], - config['PROJECT'], - config['BOARD_PKG_PCD_DSC']), "0x0"] =20 _, _, _, return_code =3D execute_script(command, config, shell=3D= False) =20 if return_code !=3D 0: - print("ERROR:RebaseAndPatchFspBinBaseAddress failed") + print("ERROR:RebaseFspBinBaseAddress failed") sys.exit(return_code) =20 # create Fsp_Rebased.fd which is Fsp_Rebased_S.fd + -- 2.13.3.windows.1