# US 2024/0005003 A1 · Low-impact firmware update

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

- Number: US 2024/0005003 A1
- Document ID: US20240005003A1
- Status: Published application
- Kind: A1
- Application number: 17/809,888
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Ampere Computing LLC
- Applicants: Ampere Computing LLC
- Inventors: Sachhidh KANNAN; Shivnandan KAUSHIK; Harb ABDULHAMID; Yogesh BANSAL; Vanshidhar KONDA
- Web page: https://patentgrep.com/patent/US20240005003A1

## CPC

- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 8/656: while running
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are techniques for performing a low-impact firmware update to a first microcontroller. In an aspect, a security entity communicatively coupled to the first microcontroller receives an update to firmware of the first microcontroller, authenticates the update to the firmware of the first microcontroller to prevent a security-related rollback, offloads system management tasks and interrupt handling from the first microcontroller to at least a second microcontroller communicatively coupled to the first microcontroller, coordinates installation of the update to the firmware of the first microcontroller without taking processing cycles from host software, and restores, to the first microcontroller, system management states occurring after the system management tasks and interrupt handling are offloaded from the first microcontroller.

## Claims

### Claim 1

A method of performing a low-impact firmware update to a first microcontroller, comprising:
receiving, at a security entity communicatively coupled to the first microcontroller, an update to firmware of the first microcontroller;
authenticating, by the security entity, the update to the firmware of the first microcontroller to prevent a security-related rollback;
offloading, by the security entity, system management tasks and interrupt handling from the first microcontroller to at least a second microcontroller communicatively coupled to the first microcontroller;
coordinating, by the security entity, installation of the update to the firmware of the first microcontroller without taking processing cycles from host software; and
restoring, to the first microcontroller by the security entity, system management states occurring after the system management tasks and interrupt handling are offloaded from the first microcontroller.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
placing the first microcontroller into an isolated reset domain to enable reboot of the first microcontroller without impacting other components.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the update to the firmware is received via in-band firmware update delivery, or
the update to the firmware is received via out-of-band firmware update delivery.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
ensuring, by the security entity, that the update to the firmware of the first microcontroller is compatible with firmware of other components.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
storing the system management states to a memory associated with the first microcontroller.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
reporting, by the security entity, a status of the installation of the update to the firmware of the first microcontroller to the host software, a baseboard management controller (BMC), or both.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
performing a rollback to a previous version of the firmware of the first microcontroller based on a failure of the installation of the update to the firmware of the first microcontroller; and
restoring the first microcontroller to a previous state of the system management states based on the failure of the installation of the update to the firmware of the first microcontroller.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
performing a targeted update to a boot storage associated with the first microcontroller to ensure that subsequent boot ups of the first microcontroller use the update to the firmware of the first microcontroller.

### Claim 9 (depends on 1)

The method of claim 1, wherein the security entity is the second microcontroller.

### Claim 10

An apparatus, comprising:
a memory;
a first microcontroller; and
a security entity communicatively coupled to the first microcontroller, wherein the security entity is configured to:
receive an update to firmware of the first microcontroller;
authenticate the update to the firmware of the first microcontroller to prevent a security-related rollback;
offload system management tasks and interrupt handling from the first microcontroller to at least a second microcontroller communicatively coupled to the first microcontroller;
coordinate installation of the update to the firmware of the first microcontroller without taking processing cycles from host software of the apparatus; and
restore, to the first microcontroller, system management states occurring after the system management tasks and interrupt handling are offloaded from the first microcontroller.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the security entity is further configured to:
place the first microcontroller into an isolated reset domain to enable reboot of the first microcontroller without impacting other components of the apparatus.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the security entity is further configured to:
ensure that the update to the firmware of the first microcontroller is compatible with firmware of other components of the apparatus.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the security entity is further configured to:
store the system management states to the memory of the apparatus.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the security entity is further configured to:
report a status of the installation of the update to the firmware of the first microcontroller to the host software of the apparatus, a platform of the apparatus, or both.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the security entity is further configured to:
perform a rollback to a previous version of the firmware of the first microcontroller based on a failure of the installation of the update to the firmware of the first microcontroller; and
restore the first microcontroller to a previous state of the system management states based on the failure of the installation of the update to the firmware of the first microcontroller.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the security entity is further configured to:
perform a targeted update to a boot storage associated with the apparatus to ensure that subsequent boot ups of the first microcontroller use the update to the firmware of the first microcontroller.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein the security entity is the second microcontroller.

### Claim 18

An apparatus, comprising:
means for receiving an update to firmware of a first microcontroller;
means for authenticating the update to the firmware of the first microcontroller to prevent a security-related rollback;
means for offloading system management tasks and interrupt handling from the first microcontroller to at least a second microcontroller on the apparatus;
means for coordinating installation of the update to the firmware of the first microcontroller without taking processing cycles from host software of the apparatus; and
means for restoring, to the first microcontroller, system management states occurring after the system management tasks and interrupt handling are offloaded from the first microcontroller.

### Claim 19 (depends on 18)

The apparatus of claim 18, further comprising:
means for placing the first microcontroller into an isolated reset domain to enable reboot of the first microcontroller without impacting other components of the apparatus.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein the security entity is the second microcontroller.
