CN104572317A - Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard - Google Patents

Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard Download PDF

Info

Publication number
CN104572317A
CN104572317A CN201310478255.4A CN201310478255A CN104572317A CN 104572317 A CN104572317 A CN 104572317A CN 201310478255 A CN201310478255 A CN 201310478255A CN 104572317 A CN104572317 A CN 104572317A
Authority
CN
China
Prior art keywords
management controller
baseboard management
temporal information
mainboard
real
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
Application number
CN201310478255.4A
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310478255.4A priority Critical patent/CN104572317A/en
Publication of CN104572317A publication Critical patent/CN104572317A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a mainboard. The mainboard comprises a baseboard management controller and a real-time clock, wherein the baseboard management controller is directly connected with the real-time clock; when the baseboard management controller is started, the baseboard management controller directly acquires the time information on the real-time clock. The invention also provides a method for acquiring the time information by utilizing the baseboard management controller of the mainboard. By utilizing the mainboard and the method, the time acquiring accuracy of the baseboard management controller can be improved.

Description

Mainboard and utilize the method for baseboard management controller acquisition time information of mainboard
Technical field
The present invention relates to a kind of mainboard and utilize the method for baseboard management controller acquisition time information of mainboard.
Background technology
The substrate management controller system of computing machine generally follows IPMI(Intelligent PlatformManagement Interface, IPMI) specification, specify the main system time synchronized that time of substrate management controller system and basic input/output read in the selftest stage of starting shooting in specification.Specifically, as shown in Figure 1, baseboard management controller (Baseboard Management Controller on mainboard, BMC) with Basic Input or Output System (BIOS) (Basic Input Output System, BIOS) connect, BIOS and platform courses collector (Platform Controller Hub, PCH) connect, PCH and real-time clock (Real-TimeClock, RTC) connect.When mainboard starts, PCH obtains the time on RTC, and resolves to BIOS, and afterwards when BIOS has started, BMC could obtain the time.
But when BMC normally runs and main system is not opened, now BMC can not obtain orthochronous, the symbol time (1970/01/01) of acquiescence can only be used.But this default time is incorrect, use this incorrect time can cause very large puzzlement to the management of computer system.
Further, because the action of BIOS and BMC lock in time is limited in starting up's process, and once BMC causes BMC temporal information to be lost because upgrade the operations such as point position, just can only wait for the time synchronized action of BIOS next time, also cause thus, time synchronized not in time.
Summary of the invention
In view of above content, be necessary the method for the baseboard management controller acquisition time information a kind of mainboard being provided and utilizing this mainboard, baseboard management controller on this mainboard directly obtains the time on real-time clock, avoid the timing error on baseboard management controller when BMC normally runs and main system is not opened, it also avoid due to BMC simultaneously and cause BMC temporal information to be lost because upgrade the operations such as point position, and cause time synchronized situation not in time to occur, improve the accuracy of time on baseboard management controller.
A kind of mainboard, this mainboard comprises: baseboard management controller and real-time clock, and wherein, described baseboard management controller is directly connected with described real-time clock, when described baseboard management controller starts, directly obtains the temporal information on real-time clock.
Utilize a method for the baseboard management controller acquisition time information of mainboard, the method comprise the steps: baseboard management controller regularly send read mainboard real-time clock on the instruction of temporal information to real-time clock, obtain temporal information on real-time clock; Baseboard management controller is resolved temporal information on the real-time clock obtained; If when the temporal information on the real-time clock of resolving on temporal information and baseboard management controller is inconsistent, temporal information on resolved real-time clock is replaced the temporal information on baseboard management controller by baseboard management controller.
A kind of method utilizing the baseboard management controller acquisition time information of mainboard, the method comprises the steps: that storage chip is resolved temporal information on the real-time clock obtained, and is stored on the storage medium of storage chip by temporal information on resolved real-time clock; Baseboard management controller regularly sends the instruction of temporal information on reading storage chip to storage chip, to obtain the temporal information on storage chip; If when the temporal information on the storage chip obtained on temporal information and baseboard management controller is inconsistent, temporal information on the storage chip read is replaced the temporal information on baseboard management controller by baseboard management controller.
Compared to prior art, described mainboard, baseboard management controller on this mainboard directly obtains the time on real-time clock, avoid the timing error on baseboard management controller when BMC normally runs and main system is not opened, it also avoid due to BMC simultaneously and cause BMC temporal information to be lost because upgrade the operations such as point position, and cause time synchronized situation not in time to occur, improve the accuracy of time on baseboard management controller.
Accompanying drawing explanation
Fig. 1 is the BMC structural drawing of mainboard in prior art.
Fig. 2 is the structural drawing of mainboard preferred embodiment of the present invention.
Fig. 3 is the structural drawing of the mainboard preferred embodiment after the present invention improves on the basis of Fig. 2.
Fig. 4 is the process flow diagram of the method preferred embodiment of BMC acquisition time information in Fig. 2 of the present invention.
Fig. 5 is the process flow diagram of the method preferred embodiment of BMC acquisition time information in Fig. 3 of the present invention.
Main element symbol description
Mainboard 1
BMC 10
BIOS 11
PCH 12
RTC 13
Storage chip 14
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 2, be the structural drawing of mainboard preferred embodiment of the present invention.This mainboard 1 comprises baseboard management controller (Baseboard Management Controller, BMC) 10, Basic Input or Output System (BIOS) (Basic Input Output System, BIOS) 11, platform courses collector (Platform Controller Hub, PCH) 12 and real-time clock (Real-Time Clock, RTC) 13, wherein, BMC10 and RTC13 directly by bus (such as, I2C bus) connect, PCH12 by bus (such as, I2C bus) be connected with RTC13, BIOS11 by bus (such as, I2C bus) be connected with PCH12.When BMC10 starts, the acquisition instruction of BMC10 is received in BMC10 transmission acquisition instruction during to RTC13, RTC13, the temporal information on RTC13 is sent to BMC10.It should be noted that, BMC10 also needs the temporal information to receiving on the RTC13 that comes to resolve, to meet the display format of BMC10.Thus, because BMC10 and RTC13 directly connects, therefore, BMC10 directly can obtain the time of RTC13, not from BIOS11 lock in time.
Further, because in Fig. 2, BMC10 and PCH12 is connected with RTC13, if BMC10 and PCH12 sends instruction to RTC13 simultaneously, the exception (e.g., instruction process clashes, cause cannot processing instruction) of RTC13 may be caused.In order to avoid above-mentioned situation, the present invention proposes the mainboard after improvement 1.As shown in Figure 3, be the structural drawing of mainboard preferred embodiment after the present invention improves on the basis of Fig. 2.
This mainboard 1 comprises BMC10, BIOS11, PCH12 and RTC13 equally, and in addition, this mainboard also comprises a storage chip 14, and this storage chip 14 is memory storages.This storage chip 14 is connected with BMC10, PCH12 and RTC13, and this storage chip 14 for storing the temporal information on RTC13 in advance, and reads for BMC10 and PCH12.Because this storage chip 14 is memory storages, even if BMC10 and PCH12 reads the signal on this storage chip 14 simultaneously, also conflict can not be produced.Described storage chip 14 is a register (such as, PCH register).
As shown in Figure 4, be the process flow diagram of method preferred embodiment of BMC acquisition time information in Fig. 2 of the present invention.
Step S11, BMC10 regularly (such as, every 0.5 second) send the instruction of temporal information on reading RTC13 to RTC13, obtain temporal information on RTC13.
Step S12, BMC10 resolve temporal information on the RTC13 obtained.
Step S13, BMC10 judge that on the RTC13 that resolves, whether temporal information is consistent with the temporal information on BMC.If temporal information is consistent with the temporal information on BMC on the RTC resolved, flow process returns step S11.If the temporal information on the RTC resolved on temporal information and BMC is inconsistent, flow process enters step S14.
Temporal information on resolved RTC13 is replaced the temporal information on BMC by step S14, BMC10.
As shown in Figure 5, be the process flow diagram of method preferred embodiment of BMC acquisition time information in Fig. 3 of the present invention.
Step S20, storage chip 14 is resolved temporal information on the RTC14 obtained.Specifically, storage chip 14 regularly (such as, every 0.5 second) obtains the temporal information on RTC13, and the temporal information of carrying out obtaining is resolved, and the temporal information on resolved RTC13 is stored in afterwards on the storage medium of storage chip 14.
Step S21, BMC10 regularly (such as, every 0.5 second) send the instruction of temporal information on reading storage chip 14 to storage chip 14, to obtain the temporal information on storage chip 14.
Step S22, BMC10 judge that on the storage chip 14 that obtains, whether temporal information is consistent with the temporal information on BMC10.If when temporal information is consistent with the temporal information on BMC10 on the storage chip obtained 14, return step S21.If when the temporal information on the storage chip obtained 14 on temporal information and BMC10 is inconsistent, enter step S23.
Temporal information on the storage chip 14 read is replaced the temporal information on BMC10 by step S23, BMC10.
Above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to above preferred embodiment to invention has been detailed description, those of ordinary skill in the art should be appreciated that and can modify to technical scheme of the present invention or be equal to the spirit and scope of replacing and should not depart from technical solution of the present invention.

Claims (6)

1. a mainboard, is characterized in that, this mainboard comprises:
Baseboard management controller and real-time clock, wherein, described baseboard management controller is directly connected with described real-time clock, when described baseboard management controller starts, directly obtains the temporal information on real-time clock.
2. mainboard as claimed in claim 1, it is characterized in that, described baseboard management controller is directly connected by bus with described real-time clock.
3. mainboard as claimed in claim 1, it is characterized in that, also according to there being storage chip between described baseboard management controller and described real-time clock, this storage chip is for storing the temporal information on described real-time clock.
4. mainboard as claimed in claim 1, it is characterized in that, described storage chip is register.
5. utilize a method for the baseboard management controller acquisition time information of mainboard, it is characterized in that, the method comprises the steps:
Baseboard management controller regularly send read mainboard real-time clock on the instruction of temporal information to real-time clock, obtain temporal information on real-time clock;
Baseboard management controller is resolved temporal information on the real-time clock obtained; And
If when the temporal information on the real-time clock of resolving on temporal information and baseboard management controller is inconsistent, temporal information on resolved real-time clock is replaced the temporal information on baseboard management controller by baseboard management controller.
6. utilize a method for the baseboard management controller acquisition time information of mainboard, it is characterized in that, the method comprises the steps:
Storage chip is resolved temporal information on the real-time clock obtained, and is stored on the storage medium of storage chip by temporal information on resolved real-time clock;
Baseboard management controller regularly sends the instruction of temporal information on reading storage chip to storage chip, to obtain the temporal information on storage chip;
If when the temporal information on the storage chip obtained on temporal information and baseboard management controller is inconsistent, temporal information on the storage chip read is replaced the temporal information on baseboard management controller by baseboard management controller.
CN201310478255.4A 2013-10-14 2013-10-14 Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard Pending CN104572317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310478255.4A CN104572317A (en) 2013-10-14 2013-10-14 Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310478255.4A CN104572317A (en) 2013-10-14 2013-10-14 Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard

Publications (1)

Publication Number Publication Date
CN104572317A true CN104572317A (en) 2015-04-29

Family

ID=53088461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310478255.4A Pending CN104572317A (en) 2013-10-14 2013-10-14 Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard

Country Status (1)

Country Link
CN (1) CN104572317A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329519A (en) * 2017-06-30 2017-11-07 山东超越数控电子有限公司 A kind of server RTC clock synchronous method
CN108415817A (en) * 2018-03-01 2018-08-17 郑州云海信息技术有限公司 BMC obtains the method, apparatus of time, equipment and can storage medium
CN109165047A (en) * 2018-09-03 2019-01-08 英业达科技有限公司 The method for maintaining the orthochronous of graphics processor mainboard

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329519A (en) * 2017-06-30 2017-11-07 山东超越数控电子有限公司 A kind of server RTC clock synchronous method
CN108415817A (en) * 2018-03-01 2018-08-17 郑州云海信息技术有限公司 BMC obtains the method, apparatus of time, equipment and can storage medium
CN109165047A (en) * 2018-09-03 2019-01-08 英业达科技有限公司 The method for maintaining the orthochronous of graphics processor mainboard
CN109165047B (en) * 2018-09-03 2021-10-12 英业达科技有限公司 Method for maintaining correct time of graphics processor mainboard

Similar Documents

Publication Publication Date Title
US8661306B2 (en) Baseboard management controller and memory error detection method of computing device utilized thereby
CN102298414A (en) Server time synchronizing system
US20130132741A1 (en) Power supply apparatus of computer system and method for controlling power sequence thereof
CN102169463B (en) Inter-integrated circuit (IIC) bus-based manufacturing information acquisition method and equipment
CN104346264A (en) System and method for processing system event logs
CN101794261A (en) Mapping table data recovery method and device
CN104320317A (en) Method and device for transmitting state of Ethernet physical layer chip
CN104572317A (en) Mainboard and method for acquiring time information by utilizing baseboard management controller of mainboard
CN103488721A (en) Database bisynchronous method and system for master and slave boards
CN102750109A (en) Data synchronization system and method
US20200142626A1 (en) Hot plug memory device data protection method
CN111130673B (en) Vehicle-mounted terminal time synchronization method and system
WO2015117356A1 (en) Start-up method and communication terminal
CN105653376A (en) Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time
US20100153622A1 (en) Data Access Controller and Data Accessing Method
CN106033363B (en) Upgrading method and upgrading device for application program of embedded system
US9747246B2 (en) Electronic device for communicating between a microcontroller unit (MCU) and a host processor and related methods
KR102530073B1 (en) Baseband Integrated Circuit for communicating with RF Integrated Circuit using digital interface And Apparatus including the same
CN112527446A (en) Time zone synchronization method, equipment and terminal equipment
CN110750472A (en) Method and device for converting INT interruption into MSI interruption and storage medium
CN107168902B (en) Method for realizing automatic identification of high-speed CAN baud rate by using DMA
CN103150222B (en) The method and apparatus of embedded system abnormal restoring
CN110098960B (en) Secret-free automatic configuration method and device for distributed block storage system
CN109531730B (en) Terminal nailing method, device and storage medium
CN102955545A (en) Computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429

WD01 Invention patent application deemed withdrawn after publication