# US 2025/0165346 A1 · Fault recovery method and system for baseboard management controller firmware, and device and medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165346 A1
- Document ID: US20250165346A1
- Status: Published application
- Kind: A1
- Application number: 18/878,020
- Filed: 2023-10-09
- Published: 2025-05-22
- Earliest claimed: 2022-11-21
- Assignees: Suzhou Metabrain Intelligent Technology Co., Ltd.
- Applicants: Suzhou Metabrain Intelligent Technology Co., Ltd.
- Inventors: Ming GAO; Baoyang LIU
- Web page: https://patentgrep.com/patent/US20250165346A1

## CPC

- G06F 11/1417: {Boot up procedures}
- G06F 2201/81: Threshold
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present disclosure discloses a fault recovery method. The method includes: in response to a server being powered on or reset, starting baseboard management controller firmware from one or more flash memories storing the baseboard management controller firmware; in response to a failure of the starting the baseboard management controller firmware from the flash memories, starting a boot loader from a flash memory in which the boot loader is burned; in response to the boot loader being successfully started, obtaining backup baseboard management controller firmware from an external storage device through the boot loader, and burning the backup baseboard management controller firmware to any one of the flash memories; and in response to the burning being completed, resetting the server, and enabling the flash memory to start the backup baseboard management controller firmware from the flash memory in which the backup baseboard management controller firmware is burned.

## Claims

### Claim 1

A fault recovery method for baseboard management controller firmware, wherein following steps are performed based on a baseboard management controller:
in response to a server being powered on or reset, starting baseboard management controller firmware from one or more flash memories storing the baseboard management controller firmware;
in response to a failure of starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, starting a boot loader from a flash memories in which the boot loader is burned;
in response to the boot loader being successfully started, obtaining backup baseboard management controller firmware from an external storage device through the boot loader, and burning the backup baseboard management controller firmware to any one of the one or more flash memories storing the baseboard management controller firmware; and
in response to the burning being completed, resetting the server, and enabling the flash memories in which the backup baseboard management controller firmware is burned to start the backup baseboard management controller firmware from the flash memories in which the backup baseboard management controller firmware is burned,
wherein before in response to the server being powered on or reset, starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, the method further comprises:
connecting a decoder, the flash memory in which the boot loader is burned and the one or more flash memories storing the baseboard management controller firmware through a serial peripheral interface controller, and connecting the flash memory in which the boot loader is burned and the one or more flash memories storing the baseboard management controller firmware through the decoder to gate a corresponding flash memory when the server is powered on or reset.

### Claim 2 (depends on 1)

The method according to claim 1, wherein starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware comprises:
starting a hardware timer, and starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware.

### Claim 3 (depends on 2)

The method according to claim 2, wherein in response to the failure of starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware comprises:
in a process of starting the baseboard management controller firmware, in response to a timing of the hardware timer exceeding a threshold, determining that starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware failed.

### Claim 4 (depends on 2)

The method according to claim 2, wherein in response to the boot loader being successfully started, obtaining the backup baseboard management controller firmware from the external storage device through the boot loader comprises:
in response to the boot loader being successfully started, turning off the hardware timer, and obtaining the backup baseboard management controller firmware from the external storage device through the boot loader.

### Claim 5 (depends on 1)

The method according to claim 1, wherein starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware comprises:
selecting a flash memories from all flash memories storing the baseboard management controller firmware in a set order to start the baseboard management controller firmware; and
in response to a failure of starting the baseboard management controller firmware from the selected flash memories, returning to the step of selecting the flash memories from all flash memories storing the baseboard management controller firmware in the set order to select a next flash memories from all flash memories storing the baseboard management controller firmware to start the baseboard management controller firmware.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising:
in response to a success of starting the baseboard management controller firmware from the selected flash memories, waiting for a completion of starting the baseboard management controller.

### Claim 7 (depends on 1)

The method according to claim 1, wherein starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware comprises:
starting a hardware timer, and selecting a flash memories from all flash memories storing the baseboard management controller firmware in a set order to start the baseboard management controller firmware;
in a process of starting the baseboard management controller firmware, in response to a timing of the hardware timer exceeding a threshold, determining that starting the baseboard management controller firmware from the selected flash memories failed; and
resetting the hardware timer, and returning to the step of starting the hardware timer, and selecting the flash memories from all flash memories storing the baseboard management controller firmware in the set order to start the baseboard management controller firmware.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
in response to a success of starting the baseboard management controller firmware from the selected flash memories, turning off the hardware timer to wait for a completion of starting the baseboard management controller.

### Claim 9

(canceled)

### Claim 10 (depends on 1)

The method according to claim 1, wherein connecting the decoder, the flash memories in which the boot loader is burned and the one or more flash memories storing the baseboard management controller firmware through the serial peripheral interface controller comprises:
connecting signal transmission pins of the flash memories in which the boot loader is burned and signal transmission pins of the one or more flash memories storing the baseboard management controller firmware through signal transmission pins of the serial peripheral interface controller, and connecting input pins of the decoder through a chip select pin of the serial peripheral interface controller.

### Claim 11 (depends on 10)

The method according to claim 10, wherein connecting the flash memories in which the boot loader is burned and the one or more flash memories storing the baseboard management controller firmware through the decoder comprises:
connecting enable pins of the flash memories in which the boot loader is burned and enable pins of the one or more flash memories storing the baseboard management controller firmware through output pins of the decoder.

### Claim 12 (depends on 1)

The method according to claim 1, wherein starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware comprises:
starting a hardware timer, and selecting flash memories from all flash memories storing the baseboard management controller firmware in a set order based on the serial peripheral interface controller to start the baseboard management controller firmware;
in a process of starting the baseboard management controller firmware, in response to a timing of the hardware timer exceeding a threshold, determining that starting the baseboard management controller firmware from the selected flash memories failed;
resetting the hardware timer, and returning to the step of starting the hardware timer, and selecting the flash memories from all flash memories storing the baseboard management controller firmware in the set order based on the serial peripheral interface controller to start the baseboard management controller firmware to select the flash memories from all flash memories storing the baseboard management controller firmware based on the serial peripheral interface controller to start the baseboard management controller firmware; and
in response to a success of starting the baseboard management controller firmware from the selected flash memories, turning off the hardware timer to wait for a completion of starting the baseboard management controller.

### Claim 13 (depends on 1)

The method according to claim 1, wherein in response to the failure of starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, starting the boot loader from the flash memories in which the boot loader is burned comprises:
in response to the failure of starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, gating the flash memories in which the boot loader is burned based on the serial peripheral interface controller to start the boot loader from the flash memories in which the boot loader is burned.

### Claim 14 (depends on 1)

The method according to claim 1, wherein burning the backup baseboard management controller firmware to any one of the one or more flash memories storing the baseboard management controller firmware comprises:
gating any flash memories storing the baseboard management controller firmware from all flash memories storing the baseboard management controller firmware based on the serial peripheral interface controller to burn the backup baseboard management controller firmware to the gated flash memories.

### Claim 15 (depends on 1)

The method according to claim 1, wherein enabling the flash memories in which the backup baseboard management controller firmware is burned to start the backup baseboard management controller firmware from the flash memories in which the backup baseboard management controller firmware is burned comprises:
enabling the flash memories in which the backup baseboard management controller firmware is burned based on the serial peripheral interface controller to start the backup baseboard management controller firmware from the flash memories in which the backup baseboard management controller firmware is burned.

### Claim 16 (depends on 1)

The method according to claim 1, wherein the baseboard management controller comprises a system on chip, and the following steps are performed based on the system on chip:
in response to the server being powered on or reset, starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware;
in response to the failure of starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, starting the boot loader from the flash memories in which the boot loader is burned;
in response to the boot loader being successfully started, obtaining the backup baseboard management controller firmware from the external storage device through the boot loader, and burning the backup baseboard management controller firmware to any one of the one or more flash memories storing the baseboard management controller firmware; and
in response to the burning being completed, resetting the server, and enabling the flash memories in which the backup baseboard management controller firmware is burned to start the backup baseboard management controller firmware from the flash memories in which the backup baseboard management controller firmware is burned.

### Claim 17

A fault recovery method for baseboard management controller firmware, comprising:
setting a plurality of flash memories in a server, burning a boot loader to one of the plurality of flash memories, and burning baseboard management controller firmware to other flash memories in the plurality of flash memories;
in response to the server being powered on or reset, starting the baseboard management controller firmware from the other flash memories storing the baseboard management controller firmware;
in response to a failure of starting the baseboard management controller firmware from the other flash memories storing the baseboard management controller firmware, starting the boot loader from the flash memories in which the boot loader is burned;
in response to the boot loader being successfully started, obtaining backup baseboard management controller firmware from an external storage device through the boot loader, and burning the backup baseboard management controller firmware to any one of the other flash memories storing the baseboard management controller firmware; and
in response to the burning being completed, resetting the server, and enabling the flash memories in which the backup baseboard management controller firmware is burned to start the backup baseboard management controller firmware from the flash memories in which the backup baseboard management controller firmware is burned.

### Claim 18

(canceled)

### Claim 19

A computer device, comprising:
at least one processor; and
a memory storing a computer program that is executable in the processor, wherein the processor, when executing the computer program, performs the operations comprising:
in response to a server being powered on or reset, starting baseboard management controller firmware from one or more flash memories storing the baseboard management controller firmware;
in response to a failure of starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, starting a boot loader from a flash memory in which the boot loader is burned;
in response to the boot loader being successfully started, obtaining backup baseboard management controller firmware from an external storage device through the boot loader, and burning the backup baseboard management controller firmware to any one of the one or more flash memories storing the baseboard management controller firmware; and
in response to the burning being completed, resetting the server, and enabling the flash memory in which the backup baseboard management controller firmware is burned to start the backup baseboard management controller firmware from the flash memory in which the backup baseboard management controller firmware is burned,
wherein before in response to the server being powered on or reset, starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware, the method further comprises:
connecting a decoder, the flash memory in which the boot loader is burned and the one or more flash memories storing the baseboard management controller firmware through a serial peripheral interface controller, and connecting the flash memory in which the boot loader is burned and the one or more flash memories storing the baseboard management controller firmware through the decoder to gate a corresponding flash memory when the server is powered on or reset.

### Claim 20 (depends on 1)

A computer non-transitory readable storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of the method according to claim 1.

### Claim 21 (depends on 17)

The method according to claim 17, wherein after burning the boot loader to one of the plurality of flash memories, the method further comprises:
turning on write protection to ensure that contents of the flash memory will not be modified when the server runs.

### Claim 22 (depends on 19)

The method according to claim 19, wherein starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware comprises:
starting a hardware timer, and starting the baseboard management controller firmware from the one or more flash memories storing the baseboard management controller firmware.
