# US 9,354,857 B2 · System and method to update firmware on a hybrid drive

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

- Number: US 9,354,857 B2
- Document ID: US9354857B2
- Status: Granted
- Kind: B2
- Application number: 12/051,301
- Filed: 2008-03-19
- Published: 2009-09-24
- Granted: 2016-05-31
- Earliest claimed: 2008-03-19
- Assignees: Lenovo (Singapore) Pte. Ltd.
- Applicants: Joseph Michael Pennisi; Randall Scott Springfield; Rod David Waltermann
- Inventors: Joseph Michael Pennisi; Randall Scott Springfield; Rod David Waltermann
- Web page: https://patentgrep.com/patent/US9354857B2

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/068: {Hybrid storage device}
- G06F 3/0601: {Interfaces specially adapted for storage systems}
- 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

A system, method, and program product is provided that updates the firmware on a hybrid drive by reserving a memory area within the hybrid disk drive's nonvolatile memory buffer. The firmware update is then stored in the reserved memory area. The next time the platters of the hybrid disk drive spin up, the firmware update that is stored in the reserved memory area is identified. The identified update is then written to a firmware memory of a firmware that controls the operation of the hybrid drive. In one embodiment, the update is written to the firmware memory by flashing the firmware's memory. After the firmware is updated, the hybrid drive is reset. Resetting of the hybrid drive includes executing the updated firmware.

## Claims

### Claim 1

A machine-implemented method comprising:
reserving a memory area within a nonvolatile memory buffer of a hybrid disk drive that is controlled by a hybrid disk drive controller, wherein the hybrid disk drive includes one or more platters, the nonvolatile memory buffer, and a firmware nonvolatile memory;
storing a firmware update in the reserved memory area;
detecting the hybrid disk drive controller waking up from a sleep mode;
in response to detecting the hybrid disk drive controller waking up from the sleep mode:
identifying the firmware update stored in the reserved memory area;
writing the firmware update to the firmware memory of a firmware that controls the operation of the hybrid drive, wherein the writing includes flashing the update to the firmware memory; and
resetting the hybrid disk drive in response to writing the firmware update to the firmware memory, wherein the resetting includes executing the updated firmware.

### Claim 2 (depends on 1)

The method of claim 1 further comprising: retrieving a validation key prior to the writing; and validating the firmware update using the retrieved validation key, wherein the writing is only performed in response to successfully validating the firmware update.

### Claim 3 (depends on 1)

The method of claim 1 further comprising:
flushing the firmware update from the reserved memory area after the firmware update is written to the firmware memory; and
releasing the reserved memory area after the firmware update has been flushed.

### Claim 4 (depends on 1)

The method of claim 1 further comprising: after identifying that the firmware update is stored in the reserved memory area: retrieving an encryption key from a protected area of the hybrid disk drive, wherein the protected area is inaccessible from outside of the hybrid disk drive; and validating the firmware update using the retrieved encryption key, wherein the writing step is performed in response to successfully validating the firmware update, and wherein the firmware update is not written to the firmware memory in response to an unsuccessful validation.

### Claim 5 (depends on 1)

The method of claim 1 wherein the hybrid disk drive includes the one or more platters, the nonvolatile memory buffer, and the firmware nonvolatile memory in a single hybrid disk drive enclosure.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
receiving the firmware update from one or more firmware update sources, wherein the firmware update is written to the reserved memory area after the receiving; and
wherein the sleep mode corresponds to spinning down one or more of the platters and the waking up from the sleep mode corresponds to a request to read from or write to the one or more platters.

### Claim 7 (depends on 6)

The method of claim 6 wherein one of the firmware update sources is a server that is connected to the machine via a computer network, the method comprising: downloading the firmware update from the server to the machine; and storing the firmware update in a memory of the machine prior to storing the update in the reserved memory area.

### Claim 8

A information handling system comprising:
one or more processors;
a memory accessible by at least one of the processors;
a hybrid disk drive controller that is accessible by at least one of the processors, the hybrid disk drive controller controlling a hybrid disk drive that includes a nonvolatile memory buffer, one or more platters, and a firmware memory that includes controller instructions executed by the hybrid disk drive controller;
a set of instructions which are loaded into memory and executed by at least one of the processors while the computer system is booted from the alternate boot media in order to perform actions of:
reserving a memory area within the nonvolatile memory buffer;
storing a firmware update in the reserved memory area;
detecting they hybrid disk drive controller wake up from a sleep mode;
in response to detecting the hybrid disk drive controller waking up from the sleep mode:
identifying the firmware update stored in the reserved memory area;
writing the firmware update to the firmware memory, wherein the writing includes flashing the update to the firmware memory; and
resetting the hybrid disk drive in response to writing the firmware update to the firmware memory, wherein the resetting includes executing the updated firmware.

### Claim 9 (depends on 8)

The information handling system of claim 8 wherein the instructions executed by at least one of the processors perform additional actions comprising: retrieving a validation key prior to the writing; and validating the firmware update using the retrieved validation key, wherein the writing is only performed in response to successfully validating the firmware update.

### Claim 10 (depends on 8)

The information handling system of claim 8 wherein the instructions executed by at least one of the processors perform additional actions comprising:
flushing the firmware update from the reserved memory area after the firmware update is written to the firmware memory; and
releasing the reserved memory area after the firmware update has been flushed.

### Claim 11 (depends on 8)

The information handling system of claim 8 wherein the instructions executed by at least one of the processors perform additional actions comprising: after identifying that the firmware update is stored in the reserved memory area: retrieving an encryption key from a protected area of the hybrid disk drive, wherein the protected area is inaccessible from outside of the hybrid disk drive; and validating the firmware update using the retrieved encryption key, wherein the writing step is performed in response to successfully validating the firmware update, and wherein the firmware update is not written to the firmware memory in response to an unsuccessful validation.

### Claim 12 (depends on 8)

The information handling system of claim 8 wherein the hybrid disk drive includes the one or more platters, the nonvolatile memory buffer, and the firmware nonvolatile memory in a single hybrid disk drive enclosure.

### Claim 13 (depends on 8)

The information handling system of claim 8 wherein the instructions executed by at least one of the processors perform additional actions comprising:
receiving the firmware update from one or more firmware update sources, wherein the firmware update is written to the reserved memory area after the receiving; and
wherein the sleep mode corresponds to spinning down one or more of the platters and the waking up from the sleep mode corresponds to a request to read from or write to the one or more platters.

### Claim 14 (depends on 13)

The information handling system of claim 13 wherein one of the firmware update sources is a server that is connected to the information handling system via a network adapter, wherein the instructions executed by at least one of the processors perform additional actions comprising: downloading the firmware update from the server to the information handling system; and storing the firmware update in a memory of the information handling system prior to storing the update in the reserved memory area.

### Claim 15

A computer program product stored in a computer readable medium, comprising functional descriptive material that, when executed by an information handling system, causes the information handling system to perform actions that include:
reserving a memory area within a nonvolatile memory buffer of a hybrid disk drive that is controlled by a hybrid disk drive controller, wherein the hybrid disk drive includes one or more platters, the nonvolatile memory buffer, and a firmware nonvolatile memory;
storing a firmware update in the reserved memory area;
detecting the hybrid disk drive controller waking up from a sleep mode;
in response to detecting the hybrid disk drive controller waking up from a sleep mode:
identifying the firmware update stored in the reserved memory area;
writing the firmware update to the firmware memory of a firmware that controls the operation of the hybrid drive, wherein the writing includes flashing the update to the firmware memory; and
resetting the hybrid disk drive in response to writing the firmware update to the firmware memory, wherein the resetting includes executing the updated firmware.

### Claim 16 (depends on 15)

The computer program product of claim 15 further comprising functional descriptive material that causes the information handling system to perform additional actions that include:
retrieving a validation key prior to the writing; and
validating the firmware update using the retrieved validation key, wherein the writing is only performed in response to successfully validating the firmware update.

### Claim 17 (depends on 15)

The computer program product of claim 15 further comprising functional descriptive material that causes the information handling system to perform additional actions that include:
flushing the firmware update from the reserved memory area after the firmware update is written to the firmware memory; and
releasing the reserved memory area after the firmware update has been flushed.

### Claim 18 (depends on 15)

The computer program product of claim 15 further comprising functional descriptive material that causes the information handling system to perform additional actions that include:
after identifying that the firmware update is stored in the reserved memory area:
retrieving an encryption key from a protected area of the hybrid disk drive, wherein the protected area is inaccessible from outside of the hybrid disk drive; and
validating the firmware update using the retrieved encryption key, wherein the writing step is performed in response to successfully validating the firmware update, and wherein the firmware update is not written to the firmware memory in response to an unsuccessful validation.

### Claim 19 (depends on 15)

The computer program product of claim 15 further comprising functional descriptive material that causes the information handling system to perform additional actions that include:
receiving the firmware update from one or more firmware update sources, wherein the firmware update is written to the reserved memory area after the receiving; and
wherein the sleep mode corresponds to spinning down one or more of the platters and the waking up from the sleep mode corresponds to a request to read from or write to the one or more platters.

### Claim 20 (depends on 15)

The computer program product of claim 15 wherein one of the firmware update sources is a server that is connected to the information handling system via a computer network and further comprising functional descriptive material that causes the information handling system to perform additional actions that include:
downloading the firmware update from the server to the machine; and
storing the firmware update in a memory of the machine prior to storing the update in the reserved memory area.
