From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.126; helo=mga18.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EF2CC20336AD8 for ; Fri, 6 Jul 2018 07:57:17 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jul 2018 07:57:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,316,1526367600"; d="scan'208";a="54918182" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 06 Jul 2018 07:57:06 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 6 Jul 2018 07:57:05 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 6 Jul 2018 07:57:05 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.81]) with mapi id 14.03.0319.002; Fri, 6 Jul 2018 22:57:03 +0800 From: "Yao, Jiewen" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Enable PatchFv tool supports PCD value format in build report Thread-Index: AQHUFP18SfA1hfqQKUyjZTy6QUJG/qSCSTJA Date: Fri, 6 Jul 2018 14:57:02 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503AC8E4CD@shsmsx102.ccr.corp.intel.com> References: <1530863149-9232-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1530863149-9232-1-git-send-email-liming.gao@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzg2Nzc5NDUtNDVmOC00ODA0LTlmNTMtYmFhOTdlZjcxYzhmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTWJuZXR4TnhQbGtNczF2ZzhGQWI0ZGRiRDFGN1VwZDFcL0thMHJkZnFoUlRRRmYyTGFEcW5LendTZDVISVg0aHkifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Enable PatchFv tool supports PCD value format in build report X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2018 14:57:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Li= ming > Gao > Sent: Thursday, July 5, 2018 11:46 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [edk2] [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: > Enable PatchFv tool supports PCD value format in build report >=20 > PCD value in build report shows HEX and DEC both. PatchFv tool only requi= res > one value. >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Liming Gao > Cc: Jiewen Yao > --- > Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBfv.py | 2 +- > Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBinFv.py | 2 +- > Platform/Intel/MinPlatformPkg/Tools/PatchFv/RebaseBinFv.py | 2 +- > Platform/Intel/MinPlatformPkg/Tools/PatchFv/SyncBinFvInf.py | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBfv.py > b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBfv.py > index 73c18c5..bb9d280 100644 > --- a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBfv.py > +++ b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBfv.py > @@ -101,7 +101,7 @@ class FileChecker: > if (cmp (splitLine[0], "FIXED") =3D=3D 0) or (cm= p > (splitLine[0], "PATCH") =3D=3D 0): > SplitLine =3D splitLine[1].strip()[1:].split= (")", 1) > Type =3D SplitLine[0] > - Value =3D SplitLine[1].strip()[1:].strip() > + Value =3D SplitLine[1].strip()[1:].strip().s= plit()[0] > print " Type - (" + Type + "), Value - (" += Value > + ")" > return [Value, Type] > return ["", ""] > diff --git a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBinFv.py > b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBinFv.py > index f5cb427..e1facd1 100644 > --- a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBinFv.py > +++ b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/PatchBinFv.py > @@ -209,7 +209,7 @@ class FileChecker: > if (cmp (splitLine[0], "FIXED") =3D=3D 0) or (cm= p > (splitLine[0], "PATCH") =3D=3D 0): > SplitLine =3D splitLine[1].strip()[1:].split= (")", 1) > Type =3D SplitLine[0] > - Value =3D SplitLine[1].strip()[1:].strip() > + Value =3D SplitLine[1].strip()[1:].strip().s= plit()[0] > print " Type - (" + Type + "), Value - (" += Value > + ")" > return [Value, Type] > return ["", ""] > diff --git a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/RebaseBinFv.py > b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/RebaseBinFv.py > index 5463a93..4d194b3 100644 > --- a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/RebaseBinFv.py > +++ b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/RebaseBinFv.py > @@ -643,7 +643,7 @@ class FileChecker: > if (cmp (splitLine[0], "FIXED") =3D=3D 0) or (cm= p > (splitLine[0], "PATCH") =3D=3D 0): > SplitLine =3D splitLine[1].strip()[1:].split= (")", 1) > Type =3D SplitLine[0] > - Value =3D SplitLine[1].strip()[1:].strip() > + Value =3D SplitLine[1].strip()[1:].strip().s= plit()[0] > print " Type - (" + Type + "), Value - (" += Value > + ")" > return [Value, Type] > return ["", ""] > diff --git a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/SyncBinFvInf.py > b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/SyncBinFvInf.py > index 57b6724..19c6e04 100644 > --- a/Platform/Intel/MinPlatformPkg/Tools/PatchFv/SyncBinFvInf.py > +++ b/Platform/Intel/MinPlatformPkg/Tools/PatchFv/SyncBinFvInf.py > @@ -423,7 +423,7 @@ class FileChecker: > if (cmp (splitLine[0], "FIXED") =3D=3D 0) or (cm= p > (splitLine[0], "PATCH") =3D=3D 0): > SplitLine =3D splitLine[1].strip()[1:].split= (")", 1) > Type =3D SplitLine[0] > - Value =3D SplitLine[1].strip()[1:].strip() > + Value =3D SplitLine[1].strip()[1:].strip().s= plit()[0] > print " Type - (" + Type + "), Value - (" += Value > + ")" > return [Value, Type] > return ["", ""] > -- > 2.10.0.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel