主权项 |
1. A method for updating firmware of a rackmount server system, suited to update a firmware of an update-needed chip module by a control chip module, the control chip module being a rack management controller of the rackmount server system, the rackmount server system comprising at least one server coupled to the rack management controller, the at least one server comprising the update-needed chip module, the rack management controller being capable of controlling a start-up and a shutdown of the at least one server, the method comprising the steps of:
sending a plurality of packets constituting a renewed firmware to the update-needed chip module by the control chip module; sending a command of verifying the packets to the update-needed chip module by the control chip module; acquiring a plurality of verification messages corresponding to the packets from the update-needed chip module by the control chip module; and determining whether all of the verification messages corresponding to the packets are correct or not by the control chip module, thereby making sure whether the packets received by the update-needed chip module are wrong or not; wherein before the step of sending a plurality of packets constituting a renewed firmware to the update-needed chip module by the control chip module, the method further comprises: sending an update-beginning command to the update-needed chip module by the control chip module; acquiring an operating status message from the update-needed chip module by the control chip module; and determining whether the operating status message is a first operating status by the control chip module, if not, then the update-needed chip module being switched to the first operating status; and wherein after the step of sending the update-beginning command to the update-needed chip module by the control chip module, the method further comprises: waiting to receive an operating status message from the update-needed chip module by the control chip module; and if a waiting time of the reception exceeds a predetermined first time threshold value, resending an update-beginning command to the update-needed chip module by the control chip module, and recording a number of the update-beginning command which are sent. |