# US 2004/0205328 A1 · Method and apparatus for loading microcode

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

- Number: US 2004/0205328 A1
- Document ID: US20040205328A1
- Status: Published application
- Kind: A1
- Application number: 10/411,414
- Filed: 2003-04-10
- Published: 2004-10-14
- Earliest claimed: 2003-04-10
- Assignees: International Business Machines Corporation
- Inventors: John Steven Langford; Michael Youhour Lim; Paul Edward Movall; Thomas Joseph Warne
- Web page: https://patentgrep.com/patent/US20040205328A1

## CPC

- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 69/329: in the application layer [OSI layer 7]
- G06F 11/0766: {Error or fault reporting or storing}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, apparatus, and computer instructions for determining validity of and updating a microcode image. Responsive to initiation of an update process, a validity indicator is checked to determine whether the microcode image in the memory is valid. The validity is set indicator to indicate that the microcode image is invalid, in response to the microcode image being valid. Responsive to the microcode image being valid, the update process is allowed to update the microcode image to form an updated microcode image. A determination is made as to whether the updated microcode image is valid. The validity indicator is set to indicate that the microcode is valid if the updated image is valid. The validity indicator is checked during booting of a data processing system to determine whether to load the microcode image. If the validity indicator is valid, the microcode will be loaded. Otherwise, an alternative microcode image is loaded or an error report is generated.

## Claims

### Claim 1

A method for updating a microcode image in a memory, the method comprising:
responsive to initiation of an update process, checking a validity indicator to determine whether the microcode image in the memory is valid;
responsive to the microcode image being valid, setting the validity indicator to indicate that the microcode image is invalid;
responsive to the microcode image being valid, allowing the update process to update the microcode image to form an updated microcode image;
determining whether the updated microcode image is valid; and
setting the validity indicator to indicate that the microcode is valid if the updated image is valid, wherein the validity indicator is checked during booting of a data processing system to determine whether to load the microcode image.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
responsive to booting of the data processing system, checking the validity indicator; and
loading the microcode image if the validity indicator is valid.

### Claim 3 (depends on 2)

The method of claim 2 further comprising:
loading an alternative microcode image if the validity indicator is invalid.

### Claim 4 (depends on 3)

The method of claim 3 further comprising:
reporting an error if the validity indicator is invalid.

### Claim 5 (depends on 1)

The method of claim 1, wherein the validity indicator is a flag.

### Claim 6 (depends on 1)

The method of claim 1, wherein the checking and loading steps are implemented in a boot code.

### Claim 7 (depends on 1)

The method of claim 1, wherein the memory is a flash memory.

### Claim 8 (depends on 1)

The method of claim 1, wherein the microcode includes a flexible service processor code and a system code.

### Claim 9

A method in a data processing system for determining validity a microcode image during booting of the data processing system, the method comprising:
checking a validity indicator associated with the microcode image as part of a boot process; and
loading the microcode image only it the validity indicator indicates that the microcode images is valid.

### Claim 10 (depends on 9)

The method of claim 9, wherein the checking and loading steps are implemented in a boot code.

### Claim 11 (depends on 9)

The method of claim 9, further comprising booting the data processing system using a redundant copy of the microcode image if the microcode image is invalid.

### Claim 12

A data processing system for updating a microcode image in a memory, the data processing system comprising:
checking means, responsive to initiation of an update process, for checking a validity indicator to determine whether the microcode image in the memory is valid;
first setting means, responsive to the microcode image being valid, for setting the validity indicator to indicate that the microcode image is invalid;
allowing means, responsive to the microcode image being valid, for allowing the update process to update the microcode image to form an updated microcode image;
determining means for determining whether the updated microcode image is valid; and
second setting means for setting the validity indicator to indicate that the microcode is valid if the updated image is valid, wherein the validity indicator is checked during booting of a data processing system to determine whether to load the microcode image.

### Claim 13 (depends on 12)

The data processing system of claim 12, wherein the checking means is a first checking means and further comprising:
second checking means, responsive to booting of the data processing system, for checking the validity indicator; and
loading means for loading the microcode image if the validity indicator is valid.

### Claim 14 (depends on 13)

The data processing system of claim 13, wherein the loading means is a first load means and further comprising:
second loading means for loading an alternative microcode image if the validity indicator is invalid.

### Claim 15 (depends on 14)

The data processing system of claim 14 further comprising:
reporting means for reporting an error if the validity indicator is invalid.

### Claim 16 (depends on 12)

The data processing system of claim 12, wherein the validity indicator is a flag.

### Claim 17 (depends on 12)

The data processing system of claim 12, wherein the checking and loading steps are implemented in a boot code.

### Claim 18 (depends on 12)

The data processing system of claim 12, wherein the memory is a flash memory.

### Claim 19 (depends on 12)

The data processing system of claim 12, wherein the microcode includes a flexible service processor code and a system code.

### Claim 20

A data processing system for determining validity a microcode image during booting of the data processing system, the data processing system comprising:
checking means for checking a validity indicator associated with the microcode image as part of a boot process; and
loading means for loading the microcode image only if the validity indicator indicates that the microcode images is valid

### Claim 21 (depends on 20)

The data processing system of claim 20, wherein the checking and loading means are implemented in a boot code.

### Claim 22

A data processing system for updating a microcode image in a memory, the data processing system comprising:
a bus system;
a memory connected to the bus system, wherein the memory includes a set of instructions; and
a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to check a validity indicator to determine whether the microcode image in the memory is valid in response to initiation of an update process; set the validity indicator to indicate that the microcode image is invalid in response to initiation of an update process; allow the update process to update the microcode image to form an updated microcode image in response to the microcode image being valid; determine whether the updated microcode image is valid; and set the validity indicator to indicate that the microcode is valid if the updated image is valid, wherein the validity indicator is checked during booting of a data processing system to determine whether to load the microcode image.

### Claim 23

A data processing system for determining validity a microcode image during booting of the data processing system, the data processing system comprising:
a bus system;
a memory connected to the bus system, wherein the memory includes a set of instructions; and
a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to check a validity indicator associated with the microcode image as part of a boot process; and load the microcode image only if the validity indicator indicates that the microcode images is valid.

### Claim 24

A computer program product in a computer readable medium for updating a microcode image in a memory, the computer program product comprising:
first instructions, responsive to initiation of an update process, for checking a validity indicator to determine whether the microcode image in the memory is valid;
second instructions, responsive to the microcode image being valid, for setting the validity indicator to indicate that the microcode image is invalid;
third instructions, responsive to the microcode image being valid, for allowing the update process to update the microcode image to form an updated microcode image;
fourth instructions for determining whether the updated microcode image is valid; and
sixth instructions for setting the validity indicator to indicate that the microcode is valid if the updated image is valid, wherein the validity indicator is checked during booting of a data processing system to determine whether to load the microcode image.

### Claim 25

A computer program product in a data processing system for determining validity a microcode image during booting of the data processing system, the method comprising:
first instructions for checking a validity indicator associated with the microcode image as part of a boot process; and
second instructions for loading the microcode image only if the validity indicator indicates that the microcode images is valid.
