CPC G06F 3/0613 (2013.01) [G06F 3/0629 (2013.01); G06F 3/0653 (2013.01); G06F 3/0679 (2013.01)] | 12 Claims |
1. A method for upgrading a solid-state disk (SSD) firmware compatible with a redundant array of independent drives (RAID) and a non-RAID, comprising the steps of:
packing, by an SSD manufacturer, two firmware versions consisting of an RAID firmware and a non-RAID firmware together, when the two firmware versions need to be released;
adding, by the SSD manufacturer, a configuration information with a fixed length of bytes to a firmware header of a resulting packed firmware,
wherein the configuration information comprises: index values, offsets, and file sizes of the RAID firmware and the non-RAID firmware, respectively;
determining, by a firmware upgrading tool in a host, according to an internal information of an SSD, whether a matching firmware version thereof is the RAID firmware or the non-RAID firmware;
acquiring, by the firmware upgrading tool in the host, the configuration information of the firmware header from the SSD manufacturer;
the resulting packed firmware is parsed by the firmware upgrading tool according to a predetermined format, and an appropriate firmware is selected for upgrading;
comparing, by the firmware upgrading tool in the host, the internal information of the SSD with the configuration information of the firmware header, selecting a matching index value, and reading a corresponding firmware into a memory of the host, according to the offsets and the file sizes; and
downloading, by the firmware upgrading tool, the corresponding firmware to the SSD by sending a standard firmware upgrade command, whereby upgrading the SSD firmware for the SSD in the host.
|