# US 2021/0263746 A1 · Selective boot controller for resilient storage memory

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

- Number: US 2021/0263746 A1
- Document ID: US20210263746A1
- Status: Published application
- Kind: A1
- Application number: 16/853,204
- Filed: 2020-04-20
- Published: 2021-08-26
- Earliest claimed: 2020-02-26
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Stefan THOM; Paul ENGLAND; Robert Karl SPIGER; Brian TELFER; Sangho LEE; Marcus PEINADO
- Web page: https://patentgrep.com/patent/US20210263746A1

## CPC

- G06F 9/4406: {Loading of operating system}
- G06F 21/575: {Secure boot}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0622: {in relation to access}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/0637: {Permissions}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 13/4068: {Electrical coupling}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F 21/78: to assure secure storage of data (address-based protection against unauthorised use of memory G06F12/14; record carriers for use with machines and with at least a part designed to carry digital markings G06K19/00)
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device for booting a host computing device includes a first storage memory region having a first storage memory controller, a second storage memory region having a second storage memory controller, and a resilient boot controller. The resilient boot controller is configured to store boot code in the first storage memory region, prevent write access by the host computing device through the first storage memory controller to the first storage memory region, detect a reset of the host computing device through the input/output interface, copy at least a portion of the boot code from the first storage memory region to the second storage memory region, responsive to detection of the reset of the host computing device, and enable read access of the copied boot code by the host computing device through the second storage memory controller of the second storage memory region, responsive to the copy operation.

## Claims

### Claim 1

A storage device for booting a host computing device, the storage device comprising:
an input/output interface configured to connect to the host computing device;
a first storage memory controller;
a first storage memory region coupled to and accessible via the first storage memory controller;
a second storage memory controller;
a second storage memory region coupled to and accessible via the second storage memory controller; and
a resilient boot controller communicatively coupling the input/output interface to the first storage memory region through the first storage memory controller and to the second storage memory region through the second storage memory controller, the resilient boot controller being configured to
store boot code in the first storage memory region,
prevent write access by the host computing device through the first storage memory controller to the first storage memory region,
detect a reset of the host computing device through the input/output interface,
copy at least a portion of the boot code from the first storage memory region to the second storage memory region, responsive to detection of the reset of the host computing device, and
enable read access of the copied boot code by the host computing device through the second storage memory controller of the second storage memory region, responsive to the copy operation.

### Claim 2 (depends on 1)

The storage device of claim 1 wherein the resilient boot controller is further configured to
enable read access of the boot code by the host computing device through the first storage memory controller of the first storage memory region during a first time period of the boot sequence, responsive to detection the reset of the host computing device through the input/output interface, and
switch read access by the host computing device from the first storage memory bank to the second storage memory bank.

### Claim 3 (depends on 1)

The storage device of claim 1 wherein the boot code stored in the first storage memory region includes a storage memory switch instruction and the resilient boot controller is further configured to
enable read access of the boot code by the host computing device through the first storage memory controller of the first storage memory region, responsive to detection the reset of the host computing device through the input/output interface,
detect execution of the storage memory switch instruction by the host computing device, and
switch read access by the host computing device from the first storage memory region to the second storage memory region, responsive to execution of the storage memory switch instruction by the host computing and the copy operation.

### Claim 4 (depends on 1)

The storage device of claim 1 wherein the resilient boot controller is further configured to
enable read access of the boot code by the host computing device through the first storage memory controller of the first storage memory region, responsive to detection the reset of the host computing device through the input/output interface,
detect satisfaction of a storage memory switch condition, and
switch read access by the host computing device from the first storage memory region to the second storage memory region, responsive to satisfaction of a storage memory switch condition and the copy operation.

### Claim 5 (depends on 1)

The storage device of claim 1, further comprising:
a security protection module device communicatively coupled to the resilient boot controller, the security protection module device being configured to cryptographically evaluate a code update package received from the host computing device, the resilient boot controller being further configured to
update the boot code stored in the first storage memory controller with the code update package, responsive to a cryptographic evaluation that the code update package satisfies a cryptographic update condition, and
prevent updating of the boot code stored in the first storage memory controller, responsive to a cryptographic evaluation that the code update package fails to satisfy a cryptographic update condition.

### Claim 6 (depends on 5)

The storage device of claim 5, wherein the resilient boot controller is further configured to update the boot code by switching access by the host computing device from the second storage memory region to the first storage memory region and enabling write access of the code update package to the first storage memory region, prior to a subsequent reset of the host computing system.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the security protection module device is further configured to perform the cryptographic evaluation to determine whether the code update package satisfies a cryptographic update condition, prior to a subsequent reset of the host computing system.

### Claim 8 (depends on 5)

The storage device of claim 5, wherein the resilient boot controller is further configured to update the boot code by switching access by the host computing device from the second storage memory region to the first storage memory region and enabling write access of the code update package to the first storage memory region, after a subsequent reset of the host computing system.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein the security protection module device is further configured to perform the cryptographic evaluation to determine whether the code update package satisfies a cryptographic update condition, after the subsequent reset of the host computing system.

### Claim 10 (depends on 8)

The storage device of claim 8, wherein the code update package is stored in the second storage memory region, prior to the subsequent reset of the host computing system.

### Claim 11

A method of booting a host computing device from a storage device, the storage device including an input/output interface configured to connect to the host computing device, a first storage memory region having a first storage memory controller, and a second storage memory region having a second storage memory controller, the method comprising:
storing boot code in the first storage memory region;
preventing write access by the host computing device through the first storage memory controller to the first storage memory region;
detecting a reset of the host computing device through the input/output interface;
copying at least a portion of the boot code from the first storage memory region to the second storage memory region, responsive to detection of the reset of the host computing device; and
enabling read access of the copied boot code by the host computing device through the second storage memory controller of the second storage memory region, responsive to the copy operation.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
enabling read access of the boot code by the host computing device through the first storage memory controller of the first storage memory region during a first time period of the boot sequence, responsive to detection the reset of the host computing device through the input/output interface; and
switching read access by the host computing device from the first storage memory region to the second storage memory region.

### Claim 13 (depends on 11)

The method of claim 11, wherein the boot code stored in the first storage memory region includes a storage memory switch instruction and further comprising:
enabling read access of the boot code by the host computing device through the first storage memory controller of the first storage memory region, responsive to detection the reset of the host computing device through the input/output interface,
detecting execution of the storage memory switch instruction by the host computing device, and
switching read access by the host computing device from the first storage memory region to the second storage memory region, responsive to execution of the storage memory switch instruction by the host computing and the copy operation.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
enabling read access of the boot code by the host computing device through the first storage memory controller of the first storage memory region, responsive to detection the reset of the host computing device through the input/output interface,
detecting satisfaction of a storage memory switch condition, and
switching read access by the host computing device from the first storage memory region to the second storage memory region, responsive to satisfaction of a storage memory switch condition and the copy operation.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
cryptographically evaluating a code update package received from the host computing device;
updating the boot code stored in the first storage memory controller with the code update package, responsive to a cryptographic evaluation that the code update package satisfies a cryptographic update condition; and
preventing update of the boot code stored in the first storage memory controller, responsive to the cryptographic evaluation that the code update package fails to satisfy a cryptographic update condition.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
updating the boot code by switching access by the host computing device from the second storage memory region to the first storage memory region, prior to a subsequent reset of the host computing system; and
enabling write access of the code update package to the first storage memory region, prior to a subsequent reset of the host computing system.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
performing the cryptographic evaluation to determine whether the code update satisfies a cryptographic update condition, prior to a subsequent reset of the host computing system.

### Claim 18 (depends on 15)

The method of claim 15, further comprising:
updating the boot code by switching access by the host computing device from the second storage memory region to the first storage memory region, after a subsequent reset of the host computing system; and
enabling write access of the code update package to the first storage memory region, after a subsequent reset of the host computing system.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
performing the cryptographic evaluation to determine whether the code update satisfies a cryptographic update condition, after the subsequent reset of the host computing system.

### Claim 20

A storage device for booting a host computing device using boot code in a boot sequence, the storage device comprising:
an input/output interface configured to connect to the host computing device;
a first storage memory controller;
a first storage memory region coupled to and accessible via the first storage memory controller;
a second storage memory controller;
a second storage memory region coupled to and accessible via the second storage memory controller; and
a resilient boot controller communicatively coupling the input/output interface to the first storage memory region through the first storage memory controller and to the second storage memory region through the second storage memory controller, the resilient boot controller being configured to
store a first portion of the boot code in the first storage memory region,
store a second portion of the boot code in the second storage memory region, wherein execution of the second portion of the boot code follows the first portion of the boot code in the boot sequence,
detect a reset of the host computing device through the input/output interface,
enable read access and prevent write access to the first portion of the boot code by the host computing device through the first storage memory controller of the first storage memory region and prevent read and write access to the second portion of the boot code by the host computing device through the second storage memory controller of the second storage memory region, responsive to the reset operation, and
enable read and write access to the second portion of the boot code by the host computing device through the second storage memory controller of the second storage memory region and prevent read and write access to the first portion of the boot code by the host computing device through the first storage memory controller of the first storage memory region, responsive to execution of the first portion of the boot code in the boot sequence by the host computing device.
