Information processing device, network device, and method for updating network device firmware
An information processing device includes a controller and an interface device. The controller stores a compressed file including new firmware for the interface device, and sends at least part of compressed data in the compressed file to the interface device. The interface device performs a signature verification process and a decompressing process on the received compressed data in parallel.
1 . An information processing device, comprising:
a controller; and
an interface device,
wherein the controller:
stores a compressed file including new firmware for the interface device; and
sends at least part of the compressed data in the compressed file to the interface device,
wherein the interface device performs a signature verification process and a decompressing process on the received compressed data in parallel,
wherein the controller sends a plurality of blocks constituting the compressed file sequentially, and
wherein the interface device performs the signature verification process and a decompressing process on each block in parallel.
2 . The information processing device according to claim 1 , wherein the interface device includes a non-volatile memory,
wherein the non-volatile memory includes a first region to store currently active firmware, and a second region that differs from the first region, and
wherein the interface device:
writes data obtained by decompressing the compressed data to the second region; and
switches from the first region to the second region so that firmware for use is read from the second region, after the firmware for update has been entirely written to the second regions.
3 . The information processing device according to claim 1 ,
wherein the interface device:
includes a non-volatile memory and a volatile memory;
stores a block received from the controller in the volatile memory; and
performs the signature verification process and the decompressing process in parallel on the block stored in the volatile memory, and stores the decompressed block in the non-volatile memory.
4 . The information processing device according to claim 1 , wherein the controller determines whether it is necessary to update firmware of the interface device, based on a version of the current firmware of the interface device as compared to a version of the new firmware, and settings of an update forced implementation mode.
5 . The information processing device according to claim 1 , further comprising a plurality of interface devices,
wherein the controller transmits a common block to the plurality of interface devices in parallel.
6 . A network device, comprising:
a processor;
a first memory; and
a second memory,
wherein the processor:
receives, from another device, compressed data including at least part of a new firmware for the network device and stores the compressed data in the first memory; and
performs a signature verification process and a decompressing process on the compressed data in parallel, and stores decompressed data in the second memory,
wherein the processor receives partial blocks of compressed file of the new firmware in sequence, and performs a signature verification process and a decompressing process on each partial block in parallel.
7 . A method for updating network device firmware, comprising the steps of:
receiving, by a network device, from another device, compressed data including at least part of a new firmware for the network device and stores the compressed data in the first memory; and
performing, by the network device, a signature verification process and a decompressing process on the compressed data in parallel, and stores decompressed data in the second memory,
wherein the network device receives partial blocks of compressed file of the new firmware in sequence, and performs a signature verification process and a decompressing process on each partial block in parallel.