public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue
@ 2018-06-28  1:47 Guo, Mang
  2018-06-28  2:10 ` Wei, David
  0 siblings, 1 reply; 2+ messages in thread
From: Guo, Mang @ 2018-06-28  1:47 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: Wei, David, Yao, Jiewen

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue
  2018-06-28  1:47 [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue Guo, Mang
@ 2018-06-28  2:10 ` Wei, David
  0 siblings, 0 replies; 2+ messages in thread
From: Wei, David @ 2018-06-28  2:10 UTC (permalink / raw)
  To: Guo, Mang, edk2-devel@lists.01.org; +Cc: Yao, Jiewen

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-28  2:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-28  1:47 [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix capsule update issue Guo, Mang
2018-06-28  2:10 ` Wei, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox