| CPC G06F 8/654 (2018.02) | 20 Claims |

|
1. A system comprising:
a memory sub-system comprising a set of memory components, the memory sub-system comprising an active firmware slot and a plurality of additional firmware slots, the active firmware slot storing an identifier of one of the plurality of additional firmware slots that is used as a currently active firmware to boot and operate the memory sub-system; and
a processing device, operatively coupled to the set of memory components, programmed to perform operations comprising:
receiving an image comprising a firmware update with instructions for operating the memory sub-system as a plurality of chunks;
performing a verification process on first and second chunks of the plurality of chunks separately, the first chunk being verified prior to the second chunk;
determining that verification of the second chunk of the plurality of chunks fails;
in response to determining that verification of the second chunk of the plurality of chunks fails, invalidating verification of the first chunk that was verified previous to the second chunk;
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, from a host, a request to commit the image, the request to commit received from the host comprising a slot number that uniquely identifies in which of the plurality of additional firmware slots in the memory sub-system to store the image, the slot number corresponding to an individual firmware slot of the plurality of additional firmware slots;
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 individual firmware slot corresponding to the slot number in the request to commit from the host; and
replacing the identifier stored in the active firmware slot with the identifier of the individual firmware slot comprising the slot number included in the request to commit.
|