# US 2004/0083476 A1 · Mechanism to change firmware in a high availability single processor system

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

- Number: US 2004/0083476 A1
- Document ID: US20040083476A1
- Status: Published application
- Kind: A1
- Application number: 10/282,948
- Filed: 2002-10-29
- Published: 2004-04-29
- Earliest claimed: 2002-10-29
- Assignees: Brocade Communications Systems, Inc.
- Inventors: Bill J. Zhou; Richard L. Hammons
- Web page: https://patentgrep.com/patent/US20040083476A1

## CPC

- G06F 8/656: while running
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A “high availability” system comprises multiple switches under the control of a control processor (“CP”). The firmware executing on the processor can be changed when desired. Consistent with the high availability nature of the system (i.e., minimal down time), a single CP system implements a firmware change by loading new firmware onto the system, saving state information pertaining to the old firmware, preventing the old firmware from communicating with the switches, bringing the new firmware to an active state and applying the saved state information to the new firmware.

## Claims

### Claim 1

A method of changing from first firmware to second firmware in a single processor system in which said processor communicates with a plurality of electronic devices, comprising:
(a) saving state information pertaining to said first firmware;
(b) preventing the processor from communicating with the electronic devices;
(c) ceasing execution of the first firmware;
(d) bringing the second firmware to an active state; and
(e) applying the saved state information to the second firmware.

### Claim 2 (depends on 1)

The method of claim 1 further including prior to (d) loading the second firmware into memory accessible by said processor.

### Claim 3 (depends on 1)

The method of claim 1 further including rebooting the processor between (c) and (d).

### Claim 4 (depends on 1)

The method of claim 1 wherein (a) includes saving the state information to non-volatile memory.

### Claim 5 (depends on 1)

The method of claim 1 wherein following (e) permitting the processor to communicate with the electronic devices using the second firmware.

### Claim 6 (depends on 1)

The method of claim 1 wherein the electronic devices comprise network switches.

### Claim 7

A method of changing from first firmware to second firmware in a single processor system in which said processor communicates with a plurality of electronic devices, comprising:
(a) saving state information pertaining to said first firmware;
(b) preventing the processor from communicating with the electronic devices;
(c) ceasing execution of the first firmware;
(d) bringing the second firmware to an active state; and
(e) synchronizing the second firmware to the first firmware using the saved state information.

### Claim 8

A method of changing from first firmware to second firmware in a single processor system in which said processor communicates with a plurality of electronic devices, comprising:
(a) loading the second firmware onto the system in which the first firmware is actively running;
(b) saving state information pertaining to said first firmware;
(c) preventing the processor from communicating with the electronic devices;
(d) ceasing execution of the first firmware;
(e) bringing the second firmware to an active state; and
(f) synchronizing the second firmware to the first firmware using the saved state information.

### Claim 9

A system, comprising:
a plurality of electronic devices; and
a control processor that executes firmware and communicates with the electronic devices, said control processor having memory;
wherein the firmware being executed by said control processor can be changed to new firmware, the change over to the new firmware occurring by saving state information pertaining to the currently executing firmware in said memory, preventing the processor from communicating with the electronic devices, ceasing execution of the currently executing firmware, bringing the new firmware to an active state, and applying the saved state information to the new firmware.

### Claim 10 (depends on 9)

The system of claim 9 wherein the firmware change over also includes loading the new firmware into said memory.

### Claim 11 (depends on 9)

The system of claim 9 wherein the firmware change over also includes rebooting the control processor.

### Claim 12 (depends on 9)

The system of claim 9 wherein said memory comprises non-volatile memory.

### Claim 13 (depends on 9)

The system of claim 9 wherein the firmware change over also includes the control processor again communicating with the electronic devices using the new firmware.

### Claim 14 (depends on 9)

The system of claim 9 wherein the electronic devices comprise network switches.

### Claim 15

A control processor coupled to electronic devices, comprising:
a CPU; and
memory coupled to said CPU and containing CPU executable firmware having associated state information;
wherein the firmware being executed by said CPU can be changed to new firmware, the change over to the new firmware occurring by saving state information pertaining to the currently executing firmware in said memory, preventing the control processor from communicating with the electronic devices, ceasing execution of the currently executing firmware, bringing the new firmware to an active state, and applying the saved state information to the new firmware.

### Claim 16 (depends on 15)

The control processor of claim 15 wherein the firmware change over also includes loading the new firmware said memory.

### Claim 17 (depends on 15)

The control processor of claim 15 wherein the firmware change over also includes rebooting the control processor.

### Claim 18 (depends on 15)

The control processor of claim 15 wherein said memory comprises non-volatile memory.

### Claim 19 (depends on 15)

The control processor of claim 15 wherein the firmware change over also includes the control processor again communicating with the electronic devices using the new firmware.

### Claim 20 (depends on 15)

The control processor of claim 15 wherein the electronic devices comprise network switches.

### Claim 21

A computer readable storage medium for storing an executable set of software instructions that are executable by a CPU, said software instructions being operable to change firmware in a processor from first firmware to second firmware, said processor adapted to communicate with a plurality of electronic devices, said software instructions comprising:
(a) a means for saving state information pertaining to said first firmware;
(b) a means for preventing the processor from communicating with the electronic devices;
(c) a means for ceasing execution of the first firmware;
(d) a means for bringing the second firmware to an active state; and
(e) a means for applying the saved state information to the second firmware.

### Claim 22 (depends on 21)

The storage medium of claim 21 further including a means for loading the second firmware into memory accessible by said processor prior to the means in (d) bringing the second firmware to an active state.

### Claim 23 (depends on 21)

The storage medium of claim 21 further including a means for rebooting the processor between the means in (c) ceasing execution and the means in (d) bring the second firmware to the active state.

### Claim 24 (depends on 21)

The storage medium of claim 21 wherein the means in (a) includes a means for saving the state information to non-volatile memory.

### Claim 25 (depends on 21)

The storage medium of claim 21 further including a means for permitting the processor to communicate with the electronic devices using the second firmware following the means in (e) applying the saved state information to the second firmware.

### Claim 26 (depends on 21)

The storage medium of claim 21 wherein the electronic devices comprise network switches.

### Claim 27

A method of changing from first firmware to second firmware in a single processor system in which said processor communicates with a plurality of electronic devices, comprising:
(a) launching a utility as a standby image;
(b) synchronizing the standby image to an active image in which the first firmware is running;
(e) preventing the processor from communicating with the electronic devices;
(d) making the second firmware a standby image;
(e) launching the utility as an active image;
(f) synchronizing the standby image to the active image; and
(g) failing over from the active image to the standby image.

### Claim 28 (depends on 27)

The method of claim 27 wherein (b) includes saving state information pertaining to the active image to non-volatile memory.

### Claim 29 (depends on 27)

The method of claim 27 wherein (f) includes retrieving state information from the non-volatile memory and applying the retrieved state information to the standby image.

### Claim 30 (depends on 27)

The method of claim 27 wherein (a) includes enabling loopback to cause state information update messages destined for another processor system to be rerouted and provided to the standby image.

### Claim 31 (depends on 27)

The method of claim 27 wherein (e) includes enabling loopback to cause state information update messages destined for another processor system to be rerouted and provided to the standby image.

### Claim 32 (depends on 27)

The method of claim 27 further including prior to (d) loading the second firmware into memory accessible by said processor.

### Claim 33

A system, comprising:
a plurality of electronic devices; and
a control processor that executes firmware and a utility and communicates with the electronic devices, said control processor having memory;
wherein the firmware being executed by said control processor can be changed to new firmware, the change over to the new firmware occurring by launching the utility as a standby image, synchronizing the standby image to an active image in which the currently executing firmware is running, preventing the control processor from communicating with the electronic devices, making the new firmware a standby image, launching the utility as an active image, synchronizing the standby image to the active image, and failing over from the active image to the standby image.

### Claim 34 (depends on 33)

The system of claim 33 wherein synchronizing the standby image containing the utility to the active image containing the currently executing firmware to be replaced includes saving state information pertaining to the active image to non-volatile memory.

### Claim 35 (depends on 3)

The system of claim 3 wherein synchronizing the standby image containing the new firmware to the active image containing the utility includes retrieving state information from the non-volatile memory and applying the retrieved state information to the standby image.

### Claim 36 (depends on 33)

The system of claim 33 wherein launching the utility as a standby image includes enabling loopback to cause state information update messages destined for another processor system to be rerouted and provided to the standby image.

### Claim 37 (depends on 33)

The system of claim 33 wherein launching the utility as an active image includes enabling loopback to cause state information update messages destined for another processor system to be rerouted and provided to the standby image.

### Claim 38 (depends on 22)

The system of claim 22 wherein the firmware change over also includes loading the new firmware into said memory.

### Claim 39

A control processor coupled to electronic devices, comprising:
a CPU; and
memory coupled to said CPU and containing CPU executable firmware having associated state information and a utility;
wherein the firmware being executed by said control processor can be changed to new firmware, the change over to the new firmware occurring by launching the utility as a standby image, synchronizing the standby image to an active image in which the currently executing firmware is running, preventing the control processor from communicating with the electronic devices, making the new firmware a standby image, launching the utility as an active image, synchronizing the standby image to the active image, and failing over from the active image to the standby image.

### Claim 40 (depends on 39)

The control processor of claim 39 wherein synchronizing the standby image containing the utility to the active image containing the currently executing firmware to be replaced includes saving state information pertaining to the active image to non-volatile memory.

### Claim 41 (depends on 39)

The control processor of claim 39 wherein synchronizing the standby image containing the new firmware to the active image containing the utility includes retrieving state information from the non-volatile memory and applying the retrieved state information to the standby image.

### Claim 42 (depends on 39)

The control processor of claim 39 wherein launching the utility as a standby image includes enabling loopback to cause state information update messages destined for another processor system to be rerouted and provided to the standby image.

### Claim 43 (depends on 39)

The control processor of claim 39 wherein launching the utility as an active image includes enabling loopback to cause state information update messages destined for another processor system to be rerouted and provided to the standby image.
