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.24; helo=mga09.intel.com; envelope-from=david.wei@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 BA454211F8890 for ; Wed, 27 Jun 2018 19:10:31 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2018 19:10:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,281,1526367600"; d="scan'208";a="52468015" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 27 Jun 2018 19:10:31 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 27 Jun 2018 19:10:31 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 27 Jun 2018 19:10:30 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.82]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Thu, 28 Jun 2018 10:10:29 +0800 From: "Wei, David" To: "Guo, Mang" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue Thread-Index: AdQOgfwqJya/dflHSVuzTwpUStw8GgAAynrA Date: Thu, 28 Jun 2018 02:10:29 +0000 Message-ID: <89954A0B46707A448411A627AD4EEE34690C99AC@SHSMSX101.ccr.corp.intel.com> References: <22D2C85ED001C54AA20BFE3B0E4751D1526940E4@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <22D2C85ED001C54AA20BFE3B0E4751D1526940E4@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmMzYTNjN2YtZmI5Yi00ODVjLThhYjAtMDgxM2U3MzQ4Zjg0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiczBjeG82RDd5anFHdzNqUU1zMEJaVzVzak9Qb084XC9HTklWbHlmdEdZSDdEV01DdFZWUWFZb0tyKzRDNmpWYloifQ== 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-MinnowBoardMax-UDK2017] Fix capsule update issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 02:10:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: zwei4 Thanks, David Wei Intel SSG/STO/UEFI BIOS =20 -----Original Message----- From: Guo, Mang=20 Sent: Thursday, June 28, 2018 9:48 AM To: edk2-devel@lists.01.org Cc: Wei, David ; Yao, Jiewen Subject: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule u= pdate issue Call InstallReadyToLock after PlatformBdsConnectConsole and ProcessCapsules= in flash update boot mode to fix capsule update failure issue. CC: Wei, David CC: Yao, Jiewen Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Guo Mang --- Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2T= bltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c index 3e7cf35..156630e 100644 --- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c @@ -2001,10 +2001,6 @@ PlatformBdsPolicyBehavior ( =20 case BOOT_ON_FLASH_UPDATE: =20 - // - // Close boot script and install ready to lock - // - InstallReadyToLock(); =20 // // Boot with the specific configuration @@ -2016,6 +2012,10 @@ PlatformBdsPolicyBehavior ( ProcessCapsules (); DEBUG((DEBUG_INFO, "ProcessCapsules Done\n")); =20 + // + // Close boot script and install ready to lock + // + InstallReadyToLock(); =20 BdsLibConnectAll (); =20 --=20 2.10.1.windows.1