CN1517865A - Method of loading upgrade single board start program - Google Patents
Method of loading upgrade single board start program Download PDFInfo
- Publication number
- CN1517865A CN1517865A CNA031373127A CN03137312A CN1517865A CN 1517865 A CN1517865 A CN 1517865A CN A031373127 A CNA031373127 A CN A031373127A CN 03137312 A CN03137312 A CN 03137312A CN 1517865 A CN1517865 A CN 1517865A
- Authority
- CN
- China
- Prior art keywords
- bootrom
- veneer
- feature board
- routine
- flash card
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
A method for loading upgrade start program includes such steps as connecting the flash memory card in which the upgrade-version start program is stared to a function card to be upgraded, setting up the memory for storing the start region program to the function card to writable state, starting the function card by the boot program of flash memory card, and copying the upgrade-version start program into the start region in the memory of function card.
Description
Technical field
The present invention relates to the loading upgrading method of program, particularly a kind of method of loading upgrading start-up routine.
Background technology
The startup of each computer system all needs a BOOTROM to guide, finish feature board CPU minimum system hardware initialization, the hardware supported of bottom is provided for the whole software system, for operating system provides device driver and system break service routine, the function of customized operating system provides the running environment of a real-time multi-task for application software.BOOTROM also is one section software program, thereby also needs memory carrier to deposit.The memory carrier of BOOTROM must guarantee after system's power down that carrier content do not lose, otherwise can't start after system's power down, and memory carrier commonly used has EEPROM and FLASH etc.BOOTROM just is used for guidance system, just genuine systemic-function does not realize in this section, but in high layer software, realize, thereby the functional requirement of BOOTROM is simplified as far as possible, have relative stability, can not upgrade with the renewal of upper layer software (applications), the damage of BOOTROM will cause system to start, and must recover BOOTROM by miscellaneous equipment, make system recovery.Because these characteristics of BOOTROM and the singularity of special role in system and memory carrier thereof, people often treat it as a hardware device.Because BOOTROM and hardware, operating system are closely related, the variation of system hardware, the reduction of operation system function all might need the renewal upgrading of BOOTROM.
BOOTROM to be put in its carrier and must finish by other system or equipment.The many modes with chip burner burning sheet of EEPROM carrier are finished the loading of BOOTROM.When doing carrier with EEPROM, the BOOTROM carrier is designed to pluggable more, thereby the many employings of the upgrading of BOOTROM are burnt the carrier that sheet or replacing be loaded with new BOOTROM again and realized.Must realize the loading of BOOTROM when BOOTROM does carrier with FLASH with other means, as the JTAG cable etc., this load mode layman is difficult for grasping.
The upgrading of BOOTROM can also adopt the mode of online upgrading to finish, online upgrading needs the support of upper layer software (applications), the general file transfer protocol (FTP) that adopts, as XMODEM, TFTP, FTP etc. new BOOTROM file is sent in the system to be upgraded, by system the BOOTROM software of receiving is written in the BOOTROM carrier then, after restarting next time, system will so just realize the upgrading of system BOOTROM with new BOOTROM guidance system.
The loading of existing BOOTROM adopts chip burner to fire the mode of EEPROM more, and more the upgrading of BOOTROM is adopted and changed BOOTROM and carrier thereof, fires the mode of BOOTROM and online upgrading again.The sintering procedure of BOOTROM is cumbersome, be with special instrument (as: chip burner), and the plug of BOOTROM carrier also need be by certain instrument.Firing a cover can only use to a cover product.
Though some equipment provides the function of online upgrading BOOTROM, but online upgrading needs the support of veneer upper layer software (applications) and file transfer program (as xmodem, the Tftp server etc. of hyper terminal), there is certain risk in online upgrading, misoperation or power down will cause single board starting not, can only be by changing chip, this method can't resolve system and starts preceding BOOTROM loading for the first time.
Summary of the invention
The object of the present invention is to provide a kind of method of loading upgrading single board starting program, to simplify updating operation and to reduce the upgrading risk.
The present invention includes step:
A, the flash card that will store the upgrade version start-up routine are connected with feature board to be upgraded, and the storer of this feature board storage promoter region program is set to the state of can writing;
B, feature board powered on and start the feature board operation by the boot of flash card; And
C, by flash card the upgrade version start-up routine is copied to the startup zone of feature board storer to be upgraded.
According to said method:
With chip burner the upgrade version start-up routine is fired the E of flash card in advance
2Among the PROM.
Before firing the upgrade version start-up routine, also comprise the step that this program is compressed; In step C, also comprise the step that correspondingly decompresses.
Feature board to be upgraded is connected with a terminal by serial ports, by the Serial Port Information of this terminal monitors feature board.
The present invention adopts flash memory (flash) card loading upgrading BOOTROM, only fires a cover EEPROM at every turn, can need not fire a cover EEPROM for every suit equipment to all device loads that need upgrade upgrading BOOTROM; And need not can not cause veneer to start by other instrument because of loading failure and system's power down etc. yet.Therefore, the present invention has simple to operate, can reuse, and be subjected to characteristics such as external interference is little.
Description of drawings
Fig. 1 is the computer software structural representation;
Fig. 2 is flash card and veneer storage organization synoptic diagram;
Fig. 3 is the normal process flow diagram that starts of system;
Fig. 4 is a process flow diagram of the present invention.
Embodiment
The present invention is described in detail the start-up routine in the MA5200 HAC veneer is upgraded to example for present embodiment.
Consult Fig. 2, eeprom memory of no use is as boot (BOOTROM) carrier of veneer on the HAC veneer, but with the space of 8M flash memory (flash) space low and middle-end address portion on the veneer as the BOOTROM carrier, this 8M flash memory (flash) all is that the mode with paster is welded on the veneer.So the upgrading of BOOTROM can not realize by the mode of changing or fire again EEPROM, and must upgrade with the mode that loads.The 8M space of flash memory is divided into promoter region and operational area, is used for storing promoter region code and operational area code respectively, takies the 4M in flash space respectively.
The content of promoter region mainly contains the BOOTROM of veneer, the correlative code of the relevant configuration information of system and assurance veneer energy normal load operational area code, various logic, microcode etc., the effect of promoter region is that the assurance system can be by the code of software upgrading operational area, and (comprise veneer power down in the escalation process, the operational area file is not reciprocity) veneer will can not start when single board updating operational area code is failed, can force veneer to start from the promoter region this moment, once more the load operating area code.The write-protect function can be realized by hardware jumper in the promoter region.
Consult Fig. 3, under the normal condition, Board Power up is moved operation code the internal memory (SDRAM) after the BOOTROM guiding and is moved the operational area code, promptly starts from the operational area automatically, starts the back and runs well.Fail when the operational area starts continuous several times, veneer will start automatically or wait for manual loading operational area code from the promoter region.
Because the code major function of promoter region is exactly a loading upgrading operational area code, on-the-spot effectively code leaves the operational area in, thereby its code has relative stability, and its updating operation can be too not frequent yet, and whole promoter region is to upgrade together during upgrading.Existing veneer provides online upgrade function, need upgrade a plurality of software packages simultaneously owing to upgrade the promoter region code, online upgrading operation more complicated, there is certain risk, in case veneer power down or a certain software package mistake will cause veneer can not boot can not guide or the promoter region program can't start in escalation process, cannot carry out further updating operation this moment.
Consult Fig. 4, the main flow process of loading upgrading comprises step:
The flash card that stores the upgrade version start-up routine is inserted on the socket of veneer to be upgraded, the promoter region by 8M flash memory on the wire jumper post veneer is set to the state of can writing;
To Board Power up, by the boot startup veneer operation of flash card;
Flash card copies to the startup zone of veneer flash memory to be upgraded with the upgrade version start-up routine, up to finishing loading upgrading.
Detailed loading upgrading process is as follows:
(1) with chip burner the upgrade version program of the promoter region of 4 compressions on the version machine is fired respectively among 4 EEPROM.
(2) 4 EEPROM are installed on flash memory (flash) card; Main contents among these 4 EEPROM also have the boot (BOOTROM) of flash card except the promoter region code that veneer to be upgraded is arranged.
(3) flash memory (flash) card is inserted on the corresponding socket of veneer to be upgraded, with the J12 short-circuiting device short circuit on the veneer to be upgraded, makes the promoter region of veneer flash memory be in the state of to write with the wire jumper post.
(4) the serial port of a board line is inserted on the debug serial port of veneer, receive on the serial ports of a computing machine (hyper terminal) other end, starts this computing machine, and corresponding serial communication parameter is set, to monitor Serial Port Information.
(5) veneer to be upgraded is inserted machine frame and power on,, and be written to startup zone in the veneer 8M flash memory after the upgrade version program code among 4 EEPROM of flash card decompressed by the guiding of the boot on flash card single board starting.Simultaneously, by described computer monitor serial port of a board information.
When inserting flash card, the addressing of the 8M flash memory of veneer is since 0, plug flash card after, the addressing in the 2M EEPROM space on the flash card is since 0, the addressing of the 8M flash memory of veneer is from 4M.Fixingly in the time of system start-up begin to obtain instruction from physics 0 address, like this when not having flash card, start on the 8M flash memory that single board starting carries with regard to slave plate, in the time of flash card, single board starting just starts from flash card.Therefore, thereby guarantee to start 4 EEPROM of veneer from flash card, promptly adopt the BOOTROM guiding veneer on the flash card by hardware setting.
Veneer carries out the CPU initialization behind 0 address start, internal memory initialization etc. are opened the mapping of memory management unit (MMU) and relative address then, and start upper layer software (applications).The address space that upper layer software (applications) uses is by the address space after the memory management unit mapping.As: open after the mapping of memory management unit and relative address, the 8M flash memory space of veneer is mapped to 0 * 8000000~0 * 8800000 places, and therefore, flash card is written in the startup zone of this address realm after the upgrade version program code is decompressed.
(6) wait for a period of time after, system can prompting operation finish on debug serial port, at this moment, extracts veneer and take off flash card from machine frame, takes off the wire jumper post on the veneer then, finishes single board starting area code upgrading.
Use the board B OOTROM guidance system that just copies the promoter region to after finishing the Board Power up of loading upgrading.
In the time of will carrying out same upgrading to a plurality of other veneers, do not need to fire again EEPROM, directly just can realize the loading and the upgrading in single board starting district with these 2~6 steps of flash card repetitive operation.
Claims (4)
1, a kind of method of loading upgrading start-up routine is characterized in that comprising step:
A, the flash card that will store the upgrade version start-up routine are connected with feature board to be upgraded, and the storer of this feature board storage promoter region program is set to the state of can writing;
B, feature board powered on and start the feature board operation by the boot of flash card; And
C, by flash card the upgrade version start-up routine is copied to the startup zone of feature board storer to be upgraded.
2, the method for claim 1 is characterized in that: with chip burner the upgrade version start-up routine is fired among the EEPROM of flash card in advance.
3, method as claimed in claim 2 is characterized in that: also comprise the step that this program is compressed before firing the upgrade version start-up routine; In step C, also comprise the step that correspondingly decompresses.
4, the method for claim 1 is characterized in that: feature board to be upgraded is connected with a terminal by serial ports, by the Serial Port Information of this terminal monitors feature board.
5, the method for claim 1 is characterized in that: occur information when the feature board loading upgrading is finished.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031373127A CN1295603C (en) | 2003-01-28 | 2003-06-08 | Method of loading upgrade single board start program |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN03103276 | 2003-01-28 | ||
CN03103276.1 | 2003-01-28 | ||
CNB031373127A CN1295603C (en) | 2003-01-28 | 2003-06-08 | Method of loading upgrade single board start program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1517865A true CN1517865A (en) | 2004-08-04 |
CN1295603C CN1295603C (en) | 2007-01-17 |
Family
ID=34314726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031373127A Expired - Fee Related CN1295603C (en) | 2003-01-28 | 2003-06-08 | Method of loading upgrade single board start program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1295603C (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1331049C (en) * | 2004-11-22 | 2007-08-08 | 华为技术有限公司 | Single-board telecommunication software loading method |
CN100359468C (en) * | 2004-12-14 | 2008-01-02 | 中兴通讯股份有限公司 | Single board software downloading method and apparatus |
CN100359469C (en) * | 2005-07-22 | 2008-01-02 | 上海华为技术有限公司 | Upgrading method for one-chip computer |
CN100373334C (en) * | 2005-12-30 | 2008-03-05 | 四川长虹电器股份有限公司 | Memory data updating method and system |
CN100395708C (en) * | 2006-10-23 | 2008-06-18 | 华为技术有限公司 | Multiple veneer system and method for implementing synchronous initiation |
CN105468390A (en) * | 2014-09-05 | 2016-04-06 | 中兴通讯股份有限公司 | BOOT online upgrade apparatus and method |
CN107203796A (en) * | 2017-06-09 | 2017-09-26 | 张晶婕 | A kind of fructose machine control system and its control method for automatically controlling out sugar |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3310990B2 (en) * | 1991-04-15 | 2002-08-05 | キヤノン株式会社 | Electronics |
KR20020016660A (en) * | 2000-08-26 | 2002-03-06 | 서평원 | Method of Program Loading to Board in Switching System |
JP2002140204A (en) * | 2000-10-31 | 2002-05-17 | Mitsubishi Electric Corp | Device and method for upgrade |
US20020138702A1 (en) * | 2001-03-26 | 2002-09-26 | Moshe Gefen | Using non-executable memory as executable memory |
-
2003
- 2003-06-08 CN CNB031373127A patent/CN1295603C/en not_active Expired - Fee Related
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1331049C (en) * | 2004-11-22 | 2007-08-08 | 华为技术有限公司 | Single-board telecommunication software loading method |
CN100359468C (en) * | 2004-12-14 | 2008-01-02 | 中兴通讯股份有限公司 | Single board software downloading method and apparatus |
CN100359469C (en) * | 2005-07-22 | 2008-01-02 | 上海华为技术有限公司 | Upgrading method for one-chip computer |
CN100373334C (en) * | 2005-12-30 | 2008-03-05 | 四川长虹电器股份有限公司 | Memory data updating method and system |
CN100395708C (en) * | 2006-10-23 | 2008-06-18 | 华为技术有限公司 | Multiple veneer system and method for implementing synchronous initiation |
CN105468390A (en) * | 2014-09-05 | 2016-04-06 | 中兴通讯股份有限公司 | BOOT online upgrade apparatus and method |
CN105468390B (en) * | 2014-09-05 | 2020-11-06 | 中兴通讯股份有限公司 | BOOT online upgrading device and method |
CN107203796A (en) * | 2017-06-09 | 2017-09-26 | 张晶婕 | A kind of fructose machine control system and its control method for automatically controlling out sugar |
Also Published As
Publication number | Publication date |
---|---|
CN1295603C (en) | 2007-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101477471B (en) | Embedded system firmware on-line upgrading method | |
TWI363298B (en) | Communication device and firmware update method thereof | |
US6594723B1 (en) | Method and apparatus for updating data in nonvolatile memory | |
US6496979B1 (en) | System and method for managing application installation for a mobile device | |
US7669201B2 (en) | System and method for common file installation | |
US7669021B2 (en) | File system based offline disk management | |
CN101937349A (en) | Wireless communication terminal and software upgrading method thereof | |
CN103135995A (en) | BootLoader backup management method and device | |
CN102339242A (en) | Computer system data recovery device | |
CN103365696A (en) | BIOS (Basic Input Output System) image file obtaining method and device | |
CN102141923B (en) | Memory file system loading method and device | |
CN101571807A (en) | System with firmware and starting method thereof | |
CN103677915A (en) | Automatic burning method of flash mirror image based on TF starting card | |
US20070168905A1 (en) | Networked linux machine and windows software development system | |
CN101894028B (en) | Realization method and device for Linux kernel mirror image data supporting various CPUs | |
CN110321170B (en) | Starting-up method | |
CN107870769A (en) | The installation method and device of operating system | |
CN103593281A (en) | Test system and test method | |
TWI498822B (en) | Electronic device for bios updatable and bios updating method thereof | |
CN1295603C (en) | Method of loading upgrade single board start program | |
CN102043652B (en) | Processing system and method for embedded device root file system | |
US6523103B2 (en) | Disablement of a write filter stored on a write-protected partition | |
JPH11514124A (en) | How to load an operating system | |
CN103544151A (en) | Method and system for processing data in linux system | |
CN101464804A (en) | Double-boot backup method and security equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070117 Termination date: 20170608 |
|
CF01 | Termination of patent right due to non-payment of annual fee |