CN106200847A - A kind of method that ARM platform realizes Clear CMOS function - Google Patents
A kind of method that ARM platform realizes Clear CMOS function Download PDFInfo
- Publication number
- CN106200847A CN106200847A CN201610626704.9A CN201610626704A CN106200847A CN 106200847 A CN106200847 A CN 106200847A CN 201610626704 A CN201610626704 A CN 201610626704A CN 106200847 A CN106200847 A CN 106200847A
- Authority
- CN
- China
- Prior art keywords
- bios
- flag1
- variable
- clear cmos
- arm platform
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of method that ARM platform realizes Clear CMOS function, relates to ARM server field, when system cannot normal boot-strap time, issued orders to BMC by IPMITOOL instrument, the mark of set CLEAR CMOS in BMC;BIOS reads this mark in BMC in start process, if the mark of CLEAR CMOS is set, during then BIOS leaves this mark in the variable of FLASH ROM, then after BIOS triggers system reboot, BIOS goes to read the value of this variable in FLASH ROM, if there being set, then load the action of the default value of all variable in FLASH ROM.Present inventive concept is novel, it is simple to implement, it is possible to realizes Clear CMOS function at ARM platform, has preferable practical value.
Description
Technical field
The present invention relates to ARM server field, a kind of ARM platform realizes the side of Clear CMOS function
Method.
Background technology
CMOS is south bridge before referring to Intel X86 platform PCH() above one piece of memory area, due at LEGACY
In the epoch of BIOS, the value of BIOS SETUP variable is just present in this block region, former the setting of function that this block region relates to
Meter compare the most crucial.The password of BIOS setup there is also this block region, so this block region is most important.Along with UEFI BIOS
Application, the function in this block region of CMOS is weakened, and the value of BIOS SETUP variable is scarcely then stored into here, and major part is deposited
Being put in mainboard BIOS FLASH rom chip, only small part leaves this region in.
Former design has a CLEAR CMOS function, mainboard has the jumper of a clear cmos, short
Meeting jumper, or pull out the battery (CMOS region has battery to power) on mainboard, the setting in CMOS will become default value again.
CLEAR CMOS function is very useful, and for example user enters BIOS SETUP, has changed some settings of the inside, has preserved so
After restart system, the mistake at this moment changed due to some, it is possible to cause system cannot be started up.This time without
CLEAR CMOS function, then user can only carry out repair system by burning BIOS again, but from the point of view of burning BIOS is to user
It is dangerous action, and cumbersome, so, CLEAR CMOS just seems that comparison is useful.
Due to the lacking of CMOS function in UEFI BIOS, also this merit with software simulated implementation in UEFI BIOS
Can, that is, BIOS program to CMOS, by after CLEAR, goes to change back acquiescence the value of BIOS SETUP in FLASH ROM the most automatically
Value, has thus reached the function of former CMOS CLEAR.But in ARM platform, as a example by Cavium ARM, it is not
This block design in CMOS region, does not the most detect the circuit of CMOSCLEAR, but CLEAR CMOS function is to BIOS safety still
Necessary, need to realize Clear CMOS function at ARM platform.
Summary of the invention
The present invention is directed to demand and the weak point of current technology development, it is provided that a kind of ARM platform one ARM platform realizes
The method of Clear CMOS function.
The method that a kind of ARM platform of the present invention realizes Clear CMOS function, solves what above-mentioned technical problem used
Technical scheme is as follows: the method that described a kind of ARM platform realizes Clear CMOS function, when system cannot normal boot-strap time, logical
Cross IPMITOOL instrument to issue orders to BMC, the mark of set CLEAR CMOS in BMC;BIOS reads BMC in start process
In this mark, if the mark of CLEAR CMOS is set, then BIOS leaves FLASH ROM's in this mark
In variable, after then BIOS triggers system reboot, BIOS goes to read the value of this variable in FLASH ROM, if
There is set, then load the action of the default value of all variable in FLASH ROM.
Preferably, the method that described ARM platform realizes Clear CMOS function, it implements step and includes: 1) use
The FLAG1 appointed with BIOS of OEM definition in IPMITOOL instrument set BMC;2) BIOS start goes to read FLAG1, according to
The value of FLAG1 decides whether set Variable1;3) system reboot;4) BIOS goes to read Variable1, if 1, then add
Carry the default value of all variable.
Preferably, described step 2) in, BIOS start goes to read FLAG1, decides whether set according to the value of FLAG1
Variable1: if FLAG1 is 0, then set Variable1 as 0, if FLAG1 is 1, then set Variable1 as 1.
Preferably, in described step 3), if FLAG1 is 1, system reboot.
Preferably, in described step 4), BIOS goes to read Variable1, if 1, then load the silent of all variable
Recognize value, then proceed to boot program;If zero, the most do not carry out loading the default value of variable, continue boot program.
It is useful that the method that a kind of ARM platform of the present invention realizes Clear CMOS function compared with prior art has
Effect is: the present invention is not increasing extra hardware circuit, achieves Clear CMOS function at ARM platform, overcomes existing
In technology, ARM platform is difficult to the defect of Clear CMOS function;Further, the method is novel in design, it is simple to implement, operation side
Just, therefore there is preferable practical reference value.
Figure of description
Accompanying drawing 1 is the implementing procedure figure that described ARM platform realizes the method for Clear CMOS function.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, to this
Bright described a kind of ARM platform realizes the method for Clear CMOS function and further describes.
A kind of ARM platform method of realizing Clear CMOS function that the present invention provides, when system cannot normal boot-strap time,
Issued orders to BMC by IPMITOOL instrument, the mark of set CLEAR CMOS in BMC;BIOS waits in start process
With the foundation of BMC ditch circulation passage, then go this mark reading in BMC, if the mark of CLEAR CMOS is set, then
BIOS leaves in this mark in the variable of FLASH ROM, and after then BIOS triggering system reboot is restarted, BIOS goes to read
Taking the value of this variable in FLASH ROM, if there being set, then loading the acquiescence of all variable in FLASH ROM
The action of value.
Described ARM platform realizes in the method for Clear CMOS function, does not the most just go when start for the first time to read
The mark of BMC determines default value to be loaded, and being because BIOS and BMC and setting up passage is BIOS start position rearward
Put, go the default value just ratio loading variable later the most again;The method is, mark variable of BMC
Recording, read variable again and remove to load default value when that next time restarting, the value so reading variable is opened at POST
Machine very early when can be carried out.
Embodiment:
The method that ARM platform described in the present embodiment realizes Clear CMOS function, when user is owing to changing BIOS SETUP option,
Or some other operation cause system cannot normal boot-strap time, it implements step and includes:
1) with the FLAG1 appointed with BIOS of OEM definition in IPMITOOL instrument set BMC;2) BIOS start goes to read
FLAG1, decides whether set Variable1 according to the value of FLAG1;3) system reboot;4) BIOS goes to read Variable1,
If 1, then load the default value of all variable.
Described step 2) in, BIOS start goes to read FLAG1, decides whether set according to the value of FLAG1
Variable1: if FLAG1 is 0, then set Variable1 as 0, if FLAG1 is 1, then set Variable1 as 1.Institute
State in step 3), if FLAG1 is 1, system reboot.In described step 4), BIOS goes to read Variable1, if 1, then
Load the default value of all variable, then proceed to boot program;If zero, the most do not carry out loading the acquiescence of variable
Value, then proceedes to boot program.
Accompanying drawing 1 is the implementing procedure figure that described ARM platform realizes the method for Clear CMOS function, as shown in Figure 1, and its
Specific implementation process is as follows:
1) system electrification;
2) user is as desired to decide whether with OEM definition in IPMITOOL set BMC, with BIOS appoints
FLAG1;
3) BIOS start goes to read FLAG1;
4) whether FLAG1=1 is judged;
5) if FLAG1 is 1, set Variable1, zero setting FLAG1, restart system;
6) if FLAG1 is not 1, then starting procedure is continued;
7), after step 5), BIOS start goes to read Variable1;
8) judge whether Variable1=1;
9) if Variable1=1, then zero setting Variable1, the default value of all variable is loaded;Continue starting procedure;
10) if Variable1 is not 1, then starting procedure is continued.
Above-mentioned detailed description of the invention is only the concrete case of the present invention, and the scope of patent protection of the present invention includes but not limited to
Above-mentioned detailed description of the invention, any that meet claims of the present invention and any person of an ordinary skill in the technical field
The suitably change being done it or replacement, all should fall into the scope of patent protection of the present invention.
Claims (5)
1. the method that an ARM platform realizes Clear CMOS function, it is characterised in that when system cannot normal boot-strap time, logical
Cross IPMITOOL instrument to issue orders to BMC, the mark of set CLEAR CMOS in BMC;BIOS reads BMC in start process
In this mark, if the mark of CLEAR CMOS is set, then BIOS leaves FLASH ROM's in this mark
In variable, after then BIOS triggers system reboot, BIOS goes to read the value of this variable in FLASH ROM, if
There is set, then load the action of the default value of all variable in FLASH ROM.
A kind of method that ARM platform realizes Clear CMOS function, it is characterised in that described
ARM platform realizes the method for Clear CMOS function, and it implements step and includes: 1) with in IPMITOOL instrument set BMC
The FLAG1 appointed with BIOS of OEM definition;2) BIOS start goes to read FLAG1, decides whether to put according to the value of FLAG1
Position Variable1;3) system reboot;4) BIOS goes to read Variable1, if 1, then load the acquiescence of all variable
Value.
A kind of method that ARM platform realizes Clear CMOS function, it is characterised in that described step
Rapid 2), in, BIOS start goes to read FLAG1, decides whether set Variable1 according to the value of FLAG1: if FLAG1 is 0, then
Set Variable1 as 0, if FLAG1 is 1, then set Variable1 as 1.
A kind of method that ARM platform realizes Clear CMOS function, it is characterised in that described step
Rapid 3) in, if FLAG1 is 1, system reboot.
A kind of method that ARM platform realizes Clear CMOS function, it is characterised in that described step
Rapid 4), in, BIOS goes to read Variable1, if 1, then load the default value of all variable, then proceed to boot program;
If zero, the most do not carry out loading the default value of variable, continue boot program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610626704.9A CN106200847A (en) | 2016-08-03 | 2016-08-03 | A kind of method that ARM platform realizes Clear CMOS function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610626704.9A CN106200847A (en) | 2016-08-03 | 2016-08-03 | A kind of method that ARM platform realizes Clear CMOS function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106200847A true CN106200847A (en) | 2016-12-07 |
Family
ID=57497055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610626704.9A Pending CN106200847A (en) | 2016-08-03 | 2016-08-03 | A kind of method that ARM platform realizes Clear CMOS function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106200847A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413092A (en) * | 2019-06-27 | 2019-11-05 | 苏州浪潮智能科技有限公司 | It is a kind of prevent RTC remove after system Auto Power On method and apparatus |
CN112114617A (en) * | 2020-09-09 | 2020-12-22 | 恒为科技(上海)股份有限公司 | Device and method for realizing Feiteng ARM CPU Clear CMOS |
CN112667059A (en) * | 2020-12-24 | 2021-04-16 | 深圳宝新创科技股份有限公司 | Method and device for removing CMOS chip based on Feiteng platform |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593250A (en) * | 2013-11-19 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Realizing method for modifying BIOS Setup option out of band |
CN104601373A (en) * | 2015-01-05 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Method for setting and synchronizing Basic Input/Output System (BIOS) configuration parameters through out-of-band mode |
US9189351B2 (en) * | 2012-03-02 | 2015-11-17 | Wistron Corporation | Method of obtaining instruction for triggering function |
CN105302621A (en) * | 2015-12-09 | 2016-02-03 | 浪潮电子信息产业股份有限公司 | Method for remotely achieving initial value restoration of server BIOS Setup |
CN105653376A (en) * | 2016-01-05 | 2016-06-08 | 浪潮电子信息产业股份有限公司 | Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time |
-
2016
- 2016-08-03 CN CN201610626704.9A patent/CN106200847A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9189351B2 (en) * | 2012-03-02 | 2015-11-17 | Wistron Corporation | Method of obtaining instruction for triggering function |
CN103593250A (en) * | 2013-11-19 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Realizing method for modifying BIOS Setup option out of band |
CN104601373A (en) * | 2015-01-05 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | Method for setting and synchronizing Basic Input/Output System (BIOS) configuration parameters through out-of-band mode |
CN105302621A (en) * | 2015-12-09 | 2016-02-03 | 浪潮电子信息产业股份有限公司 | Method for remotely achieving initial value restoration of server BIOS Setup |
CN105653376A (en) * | 2016-01-05 | 2016-06-08 | 浪潮电子信息产业股份有限公司 | Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413092A (en) * | 2019-06-27 | 2019-11-05 | 苏州浪潮智能科技有限公司 | It is a kind of prevent RTC remove after system Auto Power On method and apparatus |
CN110413092B (en) * | 2019-06-27 | 2021-06-01 | 苏州浪潮智能科技有限公司 | Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared |
CN112114617A (en) * | 2020-09-09 | 2020-12-22 | 恒为科技(上海)股份有限公司 | Device and method for realizing Feiteng ARM CPU Clear CMOS |
CN112114617B (en) * | 2020-09-09 | 2022-05-20 | 恒为科技(上海)股份有限公司 | Device and method for realizing Feiteng ARM CPU Clear CMOS |
CN112667059A (en) * | 2020-12-24 | 2021-04-16 | 深圳宝新创科技股份有限公司 | Method and device for removing CMOS chip based on Feiteng platform |
CN112667059B (en) * | 2020-12-24 | 2023-04-14 | 深圳宝新创科技股份有限公司 | Method and device for clearing CMOS chip based on Feiteng platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101561857B (en) | Multi-mode startup safety embedded system | |
CN106200847A (en) | A kind of method that ARM platform realizes Clear CMOS function | |
CN109783340B (en) | SoC test code programming method, IP test method and device | |
TWI710952B (en) | Firmware update method and computer system | |
CN103491248B (en) | A kind of method of low electricity start and subscriber equipment | |
TW201337756A (en) | Method and system for updating CPLD | |
CN104536551A (en) | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) | |
CN109408122A (en) | A kind of equipment starting method, electronic equipment and computer storage medium | |
TWI591479B (en) | Apparatus and method for initializing port of electronic device | |
CN106371863A (en) | Embedded multi-operation system boot program upgrading method | |
CN103514014A (en) | Method for designing boot system of embedded terminal equipment | |
CN105653405A (en) | Fault processing method and system of U-boot | |
CN107544804A (en) | The startup method and device of embedded system terminal development mode | |
CN107562448A (en) | terminal initialization method and device | |
CN104317685A (en) | Starting method of calculator system | |
TW201716999A (en) | Method for startup inspection and computer system using the same | |
CN101923480A (en) | Method and device for starting terminal equipment | |
CN105677429A (en) | Program burning method, processor and electronic circuit | |
CN101814033B (en) | Setting method of basic input/output system | |
CN107885536A (en) | Startup method, embeded processor and the storage device of a kind of embeded processor | |
US20220137984A1 (en) | Efficient Hibernation Apparatus and Method for Digital Devices | |
CN100363893C (en) | Loading system and method | |
CN101354654A (en) | System and method for automatically switching basic input / output procedure | |
CN111142954B (en) | Startup control method and device and computer readable storage medium | |
CN106293620B (en) | The method of parameter in intel detection of platform Flash Rom |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |
|
WD01 | Invention patent application deemed withdrawn after publication |