IP Library › Granted Patent US 12,360,758
Granted Patent B2
US 12,360,758 · App. 18/040,146 · Granted Jul 15, 2025

Methods and apparatus to perform an enhanced S3 protocol to update firmware with a boot script update

Inventors: Di Zhang (Shanghai, CN); Zhuangzhi Li (Shanghai, CN); Zhi Jin (Shanghai, CN); Fei Li (Shanghai, CN); Xinwu Liu (Shanghai, CN); Bin Yang (Shanghai, CN); Brett Peng Wang (Shanghai, CN)
Assignee: Intel Corporation
G06F8/65G06F9/4418G06F9/4812
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,360,758
App. No.
18/040,146
Granted
Jul 15, 2025
Kind
B2
Abstract

Methods, apparatus, systems, and articles of manufacture perform an enhanced S3 protocol to update firmware with a Boot Script update are disclosed. An example apparatus includes a management agent to store a firmware update into memory; and request an operating system (OS) to enter into an S3 sleep state; the OS to, in response to the request from the management agent, enter into the S3 sleep state and trigger an interrupt; and a basic input/output system (BIOS) to, in response to the interrupt from the OS update a Boot Script according to the firmware update; and wake up the OS with a wake vector.

Claims (43)

1. An apparatus to update firmware during a sleep state, the apparatus comprising:

instructions;

at least one processor circuit to be programmed by the instructions to:

cause storage of a firmware update into memory; and

request an operating system (OS) to enter into an S3 sleep state, the request to cause the OS to trigger an interrupt; and

a basic input/output system (BIOS) to:

enter into an S3 sleep state based on the interrupt;

wake up after a preset amount of time after the OS triggers the interrupt;

while the OS is in the S3 sleep state, update a Boot Script according to the firmware update, the Boot Script to be executed by the BIOS to operate the BIOS; and

wake up the OS with a wake vector.

2. The apparatus of claim 1 , wherein the BIOS is to process the firmware update to determine that the update is at least one of authentic or relevant to the BIOS.

3. The apparatus of claim 1 , wherein the instructions are first instructions, and the firmware update includes second instructions to update a previous Boot Script implemented by the BIOS.

4. The apparatus of claim 3 , wherein the BIOS is to execute the second instructions to update the previous Boot Script implemented by the BIOS.

5. The apparatus of claim 1 , wherein the BIOS is to extract code from a binary image included in a firmware update capsule.

6. The apparatus of claim 5 , wherein the BIOS is to execute the extracted code to update the Boot Script.

7. The apparatus of claim 1 , wherein the BIOS includes:

Boot Script update instructions to update the Boot Script according to the firmware update; and

Boot Script execution instructions to cause execution of the updated Boot Script.

8. The apparatus of claim 1 , wherein the instructions are first instructions, and the firmware update includes at least one of second instructions to update a Boot Script previously implemented by the BIOS or executable code to be executed by the BIOS.

9. A non-transitory computer readable storage medium comprising instructions to cause at least one processor circuit to at least:

cause storage of a firmware update into memory;

request an operating system (OS) and a basic input/output system (BIOS) to enter into an S3 sleep state;

wake up the BIOS after a preset amount of time after the OS triggers an interrupt;

while the OS is in the S3 sleep state, update a Boot Script according to the firmware update, the Boot Script executed by the BIOS; and

wake up the OS with a wake vector.

10. The computer readable storage medium of claim 9 , wherein the instructions cause one or more of the at least one processor circuit to process the firmware update to determine that the update is at least one of authentic or relevant.

11. The computer readable storage medium of claim 9 , wherein the firmware update includes second instructions to update a previous Boot Script.

12. The computer readable storage medium of claim 11 , wherein the instructions cause one or more of the at least one processor circuit to update the previous Boot Script.

13. The computer readable storage medium of claim 9 , wherein the instructions cause one or more of the at least one processor circuit to extract code from an image of the firmware update.

14. The computer readable storage medium of claim 13 , wherein the instructions cause one or more of the at least one processor circuit to execute the extracted code.

15. The computer readable storage medium of claim 9 , wherein the firmware update includes at least one of second instructions to update a Boot Script previously implemented by the BIOS or executable code to be executed by the BIOS.

16. A method to update firmware during a sleep state, the method comprising:

storing a firmware update into memory;

requesting an operating system (OS) and a basic input/output system (BIOS) to enter into an S3 sleep state;

waking up the BIOS after a preset amount of time after the OS triggers an interrupt;

while the OS is in the S3 sleep state, updating a Boot Script according to the firmware update, the Boot Script executed by the BIOS; and

waking up the OS with a wake vector.

17. The method of claim 16 , including determining that the update is at least one of authentic or relevant to the BIOS.

18. The method of claim 16 , including updating a previous Boot Script implemented by the BIOS.

19. The method of claim 18 , including executing instructions to update firmware.

20. The method of claim 16 , including:

extracting code from an image of the firmware update; and

executing the extracted code.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 20, 2023
From: ZHANG, DI; LI, ZHUANGZHI; JIN, ZHI; LI, FEI; LIU, XINWU; YANG, BIN; WANG, BRETT PENG
To: INTEL CORPORATION
Reel/Frame 063120/0091 →
Continuity (1)
Related Publication 20230305833A1 · Sep 28, 2023
References Cited (22)
US 7100037B2 · Cooper · 2006 [cited by examiner]
US 8082439B2 · Desselle · 2011 [cited by examiner]
US 8214654B1 · Wyatt · 2012 [cited by examiner]
US 8601175B1 · Todd · 2013 [cited by examiner]
US 20040015941A1 · Sekine · 2004 [cited by applicant]
US 20050223291A1 · Zimmer · 2005 [cited by examiner]
US 20060143600A1 · Cottrell · 2006 [cited by examiner]
US 20140149644A1 · Park · 2014 [cited by examiner]
US 20170010875A1 · Martinez · 2017 [cited by examiner]
US 20170242685A1 · Sperlich · 2017 [cited by examiner]
US 20170293451A1 · Pan · 2017 [cited by examiner]
US 20180285569A1 · Spanjers · 2018 [cited by examiner]
US 20190042279A1 · Rothman · 2019 [cited by examiner]
US 20190243637A1 · Nachimuthu · 2019 [cited by examiner]
US 20200320200A1 · Singh · 2020 [cited by examiner]
US 20210034376A1 · Kalla · 2021 [cited by examiner]
US 20230305834A1 · Kumar · 2023 [cited by examiner]
CN 103207797A · 2013 [cited by applicant]
WO 2018022268A1 · 2018 [cited by applicant]
Vishal, “BIOS Support for Intel (R) 2014(Broadwell) Platform”, 2014, Nirma University (Year: 2014). [cited by examiner]
International Searching Authority, “International Preliminary Report on Patentability,” issued in connection with Application No. PCT/CN2020/110437, mailed Mar. 2, 2023, 5 pages. [cited by applicant]
International Searching Authority, “Search Report and Written Opinion,” issued in connection with Application No. PCT/CN2020/110437, mailed May 21, 2021, 8 pages. [cited by applicant]