System Of Updating Firmware And Method Thereof, And Method Of Creating Firmware
First Claim
1. A system of updating firmware, wherein the system allows a firmware updating operation to be performed on firmware stored in an electronic device, the system comprising:
- a firmware storage module disposed in the electronic device for at least storing a first firmware version and a second firmware version, wherein the first firmware version and the second firmware version each have image header file data comprising a cyclic redundancy checksum and an image header file creation time;
a receiving module for receiving an instruction for executing a firmware update so as to obtain new firmware;
a determining module for (a) receiving the instruction for executing a firmware update, (b) determining whether the new firmware obtained by the receiving module has an abnormality according to the cyclic redundancy checksum in the new firmware, (c) ending the firmware updating operation upon a determination being made of the presence of an abnormality in the new firmware, (d) determining whether the first firmware version and the second firmware version stored in the firmware storage module have an abnormality according to the cyclic redundancy checksum in the first firmware and the second firmware upon determining absence of an abnormality in the new firmware, (e) locking, upon determination of the presence of an abnormity in one version of the first firmware and the second firmware, the abnormality-stricken firmware as target firmware, (f) comparing, upon determination of absence of any abnormity in the first firmware and the second firmware, the first firmware with the second firmware in terms of the image header file creation time thereof so as to define target firmware for replacement by locking the first firmware or the second firmware, whichever has the earlier said image header file creation time, and (g) ending the firmware updating operation upon determination of the presence of an abnormality in the first firmware and the second firmware; and
an updating module for replacing the target firmware locked for replacement by the determining module with the new firmware so as to complete performing the firmware updating operation on firmware stored in the electronic device.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method of updating firmware and a method of creating firmware are provided. The system includes a firmware storage module having first firmware and second firmware. The first and second firmware each have image header file data, including a cyclic redundancy checksum (CRC) and an image header file creation time. The method of updating firmware includes determining whether the first and second firmware have an abnormality according to the CRC information. When an abnormality is present in the first or second firmware, the abnormality-stricken firmware is replaced with new firmware. When the abnormality is absent from the first and second firmware, the first firmware is compared with the second firmware in terms of the image header file creation time such that the firmware with the earlier creation time is replaced by the new firmware. Operable firmware is available even if the firmware updating operation fails.
-
Citations
16 Claims
-
1. A system of updating firmware, wherein the system allows a firmware updating operation to be performed on firmware stored in an electronic device, the system comprising:
-
a firmware storage module disposed in the electronic device for at least storing a first firmware version and a second firmware version, wherein the first firmware version and the second firmware version each have image header file data comprising a cyclic redundancy checksum and an image header file creation time; a receiving module for receiving an instruction for executing a firmware update so as to obtain new firmware; a determining module for (a) receiving the instruction for executing a firmware update, (b) determining whether the new firmware obtained by the receiving module has an abnormality according to the cyclic redundancy checksum in the new firmware, (c) ending the firmware updating operation upon a determination being made of the presence of an abnormality in the new firmware, (d) determining whether the first firmware version and the second firmware version stored in the firmware storage module have an abnormality according to the cyclic redundancy checksum in the first firmware and the second firmware upon determining absence of an abnormality in the new firmware, (e) locking, upon determination of the presence of an abnormity in one version of the first firmware and the second firmware, the abnormality-stricken firmware as target firmware, (f) comparing, upon determination of absence of any abnormity in the first firmware and the second firmware, the first firmware with the second firmware in terms of the image header file creation time thereof so as to define target firmware for replacement by locking the first firmware or the second firmware, whichever has the earlier said image header file creation time, and (g) ending the firmware updating operation upon determination of the presence of an abnormality in the first firmware and the second firmware; and an updating module for replacing the target firmware locked for replacement by the determining module with the new firmware so as to complete performing the firmware updating operation on firmware stored in the electronic device. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of updating firmware, wherein the method allows a firmware updating operation to be performed on firmware stored in an electronic device having a firmware storage module stored with a first firmware version and a second firmware version each at least having image header file data comprising a cyclic redundancy checksum and an image header file creation time, the method comprising the steps of:
-
obtaining new firmware upon receipt of an instruction for executing a firmware update; checking the cyclic redundancy checksum of the new firmware for an error, and going to the next step upon determination that the cyclic redundancy checksum of the new firmware is error-free; determining whether the first firmware and the second firmware have an abnormality according to the cyclic redundancy checksum of the first firmware and the second firmware so as to lock, upon determination of the presence of an abnormality in one of the first firmware and the second firmware, the abnormality-stricken firmware as target firmware for replacement, and comparing, upon determination of the absence of abnormity in the first firmware and the second firmware, the first firmware with the second firmware in terms of the image header file creation time thereof so as to define target firmware by locking the first firmware or the second firmware, whichever has earlier said image header file creation time, and ending the firmware updating operation upon determination of the presence of an abnormality in both the first firmware and the second firmware; and replacing the locked target firmware with the new firmware so as to complete performing the firmware updating operation on firmware stored in the electronic device. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A method of creating firmware for use with a system of updating firmware, comprising:
-
presetting a maximum length of a data stream for firmware storage; combining kernel file data and file system data to create temporary file data; creating image header file data comprising a cyclic redundancy checksum and an image header file creation time; adding the image header file data to the temporary file data so as to form firmware; and determining whether the actual length of the data stream stored in the firmware is less than the preset maximum length of the data stream for firmware storage so as to increase, upon affirmative determination, the length of the data stream of the temporary file data until the actual length of the data stream stored in the firmware equals the preset maximum length of the data stream for firmware storage. - View Dependent Claims (15, 16)
-
Specification