[edk2] [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue

Guo, Mang posted 1 patch 5 years, 10 months ago
Failed in applying to current master (apply log)
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[edk2] [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue
Posted by Guo, Mang 5 years, 10 months ago
Call InstallReadyToLock after PlatformBdsConnectConsole and ProcessCapsules in flash update boot mode to fix capsule update failure issue.

CC: Wei, David <david.wei@intel.com>
CC: Yao, Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Guo Mang <mang.guo@intel.com>
---
 Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/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 (
 
   case BOOT_ON_FLASH_UPDATE:
 
-    //
-    // Close boot script and install ready to lock
-    //
-    InstallReadyToLock();
 
     //
     // Boot with the specific configuration
@@ -2016,6 +2012,10 @@ PlatformBdsPolicyBehavior (
     ProcessCapsules ();
     DEBUG((DEBUG_INFO, "ProcessCapsules Done\n"));
 
+    //
+    // Close boot script and install ready to lock
+    //
+    InstallReadyToLock();
 
     BdsLibConnectAll ();
 
-- 
2.10.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue
Posted by Wei, David 5 years, 10 months ago
Reviewed-by: zwei4 <david.wei@intel.com>

Thanks,
David  Wei

Intel SSG/STO/UEFI BIOS                                 

-----Original Message-----
From: Guo, Mang 
Sent: Thursday, June 28, 2018 9:48 AM
To: edk2-devel@lists.01.org
Cc: Wei, David <david.wei@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>
Subject: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue

Call InstallReadyToLock after PlatformBdsConnectConsole and ProcessCapsules in flash update boot mode to fix capsule update failure issue.

CC: Wei, David <david.wei@intel.com>
CC: Yao, Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Guo Mang <mang.guo@intel.com>
---
 Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/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 (
 
   case BOOT_ON_FLASH_UPDATE:
 
-    //
-    // Close boot script and install ready to lock
-    //
-    InstallReadyToLock();
 
     //
     // Boot with the specific configuration
@@ -2016,6 +2012,10 @@ PlatformBdsPolicyBehavior (
     ProcessCapsules ();
     DEBUG((DEBUG_INFO, "ProcessCapsules Done\n"));
 
+    //
+    // Close boot script and install ready to lock
+    //
+    InstallReadyToLock();
 
     BdsLibConnectAll ();
 
-- 
2.10.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel