CN110413092B - Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared - Google Patents

Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared Download PDF

Info

Publication number
CN110413092B
CN110413092B CN201910570231.9A CN201910570231A CN110413092B CN 110413092 B CN110413092 B CN 110413092B CN 201910570231 A CN201910570231 A CN 201910570231A CN 110413092 B CN110413092 B CN 110413092B
Authority
CN
China
Prior art keywords
signal
slps4
slps3
rtc
cleared
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.)
Active
Application number
CN201910570231.9A
Other languages
Chinese (zh)
Other versions
CN110413092A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910570231.9A priority Critical patent/CN110413092B/en
Publication of CN110413092A publication Critical patent/CN110413092A/en
Application granted granted Critical
Publication of CN110413092B publication Critical patent/CN110413092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a method for preventing a system from automatically starting up after RTC (real time clock) is cleared, which comprises the following steps: after the AC is electrified, shielding a signal for triggering the mainboard to be electrified and started and a starting button; and judging whether a signal for triggering the power-on starting of the mainboard is in a high level, if so, sending a forced shutdown instruction, and if not, cancelling shielding the signal for triggering the power-on starting of the mainboard and a starting button and waiting for the starting instruction. The invention effectively avoids the phenomena of insufficient electric quantity or no electricity of the button cell and automatic startup after the CMOS is cleared.

Description

Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared
Technical Field
The invention relates to the technical field of computers, in particular to a method and equipment for preventing a system from being automatically started after RTC (real time clock) is cleared.
Background
All there is a button cell in the server mainboard design to and a jump cap is used for setting up the CMOS state, and when button cell is on the throne and the electric quantity is sufficient, the inside numerical value of RTC register can be stably preserved. However, when the button battery has insufficient power or the button battery is used for performing CMOS clearing operation, the internal value of the RTC register is cleared, so that the main board AC is powered on and automatically turned on. In different requirements of a client, after the RTC register is cleared, some server mainboards can be required to be automatically started, and some server mainboards can not be automatically started.
In the existing server mainboard design, after the CMOS cleaning operation is carried out by using a jump cap, an RTC register is cleared; and powering on the AC again, and automatically starting the server mainboard to enter the system under the condition that a set-up key is not pressed. Only after the main board runs to setup, the RTC register can be automatically reset, and the phenomenon of automatic startup cannot occur in the next AC power-on process.
Meanwhile, the startup item is modified to a startup state under the BIOS setup interface, and the phenomenon of automatic startup occurs after the AC is electrified every time.
In the above two situations, the phenomenon of automatic startup after the main board AC is powered on is caused under the condition that the button battery is not powered or the setup interface is in misoperation. For the requirement that the main board is not automatically started after the RTC register is cleared, the prior art cannot meet the requirement.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method and an apparatus for preventing automatic system boot after an RTC is cleared, so as to solve the problem that an AC is automatically booted after the button battery is powered off or misoperation occurs under a setup interface.
In order to achieve the purpose, the invention is realized by the following technical scheme: a method for preventing automatic system boot after RTC cleaning comprises the following steps:
after the AC is electrified, shielding a signal for triggering the mainboard to be electrified and started and a starting button;
and judging whether a signal for triggering the power-on starting of the mainboard is in a high level, if so, sending a forced shutdown instruction, and if not, cancelling shielding the signal for triggering the power-on starting of the mainboard and a starting button and waiting for the starting instruction.
Further, the shielding of the signal for triggering the power-on and power-on of the mainboard and the power-on key comprises:
the CPLD default settings mask the SLPS3/SLPS4 signals and masks the PWRBTN signals from the power-on key and the BMC.
Further, the determining whether the signal triggering the power-on and power-on of the motherboard is at a high level includes:
the SLPS3/SLPS4 signal is monitored for high.
Further, the issuing of the forced shutdown instruction includes:
when the CPLD detects that SLPS3/SLPS4 is at a high level, a forced shutdown instruction is sent through a PWRBTN signal, and after receiving the forced shutdown instruction, the PCH executes shutdown operation, so that SLPS3/SLPS4 signals are pulled down.
Further, the step of canceling the shielding to trigger the signal of the power-on start-up of the mainboard and the start-up key comprises the following steps:
the CPLD unmasks the SLPS3/SLPS4 signal and the PWRBTN signal.
Further, the forced shutdown instruction specifically includes: a low PWRBTN signal of duration 6 seconds.
Further, when the CPLD detects that the SLPS3/SLPS4 signal is at a high level, the CPLD automatically records the AC power-on automatic power-on event and informs the user through the BMC.
Correspondingly, the invention also discloses a device for preventing the system from automatically starting up after the RTC is cleared, which comprises: a memory for storing a computer program;
a processor for implementing the steps of the method for preventing the system from automatically starting up after the RTC is cleared as described in any one of the above when the computer program is executed.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a method and equipment for preventing a system from being automatically started after RTC is cleared, wherein CPLD is used for shielding signals SLPS3/SLPS4, and CPLD is used for executing a forced shutdown instruction, so that the phenomenon of automatic starting when AC is electrified can be effectively avoided; and after detecting that the AC is electrified and the automatic starting phenomenon exists, the CPLD records the automatic starting event and reports the automatic starting event to the user through the BMC, thereby being beneficial to timely finding and solving problems. Therefore, the invention effectively avoids the phenomena of insufficient electric quantity or no electricity of the button cell and automatic startup after the CMOS is cleaned.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the method of the present invention.
FIG. 2 is a schematic diagram of a power-on key signal according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings.
The main reason is that the PCH can automatically send out SLPS3 and SLPS4 signals, and the mainboard CPLD can trigger the power-on and power-on actions of the mainboard after receiving the SLPS3/SLPS4 signals, thereby leading the mainboard to be automatically powered on.
In order to avoid the automatic power-on phenomenon after the AC is powered on, the present embodiment provides a method and an apparatus for preventing the system from being automatically powered on after the RTC is cleared, and a CPLD is used to perform signal control on a server motherboard. The CPLD is used for shielding the SLPS3/SLPS4 signals, and even if the PCH sends out the two signals, the CPLD cannot trigger other actions, so that the mainboard is ensured not to be powered on and started.
As shown in fig. 1 and fig. 2, a method for preventing an automatic system boot after an RTC is cleared includes:
after the AC is electrified and the CPLD can normally work, the CPLD is set by default to shield SLPS3/SLPS4 signals and shield PWRBTN signals from a power-on key and the BMC, so that misoperation caused by manual active power-on in the process is prevented.
The CPLD detects the SLPS3/SLPS4 signals, and if the SLPS3/SLPS4 signals are high level, automatic startup can occur after the AC is powered on; however, the CPLD can shield the SLPS3/SLPS4, so that the power-on and the power-on cannot be caused, the CPLD records the AC power-on automatic power-on event, and informs a user of the event through the BMC to record the event and analyze the problem. If the detected SLPS3/SLPS4 signal is at low level, then the phenomenon of auto-on will not occur after the AC is powered on.
When the CPLD detects that SLPS3/SLPS4 is at a high level, a forced shutdown instruction is sent through a PWRBTN signal, and after receiving the forced shutdown instruction, the PCH executes shutdown operation, so that SLPS3/SLPS4 signals are pulled down.
After sending the forced shutdown instruction, the CPLD continues to monitor signals SLPS3/SLPS4, and if the signals SLPS3/SLPS4 are still at a high level, the CPLD continues to send the forced shutdown instruction; if the SLPS3/SLPS4 signal is low, the forced shutdown is successful.
And after the CPLD detects that the forced shutdown is successful, the PWRBTN signals from the startup key and the BMC are not shielded, and the SLPS3/SLPS4 signals from the PCH are not shielded. At this time, the mainboard can perform the startup operation through the startup key or the BMC, so as to realize the normal startup and electrification of the mainboard.
Correspondingly, the invention also discloses a device for preventing the system from automatically starting up after the RTC is cleared, which comprises: a memory for storing a computer program;
a processor for implementing the steps of the method for preventing the system from automatically starting up after the RTC is cleared as described in any one of the above when the computer program is executed.
The invention is further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of the present application.

Claims (4)

1. A method for preventing automatic system boot after RTC is cleared, which comprises:
after the AC is electrified, the CPLD is set to shield SLPS3/SLPS4 signals by default and shield PWRBTN signals from the start key and the BMC;
monitoring whether the SLPS3/SLPS4 signal is in a high level, if so, when the CPLD detects that the SLPS3/SLPS4 is in the high level, sending a forced shutdown instruction through a PWRBTN signal, and after receiving the instruction, executing shutdown operation by the PCH so as to pull down the SLPS3/SLPS4 signal; if not, the CPLD unmasks the SLPS3/SLPS4 signal and the PWRBTN signal and waits for a power-on command.
2. The method according to claim 1, wherein the forced shutdown instruction is specifically: a low PWRBTN signal of duration 6 seconds.
3. The method of claim 1, wherein the method for preventing automatic system boot after RTC clearance comprises: when the CPLD detects that the signal SLPS3/SLPS4 is at a high level, the CPLD automatically records an AC power-on automatic power-on event and informs a user through the BMC.
4. An apparatus for preventing automatic system boot after RTC purge, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for preventing the automatic start-up of the system after the RTC is cleared as claimed in any one of claims 1 to 3 when the computer program is executed.
CN201910570231.9A 2019-06-27 2019-06-27 Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared Active CN110413092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570231.9A CN110413092B (en) 2019-06-27 2019-06-27 Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570231.9A CN110413092B (en) 2019-06-27 2019-06-27 Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared

Publications (2)

Publication Number Publication Date
CN110413092A CN110413092A (en) 2019-11-05
CN110413092B true CN110413092B (en) 2021-06-01

Family

ID=68359950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570231.9A Active CN110413092B (en) 2019-06-27 2019-06-27 Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared

Country Status (1)

Country Link
CN (1) CN110413092B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221864A (en) * 2010-04-15 2011-10-19 研祥智能科技股份有限公司 Computer, and computer startup management system and method thereof
CN104536551A (en) * 2014-11-18 2015-04-22 合肥联宝信息技术有限公司 Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
CN106200847A (en) * 2016-08-03 2016-12-07 浪潮电子信息产业股份有限公司 Method for realizing Clear CMOS function by ARM platform
CN108958448A (en) * 2017-05-22 2018-12-07 鸿富锦精密工业(武汉)有限公司 Mainboard electrifying control circuit
CN109446001A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of control method and system of server switching on and shutting down

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359298A (en) * 2008-09-26 2009-02-04 华硕电脑股份有限公司 Method for removing internal memory with BIOS and computer system thereof
CN109739327B (en) * 2018-12-27 2021-11-02 郑州云海信息技术有限公司 Device and method for batch removal of CMOS (complementary metal oxide semiconductor) by server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221864A (en) * 2010-04-15 2011-10-19 研祥智能科技股份有限公司 Computer, and computer startup management system and method thereof
CN104536551A (en) * 2014-11-18 2015-04-22 合肥联宝信息技术有限公司 Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
CN106200847A (en) * 2016-08-03 2016-12-07 浪潮电子信息产业股份有限公司 Method for realizing Clear CMOS function by ARM platform
CN108958448A (en) * 2017-05-22 2018-12-07 鸿富锦精密工业(武汉)有限公司 Mainboard electrifying control circuit
CN109446001A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of control method and system of server switching on and shutting down

Also Published As

Publication number Publication date
CN110413092A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
US20240086269A1 (en) Method, Apparatus and System for Locating Fault of Server, and Computer-readable Storage Medium
CN101354677B (en) Method for detecting and restoring application program running state and restoring device thereof
CN109522147A (en) A kind of method, apparatus, storage medium and the terminal of record booting exception information
CN111831488B (en) TCMS-MPU control unit with safety level design
CN102693136A (en) Quick starting method and system for computer and starting system of computer
CN111581021B (en) Application program starting abnormality repairing method, device, equipment and storage medium
CN109976886B (en) Kernel remote switching method and device
CN112035285A (en) Hardware watchdog circuit system based on high-pass platform and monitoring method thereof
US6351824B1 (en) Methods and apparatuses for controlling the operation of a digital processing system
CN110413092B (en) Method and equipment for preventing automatic system startup after RTC (real time clock) is cleared
CN114116276A (en) BMC hang-up self-recovery method, system, terminal and storage medium
WO2024119787A1 (en) Method and apparatus for amd server system installation power-off processing, device and medium
CN102023887B (en) Power supply management method of computer system and computer system
CN114880187B (en) Method, device and medium for monitoring abnormal state of VR chip
CN116028123A (en) Method and system for safely switching on and switching off server
CN114385405A (en) Method, device and system for realizing server restart reason recording
CN114860292A (en) Terminal equipment firmware upgrading control method and device, computer equipment and medium
CN110489294B (en) Real-time single-step debugging method and device based on log
TW201441930A (en) Computer apparatus and reboot method thereof
CN113778756A (en) Fault recovery method, device, equipment and medium for BMC (baseboard management controller) firmware
CN112698870A (en) Startup and shutdown management method, computing device and storage medium
CN112486758A (en) CPLD-based processor heartbeat detection method and device
CN104142832A (en) Computer and rebooting method thereof
CN221551187U (en) Electronic equipment and abnormal restarting loop thereof
CN117235004B (en) Control method and device of server, terminal equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant