CN102830984A - Method for updating firmware, chip and communication terminal - Google Patents

Method for updating firmware, chip and communication terminal Download PDF

Info

Publication number
CN102830984A
CN102830984A CN2011101595487A CN201110159548A CN102830984A CN 102830984 A CN102830984 A CN 102830984A CN 2011101595487 A CN2011101595487 A CN 2011101595487A CN 201110159548 A CN201110159548 A CN 201110159548A CN 102830984 A CN102830984 A CN 102830984A
Authority
CN
China
Prior art keywords
firmware
value
communication terminal
predetermined flag
needs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101595487A
Other languages
Chinese (zh)
Other versions
CN102830984B (en
Inventor
宋祎斐
席振新
彭绍平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110159548.7A priority Critical patent/CN102830984B/en
Publication of CN102830984A publication Critical patent/CN102830984A/en
Application granted granted Critical
Publication of CN102830984B publication Critical patent/CN102830984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method for updating a firmware, a chip and a communication terminal. The method for updating the firmware comprises the following steps that: the communication terminal finds out that a second firmware is needed to be updated; the communication terminal downloads update data required for updating of the second firmware; the communication terminal sets a predetermined zone bit as a second value; when the communication terminal is started again, and a first firmware finds out that the predetermined zone bit is the second value, determining a writing position of the update data in the second firmware and writing the update data required for the updating of the second firmware into the writing position to achieve the updating of the second firmware; and after successfully updating the second firmware, the first firmware sets the predetermined zone bit as a first value. The first firmware is a firmware updating module and the second firmware comprises an operating system kernel. The firmware can be updated directly by the terminal through the method for updating the firmware, the chip and the communication terminal provided by the embodiment of the invention.

Description

The method of firmware update, chip and communication terminal
Technical field
The present invention relates to the communications field, relate in particular to method, chip and the communication terminal of firmware update.
Background technology
Along with development of science and technology; The intelligent degree of portable terminal is increasingly high, and along with continuing to optimize of each version, the most of firmware in the portable terminal frequently needs upgrading; And at present can be directly accomplishing on the portable terminal except the upgrading that realizes operating system by operating system nucleus; All the other firmwares that need upgrade that comprise operating system nucleus also can only be downloaded to PC (PC) through network with upgrade file earlier, re-use PC and pair are connected with portable terminal and realize upgrading.
Summary of the invention
For the terminal can directly be upgraded the firmware that wherein need upgrade, the embodiment of the invention provides a kind of method of firmware update, is applicable to communication terminal, and this method comprises:
Communication terminal knows that second firmware needs to upgrade;
Communication terminal is downloaded Updating Information of second firmware update needs;
Communication terminal predetermined flag position is set to second value;
When communication terminal starts once more, after first firmware knows that the predetermined flag position is second value, the writing position in second firmware of confirming to Update Information, and Updating Information of needing of second firmware update write this writing position, realize the renewal of second firmware;
After second firmware update success, the first firmware predetermined flag position is set to first value;
Wherein, first firmware is the firmware update module, and second firmware comprises: operating system nucleus.
More excellent, communication terminal is downloaded Updating Information of second firmware update needs and comprised: communication terminal is verified second the Updating Information of firmware update needs, and will be deposited the precalculated position in through Updating Information of checking;
Updating Information of second firmware update needs write this writing position to be comprised: obtain Updating Information of the second firmware update needs from the precalculated position, and Updating Information of second firmware update needs write this writing position.
More excellent, communication terminal is downloaded Updating Information of second firmware update needs and comprised: communication terminal is downloaded the difference bag of the second firmware update needs;
First firmware writes this writing position with Updating Information of second firmware update needs and comprises: first firmware uses pre-defined algorithm that the difference bag is write this writing position.
More excellent, communication terminal is downloaded Updating Information of second firmware update needs and comprised: communication terminal is verified second the Updating Information of firmware update needs, and will be deposited the precalculated position in through Updating Information of checking;
Updating Information of second firmware update needs write this writing position to be comprised: obtain Updating Information of the second firmware update needs from the precalculated position, and Updating Information of second firmware update needs write this writing position.
More excellent, when communication terminal started once more, first firmware knew that the predetermined flag position is that second value comprises:
When communication terminal starts once more, know that by the 3rd firmware the predetermined flag position is set to second value after, load first firmware, make first firmware know that the predetermined flag position is second value;
Wherein, the 3rd firmware is in the communication terminal start-up course, directly to load the firmware of first firmware.
Further, communication terminal comprises processor, and processor comprises first nuclear and second nuclear, and first firmware is positioned at second nuclear, and operating system nucleus is positioned at second nuclear;
Second firmware further comprises: the firmware that is positioned at first nuclear.
Further, second value is used for indicating the state of second any firmware of firmware to upgrade for needs.
More excellent, after second firmware update success, the first firmware predetermined flag position is set to first value and specifically comprises:
After second firmware update success, the predetermined flag position is set to the 3rd value;
Whether operating system nucleus decision operation system kernel relative operation system needs to upgrade;
Upgrade if desired, operating system nucleus upgrades operating system, after upgrading successfully, notifies first firmware;
The first firmware predetermined flag position is set to first value.
More excellent, after the predetermined flag position was set to the 3rd value, before the first firmware predetermined flag position was set to first value, method further comprised:
When if communication terminal starts once more, second firmware knows that the predetermined flag position is the 3rd value, returns operating system is carried out updating steps.
Further, before second firmware update success, first firmware is confirmed to Update Information after the writing position in second firmware, and method further comprises:
Updating Information of second firmware update needs write this writing position, realize the renewal of second firmware.
The embodiment of the invention provides the method for another kind of firmware update simultaneously, is applicable to communication terminal, comprising:
Communication terminal knows that the 5th firmware needs to upgrade;
Communication terminal is downloaded Updating Information of the 5th firmware update needs;
Communication terminal predetermined flag position is set to the 4th value;
When communication terminal starts once more; After the 4th firmware knows that the predetermined flag position is the 4th value; Form the backup firmware of the 5th firmware; First writing position in the backup firmware of the 5th firmware of Updating Information of confirming that the 5th firmware update needs, and Updating Information of needing of the 5th firmware update write first writing position, form the backup updating firmware of the 5th firmware;
The 4th firmware is confirmed second writing position in the 5th firmware, and the data with in the backup updating firmware of the 5th firmware write second writing position, realize the renewal of the 5th firmware;
After the 5th firmware update success, the 4th firmware predetermined flag position is set to the 5th value;
Wherein, the 4th firmware is the firmware update module, and the 5th firmware is the 4th firmware, and/or in the communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
More excellent, communication terminal is downloaded Updating Information of the 5th firmware update needs and is specially, and communication terminal is verified Updating Information of the 5th firmware update needs, and will be deposited the precalculated position in through the Updating Information of the 5th firmware update needs of checking;
Updating Information of the 5th firmware update needs write first writing position to be comprised: obtain Updating Information of the 5th firmware update needs from the precalculated position, and Updating Information of the 5th firmware update needs write first writing position.
More excellent, Updating Information that the 5th firmware update needs is the difference bag that the 5th firmware update needs;
The 4th firmware writes first writing position with Updating Information of the 5th firmware update needs and comprises: the 4th firmware uses pre-defined algorithm that the difference bag of the 5th firmware update needs is write first writing position.
More excellent, the 4th firmware forms after the backup firmware of the 5th firmware, and method further comprises: the 4th firmware predetermined flag position is set to the 6th value;
Before the 5th firmware update success, method further comprises:
When if communication terminal starts once more, the 4th firmware knows that the predetermined flag position is the 6th value, returns the step of first writing position in the backup firmware of the 5th firmware that Updates Information of confirming that the 5th firmware update needs.
More excellent, the 4th firmware forms after the backup updating firmware of the 5th firmware, and method further comprises: the 4th firmware predetermined flag position is set to the 7th value;
Before the 5th firmware update success, method further comprises:
When if communication terminal starts once more, the 4th firmware knows that the predetermined flag position is the 7th value, then returns the step of confirming second writing position in the 5th firmware.
More excellent, when communication terminal starts once more, knew at the 4th firmware that the predetermined flag position was that the 7th value further comprises before:
After the 6th firmware knows that the predetermined flag position is the 7th value, will replace with loading to the loading of the 5th firmware to the backup updating firmware of the 5th firmware.
More excellent, this method further comprises:
Communication terminal knows that the 7th firmware needs to upgrade;
Communication terminal is downloaded Updating Information of the 7th firmware update needs;
Communication terminal predetermined flag position is set to the 8th value;
When communication terminal starts once more; After the 4th firmware knows that the predetermined flag position is the 8th value; The writing position in the 7th firmware of Updating Information of confirming that the 7th firmware update needs, and Updating Information of needing of the 7th firmware update write this writing position, realize the renewal of the 7th firmware;
After the 7th firmware update success, the 4th firmware predetermined flag position is set to the 5th value;
Wherein, the 7th firmware comprises: operating system nucleus.
More excellent, communication terminal comprises processor, and processor comprises the 3rd nuclear and the 4th nuclear, and the 4th firmware is positioned at the 4th nuclear, and operating system nucleus is positioned at the 4th nuclear, and the 7th firmware further comprises: the firmware that is positioned at the 3rd nuclear.
More excellent, after the 7th firmware update success, the 4th firmware predetermined flag position is set to the 5th value and specifically comprises:
After the 7th firmware update success, the predetermined flag position is set to the 9th value;
Whether operating system nucleus decision operation system kernel relative operation system needs to upgrade;
Upgrade if desired, operating system nucleus upgrades operating system, after upgrading successfully, notifies the 4th firmware;
The 4th firmware predetermined flag position is set to the 5th value.
More excellent; After the predetermined flag position was set to the 9th value, before the 4th firmware predetermined flag position was set to the 5th value, method further comprised: if when communication terminal starts once more; Operating system nucleus knows that the predetermined flag position is the 9th value, returns operating system is carried out updating steps.
More excellent; Before the 7th firmware update success; The 4th firmware confirms that the 7th firmware update needs Updates Information after the writing position in the 7th firmware, and method further comprises: Updating Information of the 7th firmware update needs write this writing position, realize the renewal of the 7th firmware.
The embodiment of the invention also provides a kind of chip simultaneously, is applied in the communication terminal, and chip comprises first firmware and second firmware, and wherein, first firmware comprises:
Predetermined flag position read module, be used to know that predetermined flag position on the communication terminal is second value after, know that second firmware needs to upgrade;
The writing position determination module, after being used for predetermined flag position read module and knowing that second firmware need upgrade, the writing position in second firmware of Updating Information of confirming that second firmware update needs;
Upgrade writing module, be used for the writing position determination module and confirm Updating Information behind the writing position of second firmware of the second firmware update needs, Updating Information of second firmware update needs write the writing position in second firmware;
The predetermined flag position is provided with module, is used for after second firmware update success, and the predetermined flag position is set to first value;
Wherein, first firmware is the firmware update module, and second firmware comprises: operating system nucleus.
More excellent, chip comprises first nuclear and second nuclear, first firmware and operating system nucleus are positioned at second nuclear;
Second firmware further comprises: the firmware that is positioned at first nuclear.
More excellent, the predetermined flag position is provided with module and is further used for, and after second firmware update success, the predetermined flag position is set to the 3rd value, and the notifying operation system kernel; And after the renewal of receiving operating system nucleus was successfully notified, the predetermined flag position was set to first value;
Operating system nucleus is further used for, and judges whether self relative operation system needs to upgrade, and upgrades if desired, then operating system is upgraded, and upgrades successfully to the transmission of first firmware and notify upgrading successfully the back.
The embodiment of the invention provides another kind of chip simultaneously, is applied in the communication terminal, and chip comprises the 4th firmware and the 5th firmware, and the 4th firmware comprises:
Predetermined flag position read module, be used to know that predetermined flag position on the communication terminal is the 4th value after, know that the 5th firmware needs to upgrade;
The firmware backup module, be used to know that said predetermined flag position is the 4th value after, form the backup firmware of said the 5th firmware;
The first writing position determination module, be used to form the backup firmware of said the 5th firmware after, first writing position in the backup firmware of the 5th firmware of Updating Information of confirming that the 5th firmware update needs;
The backup firmware update module is used for Updating Information of the 5th firmware update needs write first writing position, forms the backup updating firmware of the 5th firmware;
The second writing position determination module is used for confirming second writing position in the 5th firmware after the backup updating firmware that the backup firmware update module forms the 5th firmware;
Backup updating firmware writing module, after being used for second writing position and confirming, the data with in the backup updating firmware of the 5th firmware write second writing position, realize the renewal of the 5th firmware;
The predetermined flag position is provided with module, is used for after the 5th firmware update success, and the predetermined flag position is set to the 5th value;
Wherein, the 4th firmware is the firmware update module, and the 5th firmware is the 4th firmware, and/or in the communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
More excellent, the predetermined flag position is provided with module and is further used for, and after said firmware backup module formed the backup firmware of said the 5th firmware, said predetermined flag position was set to the 6th value;
Said predetermined flag position read module is further used for, and when said communication terminal starts once more, after knowing that predetermined flag position on the communication terminal is the 6th value, notifies said backup firmware update module to form the backup updating firmware of said the 5th firmware.
More excellent, the predetermined flag position is provided with module and is further used for, and after the backup firmware update module formed the backup updating firmware of the 5th firmware, the predetermined flag position was set to the 7th value;
Predetermined flag position read module is further used for, and when communication terminal started once more, after knowing that predetermined flag position on the communication terminal is the 7th value, notice backup updating firmware writing module was realized the renewal of the 5th firmware.
More excellent, chip further comprises the 6th firmware, is used for when communication terminal starts once more, after knowing that the predetermined flag position is the 7th value, will replace with the loading to the backup updating firmware of the 5th firmware to the loading of the 5th firmware.
More excellent, chip further comprises the 7th firmware; Predetermined flag position read module is further used for, and when the predetermined flag position is set to the 8th value, knows that the 7th firmware needs to upgrade;
The 4th firmware further comprises:
The writing position determination module, after being used for said predetermined flag position read module and knowing that said the 7th firmware need upgrade, the writing position in said the 7th firmware of Updating Information of confirming that said the 7th firmware update needs; And
Upgrade writing module; Be used for the said write position determination module and confirm Updating Information behind the writing position of said the 7th firmware of said the 7th firmware update needs; Updating Information of said the 7th firmware update needs write the writing position in the 7th firmware, realize the renewal of the 7th firmware;
The predetermined flag position is provided with module and is further used for, and after the 7th firmware update success, the predetermined flag position is set to the 5th value;
The 7th firmware comprises: operating system nucleus.
The embodiment of the invention also provides a kind of communication terminal, comprises first firmware and second firmware, and communication terminal further comprises:
Update mode is known module, is used to know that second firmware needs to upgrade;
Download module is used to download Updating Information of the second firmware update needs; And
Zone bit is provided with module, and after being used for update mode and knowing that module knows that second firmware need upgrade, the predetermined flag position is set to second value;
First firmware is used for; When communication terminal starts once more, after knowing that the predetermined flag position is second value, the writing position in second firmware of confirming to Update Information; And Updating Information of needing of second firmware update write this writing position, realize the renewal of second firmware; And after second firmware update success, the predetermined flag position is set to first value;
Wherein, first firmware is the firmware update module, and second firmware comprises: operating system nucleus.
The embodiment of the invention also provides another kind of communication terminal, comprises the 4th firmware and the 5th firmware, and communication terminal further comprises:
Update mode is known module, is used to know that the 5th firmware needs to upgrade;
Download module is used to download Updating Information of the 5th firmware update needs; And
Zone bit is provided with module, and after being used for update mode and knowing that module knows that the 5th firmware need upgrade, the predetermined flag position is set to the 4th value;
The 4th firmware is used for; When communication terminal starts once more; After knowing that the predetermined flag position is the 4th value, form the backup firmware of the 5th firmware, first writing position in the backup firmware of the 5th firmware of Updating Information of confirming that the 5th firmware update needs; And Updating Information of needing of the 5th firmware update write first writing position, form the backup updating firmware of the 5th firmware; Confirm second writing position in the 5th firmware then,, write second writing position, realize the renewal of the 5th firmware the data in the backup updating firmware; After the 5th firmware update success, the predetermined flag position is set to the 5th value;
Wherein, the 4th firmware is the firmware update module, and the 5th firmware is the 4th firmware, and/or in the communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
The update method of the firmware that the embodiment of the invention provides, chip and communication terminal; Can make communication terminal rely on the renewal that can realize self firmware alternately of self and network-side; Break away from through the upgrade dependence of the firmware that to need to come in the terminal upgrading of PC, increased simultaneously and upgraded or the security and the reliability of upgrading.
Description of drawings
Fig. 1 is the method flow synoptic diagram of one embodiment of the invention;
Fig. 2 is the double-core firmware framework synoptic diagram of one embodiment of the invention;
Fig. 3 is the method flow synoptic diagram of one embodiment of the invention;
Fig. 4 is one embodiment of the invention chip structure synoptic diagram;
Fig. 5 one embodiment of the invention chip structure synoptic diagram;
Fig. 6 is one embodiment of the invention chip structure synoptic diagram.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is done explanation in further detail below in conjunction with embodiment and accompanying drawing.At this, illustrative examples of the present invention and explanation are used to explain the present invention, but not as to qualification of the present invention.
The present invention mainly provides the especially firmware upgrade method of intelligent terminal of a kind of communication terminal; And the terminal of adopting this method; Minimizing is carried out the dependence of intelligent terminal firmware upgrade to personal computer, the employing of the new service of the new function of accelerating terminal, improve repair, service and the efficient that solves fault; Can prolong simultaneously the serviceable life at terminal, improve user's user satisfaction.
Referring to Fig. 1, the invention provides a kind of method embodiment of firmware update, be applicable to communication terminal, comprising:
Communication terminal knows that second firmware needs to upgrade;
Communication terminal is downloaded Updating Information of said second firmware update needs;
Communication terminal predetermined flag position is set to second value;
When communication terminal starts once more, after first firmware knows that the predetermined flag position is second value, the writing position in second firmware of confirming to Update Information, and, realize the renewal of second firmware with the writing position that Updates Information that second firmware update needs;
After second firmware update success, the first firmware predetermined flag position is set to first value;
Wherein, first firmware is the firmware update module, and second firmware comprises: operating system nucleus.
The high pass dual processor chip QSD7xxx and the QSD8xxx family chip that adopt with intelligent mobile terminal below illustrate following embodiment provided by the invention.This chip is dual processor (abbreviating double-core an as) chip, and (Baseband Processor, BP) (Application Processor, AP) dual processor constitutes with application processor by BBP.As shown in Figure 2, chip is made up of ARM9 (BP) and two processors of ARM11 (AP), and these two processors are realized through shared drive (Shared Memory) alternately.ARM9 is responsible for handling communication protocol, radio frequency, general I/O (GPIO) etc.ARM11 is responsible for common task, and the operating system nucleus of operation is Linux, is loaded on the LINUX firmware of ARM11, and operating system Android is called by the LINUX firmware, is loaded on the ANDROID firmware.ARM11 is called and is loaded by ARM9, and ARM9 is the main control chip on the ordinary meaning.Following map 2 is that the main firmware of chip is roughly introduced as follows with high pass QSD8:
PBL (Primary Boot Loader) is basic start-up loading device: be positioned at ARM9, be in plate carry read-only memory (Read-Only Memory, ROM) in, have the original code of starting terminal, be responsible for loading following DBL, generally need not to upgrade.
DBL (Device Boot Loader) is the device start loader: be positioned at ARM9; Employing is loaded into RAS (random access memory through reading flash memory flash with following OSBL, FSBL; RAM) mode in; Carry out the basic equipment configuration of terminal initialization, generally need not to upgrade.
FSBL (Fail-safe Boot Loader) promptly starts the recovery loader of makeing mistakes: be positioned at ARM9, be used for the recovery that makes mistakes to starting terminal, and load following OSBL, generally need not to upgrade.The processor chips of some manufacturer do not have independent FSBL, and its function is accomplished by DBL.
OSBL (Operating System Boot Loader) is the os starting loader: be positioned at ARM9, be used to load following A DSP, AMSS, APPSBL, and realize ARM9 processor end SD card upgrade, the checking verification with and the demonstration etc. of calling start logo.
APPSBL (Application system boot loader) application system start-up loading device: being positioned at ARM11, is the loader of ARM11 processor, is used for realizing ARM11 processor end SD card upgrade, and load operation system kernel (KERNEL) etc.In these processor chips, operating system nucleus is LINUX.
ADSP: being positioned at ARM9 end, is that (Digital Signal Processing DSP), receives the loading of above-mentioned OSBL during starting terminal for the digital signal processor of ARM9 end.
AMSS (Advanced Mobile Subscriber Software): being positioned at ARM9 end, is that (Operating System OS), receives the loading of above-mentioned OSBL during starting terminal for the operating system of processor A RM9.
LINUX (linux kernel): being positioned at the ARM11 end, is the operating system nucleus of processor A RM11, receives the loading of above-mentioned APPSBL during starting terminal.
The operating system of ANDROID (android system): ARM11 nuclear receives the loading of above-mentioned LINUX during starting terminal.
Each firmware is calling order shown in the arrow line among Fig. 2 in the starting terminal process, and OSBL on the BBP (BP) loads with it ADSP, the AMSS with nuclear, and the APPSBL of application processor (AP), realizes striding nuclear (processor) loading.
Fig. 2 also comprises the firmware update module of a Fota_ua by name; Be that (Firmware Over-the-Air, update agent FOTA) (update agent) are positioned on the LINUX of ARM11 end wireless firmware update; Be used for firmware is upgraded, when starting terminal, receive the loading of above-mentioned APPSBL.In the prior art, owing to the firmware update module is positioned on the LINUX itself, so can only realize renewal by LINUX to the ANDROID of its loading; And other firmwares that need upgrade, like AMSS, ADSP, and firmware such as LINUX itself; Cause is not that (LINUX also can't realize self upgrading by the LINUX loading; Can only realize its renewal by PC), so then can't upgrade it, promptly can't realize directly accomplishing the renewal of these firmwares through portable terminal through LINUX.
In one embodiment of the invention; The firmware update module is realized the renewal to other firmwares as a firmware separately; First firmware is that the firmware update module is Fota-ua (hereinafter to be referred as Fota); Operating system nucleus is LINUX, and the operating system firmware of its loading is ANDROID (relative operation system is the Android software systems).
Communication terminal knows that LINUX needs to upgrade, and then download LINUX and need upgrade needed Updating Information, and the predetermined flag position is set to a certain particular value, is used to represent that LINUX needs to upgrade.At the terminal once more in the start-up course; Be loaded on the Fota place, Fota reads the value of this predetermined flag position, knows that LINUX needs to upgrade; So confirm the above-mentioned writing position that Updates Information in LINUX, and above-mentioned Updating Information write this position and realize the renewal to LINUX.If write success, this predetermined flag position of Fota is set to another particular value, the renewal success of sign LINUX.
Above-mentioned communication terminal knows that LINUX needs to upgrade; Be when LINUX has had the renewal version; Obtain latest edition and notify all communication terminals (if the communication terminal of the mode of fixed connection is then notified through the fixed network circuit) to know by server end with the mode of radio broadcasting.Server end can with the latest edition of LINUX with and before version divide other mirror image or data, utilize pre-defined algorithm to make the mirror image of two versions or the difference bag of data, and preserve.
The version of latest edition before compared, and possibly be upgraded version, also maybe be therefore before the wrong and legacy version that need be reduced into of some of version, so above-mentioned renewal can be upgrading or reduction.And utilize the difference bag of two versions that pre-defined algorithm produces is incremental data, can be the data that directly increase or covers to the data of the former data of part position, and perhaps the both comprises.The above-mentioned different more new situation of using of pre-defined algorithm can be made mirror image difference bag such as algorithm and instrument that server end can use Redband to provide for any known incremental data algorithm or retrieving algorithm etc.
Server end also can not made the difference bag, but directly preserves the full content of redaction, directly downloads the total data of redaction for communication terminal, confirms the covering position on the LINUX, and the data of redaction are directly overlayed on the LINUX.But this mode makes the data volume of terminal downloads bigger, and the speed of renewal is also slower, especially to using the portable terminal and the less terminal of internal memory of wireless network, uses the writing mode of difference bag to have more advantage.
Above-mentioned communication terminal knows that LINUX needs to upgrade; Be through file system (the File System in the operating system firmware (being ANDROID); FS) unit detects server end has firmware (being LINUX in this example) to need to upgrade; So above-mentioned image difference bag (having mirror image difference bag with server end in this example is example) is downloaded in the FS unit, and deposits it in presumptive area of communication terminal in, in the particular zones of presumptive area such as nand (a kind of flash memory); Perhaps on the emmc card (a kind of embedded storer is usually used in portable terminal).Perhaps also can go up a software that moves and detect the difference bag whether server end has firmware update, detected the difference bag and notified the FS unit to download afterwards, or this software directly be downloaded to communication terminal by ANDROID.
FS writes the sign that LINUX need upgrade after having downloaded the unit mirror image difference bag of LINUX renewal needs in a status information file, restart the terminal then; This status information file can be the firmware update status indicator, is called zone bit FOTA_FLAG here, can be read by DBL, FSBL (when this firmware exists) and Fota and LINUX.The sign that LINUX need upgrade is above-mentioned second value, is assumed to be 2 (being merely for example, such as available binary number 0010 representative) here here.The initial value of zone bit FOTA_FLAG is assumed to be 1 (binary number 0001, promptly above-mentioned first value), and initial value representes that each firmware all need not to upgrade in the terminal.
In the process that the terminal starts once more, DBL reads the value of zone bit FOTA_FLAG, knows that the firmware that needs to upgrade is LINUX; So need not to handle especially; Configuration loads to basic equipment, keeps normal loading sequence, makes the terminal progressively be loaded on APPSBL.Above-mentioned DBL reads the value of zone bit FOTA_FLAG also can be undertaken by FSBL, and just because some chip products do not have independent FSBL, this place is only described with the value that DBL reads zone bit FOTA_FLAG.Owing to need not in the process that the terminal starts once more, to do special the processing, so DBL and FSBL are not the steps necessary that realization is upgraded LINUX by Fota to reading of zone bit FOTA_FLAG.After APPSBL loads Fota; Fota reads the value of zone bit FOTA_FLAG; Know that promptly LINUX needs to upgrade,, utilize the RedBend algorithm to write this position then and realize renewal LINUX so at first confirm the writing position of data in LINUX in the above-mentioned image difference bag.
After accomplishing above-mentioned writing; After promptly upgrading successfully; Fota writes complement mark in zone bit FOTA_FLAG, this complement mark can identify the renewal success (other values are successfully used in the renewal that is other firmwares) to LINUX specially, also can directly return to initial value 1 (above-mentioned first value); Because of having firmware, the initial value sign do not need to upgrade; And the renewal of LINUX has been accomplished, and (several firmwares needs news more simultaneously generally seldom occurs) when not having other firmwares need upgrade simultaneously, and also available initial value representes that LINUX has upgraded completion.Fota does not carry out the wireless renewal of firmware only, and Fota can use the update mode of describing among the application equally when wired renewal, realizes the renewal to firmware.
In a specific embodiment, communication terminal is downloaded Updating Information of above-mentioned second firmware update needs and comprised: communication terminal is verified second the Updating Information of firmware update needs, and will be deposited the precalculated position in through Updating Information of checking;
Updating Information of said second firmware update needs write the said write position to be comprised: obtain Updating Information of the second firmware update needs from said precalculated position, and Updating Information of second firmware update needs write the said write position.
FS unit on the ANDROID of terminal has been downloaded after the mirror image difference bag; Can directly deposit presumptive area in; Also can download back first buffer memory and verifying; Such as being that the information publisher discerns to server end, whether be information publisher's (is not by official's issue such as LINUX mirror image difference bag) of forged identity.After checking is passed through, again mirror image difference bag is write presumptive area.And in the follow-up step of updating, Fota will be through checking, and the difference bag that is kept at LINUX the renewals needs in this presumptive area reads and writes.
In another specific embodiment, the FS unit writes the particular zones of nand with the mirror image difference bag of LINUX, and after FOTA_FLAG is provided with the ident value that LINUX need upgrade; Directly guiding terminal gets into starting state once more, also can pass through display reminding message earlier, and whether inquiry restarts the terminal; If the user selects to skip the renewal link, then the value of the zone bit FOTA_FLAG sign LINUX zone bit that need upgrade is left 2, and the mirror image difference bag of LINUX renewals needs also is retained in the particular zones of nand; Continue to use the LINUX of current version in the terminal; When startup next time of terminal, when reading this zone bit, carry out the renewal of LINUX again by Fota.
In another embodiment, Fota oneself itself does not directly read the value of zone bit FOTA_FLAG.Meets above-mentioned FS and downloaded the difference bag that the LINUX renewal needs, and when communication terminal started once more, first firmware knew that the predetermined flag position is that second value comprises:
After knowing that by the 3rd firmware the predetermined flag position is set to second value, call said first firmware, make said first firmware know that said predetermined flag position is second value;
Wherein, said the 3rd firmware is in said communication terminal start-up course, directly to load the firmware of said first firmware.
The 3rd above-mentioned firmware is APPSBL, and it loads Fota in the starting terminal process.After APPSBL loads; The value that reads zone bit FOTA_FLAG is 2; Know that promptly LINUX needs to upgrade,, or directly notify LINUX to need renewal so the value of notification flag position FOTA_FLAG is 2 (tables of comparisons that in Fota, have value and its sign content of zone bit FOTA_FLAG) when loading Fota; Make Fota through confirming the writing position and write of Updating Information of LINUX, accomplish renewal LINUX what this position Updated Information.
In another embodiment, communication terminal comprises the processor that contains first nuclear and second nuclear, and first firmware is positioned at second nuclear, and operating system nucleus is positioned at second nuclear; And second firmware further comprises: the firmware that is positioned at first nuclear.
In this embodiment, second firmware also comprises ADSP and AMSS.It is ARM11 that the first firmware Fota and operating system nucleus LINUX are arranged in second nuclear, and to examine be ARM9 and ADSP and AMSS all are arranged in first.Fota not only can upgrade and its firmware LINUX with nuclear (promptly being positioned at same processor, hereinafter to be referred as examining together), can also stride nuclear and upgrade firmware ADSP and AMSS among the ARM9.Because carry out alternately through shared drive between the dinuclear; So the difference bag that ADSP that is downloaded by the FS unit of ANDROID or AMSS renewals need (is convenient description; Hereinafter is that example realizes firmware update to write differential data all) deposit the particular zones of nand in, be can be used for ADSP or AMSS that Xiang Yuqi is in different IPs by Fota to write and realize upgrading.The particular zones of nand in this example; With the particular zones of nand in the precedent can shared same particular zones; Which firmware the difference bag that the identification information of wrapping through difference is distinguished in the subregion belongs to; The difference bag that LINUX, ADSP and AMSS renewal are needed deposits the particular zones of different nand respectively in, can discern the difference bag that deposits in from the position of subregion and belong to which firmware.After Fota successfully writes the difference bag to the relevant position of ADSP or AMSS, feed back to OSBL, the ADSP or the AMSS that let OSBL call again after the renewal get into internal memory.
The value of zone bit FOTA_FLAG in the foregoing description is 2 only to identify LINUX and need to upgrade (promptly a concrete firmware needs renewal); The zone bit that ADSP and AMSS need upgrade can be set to other values (such as binary number 0011 and 0100), makes to know when Fota reads zone bit FOTA_FLAG that which concrete firmware needs to upgrade.In an alternative embodiment, the value of zone bit FOTA_FLAG is that 2 any or a plurality of firmwares that also can identify among LINUX, ADSP or the AMSS need to upgrade, because the update mode of these several kinds of firmwares is roughly the same, one type of firmware can playback.Carried the identification information of different firmwares in (difference bag) owing to Update Information; Fota is after reading zone bit FOTA_FLAG and knowing that which kind of firmware need upgrade; Can judge that which concrete firmware needs to upgrade according to these identification informations in Updating Information, make zone bit become simple like this; Such as only needing 8 scale-of-two is that the length that 1 Byte is provided with zone bit gets final product, and the follow-up embodiment of this paper all comes to describe for example in this way.The scene that two or three firmwares need upgrade simultaneously among LINUX, ADSP and the AMSS seldom; Even run into this kind scene; Know this type of firmware that all need upgrade in the identification information of Fota from the difference bag; Only after all these type of firmwares that need upgrade all successfully to upgrade, the value that Fota just can zone bit FOTA_FLAG is set to first value (like initial value 1).
In another embodiment, after above-mentioned second firmware update success, the first firmware predetermined flag position is set to first value and specifically comprises:
After second firmware update success, the predetermined flag position is set to the 3rd value;
Whether operating system nucleus decision operation system kernel relative operation system needs to upgrade;
Upgrade if desired, operating system nucleus upgrades operating system, after upgrading successfully, notifies first firmware;
The first firmware predetermined flag position is set to first value.
In a specific embodiment, the firmware update data that the FS unit is downloaded from server end comprise the difference bag that LINUX, ADSP and/or AMSS upgrade needs, and the difference bag of ANDROID renewal needs.Certainly, the scene that ADSP and/or AMSS and ANDROID need upgrade simultaneously seldom, only under individual cases, LINUX and ANDROID need renewal simultaneously.Under the situation of having only a zone bit FOTA_FLAG, the value of zone bit FOTA_FLAG is set to 2, is used for indicating LINUX, ADSP and/or AMSS to need to upgrade, and this moment, Fota can't know whether ANDROID also needs to upgrade.In this embodiment, after LINUX, ADSP and/or AMSS upgraded successfully, Fota changed zone bit FOTA_FLAG into 3 by 2 earlier, notifies LINUX then, judged by LINUX whether ANDROID needs to upgrade.If ANDROID does not need to upgrade, then LINUX changes zone bit FOTA_FLAG into 1 (0001).1 is original state, promptly has no firmware to upgrade or all firmware update successes.If ANDROID needs to upgrade, then LINUX confirms that difference wraps in the writing position among the ANDROID, and the difference bag is write this position, accomplishes the renewal to ANDROID.
In the preferred embodiment on the foregoing description basis, after the predetermined flag position was set to the 3rd value, before the first firmware predetermined flag position was set to first value, this firmware update further comprised:
When if communication terminal starts once more, second firmware knows that the predetermined flag position is the 3rd value, returns operating system is carried out updating steps.
Know that through zone bit FOTA_FLAG which or which type firmware at terminal needs to upgrade, can upgrade under the situation of failure that in next start-up course, navigating to rapidly needs the firmware that upgrades and carry out the renewal of this firmware once more at this.
In above-mentioned these embodiment; When Fota upgrades LINUX, ADSP or AMSS; After Fota confirms that difference wraps in the writing position among LINUX, ADSP or the AMSS, difference is wrapped in this position write fashionable breaking down (comprising the terminal power down), cause the terminal to start once more; Because the value of zone bit FOTA_FLAG still is 2; In the start-up course, Fota knows that from the value of zone bit FOTA_FLAG this type of firmware of LINUX, ADSP or AMSS needs to upgrade once more at the terminal, in the writing position that then will Update Information at LINUX, ADSP or the AMSS that confirmed in the renewal process last time; Write accordingly once more and Update Information, realize renewal LINUX, ADSP or AMSS.After upgrading successfully, Fota returns the value setting of zone bit FOTA_FLAG to initial value.If this upgrades and still to run into fault, then in start-up course next time, continue above-mentioned renewal to LINUX, ADSP or AMSS.
Be set to after 3 at above-mentioned Fota zone bit FOTA_FLAG, if LINUX judges that ANDROID needs to upgrade, so ANDROID is upgraded.When LINUX breaks down to the renewal process of ANDROID, thus LINUX also not the value of zone bit FOTA_FLAG be set at 1 o'clock, the terminal starts because of upgrading fault once more, the value of zone bit FOTA_FLAG is left 3.In the process that starts once more, the value that Fota reads zone bit FOTA_FLAG is 3, knows that then ANDROID needs to upgrade, so directly notify LINUX that ANDROID is upgraded.After LINUX upgrades successfully to ANDROID; The value of zone bit FOTA_FLAG is set to 1; If LINUX fails to the renewal of ANDROID once more; Can continue still that above-mentioned terminal starts once more and value that Fota reads zone bit FOTA_FLAG is 3, and notice LINUX carries out updating steps to ANDROID.
Preamble is mentioned in describing; The firmware that communication terminal need upgrade also comprises OSBL, APPSBL and Fota self; When being directed to OSBL, APPSBL and Fota self and need upgrading, if only adopt method in the foregoing description to realize that terminal self upgrades these firmwares, in the process that Fota upgrades OSBL, APPSBL; If fault causes OSBL, APPSBL to damage; Back Fota could load because OSBL, APPSBL load successfully, so OSBL or APPSBL can't be recovered when starting once more in the terminal, then can't load Fota and continue uncompleted renewal last time.In addition, Fota also can't upgrade self.As shown in Figure 3, the embodiment of the invention adopts following mode to carry out firmware update:
Communication terminal knows that the 5th firmware needs to upgrade;
Communication terminal is downloaded Updating Information of the 5th firmware update needs;
Communication terminal predetermined flag position is set to the 4th value;
When communication terminal starts once more; After the 4th firmware knows that the predetermined flag position is the 3rd value; Form the backup firmware of the 5th firmware; First writing position in the backup firmware of the 5th firmware of Updating Information of confirming that the 5th firmware update needs, and Updating Information of needing of the 5th firmware update write first writing position, form the backup updating firmware of the 5th firmware;
The 4th firmware is confirmed second writing position in the 5th firmware, with the data in the backup updating firmware, writes second writing position, realizes the renewal of the 5th firmware;
After the 5th firmware update success, the 4th firmware predetermined flag position is set to the 5th value;
Wherein, the 4th firmware is the firmware update module, and the 5th firmware is the 4th firmware, and/or in the communication terminal start-up course, early than the invoked firmware of the 4th firmware.
Above-mentioned the 5th firmware comprises OSBL, APPSBL and Fota self; Certainly also can comprise ADSP, AMSS and LINUX; But the various embodiments that adopts preamble to mention to back three's renewal all can realize, so the following update method of only describing OSBL, APPSBL and Fota self.Difference bag and the broadcast announcement communication terminal of still making mirror image or data with server end below are that example is described.
In a specific embodiment; Communication terminal upward moves a detection software through FS unit or ANDROID knows that OSBL is that above-mentioned the 5th firmware needs upgrading (this example is example with the firmware upgrade); The difference bag that FS unit or detection software (hereinafter is an example with the FS unit) need the OSBL renewal is downloaded on the emmc card (also can be stored in the particular zones of nand) certainly; The value of predetermined flag position (being that example is described with zone bit FOTA_FLAG down) is set to 2 (here only for giving an example; Such as 2 being binary number 0010, sign OSBL needs to upgrade), promptly above-mentioned the 4th value.
When the terminal starts once more; Above-mentioned the 4th firmware is Fota through the value that reads zone bit FOTA_FLAG is 2 to know that the 5th firmware (OSBL) needs to upgrade; Satisfy the backup firmware of (in RAM) formation OSBL in the presumptive area at terminal; Confirm that then difference that OSBL renewals needs wraps in i.e. first writing position of writing position on the backup firmware of OSBL, and the difference bag of OSBL renewal needs is write first writing position, the backup firmware of OSBL is upgraded.Promptly generate the backup updating firmware of OSBL after upgrading successfully.
This moment, Fota confirmed earlier second writing position of OSBL, and the backup updating firmware of OSBL is write this second writing position.In general, writing of this second place, be covering to the OSBL prototype version, when covering successfully, also just realized the renewal of OSBL.After covering successfully, Fota reverts to 1 (initial value) with the value of zone bit FOTA_FLAG, does not promptly have firmware to need to upgrade.Because OSBL successfully upgrades,, " not having firmware to need to upgrade " upgrade successfully so also can be used to identify OSBL.
In another embodiment; Communication terminal knows that Fota itself needs to upgrade; The difference bag that the Fota renewal is needed in above-mentioned FS unit is downloaded on the emmc card, and zone bit FOTA_FLAG is set to 2, and 2 sign OSBL, APPSBL and this type of Fota firmware need to upgrade in this example; And specifically which firmware needs to upgrade, and then can from the identification information that difference is wrapped, know.After the terminal starts once more; Fota is known from zone bit FOTA_FLAG self to be needed to upgrade; Then (in RAM) forms the backup firmware of Fota in presumptive area, confirms that then difference that Fota renewals needs wraps in i.e. first writing position of writing position on the backup firmware of Fota, and with the Fota renewal need the difference bag write first writing position; Backup firmware to Fota is upgraded, and generates the backup updating firmware of Fota.Then, Fota confirms second writing position of self, makes the backup updating firmware of Fota write this second writing position.After writing successfully, Fota reverts to initial value 1 with the value of zone bit FOTA_FLAG.
In a preferred embodiment; Above-mentioned communication terminal is downloaded Updating Information of the 5th firmware update needs and is specially; Communication terminal is verified Updating Information of the 5th firmware update needs, and will be deposited the precalculated position in through the Updating Information of the 5th firmware update needs of checking;
Updating Information of the 5th firmware update needs write first writing position to be comprised: obtain Updating Information of the 5th firmware update needs from the precalculated position, and Updating Information of the 5th firmware update needs write first writing position.
FS unit on the communication terminal ANDROID has been downloaded after the mirror image or data difference subpackage of the 5th firmware; Can directly deposit presumptive area in; Also can download back first buffer memory and verifying; Such as being that the information publisher discerns to server end, whether be information publisher's (mirror image or data difference subpackage such as OSBL are not by official's issue) of forged identity.After checking is passed through, again above-mentioned image or data difference subpackage are write presumptive area.And in the follow-up step of updating, Fota will be through checking, and the difference bag that is kept at the 5th firmware (such as OSBL) the renewals needs in this presumptive area reads and writes.
In a specific embodiment, after zone bit FOTA_FLAG was provided with, the FS unit can get into starting state once more by guiding terminal; Also can pass through display reminding message earlier, whether inquiry restarts the terminal, if the user selects to skip the renewal link; Then the value of zone bit FOTA_FLAG is left 2, and mirror image or data difference subpackage that the OSBL renewal needs also are retained on the emmc card, when startup next time of terminal; The value that is read this zone bit by Fota is 2 o'clock, and row is upgraded to OSBL again.
In another embodiment, Updating Information that above-mentioned the 5th firmware update needs is the difference bag that the 5th firmware update needs;
The 4th firmware writes first writing position with Updating Information of the 5th firmware update needs and comprises: the 4th firmware uses pre-defined algorithm that the difference bag of the 5th firmware update needs is write first writing position.
In a specific embodiment; Updating Information is the mirror image difference bag (following abbreviation difference bag) of new and old two versions of the 5th firmware (such as APPSBL); After FS unit in the operating system deposited the difference bag presumptive area of terminal in, Fota i.e. the backup firmware of the formation APPSBL of the 4th firmware elder generation, utilizes pre-defined algorithm to confirm first writing position of firmware on the backup firmware of APPSBL that the APPSBL renewal needs; Come the difference bag is write, form the backup updating firmware of APPSBL.Pre-defined algorithm can be any known incremental data and corresponding incremental data retrieving algorithm, like algorithm and the instrument that uses Redband to provide.
Alternative with it embodiment also can be; The full content of APPSBL latest edition is directly downloaded at the terminal; When the backup firmware to APPSBL upgrades; Latest edition covered on the legacy version fully get final product, the writing position that promptly need not to use difference algorithm to confirm the difference bag with carry out difference and write.
In above-mentioned renewal process; The 5th firmware has experienced the link of backup-renewal-covering; And wherein arbitrary link is if fault; But service marking position FOTA_FLAG indicates the residing state of firmware update, so that can in start-up course next time, navigate to the link that the breaks down processing that continues rapidly.Promptly in upgrading (most for upgrading) process, accidents such as any failure or power down occur, Fota can both know in renewal process last time of terminal to stop at which kind of state according to FOTA_FLAG.
In another specific embodiment, the 4th firmware forms after the backup firmware of the 5th firmware, comprises the steps: that further the 4th firmware predetermined flag position is set to the 6th value;
Before the 5th firmware update success, this method further comprises:
When if communication terminal starts once more, the 4th firmware knows that the predetermined flag position is the 6th value, returns the step of first writing position in the backup firmware of the 5th firmware that Updates Information of confirming that the 5th firmware update needs.
Still need be updated to example with OSBL; After the 4th firmware Fota forms the backup firmware of the 5th firmware OSBL; Fota is that zone bit FOTA_FLAG is recorded as above-mentioned the 6th value with the predetermined flag position; Such as being 3 (in this example behind the down loading updating difference bag value of this zone bit still be set to 2), so carry out upgrading to the backup firmware of OSBL.If the upgrading of the backup firmware of OSBL is broken down and when restarting once more; Fota is 3 can know that the backup firmware of OSBL forms from the value of FOTA_FLAG zone bit; And (the backup updating firmware that is OSBL successfully generates) do not accomplished in the upgrading to the backup firmware of OSBL; So first writing position place that Fota can directly confirm in upgrading last time; The difference that carrying out the OSBL renewal needs wraps in writing on the backup firmware of OSBL, also can confirm first writing position again, carries out the renewal of the backup firmware of OSBL again.
On the basis of the foregoing description, perhaps in another independent embodiment, the 4th firmware forms after the backup updating firmware of the 5th firmware, and this method further comprises: the 4th firmware predetermined flag position is set to the 7th value;
Before the 5th firmware update success, this method further comprises:
When if communication terminal starts once more, the 4th firmware knows that the predetermined flag position is the 7th value, then returns the step of confirming second writing position in said the 5th firmware.
In one embodiment, if to the upgrading success of the backup firmware of OSBL, then the value of Fota zone bit FOTA_FLAG is set to the 7th value (such as being 4), proceeds the covering of the backup updating firmware of OSBL to former OSBL then.Value at FOTA_FLAG was set to before 4; Its value can be 3; The backup firmware of sign OSBL has formed and the also not generation of backup updating firmware of OSBL; Also can be 2, promptly only identifying OSBL need upgrade, and when the backup firmware of OSBL has formed, does not adjust the value of zone bit FOTA_FLAG.Under latter event, if cover failure, then the terminal in the start-up course, can't know that the backup firmware of OSBL forms once more, and Fota also need generate the backup firmware of OSBL once more.
On the basis of above-mentioned two embodiment, perhaps in another independent embodiment, the 4th firmware forms after the backup updating firmware of the 5th firmware, and this method further comprises: the 4th firmware predetermined flag position is set to the 7th value;
Before the 5th firmware update success, this method further comprises:
When if communication terminal starts once more, the 4th firmware knows that the predetermined flag position is the 7th value, then returns the step of confirming second writing position in the 5th firmware.
In a specific embodiment, if the backup updating firmware of OSBL is successful to the covering of OSBL, Fota is set to initial value 1 once more with the value (by 4, the foregoing description continues) of zone bit FOTA_FLAG, shows that the OSBL renewal finishes.If overwrite procedure breaks down, the value of zone bit FOTA_FLAG is left 4, when the terminal starts to Fota once more; The value that Fota reads FOTA_FLAG is 4; The backup updating firmware of knowing OSBL generates, and because fault has appearred in overwrite procedure, then Fota directly makes the backup updating firmware of OSBL cover second writing position on the OSBL; Perhaps confirm second writing position again, again OSBL is covered.
Because OSBL, APPSBL or the overwrite procedure of Fota backup updating firmware on former firmware break down; Can't normal load Fota in the time of possibly causing the terminal to start once more; So in the process that the terminal starts once more, the 6th firmware also can read (comprising DBL or FSBL) value of zone bit FOTA_FLAG.This example is example with DBL, when the value that reads zone bit FOTA_FLAG as DBL is 4, then can change the loading sequence of firmware.In this example; The value of zone bit FOTA_FLAG is that the 4 covering links that only identify in the renewal of OSBL, APPSBL or this type of Fota firmware go wrong; And do not indicate specifically in the renewal process of which firmware wherein that the backup updating firmware goes wrong to the covering of former firmware, be 4 o'clock so DBL reads the value of zone bit FOTA_FLAG; The identification information that also need combine the difference of firmware update needs to wrap to which concrete firmware is confirmed.
When being 4 such as value as zone bit FOTA_FLAG; That the overwrite procedure of backup updating firmware of judging DBL breaks down is OSBL; Then DBL changes the firmware loads order into FSBL-OSBL ' APPSBL by FSBL-OSBL-APPSBL, and OSBL ' is the backup updating firmware of OSBL.When being loaded on Fota, Fota knows that the value of zone bit FOTA_FLAG is 4, and the identification information of also wrapping through difference knows the fault that occurs in the renewal process of OSBL, and then second writing position of backup updating firmware on OSBL to OSBL covers.
When DBL judge that the overwrite procedure of backup updating firmware breaks down be APPSBL the time, change loading sequence into FSBL-OSBL-APPSBL ' by FSBL-OSBL-APPSBL, APPSBL ' is the backup updating firmware of APPSBL.When DBL judge that the overwrite procedure of backup updating firmware breaks down be Fota the time, change loading sequence into OSBL-APPSBL-Fota ' by OSBL-APPSBL-Fota, Fota ' is the backup updating firmware of Fota.
Need to prove; DBL will read the value of zone bit FOTA_FLAG in each start-up course at terminal; When not needing it to change the firmware loads order; Be loaded on Fota in the normal order, read the value of zone bit FOTA_FLAG by Fota and judge the update mode that the terminal is present, continue corresponding the processing again; And when its change firmware loads order of needs, loading sequence is adjusted, thereby avoided occurring the above-mentioned situation that can't restart.
The above-mentioned situation that need not change the firmware loads order comprises: needs load in advance; When firmware that Fota could load (like OSBL, APPSBL) or Fota self need upgrade, the covering of backup updating firmware was broken down and is made the terminal need the situation that starts once more no thanks to; And early than, be later than or load simultaneously with Fota, but whether it successfully load the situation of the firmware (like ADSP, AMSS, LINUX and ANDROID) that can not have influence on the loading of Fota when needing to upgrade.
In a specific embodiment, this firmware update further comprises:
Communication terminal knows that the 7th firmware needs to upgrade;
Communication terminal is downloaded Updating Information of the 7th firmware update needs;
Communication terminal predetermined flag position is set to the 8th value;
When communication terminal starts once more; After the 4th firmware knows that the predetermined flag position is the 8th value; The writing position in the 7th firmware of Updating Information of confirming that the 7th firmware update needs, and Updating Information of needing of the 7th firmware update write this writing position, realize the renewal of the 7th firmware;
After the 7th firmware update success, the 4th firmware predetermined flag position is set to first value;
Wherein, said the 7th firmware comprises: operating system nucleus.
Above-mentioned the 7th firmware comprises LINUX, and after communication terminal knew that through the FS unit LINUX need upgrade, the FS unit was rewritten as the 8th value (such as being 5) with zone bit FOTA_FLAG after downloading the difference bag, and guiding terminal starts once more.In the restarting process of terminal, after the value that Fota reads zone bit FOTA_FLAG is 5, need not to generate the backup firmware of LINUX, thus directly confirm the writing position that Updates Information of LINUX, and this writing position on LINUX, write above-mentioned difference bag.
In another embodiment, communication terminal comprises processor, and processor comprises the 3rd nuclear and the 4th nuclear, and the 4th firmware is positioned at the 4th nuclear, and operating system nucleus is positioned at the 4th nuclear, and the 7th firmware further comprises: the firmware that is positioned at the 3rd nuclear.
In a specific embodiment, the processor that adopt at the terminal is that double-core is BBP (BP) and application processor (AP), and the 3rd nuclear is BP, and the 4th nuclear is AP.Fota and LINUX are positioned on the AP, and the 7th firmware further comprises ADSP or the AMSS that is positioned on the BP.Carry out alternately through shared drive between the dinuclear; So the ADSP that is downloaded by the FS unit of ANDROID or the difference bag of AMSS renewals needs deposit presumptive area in, be to be used for ADSP or AMSS that Xiang Yuqi is in different IPs by Fota to write and realize upgrading.
On the basis of the foregoing description, after the 7th firmware update success, said the 4th firmware predetermined flag position is set to the 5th value and specifically comprises:
After the 7th firmware update success, the predetermined flag position is set to the 9th value;
Whether operating system nucleus decision operation system kernel relative operation system needs to upgrade;
Upgrade if desired, operating system nucleus upgrades operating system, after upgrading successfully, notifies the 4th firmware;
The said predetermined flag of the 4th firmware position is set to the 5th value.
After renewal success to the 7th firmware; Fota zone bit FOTA_FLAG is set to the 9th value (such as being 6); And notice LINUX judges whether and need upgrade ANDROID that do not need to upgrade if judged result is ANDROID, then LINUX zone bit FOTA_FLAG is set to i.e. 1 (binary number 0001) of the 5th value; Perhaps LINUX notifies Fota, and FOTA_FLAG is set to 1 by the Fota zone bit.Need to upgrade if judged result is ANDROID, then LINUX confirms that difference wraps in the writing position among the ANDROID, and the difference bag is write this position, realizes the renewal to ANDROID.Need to prove; If whole renewal process has only ANDROID to need to upgrade; FS begins soon, and zone bit FOTA_FLAG is set to 6; Fota obtains and can directly call LINUX after the value of zone bit FOTA_FLAG and come ANDROID is upgraded, so mostly above-mentioned update mode is that LINUX and ANDROID have issued redaction simultaneously thereby the occasion that need upgrade is simultaneously recommended.
Further; After the predetermined flag position is set to the 9th value; Before the 4th firmware predetermined flag position is set to the 5th value; This method further comprises: if when communication terminal starts once more, operating system nucleus knows that the predetermined flag position is the 9th value, then returns operating system is carried out updating steps.
Concrete; Upgrade failure (cutting off the power supply in such as renewal process) if LINUX breaks down to cause in the renewal process to ANDROID, then the value of zone bit FOTA_FLAG still remains 6 (the 9th values), in the start-up course next time at terminal; It is 6 that Fota identifies zone bit FOTA_FLAG; Then notify LINUX that ANDROID is upgraded, after ANDROID upgraded successfully, LINUX notified Fota; Fota zone bit FOTA_FLAG is set to the 5th value (being initial value 1), accomplishes whole renewal process.
In one embodiment; Before the 7th firmware update success; The 4th firmware confirms that the 7th firmware update needs Updates Information after the writing position in the 7th firmware; This method further comprises: Updating Information of the 7th firmware update needs write this writing position, realize the renewal of the 7th firmware.
If the 7th firmware (such as ADSP) breaks down in renewal process; Cause the terminal to start once more; When Fota is loaded; From the value of zone bit FOTA_FLAG is that the 8th value (5) identifies the 7th firmware and need upgrade, and the difference bag that then the ADSP renewal is needed writes the writing position of confirming in renewal process last time on ADSP, realizes the renewal to ADSP.
The present invention also provides a kind of chip, and is as shown in Figure 4, is applied in the communication terminal, and chip comprises first firmware and second firmware, and wherein, first firmware comprises:
Predetermined flag position read module, be used to know that predetermined flag position on the communication terminal is second value after, know that second firmware needs to upgrade;
The writing position determination module, after being used for said predetermined flag position read module and knowing that said second firmware need upgrade, the writing position in said second firmware of Updating Information of confirming that said second firmware update needs;
Upgrade writing module; Be used for the said write position determination module and confirm Updating Information behind the writing position of said second firmware of the said second firmware update needs, Updating Information of said second firmware update needs write the writing position in said second firmware;
The predetermined flag position is provided with module, is used for after said second firmware update success, and said predetermined flag position is set to first value;
Wherein, said first firmware is the firmware update module, and said second firmware comprises: operating system nucleus.
Above-mentioned first firmware and operating system nucleus, respectively with said method embodiment in first firmware (Fota) and operating system nucleus (LINUX) corresponding, be included in the above-mentioned chip that provides.Predetermined flag position read module is knowing that the predetermined flag position on the communication terminal is after zone bit FOTA_FLAG is second value (such as 2), knows that LINUX needs to upgrade; The writing position determination module then after predetermined flag position read module knows that LINUX need upgrade, the writing position in LINUX of Updating Information of confirming that the LINUX renewal needs; Upgrade writing module behind the writing position in LINUX of Updating Information that the writing position determination module confirms that LINUX renewals need, Updating Information of LINUX renewal needs write this writing position; The predetermined flag position is provided with module after LINUX upgrades successfully, and zone bit FOTA_FLAG is set to first value (such as initial value 1, being used to identify present status does not need to upgrade for there being firmware, just indicates this yet and upgrades successfully).
Further, said chip comprises first nuclear and second nuclear, and said first firmware and said operating system nucleus are positioned at said second nuclear;
Said second firmware further comprises: the firmware that is positioned at said first nuclear.
See among the said method embodiment; For the double-core chip; Fota and LINUX all are positioned on second nuclear (ARM11 also is AP), and ADSP and AMSS are positioned on first nuclear (ARM9 also is BP), and Fota also can realize the nuclear of striding of ADSP and AMSS is upgraded through above-mentioned each module.
Further, above-mentioned predetermined flag position is provided with module and is further used for, and after said second firmware update success, said predetermined flag position is set to the 3rd value, and notifies said operating system nucleus; And after the renewal of receiving said operating system nucleus was successfully notified, said predetermined flag position was set to first value;
Said operating system nucleus is further used for, and judges whether self relative operation system needs to upgrade, and upgrades if desired, then said operating system is upgraded, and successfully then sends said renewal to said first firmware and successfully notify upgrading.
Once can only be provided with under the situation of a value at zone bit FOTA_FLAG; The scene (scene that ADSP and AMSS and ANDROID need upgrade simultaneously can occur hardly) that LINUX and ANDROID need upgrade simultaneously possibly appear; So if the scene that LINUX and ANDROID need upgrade simultaneously, zone bit FOTA_FLAG can be set to second value by the FS unit of ANDROID, also promptly indicate LINUX to need to upgrade; After LINUX upgrades successfully; LINUX (perhaps it notifies Fota, by Fota) zone bit FOTA_FLAG is set to the 3rd value (such as 3), goes to judge by LINUX whether ANDROID needs to upgrade then.Need to upgrade if LINUX judges ANDROID, then LINUX upgrades ANDROID, and back (perhaps it notifies Fota, by Fota) is provided with back initial value (1) with zone bit FOTA_FLAG upgrading successfully; Do not need to upgrade if LINUX judges ANDROID, then (perhaps it notifies Fota, by Fota) is provided with back initial value (1) with zone bit FOTA_FLAG.
Same; If in the process of upgrading LINUX, ADSP or AMSS, break down; When beginning to start once more at the terminal, zone bit FOTA_FLAG still is left 2, when then Fota reads the value of zone bit FOTA_FLAG; Fault has appearred in the renewal process that just can know LINUX, ADSP or AMSS, so proceed the renewal to LINUX, ADSP or AMSS.
The present invention also provides a kind of chip simultaneously, is applied in the communication terminal, and this chip comprises the 4th firmware and the 5th firmware, and wherein the 4th firmware comprises:
Predetermined flag position read module, be used to know that predetermined flag position on the communication terminal is the 4th value after, know that the 5th firmware needs to upgrade;
The firmware backup module, be used to know that said predetermined flag position is the 4th value after, form the backup firmware of said the 5th firmware;
The first writing position determination module, be used to form the backup firmware of said the 5th firmware after, first writing position in the backup firmware of said the 5th firmware of Updating Information of confirming that said the 5th firmware update needs;
The backup firmware update module is used for Updating Information of said the 5th firmware update needs write said first writing position, forms the backup updating firmware of said the 5th firmware;
The second writing position determination module is used for confirming second writing position in said the 5th firmware after the backup updating firmware that the backup firmware update module forms said the 5th firmware;
Backup updating firmware writing module after being used for said second writing position and confirming, with the data in the backup updating firmware of said the 5th firmware, writes said second writing position, realizes the renewal of said the 5th firmware;
The predetermined flag position is provided with module, is used for after said the 5th firmware update success, and said predetermined flag position is set to the 5th value;
Wherein, said the 4th firmware is the firmware update module, and said the 5th firmware is said the 4th firmware, and/or in the said communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
Above-mentioned the 4th firmware and operating system nucleus, respectively with said method embodiment in the 4th firmware (Fota) and the 5th firmware (can comprise OSBL, APPSBL and Fota self) corresponding, be included in the above-mentioned chip that provides.Predetermined flag position read module is knowing that the predetermined flag position on the communication terminal is after zone bit FOTA_FLAG is the 4th value (such as 2), knows that the 5th firmware (such as OSBL) needs to upgrade; The firmware backup module forms the backup firmware of OSBL after knowing that said predetermined flag position is 2; After the first writing position determination module forms the backup firmware of OSBL at the firmware backup module, confirm first writing position in the backup firmware of OSBL of Updating Information of OSBL renewals needs; So the backup firmware update module writes first writing position with Updating Information of OSBL renewal needs, forms the backup updating firmware of OSBL; The second writing position determination module is confirmed second writing position among the OSBL after the backup firmware update module forms the backup updating firmware of OSBL; Backup updating firmware writing module is after second writing position is confirmed, the data with in the backup updating firmware of OSBL write second writing position, realizes the renewal of OSBL; The predetermined flag position is provided with module after OSBL upgrades successfully, and the predetermined flag position is that zone bit FOTA_FLAG is set to the 5th value (such as initial value 1, being used to identify present status does not need to upgrade for there being firmware, just indicates this yet and upgrades successfully).
Further, the predetermined flag position is provided with module and is further used for, and after said firmware backup module formed the backup firmware of said the 5th firmware, said predetermined flag position was set to the 6th value;
Said predetermined flag position read module is further used for, and when said communication terminal starts once more, after knowing that predetermined flag position on the communication terminal is the 6th value, notifies said backup firmware update module to form the backup updating firmware of said the 5th firmware.
Firmware backup module in Fota forms after the backup firmware of OSBL; Predetermined flag position among the Fota is provided with module zone bit FOTA_FLAG and is set to the 6th value (such as 3); Like this, break down when link is promptly upgraded the backup firmware of OSBL when upgrading, when communication terminal starts once more at the next one; After predetermined flag position read module among the Fota knew that zone bit FOTA_FLAG is 3, notice backup firmware update module formed the backup updating firmware of OSBL.
Further, said predetermined flag position is provided with module and is further used for, and after said backup firmware update module formed the backup updating firmware of said the 5th firmware, said predetermined flag position was set to the 7th value;
Said predetermined flag position read module is further used for, and when said communication terminal starts once more, after knowing that predetermined flag position on the communication terminal is the 7th value, notifies said backup updating firmware writing module to realize the renewal of said the 5th firmware.
When the predetermined flag position is provided with module after the backup firmware update module forms the backup updating firmware of OSBL, zone bit FOTA_FLAG is set to the 7th value (such as 4); When said communication terminal started once more, predetermined flag position read module was after knowing that zone bit FOTA_FLAG is 4, and notice backup updating firmware writing module is realized the renewal of OSBL.
Further, this chip further comprises the 6th firmware, is used for when communication terminal starts once more, after knowing that the predetermined flag position is the 7th value, will replace with the loading to the backup updating firmware of said the 5th firmware to the loading of said the 5th firmware.
Safer pattern does; The 6th firmware (DBL or FSBL) is in the process of starting terminal each time; Can read the value of zone bit FOTA_FLAG, if above-mentioned second writing position at OSBL broke down when writing the content of backup updating firmware of OSBL, the value of zone bit FOTA_FLAG is left 4 i.e. the 7th values in the terminal starts next time; The value that DBL or FSBL read zone bit FOTA_FLAG is 4 o'clock, changes the loading sequence of firmware on the chip.Still be updated to example with OSBL; It is OSBL that the identification information that DBL or FSBL combine difference to wrap is informed in the firmware that breaks down when second writing position writes the content of corresponding backup updating firmware; Then the firmware loads order is adjusted into FSBL-OSBL ' APPSBL ' by FSBL-OSBL-APPSBL, OSBL ' is the backup updating firmware of OSBL.
Above-mentioned backup firmware successfully form and the backup updating firmware when successfully forming Fota the value of zone bit FOTA_FLAG is provided with; Come the present residing link of identification renewal process; So that navigate to the link that breaks down when starting once more at the terminal fast, the structural drawing of this chip is as shown in Figure 6, backup firmware update module and backup updating firmware writing module; All with predetermined flag position read module and predetermined flag position module is set respectively and links to each other, so that the sending to fast of status information.
Further, this chip further comprises the 7th firmware; Said predetermined flag position read module is further used for, and when said predetermined flag position is set to the 8th value, knows that said the 7th firmware needs to upgrade;
Said the 4th firmware further comprises:
The writing position determination module, after being used for said predetermined flag position read module and knowing that said the 7th firmware need upgrade, the writing position in said the 7th firmware of Updating Information of confirming that said the 7th firmware update needs; And
Upgrade writing module; Be used for the said write position determination module and confirm Updating Information behind the writing position of said the 7th firmware of said the 7th firmware update needs; Updating Information of said the 7th firmware update needs write the writing position in said the 7th firmware, realize the renewal of said the 7th firmware;
Said predetermined flag position is provided with module and is further used for, and after said the 7th firmware update success, said predetermined flag position is set to the 5th value;
Said the 7th firmware comprises: operating system nucleus.
The 7th firmware comprises LINUX, also can comprise with the 4th firmware Fota and LINUX not at the OSBL and the APPSBL of same nuclear.In the embodiment of said chip; Fota states on the function of renewal of OSBL, APPSBL and Fota self in realization; Simultaneously can realize renewal to LINUX, ADSP and AMSS; The module that it comprises and the function of execution, similar with module and function among the embodiment of aforementioned chip provided by the invention, repeat no more at this.In like manner, Fota realize operating system ANDROID through LINUX renewal also as aforementioned.
The present invention also provides a kind of communication terminal, comprises first firmware and second firmware, and said communication terminal further comprises:
Update mode is known module, is used to know that said second firmware needs to upgrade;
Download module is used to download Updating Information of the said second firmware update needs; And
Zone bit is provided with module, and after being used for said update mode and knowing that module knows that said second firmware need upgrade, the predetermined flag position is set to second value;
Said first firmware is used for; When said communication terminal starts once more; After knowing that said predetermined flag position is second value; Confirm the said writing position that Updates Information in said second firmware, and Updating Information of said second firmware update needs write the said write position, realize the renewal of said second firmware; And after said second firmware update success, said predetermined flag position is set to first value;
Wherein, said first firmware is the firmware update module, and said second firmware comprises: operating system nucleus.
Above-mentioned first firmware and operating system nucleus, respectively with said method embodiment in first firmware (Fota) and operating system nucleus (LINUX) corresponding, be included in the above-mentioned chip that provides.Update mode knows that module knows when LINUX need upgrade, and by download module Updating Information of needing of LINUX renewal is downloaded and is preserved; Zone bit is provided with module, and after update mode knew that module knows that LINUX need upgrade, predetermined flag position FOTA_FLAG was set to second value (such as 2); When communication terminal starts once more; The first firmware Fota is after knowing that zone bit FOTA_FLAG is 2; Confirm that LINUX upgrades the needed writing position that Updates Information in LINUX, and Updating Information of LINUX renewal needs write this writing position, realize renewal LINUX; After LINUX upgraded successfully, Fota zone bit FOTA_FLAG was set to first value (such as 1).
The embodiment of the various optimizations of mentioning in the said method; Such as the form of using the difference bag, the firmware that is updated is done difference write, also comprise ADSP and/or AMSS (all being on the different nuclear) such as second firmware with Fota; The above-mentioned same mode of can using Fota realizes the nuclear of striding of the two is upgraded; The 3rd value (such as 3) that zone bit FOTA_FLAG is set is for another example indicated the state of LINUX relative operation system ANDROID for needing to upgrade, if in the renewal process of any firmware, break down, Fota can be through reading the value of zone bit FOTA_FLAG; Understand the residing state that upgrades at present; Thereby navigate to the state before corresponding firmware and corresponding the breaking down fast, realize renewal, repeat no more here firmware.
The embodiment of the invention provides another kind of communication terminal simultaneously, comprises the 4th firmware and the 5th firmware, and said communication terminal further comprises:
Update mode is known module, is used to know that the 5th firmware needs to upgrade;
Download module is used to download Updating Information of the 5th firmware update needs; And
Zone bit is provided with module, and after being used for said update mode and knowing that module knows that said the 5th firmware need upgrade, the predetermined flag position is set to the 4th value;
Said the 4th firmware is used for; When said communication terminal starts once more; After knowing that said predetermined flag position is the 4th value, form the backup firmware of said the 5th firmware, first writing position in the backup firmware of said the 5th firmware of Updating Information of confirming that said the 5th firmware update needs; And Updating Information of needing of said the 5th firmware update write said first writing position, form the backup updating firmware of said the 5th firmware; Confirm second writing position in said the 5th firmware then,, write said second writing position, realize the renewal of said the 5th firmware the data in the said backup updating firmware; After said the 5th firmware update success, said predetermined flag position is set to the 5th value;
Wherein, said the 4th firmware is the firmware update module, and said the 5th firmware is said the 4th firmware, and/or in the said communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
Above-mentioned the 4th firmware and operating system nucleus, respectively with said method embodiment in the 4th firmware (Fota) and the 5th firmware (can comprise OSBL, APPSBL and Fota) corresponding, be included in the above-mentioned chip that provides.Update mode knows that module knows when the 5th firmware need upgrade such as OSBL, by download module Updating Information of needing of OSBL renewal is downloaded and is preserved; Zone bit is provided with module after update mode knows that module knows that OSBL need upgrade, and predetermined flag position FOTA_FLAG is set to the 4th value (such as 2); When communication terminal starts once more; The 4th firmware Fota is after knowing that zone bit FOTA_FLAG is 2; Form the backup firmware of OSBL; First writing position in the backup firmware of OSBL of Updating Information of confirming then that OSBL renewals need, and Updating Information of OSBL renewals needs write said first writing position, form the backup updating firmware of OSBL; Then, Fota confirms second writing position among the OSBL, with the data in the backup updating firmware of OSBL, writes this second writing position, realizes the renewal of OSBL; After OSBL upgraded successfully, Fota zone bit FOTA_FLAG was set to the 5th value (like initial value 1, sign does not have firmware to need to upgrade at present).
Whether the embodiment of the various optimizations of mentioning in the said method such as the form of using the difference bag, does difference to the firmware that is updated and writes, restart immediately such as inquiry when having learnt that firmware need upgrade and upgrade.When obtaining to need to upgrade the backup firmware of firmware, the value that zone bit FOTA_FLAG is set identifies this state for another example, such as after backup firmware successfully being upgraded formation backup updating firmware; The value that zone bit FOTA_FLAG is set identifies this state; Again when the backup updating firmware successfully being write the original firmware that corresponding need upgrade, the value that zone bit FOTA_FLAG is set is got back to original state and is come identification renewal success, and the value that zone bit FOTA_FLAG is set through each link in renewal process is carried out record; Make renewal process break down and terminal when starting once more; Fota can understand the residing state that upgrades at present through reading the value of zone bit FOTA_FLAG, thereby navigates to the state before corresponding firmware and corresponding the breaking down fast; Realization is also repeated no more to the renewal of firmware here.
What need explanation in addition is; In the monokaryon chip (the monokaryon chip that dispatches from the factory such as Samsung), or in multinuclear (such as existing four nuclear chips), adopt the disclosed Fota of the present invention; All can realize in the prior art can't realize; Directly through communication terminal self, the renewal of the firmware except that ANDROID is repeated no more here.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (31)

1. the method for a firmware update is applicable to communication terminal, it is characterized in that, said method comprises:
Said communication terminal knows that second firmware needs to upgrade;
Said communication terminal is downloaded Updating Information of said second firmware update needs;
Said communication terminal predetermined flag position is set to second value;
When said communication terminal starts once more; After first firmware knows that said predetermined flag position is second value; Confirm the said writing position that Updates Information in said second firmware, and Updating Information of said second firmware update needs write the said write position, realize the renewal of said second firmware;
After said second firmware update success, the said predetermined flag of said first firmware position is set to first value;
Wherein, said first firmware is the firmware update module, and said second firmware comprises: operating system nucleus.
2. the method for firmware update as claimed in claim 1; It is characterized in that; Said communication terminal is downloaded Updating Information of said second firmware update needs and comprised: said communication terminal is verified said second the Updating Information of firmware update needs, and will be deposited the precalculated position in through said the Updating Information of checking;
Saidly Updating Information of needing of said second firmware update write the said write position comprise: obtain Updating Information of said second firmware update the needsing from said precalculated position, and Updating Information of said second firmware update needs write the said write position.
3. the method for firmware update as claimed in claim 1 is characterized in that, said communication terminal is downloaded Updating Information of said second firmware update needs and comprised: said communication terminal is downloaded the difference bag of the said second firmware update needs;
Said first firmware writes the said write position with Updating Information of said second firmware update needs and comprises: said first firmware uses pre-defined algorithm that said difference bag is write the said write position.
4. the method for firmware update as claimed in claim 1; It is characterized in that; Said communication terminal is downloaded Updating Information of said second firmware update needs and comprised: said communication terminal is verified said second the Updating Information of firmware update needs, and will be deposited the precalculated position in through said the Updating Information of checking;
Saidly Updating Information of needing of said second firmware update write the said write position comprise: obtain Updating Information of said second firmware update the needsing from said precalculated position, and Updating Information of said second firmware update needs write the said write position.
5. the method for firmware update as claimed in claim 1 is characterized in that, when said communication terminal started once more, first firmware knew that said predetermined flag position is that second value comprises:
When said communication terminal starts once more, know that by the 3rd firmware the predetermined flag position is set to second value after, load said first firmware, make said first firmware know that said predetermined flag position is second value;
Wherein, said the 3rd firmware is in said communication terminal start-up course, directly to load the firmware of said first firmware.
6. like the method for each described firmware update in the claim 1~5; It is characterized in that said communication terminal comprises processor, said processor comprises first nuclear and second nuclear; Said first firmware is positioned at said second nuclear, and said operating system nucleus is positioned at said second nuclear;
Said second firmware further comprises: the firmware that is positioned at said first nuclear.
7. the method for firmware update as claimed in claim 6 is characterized in that, said second value is used for indicating the state of said second any firmware of firmware to upgrade for needs.
8. the method for firmware update as claimed in claim 1 is characterized in that, after said second firmware update success, the said predetermined flag of said first firmware position is set to first value and specifically comprises:
After said second firmware update success, said predetermined flag position is set to the 3rd value;
Whether said operating system nucleus decision operation system kernel relative operation system needs to upgrade;
Upgrade if desired, said operating system nucleus upgrades said operating system, after upgrading successfully, notifies said first firmware;
The said predetermined flag of said first firmware position is set to first value.
9. the method for firmware update as claimed in claim 8 is characterized in that, after said predetermined flag position was set to the 3rd value, before the said predetermined flag of said first firmware position was set to first value, said method further comprised:
When if said communication terminal starts once more, said second firmware knows that said predetermined flag position is the 3rd value, returns said said operating system to be carried out updating steps.
10. like the method for arbitrary described firmware update in the claim 1~5,8 or 9; It is characterized in that; Before said second firmware update success, said first firmware confirms that said method further comprises after the said writing position that Updates Information in said second firmware:
Updating Information of said second firmware update needs write the said write position, realize the renewal of said second firmware.
11. the method for a firmware update is applicable to communication terminal, it is characterized in that, said method comprises:
Said communication terminal knows that the 5th firmware needs to upgrade;
Said communication terminal is downloaded Updating Information of said the 5th firmware update needs;
Said communication terminal predetermined flag position is set to the 4th value;
When said communication terminal starts once more; After the 4th firmware knows that said predetermined flag position is the 4th value; Form the backup firmware of said the 5th firmware; First writing position in the backup firmware of said the 5th firmware of Updating Information of confirming that said the 5th firmware update needs, and Updating Information of said the 5th firmware update needs write said first writing position, form the backup updating firmware of said the 5th firmware;
Said the 4th firmware is confirmed second writing position in said the 5th firmware, with the data in the backup updating firmware of said the 5th firmware, writes said second writing position, realizes the renewal of said the 5th firmware;
After said the 5th firmware update success, the said predetermined flag of said the 4th firmware position is set to the 5th value;
Wherein, said the 4th firmware is the firmware update module, and said the 5th firmware is said the 4th firmware, and/or in the said communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
12. the method for firmware update as claimed in claim 11; It is characterized in that; Said communication terminal is downloaded Updating Information of said the 5th firmware update needs and is specially; Said communication terminal is verified Updating Information of said the 5th firmware update needs, and will be deposited the precalculated position in through the Updating Information of said the 5th firmware update needs of checking;
Updating Information of said the 5th firmware update needs write said first writing position to be comprised: obtain Updating Information of said the 5th firmware update needs from said precalculated position, and Updating Information of said the 5th firmware update needs write said first writing position.
13. the method for firmware update as claimed in claim 11 is characterized in that, the difference bag that Updates Information and need for said the 5th firmware update that said the 5th firmware update needs;
Said the 4th firmware writes said first writing position with Updating Information of said the 5th firmware update needs and comprises: said the 4th firmware uses pre-defined algorithm that the difference bag of said the 5th firmware update needs is write said first writing position.
14. the method for firmware update as claimed in claim 11 is characterized in that, said the 4th firmware forms after the backup firmware of said the 5th firmware, and said method further comprises: the said predetermined flag of said the 4th firmware position is set to the 6th value;
Before said the 5th firmware update success, said method further comprises:
When if said communication terminal starts once more, said the 4th firmware knows that said predetermined flag position is the 6th value, returns the said step of confirming first writing position in the backup firmware of said the 5th firmware that Updates Information that said the 5th firmware update needs.
15. the method for firmware update as claimed in claim 11 is characterized in that, said the 4th firmware forms after the backup updating firmware of said the 5th firmware, and said method further comprises: the said predetermined flag of said the 4th firmware position is set to the 7th value;
Before said the 5th firmware update success, said method further comprises:
When if said communication terminal starts once more, said the 4th firmware knows that said predetermined flag position is the 7th value, then returns the said step of confirming second writing position in said the 5th firmware.
16. the method for firmware update as claimed in claim 15 is characterized in that, when said communication terminal starts once more, knows at said the 4th firmware that said predetermined flag position was that the 7th value further comprises before:
After the 6th firmware knows that said predetermined flag position is the 7th value, will replace with loading to the loading of said the 5th firmware to the backup updating firmware of said the 5th firmware.
17. the method for firmware update as claimed in claim 11 is characterized in that, said method further comprises:
Said communication terminal knows that the 7th firmware needs to upgrade;
Said communication terminal is downloaded Updating Information of said the 7th firmware update needs;
Said communication terminal predetermined flag position is set to the 8th value;
When said communication terminal starts once more; After the 4th firmware knows that said predetermined flag position is the 8th value; The writing position in said the 7th firmware of Updating Information of confirming that said the 7th firmware update needs; And Updating Information of needing of said the 7th firmware update write the said write position, realize the renewal of said the 7th firmware;
After said the 7th firmware update success, the said predetermined flag of said the 4th firmware position is set to the 5th value;
Wherein, said the 7th firmware comprises: operating system nucleus.
18. the method for firmware update as claimed in claim 17; It is characterized in that; Said communication terminal comprises processor, and said processor comprises the 3rd nuclear and the 4th nuclear, and said the 4th firmware is positioned at said the 4th nuclear; Said operating system nucleus is positioned at said the 4th nuclear, and said the 7th firmware further comprises: the firmware that is positioned at said the 3rd nuclear.
19. the method for firmware update as claimed in claim 17 is characterized in that, after said the 7th firmware update success, the said predetermined flag of said the 4th firmware position is set to the 5th value and specifically comprises:
After said the 7th firmware update success, said predetermined flag position is set to the 9th value;
Whether said operating system nucleus decision operation system kernel relative operation system needs to upgrade;
Upgrade if desired, said operating system nucleus upgrades said operating system, after upgrading successfully, notifies said the 4th firmware;
The said predetermined flag of said the 4th firmware position is set to the 5th value.
20. the method for firmware update as claimed in claim 19; It is characterized in that; After said predetermined flag position was set to the 9th value, before the said predetermined flag of said the 4th firmware position was set to the 5th value, said method further comprised: if when said communication terminal starts once more; Said operating system nucleus knows that said predetermined flag position is the 9th value, returns said said operating system to be carried out updating steps.
21. method like each described firmware update in the claim 17~20; It is characterized in that; Before said the 7th firmware update success; Said the 4th firmware confirms that said the 7th firmware update needs Updates Information after the writing position in said the 7th firmware, and said method further comprises: Updating Information of said the 7th firmware update needs write the said write position, realize the renewal of said the 7th firmware.
22. a chip is applied to it is characterized in that in the communication terminal that said chip comprises first firmware and second firmware, said first firmware comprises:
Predetermined flag position read module, be used to know that predetermined flag position on the communication terminal is second value after, know that second firmware needs to upgrade;
The writing position determination module, after being used for said predetermined flag position read module and knowing that said second firmware need upgrade, the writing position in said second firmware of Updating Information of confirming that said second firmware update needs;
Upgrade writing module; Be used for the said write position determination module and confirm Updating Information behind the writing position of said second firmware of the said second firmware update needs, Updating Information of said second firmware update needs write the writing position in said second firmware;
The predetermined flag position is provided with module, is used for after said second firmware update success, and said predetermined flag position is set to first value;
Wherein, said first firmware is the firmware update module, and said second firmware comprises: operating system nucleus.
23. chip according to claim 22 is characterized in that, said chip comprises first nuclear and second nuclear, and said first firmware and said operating system nucleus are positioned at said second nuclear;
Said second firmware further comprises: the firmware that is positioned at said first nuclear.
24., it is characterized in that said predetermined flag position is provided with module and is further used for according to claim 22 or 23 described chips, after said second firmware update success, said predetermined flag position is set to the 3rd value, and notifies said operating system nucleus; And after the renewal of receiving said operating system nucleus was successfully notified, said predetermined flag position was set to first value;
Said operating system nucleus is further used for, and judges whether self relative operation system needs to upgrade, and upgrades if desired, then said operating system is upgraded, and successfully then sends said renewal to said first firmware and successfully notify upgrading.
25. a chip is applied to it is characterized in that in the communication terminal that said chip comprises the 4th firmware and the 5th firmware, said the 4th firmware comprises:
Predetermined flag position read module, be used to know that predetermined flag position on the communication terminal is the 4th value after, know that the 5th firmware needs to upgrade;
The firmware backup module, be used to know that said predetermined flag position is the 4th value after, form the backup firmware of said the 5th firmware;
The first writing position determination module, be used to form the backup firmware of said the 5th firmware after, first writing position in the backup firmware of said the 5th firmware of Updating Information of confirming that said the 5th firmware update needs;
The backup firmware update module is used for Updating Information of said the 5th firmware update needs write said first writing position, forms the backup updating firmware of said the 5th firmware;
The second writing position determination module is used for confirming second writing position in said the 5th firmware after the backup updating firmware that the backup firmware update module forms said the 5th firmware;
Backup updating firmware writing module after being used for said second writing position and confirming, with the data in the backup updating firmware of said the 5th firmware, writes said second writing position, realizes the renewal of said the 5th firmware;
The predetermined flag position is provided with module, is used for after said the 5th firmware update success, and said predetermined flag position is set to the 5th value;
Wherein, said the 4th firmware is the firmware update module, and said the 5th firmware is said the 4th firmware, and/or in the said communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
26. chip according to claim 25 is characterized in that, said predetermined flag position is provided with module and is further used for, and after said firmware backup module formed the backup firmware of said the 5th firmware, said predetermined flag position was set to the 6th value;
Said predetermined flag position read module is further used for, and when said communication terminal starts once more, after knowing that predetermined flag position on the communication terminal is the 6th value, notifies said backup firmware update module to form the backup updating firmware of said the 5th firmware.
27. chip according to claim 25 is characterized in that, said predetermined flag position is provided with module and is further used for, and after said backup firmware update module formed the backup updating firmware of said the 5th firmware, said predetermined flag position was set to the 7th value;
Said predetermined flag position read module is further used for, and when said communication terminal starts once more, after knowing that predetermined flag position on the communication terminal is the 7th value, notifies said backup updating firmware writing module to realize the renewal of said the 5th firmware.
28. chip according to claim 27; It is characterized in that; Said chip further comprises the 6th firmware; Be used for when said communication terminal starts once more, after knowing that said predetermined flag position is the 7th value, will replace with loading the loading of said the 5th firmware to the backup updating firmware of said the 5th firmware.
29. chip according to claim 25 is characterized in that, said chip further comprises the 7th firmware; Said predetermined flag position read module is further used for, and when said predetermined flag position is set to the 8th value, knows that said the 7th firmware needs to upgrade;
Said the 4th firmware further comprises:
The writing position determination module, after being used for said predetermined flag position read module and knowing that said the 7th firmware need upgrade, the writing position in said the 7th firmware of Updating Information of confirming that said the 7th firmware update needs; And
Upgrade writing module; Be used for the said write position determination module and confirm Updating Information behind the writing position of said the 7th firmware of said the 7th firmware update needs; Updating Information of said the 7th firmware update needs write the writing position in said the 7th firmware, realize the renewal of said the 7th firmware;
Said predetermined flag position is provided with module and is further used for, and after said the 7th firmware update success, said predetermined flag position is set to the 5th value;
Said the 7th firmware comprises: operating system nucleus.
30. a communication terminal is characterized in that, comprises first firmware and second firmware, said communication terminal further comprises:
Update mode is known module, is used to know that said second firmware needs to upgrade;
Download module is used to download Updating Information of the said second firmware update needs; And
Zone bit is provided with module, and after being used for said update mode and knowing that module knows that said second firmware need upgrade, the predetermined flag position is set to second value;
Said first firmware is used for; When said communication terminal starts once more; After knowing that said predetermined flag position is second value; Confirm the said writing position that Updates Information in said second firmware, and Updating Information of said second firmware update needs write the said write position, realize the renewal of said second firmware; And after said second firmware update success, said predetermined flag position is set to first value;
Wherein, said first firmware is the firmware update module, and said second firmware comprises: operating system nucleus.
31. a communication terminal is characterized in that, comprises the 4th firmware and the 5th firmware, said communication terminal further comprises:
Update mode is known module, is used to know that said the 5th firmware needs to upgrade;
Download module is used to download Updating Information of said the 5th firmware update needs; And
Zone bit is provided with module, and after being used for said update mode and knowing that module knows that said the 5th firmware need upgrade, the predetermined flag position is set to the 4th value;
Said the 4th firmware is used for; When said communication terminal starts once more; After knowing that said predetermined flag position is the 4th value, form the backup firmware of said the 5th firmware, first writing position in the backup firmware of said the 5th firmware of Updating Information of confirming that said the 5th firmware update needs; And Updating Information of needing of said the 5th firmware update write said first writing position, form the backup updating firmware of said the 5th firmware; Confirm second writing position in said the 5th firmware then,, write said second writing position, realize the renewal of said the 5th firmware the data in the said backup updating firmware; After said the 5th firmware update success, said predetermined flag position is set to the 5th value;
Wherein, said the 4th firmware is the firmware update module, and said the 5th firmware is said the 4th firmware, and/or in the said communication terminal start-up course, needs to load the firmware that just can make the 4th firmware loads in advance.
CN201110159548.7A 2011-06-14 2011-06-14 Method, chip and the communication terminal that firmware updates Active CN102830984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110159548.7A CN102830984B (en) 2011-06-14 2011-06-14 Method, chip and the communication terminal that firmware updates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110159548.7A CN102830984B (en) 2011-06-14 2011-06-14 Method, chip and the communication terminal that firmware updates

Publications (2)

Publication Number Publication Date
CN102830984A true CN102830984A (en) 2012-12-19
CN102830984B CN102830984B (en) 2016-07-06

Family

ID=47334134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110159548.7A Active CN102830984B (en) 2011-06-14 2011-06-14 Method, chip and the communication terminal that firmware updates

Country Status (1)

Country Link
CN (1) CN102830984B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461666A (en) * 2014-12-31 2015-03-25 小米科技有限责任公司 Firmware upgrading method and device for main processor of device
CN104484211A (en) * 2014-12-29 2015-04-01 广东欧珀移动通信有限公司 Method and device for sharing mirror image document
CN104636153A (en) * 2013-11-07 2015-05-20 中兴通讯股份有限公司 Android terminal and method for upgrading Android terminal
CN104955033A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Voice encryption communication method
CN104955034A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Communication conversation method
CN105808283A (en) * 2014-12-31 2016-07-27 海洋王照明科技股份有限公司 Program updating method and device applicable to intelligent illumination equipment
CN106325915A (en) * 2015-07-01 2017-01-11 广达电脑股份有限公司 Systems, methods, and computer-readable storage media for updating a computer firmware
CN106648759A (en) * 2016-11-30 2017-05-10 苏州华芯微电子股份有限公司 Common programming device firmware updating method
CN107294768A (en) * 2017-05-05 2017-10-24 惠州Tcl移动通信有限公司 EMMC firmware upgrade methods, equipment and storage device
WO2017185706A1 (en) * 2016-04-28 2017-11-02 华为技术有限公司 System upgrade method and system upgrade apparatus
CN108710495A (en) * 2018-03-29 2018-10-26 北京聚利科技股份有限公司 Electronic tag method for updating program, electronic tag and storage medium
CN108874439A (en) * 2018-07-02 2018-11-23 京东方科技集团股份有限公司 Obtain method and device, upgrade method and the device of customization difference packet
CN109408097A (en) * 2018-12-11 2019-03-01 深圳市英威腾电气股份有限公司 A kind of firmware upgrade method, device, system and a kind of electronic equipment
CN109766140A (en) * 2018-12-19 2019-05-17 青岛海信宽带多媒体技术有限公司 A kind of localization method and device that set-top box starting is abnormal
CN110209415A (en) * 2019-05-29 2019-09-06 惠州Tcl移动通信有限公司 Firmware method for refreshing, device and storage medium
US10528434B2 (en) 2014-12-22 2020-01-07 Xiaomi Inc. Method, device and terminal for restoring firmware program
CN110750287A (en) * 2019-10-21 2020-02-04 上海庆科信息技术有限公司 Intelligent robot firmware upgrading method and device and intelligent robot
CN110874239A (en) * 2020-01-20 2020-03-10 翱捷科技(上海)有限公司 Air firmware differential upgrading method and device for electronic equipment
CN113626059A (en) * 2021-10-13 2021-11-09 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN114064086A (en) * 2021-11-29 2022-02-18 四川虹美智能科技有限公司 Multi-stage processor system and upgrading method thereof
CN114780114A (en) * 2022-04-11 2022-07-22 广州小鹏汽车科技有限公司 Firmware upgrading method, system, vehicle and storage medium
CN115037496A (en) * 2021-03-03 2022-09-09 美光科技公司 Endpoint customization via online firmware stores
US11561788B2 (en) 2019-11-25 2023-01-24 Micron Technology, Inc. Resilient software updates in secure storage devices

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581101A (en) * 2003-08-12 2005-02-16 联想(北京)有限公司 Embedded system upgrading method
CN101271396A (en) * 2008-04-15 2008-09-24 威盛电子股份有限公司 Electronic device and method for on-line updating firmware
US20090007090A1 (en) * 2007-06-28 2009-01-01 Sony Ericsson Mobile Communications Japan Inc. Software updating method and portable terminal device
CN101383847A (en) * 2008-08-25 2009-03-11 中兴通讯股份有限公司 Firmware upgrading method and device for wireless data terminal
TW201102924A (en) * 2009-07-03 2011-01-16 Inventec Appliances Corp Embedded electronic device and method for updating firmware thereof
CN102065118A (en) * 2010-09-16 2011-05-18 深圳市九洲电器有限公司 Method for updating network equipment and device for implementing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581101A (en) * 2003-08-12 2005-02-16 联想(北京)有限公司 Embedded system upgrading method
US20090007090A1 (en) * 2007-06-28 2009-01-01 Sony Ericsson Mobile Communications Japan Inc. Software updating method and portable terminal device
CN101271396A (en) * 2008-04-15 2008-09-24 威盛电子股份有限公司 Electronic device and method for on-line updating firmware
CN101383847A (en) * 2008-08-25 2009-03-11 中兴通讯股份有限公司 Firmware upgrading method and device for wireless data terminal
TW201102924A (en) * 2009-07-03 2011-01-16 Inventec Appliances Corp Embedded electronic device and method for updating firmware thereof
CN102065118A (en) * 2010-09-16 2011-05-18 深圳市九洲电器有限公司 Method for updating network equipment and device for implementing method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
(美)斯坦尼克: "《Windows Vista实用宝典》", 31 August 2007, article "《Windows Vista实用宝典》", pages: 395 *
朱涛 等: "《基于智能客户端架构的自助服务系统的设计与实现》", 《计算机工程》, vol. 33, no. 16, 31 August 2007 (2007-08-31), pages 205 - 207 *
汪强兵 等: "《智能客户端构架下基于ASP的CAE服务提供技术研究》", 《计算机应用研究》, vol. 25, no. 1, 31 January 2008 (2008-01-31), pages 138 - 141 *
王舜 等: "《基于OMA标准的FPTA技术研究》", 《电信科学》, no. 8, 31 August 2006 (2006-08-31), pages 56 - 59 *

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636153A (en) * 2013-11-07 2015-05-20 中兴通讯股份有限公司 Android terminal and method for upgrading Android terminal
US10528434B2 (en) 2014-12-22 2020-01-07 Xiaomi Inc. Method, device and terminal for restoring firmware program
CN104484211A (en) * 2014-12-29 2015-04-01 广东欧珀移动通信有限公司 Method and device for sharing mirror image document
CN104484211B (en) * 2014-12-29 2017-07-28 广东欧珀移动通信有限公司 The method and device of shared image file
CN104461666B (en) * 2014-12-31 2018-05-08 小米科技有限责任公司 The firmware upgrade method and device of equipment primary processor
CN105808283A (en) * 2014-12-31 2016-07-27 海洋王照明科技股份有限公司 Program updating method and device applicable to intelligent illumination equipment
CN104461666A (en) * 2014-12-31 2015-03-25 小米科技有限责任公司 Firmware upgrading method and device for main processor of device
CN104955033A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Voice encryption communication method
CN104955034A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Communication conversation method
CN106325915A (en) * 2015-07-01 2017-01-11 广达电脑股份有限公司 Systems, methods, and computer-readable storage media for updating a computer firmware
WO2017185706A1 (en) * 2016-04-28 2017-11-02 华为技术有限公司 System upgrade method and system upgrade apparatus
CN106648759A (en) * 2016-11-30 2017-05-10 苏州华芯微电子股份有限公司 Common programming device firmware updating method
CN107294768A (en) * 2017-05-05 2017-10-24 惠州Tcl移动通信有限公司 EMMC firmware upgrade methods, equipment and storage device
CN108710495A (en) * 2018-03-29 2018-10-26 北京聚利科技股份有限公司 Electronic tag method for updating program, electronic tag and storage medium
CN108874439A (en) * 2018-07-02 2018-11-23 京东方科技集团股份有限公司 Obtain method and device, upgrade method and the device of customization difference packet
CN109408097A (en) * 2018-12-11 2019-03-01 深圳市英威腾电气股份有限公司 A kind of firmware upgrade method, device, system and a kind of electronic equipment
CN109766140A (en) * 2018-12-19 2019-05-17 青岛海信宽带多媒体技术有限公司 A kind of localization method and device that set-top box starting is abnormal
CN110209415A (en) * 2019-05-29 2019-09-06 惠州Tcl移动通信有限公司 Firmware method for refreshing, device and storage medium
CN110750287A (en) * 2019-10-21 2020-02-04 上海庆科信息技术有限公司 Intelligent robot firmware upgrading method and device and intelligent robot
CN110750287B (en) * 2019-10-21 2023-10-13 上海庆科信息技术有限公司 Firmware upgrading method and device of intelligent robot and intelligent robot
US11561788B2 (en) 2019-11-25 2023-01-24 Micron Technology, Inc. Resilient software updates in secure storage devices
US11775283B2 (en) 2019-11-25 2023-10-03 Micron Technology, Inc. Resilient software updates in secure storage devices
CN110874239A (en) * 2020-01-20 2020-03-10 翱捷科技(上海)有限公司 Air firmware differential upgrading method and device for electronic equipment
CN115037496A (en) * 2021-03-03 2022-09-09 美光科技公司 Endpoint customization via online firmware stores
CN113626059B (en) * 2021-10-13 2022-02-08 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN113626059A (en) * 2021-10-13 2021-11-09 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN114064086A (en) * 2021-11-29 2022-02-18 四川虹美智能科技有限公司 Multi-stage processor system and upgrading method thereof
CN114064086B (en) * 2021-11-29 2023-06-23 四川虹美智能科技有限公司 Multi-stage processor system and upgrading method thereof
CN114780114A (en) * 2022-04-11 2022-07-22 广州小鹏汽车科技有限公司 Firmware upgrading method, system, vehicle and storage medium

Also Published As

Publication number Publication date
CN102830984B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN102830984A (en) Method for updating firmware, chip and communication terminal
CN110825563B (en) System recovery method and device and electronic equipment
EP2456257B1 (en) Method and system for upgrading wireless data card
CN108804118B (en) Firmware upgrading method, device and storage medium
CN101383847A (en) Firmware upgrading method and device for wireless data terminal
WO2019062703A1 (en) Update method, and embedded system
CN102693139A (en) Method and system for wirelessly upgrading mobile phone software
CN102646043A (en) Method and device for upgrading mobile terminal software and mobile terminal
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN102346673A (en) Method and device for upgrading mobile phone system
CN104918114A (en) Method and device for upgrading operation system
CN111427596A (en) Software upgrading method and device and terminal equipment
CN107943501A (en) Embedded device upgrade method, device, computer equipment and storage medium
CN105045640A (en) Software upgrading method and device and intelligent equipment
CN106201588A (en) The method for upgrading software of terminal and terminal
CN105045671B (en) The method for upgrading system and device of a kind of intelligent terminal
CN104978204A (en) Application installing and updating method based on mobile terminal and application installing and updating device based on mobile terminal
CN113032183A (en) System management method, device, computer equipment and storage medium
CN113412480B (en) Mounting processing method, mounting processing device, electronic equipment and computer readable storage medium
CN106933604B (en) System upgrading method and device
CN110659052B (en) Method and system for updating system software in network equipment and readable storage medium
CN111176693B (en) Upgrading method of digital television system
CN109254797B (en) Mobile terminal, starting control method thereof and storage medium
WO2021102849A1 (en) Resource acquisition method and apparatus, and electronic device
CN105700895A (en) Adaptation method for terminal system, terminal and system server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant