# US 2024/0004641 A1 · Memory system firmware update using virtual slots

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

- Number: US 2024/0004641 A1
- Document ID: US20240004641A1
- Status: Published application
- Kind: A1
- Application number: 17/941,904
- Filed: 2022-09-09
- Published: 2024-01-04
- Earliest claimed: 2022-07-01
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Noorshaheen Mavungal Noorudheen; Shalu Agrawal
- Web page: https://patentgrep.com/patent/US20240004641A1

## CPC

- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the present disclosure configure a system component, such as memory sub-system controller, to update firmware using a virtual slot. The memory sub-system controller receives an image that includes a firmware update and performs a verification of the image. The verified firmware update is stored in a storage location on a set of memory components prior to receiving a commit request from a host. After the commit request is received from the host, a firmware slot identified by the commit request is linked to the verified image that is stored in the storage location. The memory sub-system is then booted from the firmware slot using the verified image that is stored in the storage location.

## Claims

### Claim 1

A system comprising:
a memory sub-system comprising a set of memory components; and
a processing device, operatively coupled to the set of memory components, configured to perform operations comprising:
receiving an image comprising a firmware update with instructions for operating the memory sub-system;
performing a verification process on the image;
storing the image in a segment of the set of memory components based on a result of performing the verification process;
after performing the verification process on the image, receiving a request to commit the image, the request to commit comprising an identifier of a firmware slot of a plurality of firmware slots in the memory sub-system; and
in response to receiving the request, storing a link to the segment of the set of memory components in which the image is stored in the firmware slot.

### Claim 2 (depends on 1)

The system of claim 1, wherein each of the plurality of firmware slots is configured to store a different firmware version with different instructions for operating the memory sub-system.

### Claim 3 (depends on 1)

The system of claim 1, the operations comprising storing the identifier of the firmware slot in an active slot to activate the firmware update.

### Claim 4 (depends on 3)

The system of claim 3, the operations comprising rebooting the memory sub-system, wherein during rebooting the memory sub-system the processing device reads the active slot to obtain the firmware update from which to boot the memory sub-system.

### Claim 5 (depends on 1)

The system of claim 1, wherein the image is received in response to receiving a Non-Volatile Memory Express (NVMe) download command from a host.

### Claim 6 (depends on 5)

The system of claim 5, wherein the request to commit comprises a NVMe commit command received from the host.

### Claim 7 (depends on 1)

The system of claim 1, wherein performing the verification process on the image comprises:
unpacking the image; and
applying a decryption process to check security of the image.

### Claim 8 (depends on 7)

The system of claim 7, the operations comprising:
performing a Secure Hash Algorithm (SHA) checksum to check integrity of the image.

### Claim 9 (depends on 1)

The system of claim 1, the operations comprising, in response to receiving the request:
performing a quiescing operation to generate a snapshot of a current firmware state being actively used to operate the memory sub-system, the snapshot comprising queue information and data structures associated with the current firmware.

### Claim 10 (depends on 9)

The system of claim 9, the operations comprising:
performing a transition operation to write the snapshot to the firmware update and conduct hardware reset operations.

### Claim 11 (depends on 1)

The system of claim 1, the operations comprising:
storing verification data associated with performing the verification process on the image in a buffer; and
checking the verification data in response to receiving the request to commit and prior to storing the link to the segment in the firmware slot.

### Claim 12 (depends on 1)

The system of claim 1, wherein receiving the image comprising a firmware update comprises:
receiving the image in a plurality of separate chunks; and
performing the verification process for each of the plurality of separate chunks as each respective chunk is received.

### Claim 13 (depends on 12)

The system of claim 12, wherein each chunk of the plurality of separate chunks includes security information and checksum information.

### Claim 14 (depends on 13)

The system of claim 13, wherein performing the verification process comprises:
performing a first security check and a first integrity check for a first chunk of the plurality of separate chunks based on the security information and checksum information of the first chunk; and
storing in a verification buffer a first result in response to performing the first security check and the first integrity check.

### Claim 15 (depends on 14)

The system of claim 14, the operations comprising:
performing a second security check and a second integrity check for a second chunk of the plurality of separate chunks based on the security information and checksum information of the second chunk; and
combining, in the verification buffer, the first result with a second result in response to performing the second security check and the second integrity check.

### Claim 16 (depends on 13)

The system of claim 13, wherein each chunk is of equal size.

### Claim 17 (depends on 13)

The system of claim 13, wherein the plurality of separate chunks is received out of order.

### Claim 18 (depends on 17)

The system of claim 17, the operations comprising:
storing the plurality of separate chunks to a correct offset in the segment of the set of memory components based on a chunk number associated with each of the plurality of separate chunks.

### Claim 19

A method comprising:
receiving an image comprising a firmware update with instructions for operating a memory sub-system;
performing a verification process on the image;
storing the image in a segment of a set of memory components of the memory sub-system based on a result of performing the verification process;
after performing the verification process on the image, receiving a request to commit the image, the request to commit comprising an identifier of a firmware slot of a plurality of firmware slots in the memory sub-system; and
in response to receiving the request, storing a link to the segment of the set of memory components in which the image is stored in the firmware slot.

### Claim 20

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
receiving an image comprising a firmware update with instructions for operating a memory sub-system;
performing a verification process on the image; and
storing the image in a segment of a set of memory components of the memory sub-system based on a result of performing the verification process;
after performing the verification process on the image, receiving a request to commit the image, the request to commit comprising an identifier of a firmware slot of a plurality of firmware slots in the memory sub-system; and
in response to receiving the request, storing a link to the segment of the set of memory components in which the image is stored in the firmware slot.
