TWI514131B - Method of starting computing system - Google Patents

Method of starting computing system Download PDF

Info

Publication number
TWI514131B
TWI514131B TW103136204A TW103136204A TWI514131B TW I514131 B TWI514131 B TW I514131B TW 103136204 A TW103136204 A TW 103136204A TW 103136204 A TW103136204 A TW 103136204A TW I514131 B TWI514131 B TW I514131B
Authority
TW
Taiwan
Prior art keywords
real
management controller
time
time clock
baseboard management
Prior art date
Application number
TW103136204A
Other languages
Chinese (zh)
Other versions
TW201616357A (en
Inventor
Xilang Zhang
Peng Hu
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW103136204A priority Critical patent/TWI514131B/en
Application granted granted Critical
Publication of TWI514131B publication Critical patent/TWI514131B/en
Publication of TW201616357A publication Critical patent/TW201616357A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

計算機系統的啟動方法Computer system startup method

本發明提供一種計算機系統的啟動方法,尤指一種可解決由於一交流電源斷電所導致系統異常之計算機系統的啟動方法。The present invention provides a method for starting a computer system, and more particularly to a method for starting a computer system that can solve a system abnormality caused by an AC power failure.

一基板管理控制器(Baseboard Management Controller,BMC)藉由各別的界面來管理整個系統,如系統狀態偵測及事件過濾、電源管理、記錄事件發生時間及系統回復控制,並且透過網路或序列埠來告知管理人員。另外,基板管理控制器提供了一智慧平台管理匯流排(Intelligent Platform Management Bus,IPMB)來和外部的管理控制器互相溝通。A Baseboard Management Controller (BMC) manages the entire system through separate interfaces, such as system state detection and event filtering, power management, recording event occurrence time, and system response control, and through the network or sequence. I will tell the manager. In addition, the baseboard management controller provides an intelligent platform management bus (IPMB) to communicate with external management controllers.

在系統開機自我檢測(Power-on self-test,POST)過程中,基本輸入輸出系統(Basic Input Output System,BIOS)會把系統日期和時間送給基板管理控制器,基板管理控制器又把這個日期和時間存到一實時時鐘(Real Time Clock,RTC)暫存器裡,實時時鐘暫存器裡的值會隨著時間自動更新,保持一個正確的值。線上升級基板管理控制器的韌體後,在基板管理控制器啟動階段,基板管理控制器會從實時時鐘暫存器裡面取回這個值作為自己的時間。如此一來,後續基板管理控制器記錄工作紀錄(event log)的時候就能保證工作紀錄的時間戳記是正確的。In the process of Power-on self-test (POST), the Basic Input Output System (BIOS) will send the system date and time to the baseboard management controller, and the baseboard management controller will The date and time are stored in a Real Time Clock (RTC) register, and the value in the real-time clock register is automatically updated over time to maintain a correct value. After upgrading the firmware of the baseboard management controller online, during the startup phase of the baseboard management controller, the baseboard management controller retrieves this value from the real-time clock register as its own time. In this way, the subsequent substrate management controller can ensure that the time stamp of the work record is correct when the event log is recorded.

在系統做交流電源週期(AC Power Cycle)之後,由於交流電源斷電後,實時時鐘暫存器裡的值變成了一個不正確的日期時間。雖然基板管 理控制器對實時時鐘暫存器裡儲存的值採取了一些篩選措施,但是這種篩選機制不能保證所有錯誤的值都能得到篩選。於是在基板管理控制器啟動階段,基板管理控制器就有可能把這個錯誤的值讀取為自己的時間。After the system is doing AC power cycle, the value in the real-time clock register becomes an incorrect date and time after the AC power is turned off. Although the substrate tube The controller takes some filtering measures on the values stored in the real-time clock register, but this filtering mechanism does not guarantee that all erroneous values can be filtered. Thus, during the startup phase of the baseboard management controller, it is possible for the baseboard management controller to read this erroneous value as its own time.

因此,本發明之主要目的即在於提供一種用於一電腦系統中解決系統異常之方法。Accordingly, it is a primary object of the present invention to provide a method for solving system anomalies in a computer system.

本發明揭露一種計算機系統的啟動方法,該計算機系統包含一基板管理控制器,該啟動方法包含有啟動該基板管理控制器,其中該基板管理控制器包括一實時時鐘暫存器;該基板管理控制器加載一實時時鐘(real time clock)驅動,其中該實時時鐘驅動用來啟動一實時時鐘功能;於該實時時鐘驅動加載後,檢查該基板管理控制器的該實時時鐘暫存器的一實時時鐘致能欄位;若該實時時鐘致能欄位之狀態為禁能,則致能該實時時鐘暫存器的一實時時鐘更新欄位並將該實時時鐘暫存器的一時間戳記清零;該基板管理控制器從該實時時鐘暫存器中獲取該時間戳記;以及若該時間戳記晚於一預設時間,則該基板管理控制器啟動完成。The invention discloses a computer system startup method, the computer system comprising a substrate management controller, the startup method comprising starting the substrate management controller, wherein the substrate management controller comprises a real-time clock register; the substrate management control Loading a real time clock driver, wherein the real time clock driver is used to activate a real time clock function; after the real time clock driver is loaded, checking a real time clock of the real time clock register of the baseboard management controller Enable a field; if the state of the real-time clock enable field is disabled, enable a real-time clock update field of the real-time clock register and clear a time stamp of the real-time clock register; The baseboard management controller acquires the timestamp from the real time clock register; and if the timestamp is later than a predetermined time, the baseboard management controller is started.

於一實施例中,若該實時時鐘致能欄位之狀態為致能,則該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記。In an embodiment, if the status of the real-time clock enable field is enabled, the baseboard management controller directly obtains the timestamp from the real-time clock register.

於一實施例中,若該時間戳記早於一預設時間,則將該時間戳記設置為該預設時間,該基板管理控制器啟動完成。In an embodiment, if the timestamp is earlier than a preset time, the timestamp is set to the preset time, and the baseboard management controller is started.

於一實施例中,更包括該基板管理控制器啟動完成後,該計算機系統開始系統開機自我檢測(POST),一基本輸入輸出系統(BIOS)傳送一系統時間給該基板管理控制器,該基板管理控制器將該系統時間存入該實時 時鐘暫存器中去更新該時間戳記。In an embodiment, after the startup of the baseboard management controller is completed, the computer system starts a system boot self-test (POST), and a basic input/output system (BIOS) transmits a system time to the baseboard management controller, the substrate The management controller stores the system time in the real time The timestamp is updated in the clock register.

於一實施例中,該基板管理控制器的啟動為該計算機系統的一交流電供電後的啟動,該實時時鐘暫存器中的該時間戳記的初始值為一隨機時間,該實時時鐘致能欄位預設為禁能,啟動該基板管理控制器,該基板管理控制器加載該實時時鐘驅動,於該實時時鐘驅動加載後,檢查該基板管理控制器的該實時時鐘暫存器的一實時時鐘致能欄位,由於該實時時鐘致能欄位預設為禁能,致能該實時時鐘暫存器的該實時時鐘更新欄位並將該實時時鐘暫存器的為隨機時間的該時間戳記清零,該基板管理控制器從該實時時鐘暫存器中獲取該時間戳記,該時間戳記早於該預設時間,則將該時間戳記設置為該預設時間,該基板管理控制器啟動完成。In an embodiment, the startup of the substrate management controller is an activation of an AC power supply of the computer system, and the initial value of the time stamp in the real-time clock register is a random time, and the real-time clock enabling column The bit is preset to disable, the base management controller is activated, the baseboard management controller loads the real-time clock driver, and after the real-time clock driver is loaded, checks a real-time clock of the real-time clock register of the baseboard management controller. The enabling field, because the real-time clock enabling field is preset to be disabled, enabling the real-time clock update field of the real-time clock register and setting the time stamp of the real-time clock register to a random time Clearing, the baseboard management controller acquires the timestamp from the real-time clock register, and the timestamp is earlier than the preset time, the timestamp is set to the preset time, and the baseboard management controller is started. .

於一實施例中,由於該時間戳記設置為該預設時間,該基板管理控制器採用該預設時間記錄事件日誌(event log)。In an embodiment, since the time stamp is set to the preset time, the baseboard management controller records the event log by using the preset time.

於一實施例中,該基板管理控制器的啟動為該計算機系統保持給該基板管理控制器供電的情況下的重新啟動,該實時時鐘致能欄位為致能狀態,該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記,該時間戳記晚於該預設時間,為正確的時間,該基板管理控制器採用正確的該時間戳記記錄事件日誌。In one embodiment, the startup of the baseboard management controller is a restart in the case where the computer system maintains power to the baseboard management controller, the real-time clock enablement field is enabled, and the baseboard management controller is directly The timestamp is obtained from the real-time clock register, and the timestamp is later than the preset time. For the correct time, the baseboard management controller records the event log with the correct timestamp.

於一實施例中,該基板管理控制器的啟動為該基板管理控制器的一韌體(firmware)更新完畢後該基板管理控制器的重啟,該實時時鐘致能欄位為致能狀態,該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記,該時間戳記晚於該預設時間,為正確的時間,該基板管理控制器採用正確的該時間戳記記錄事件日誌。In an embodiment, the startup of the substrate management controller is a restart of the substrate management controller after a firmware of the substrate management controller is updated, and the real-time clock enabling field is enabled. The baseboard management controller directly obtains the timestamp from the real-time clock register. The timestamp is later than the preset time. For the correct time, the baseboard management controller records the event log with the correct timestamp.

於一實施例中,該預設時間為1970年1月1日0時。In an embodiment, the preset time is 0:00 on January 1, 1970.

於一實施例中,該實時時鐘致能欄位之狀態為禁能時該欄位值為0,該實時時鐘致能欄位之狀態為致能時該欄位值為1,該實時時鐘更新欄位之狀態為禁能時該欄位值為0,該實時時鐘更新欄位之狀態為致能時該欄位值為1。In an embodiment, when the status of the real-time clock enabling field is disabled, the field value is 0, and the status of the real-time clock enabling field is 1 when the field value is enabled, the real-time clock is updated. When the status of the field is disabled, the field value is 0. The status of the real-time clock update field is 1 when the field is enabled.

10‧‧‧流程10‧‧‧ Process

100、102、104、106、108、110、112、114、116、118‧‧‧步驟100, 102, 104, 106, 108, 110, 112, 114, 116, 118 ‧ ‧ steps

第1圖為本發明實施例一流程之示意圖。FIG. 1 is a schematic diagram of a process of an embodiment of the present invention.

請參考第1圖,第1圖為本發明實施例一啟動流程10之示意圖。啟動流程10用於一計算機系統中,且該計算機系統包含一基板管理控制器。啟動流程10包含下列步驟:步驟100:開始。Please refer to FIG. 1 , which is a schematic diagram of a startup process 10 according to an embodiment of the present invention. The boot process 10 is for use in a computer system and includes a baseboard management controller. The startup process 10 includes the following steps: Step 100: Start.

步驟102:啟動該基板管理控制器,其中該基板管理控制器包括一實時時鐘暫存器。Step 102: Start the baseboard management controller, wherein the baseboard management controller includes a real-time clock register.

步驟104:該基板管理控制器加載一實時時鐘(real time clock)驅動,其中該實時時鐘驅動用來啟動一實時時鐘功能。Step 104: The baseboard management controller loads a real time clock drive, wherein the real time clock driver is used to activate a real time clock function.

步驟106:於該實時時鐘驅動加載後,檢查該實時時鐘暫存器的一實時時鐘致能欄位EN之數值是否為“1”?若是,執行步驟108;若否,執行步驟116。Step 106: After the real-time clock driver is loaded, check whether the value of a real-time clock enable field EN of the real-time clock register is "1"? If yes, go to step 108; if no, go to step 116.

步驟108:該基板管理控制器從該實時時鐘暫存器中獲取一時間戳記。Step 108: The baseboard management controller acquires a timestamp from the real time clock register.

步驟110:將該實時時鐘致能欄位EN之數值設定為“1”。Step 110: Set the value of the real-time clock enable field EN to "1".

步驟112:判斷所取得之該時間戳記是否早於1970年1月1日?若是,執行步驟114;若否,執行步驟118。Step 112: Determine whether the time stamp obtained is earlier than January 1, 1970? If yes, go to step 114; if no, go to step 118.

步驟114:將1970年1月1日0時設定為該基板管理控制器之時間。Step 114: Set 0 o'clock on January 1, 1970 as the time of the baseboard management controller.

步驟116:致能該實時時鐘暫存器的一實時時鐘更新欄位並清零該實時時鐘暫存器之該時間戳記。Step 116: Enable a real-time clock update field of the real-time clock register and clear the time stamp of the real-time clock register.

步驟118:結束。Step 118: End.

根據流程10,在實時時鐘驅動載入之後,由讀取實時時鐘致能欄位EN之數值為“0”判斷基板管理控制器之啟動是因為交流電源斷電後重新供電,或是由讀取實時時鐘致能欄位EN之數值為“1”判斷基板管理控制器之啟動是因為重啟或基板管理控制器線上更新。當基板管理控制器在交流電源斷電後重新供電後啟動,且實時時鐘驅動下載完畢時,實時時鐘功能是禁能的。也就是說,實時時鐘暫存器中的時間戳記是錯誤的。透過步驟116致能該實時時鐘暫存器的一實時時鐘更新欄位並將該實時時鐘暫存器的一時間戳記清零,該基板管理控制器從該實時時鐘暫存器中獲取清零后的該時間戳記,可避免基板管理控制器讀取到錯誤的時間戳記。另一方面,當基板管理控制器之啟動是因為重啟或基板管理控制器線上更新,且實時時鐘驅動下載完畢時,實時時鐘功能是致能的。因此,實時時鐘暫存器中的時間戳記是正確,而基板管理控制器可直接取得複數個時間戳記。由於基板管理控制器是從1970年1月1日0時開始計數到現在經歷多少秒數,因此早於1970年1月1日0時的時間戳記皆是錯誤的時間。在此情況下,基板管理控制器則將本身時間設為1970年1月1日0時,代表基板管理控制器不知道真實時間,並等待系統開機時接收基本輸入輸出系統所傳送的時間。According to the process 10, after the real-time clock driver is loaded, the value of the read real-time clock enabling field EN is “0” to judge whether the base management controller is started because the AC power is turned off, the power is re-powered, or read. The value of the real-time clock enable field EN is "1" to determine whether the baseboard management controller is started because of a reboot or a substrate management controller online update. When the baseboard management controller starts after re-powering after the AC power is turned off, and the real-time clock driver download is completed, the real-time clock function is disabled. That is, the timestamp in the real-time clock register is erroneous. A real-time clock update field of the real-time clock register is enabled in step 116, and a time stamp of the real-time clock register is cleared, and the baseboard management controller obtains the clear from the real-time clock register. This timestamp prevents the baseboard management controller from reading the wrong timestamp. On the other hand, when the base management controller is started up because of a reboot or a substrate management controller online update, and the real-time clock driver download is complete, the real-time clock function is enabled. Therefore, the timestamp in the real-time clock register is correct, and the baseboard management controller can directly obtain a plurality of timestamps. Since the baseboard management controller counts from 0:00 on January 1, 1970 to how many seconds it is now, the timestamps before 0:00 on January 1, 1970 are all wrong times. In this case, the baseboard management controller sets its own time to 0 on January 1, 1970, which means that the baseboard management controller does not know the real time and waits for the time transmitted by the basic input/output system when the system is powered on.

簡言之,本發明實施例在實時時鐘驅動載入之後,取得實時時鐘暫存器中的時間戳記之前,先作一個更合理的判斷,來確定實時時鐘暫存器中儲存的時間戳記是否正確。如果時間戳記正確則保留,如果時間戳記錯誤則清零。如此一來,可避免由於交流電源斷電,基板管理控制器讀取實時時鐘暫存器中不正確的日期時間。In short, in the embodiment of the present invention, after the real-time clock driver is loaded, before obtaining the time stamp in the real-time clock register, a more reasonable judgment is made to determine whether the time stamp stored in the real-time clock register is correct. . Reserved if the timestamp is correct, or cleared if the timestamp is incorrect. In this way, the base management controller can read the incorrect date and time in the real-time clock register due to the power failure of the AC power supply.

由上述可知,本發明之啟動方法包含有啟動一基板管理控制器,而該基板管理控制器包括一實時時鐘暫存器;該基板管理控制器加載一實時時鐘(real time clock)驅動,其中該實時時鐘驅動用來啟動一實時時鐘功能;於該實時時鐘驅動加載後,檢查該基板管理控制器的該實時時鐘暫存器的一實時時鐘致能欄位;若該實時時鐘致能欄位之狀態為禁能,則致能該實時時鐘暫存器的一實時時鐘更新欄位並將該實時時鐘暫存器的一時間戳記清零;該基板管理控制器從該實時時鐘暫存器中獲取該時間戳記;以及若該時間戳記晚於一預設時間,則該基板管理控制器啟動完成。更進一步地,若該實時時鐘致能欄位之狀態為致能,則該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記;若該時間戳記早於一預設時間,則將該時間戳記設置為該預設時間,該基板管理控制器啟動完成。而該基板管理控制器啟動完成後,該計算機系統開始系統開機自我檢測(POST),一基本輸入輸出系統(BIOS)傳送一系統時間給該基板管理控制器,該基板管理控制器將該系統時間存入該實時時鐘暫存器中去更新該時間戳記。該基板管理控制器的啟動為該計算機系統的一交流電供電後的啟動,該實時時鐘暫存器中的該時間戳記的初始值為一隨機時間,該實時時鐘致能欄位預設為禁能,啟動該基板管理控制器,該基板管理控制器加載該實時時鐘驅動,於該實時時鐘驅動加載後,檢查該基板管理控制器的該實時時鐘暫存器的一實時時鐘致能欄位,由於該實時時鐘致能欄位預設為禁能,致能該實時時鐘暫存器的該實時時鐘更新欄位並將該實時時鐘暫存器的為隨機時間的該時間戳記清零,該基板管理控制器從該實時時鐘暫存器中獲取該時間戳記,該時間戳記早於該預設時間,則將該時 間戳記設置為該預設時間,該基板管理控制器啟動完成。由於該時間戳記設置為該預設時間,該基板管理控制器採用該預設時間記錄事件日誌(event log)。該基板管理控制器的啟動為該計算機系統保持給該基板管理控制器供電的情況下的重新啟動,該實時時鐘致能欄位為致能狀態,該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記,該時間戳記晚於該預設時間,為正確的時間,該基板管理控制器採用正確的該時間戳記記錄事件日誌。該基板管理控制器的啟動為該基板管理控制器的一韌體(firmware)更新完畢後該基板管理控制器的重啟,該實時時鐘致能欄位為致能狀態,該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記,該時間戳記晚於該預設時間,為正確的時間,該基板管理控制器採用正確的該時間戳記記錄事件日誌。該預設時間為1970年1月1日0時。該實時時鐘致能欄位之狀態為禁能時該欄位值為0,該實時時鐘致能欄位之狀態為致能時該欄位值為1,該實時時鐘更新欄位之狀態為禁能時該欄位值為0,該實時時鐘更新欄位之狀態為致能時該欄位值為1。As can be seen from the foregoing, the startup method of the present invention includes activating a substrate management controller, and the substrate management controller includes a real-time clock register; the substrate management controller loads a real time clock drive, wherein the The real-time clock driver is used to activate a real-time clock function; after the real-time clock driver is loaded, a real-time clock enablement field of the real-time clock register of the baseboard management controller is checked; if the real-time clock enables the field When the state is disabled, a real-time clock update field of the real-time clock register is enabled and a time stamp of the real-time clock register is cleared; the base management controller obtains from the real-time clock register The timestamp; and if the timestamp is later than a predetermined time, the baseboard management controller is started. Further, if the status of the real-time clock enabling field is enabled, the baseboard management controller directly obtains the timestamp from the real-time clock register; if the timestamp is earlier than a preset time, Setting the time stamp to the preset time, the baseboard management controller is started. After the baseboard management controller is started, the computer system starts a system boot self-test (POST), and a basic input/output system (BIOS) transmits a system time to the baseboard management controller, and the baseboard management controller uses the system time. The timestamp is updated by saving in the real time clock register. The startup of the baseboard management controller is initiated after an AC power supply of the computer system, and the initial value of the timestamp in the real-time clock register is a random time, and the real-time clock enabling field is preset to be disabled. Activating the baseboard management controller, the baseboard management controller loading the real-time clock driver, and after the real-time clock driver is loaded, checking a real-time clock enablement field of the real-time clock register of the baseboard management controller, The real-time clock enabling field is preset to be disabled, enabling the real-time clock update field of the real-time clock register and clearing the time stamp of the real-time clock register for random time, the substrate management The controller obtains the timestamp from the real-time clock register, and the timestamp is earlier than the preset time, then the time is The time stamp is set to the preset time, and the baseboard management controller is started up. Since the time stamp is set to the preset time, the baseboard management controller records the event log by using the preset time. The startup of the baseboard management controller is a restart in the case where the computer system maintains power to the baseboard management controller, the real-time clock enablement field is enabled, and the baseboard management controller directly stores the real-time clock The time stamp is obtained in the device, and the time stamp is later than the preset time. For the correct time, the baseboard management controller records the event log with the correct time stamp. The startup of the baseboard management controller is a restart of the baseboard management controller after the firmware of the baseboard management controller is updated, and the real-time clock enablement field is enabled, and the baseboard management controller directly The timestamp is obtained in the real-time clock register, and the timestamp is later than the preset time. For the correct time, the baseboard management controller records the event log with the correct timestamp. The preset time is 0:00 on January 1, 1970. The status of the real-time clock enabling field is 0 when the field is disabled, and the field value of the real-time clock enabling field is 1 when enabled, and the status of the real-time clock update field is forbidden. When the field value is 0, the status of the real-time clock update field is 1 when the field is enabled.

綜上所述,本發明實施例在實時時鐘驅動載入之後,透過讀取致能欄位之數值來判斷基板管理控制器之啟動是因為交流電源斷電之後重新供電,還是因為重新啟動基板管理控制器或是進行線上更新。然後,視不同的情況來決定是否對實時時鐘暫存器儲存的日期時間進行處理。In summary, after the real-time clock driver is loaded, the embodiment of the present invention determines whether the startup of the baseboard management controller is caused by the power failure after the AC power is turned off, or because the substrate management is restarted. The controller is either updated online. Then, depending on the situation, it is decided whether to process the date and time stored in the real-time clock register.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

10‧‧‧流程10‧‧‧ Process

100、102、104、106、108、110、112、114、116、118‧‧‧步驟100, 102, 104, 106, 108, 110, 112, 114, 116, 118 ‧ ‧ steps

Claims (10)

一種計算機系統的啟動方法,該計算機系統包含一基板管理控制器,該啟動方法包含有:啟動該基板管理控制器,其中該基板管理控制器包括一實時時鐘暫存器;該基板管理控制器加載一實時時鐘(real time clock)驅動,其中該實時時鐘驅動用來啟動一實時時鐘功能;於該實時時鐘驅動加載後,檢查該基板管理控制器的該實時時鐘暫存器的一實時時鐘致能欄位;若該實時時鐘致能欄位之狀態為禁能,則致能該實時時鐘暫存器的一實時時鐘更新欄位並將該實時時鐘暫存器的一時間戳記清零;該基板管理控制器從該實時時鐘暫存器中獲取該時間戳記;以及若該時間戳記晚於一預設時間,則該基板管理控制器啟動完成。A method for starting a computer system, the computer system comprising a substrate management controller, the startup method comprising: starting the substrate management controller, wherein the substrate management controller comprises a real-time clock register; the substrate management controller loading a real time clock driver, wherein the real time clock driver is used to activate a real time clock function; after the real time clock driver is loaded, checking a real time clock enablement of the real time clock register of the baseboard management controller a field; if the state of the real-time clock enable field is disabled, enabling a real-time clock update field of the real-time clock register and clearing a time stamp of the real-time clock register; the substrate The management controller obtains the timestamp from the real-time clock register; and if the timestamp is later than a predetermined time, the baseboard management controller is started. 如請求項1所述之計算機系統的啟動方法,其中若該實時時鐘致能欄位之狀態為致能,則該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記。The method for starting a computer system according to claim 1, wherein if the state of the real-time clock enabling field is enabled, the baseboard management controller directly acquires the timestamp from the real-time clock register. 如請求項1所述之計算機系統的啟動方法,其中若該時間戳記早於一預設時間,則將該時間戳記設置為該預設時間,該基板管理控制器啟動完成。The method for starting a computer system according to claim 1, wherein if the time stamp is earlier than a preset time, the time stamp is set to the preset time, and the baseboard management controller is started. 如請求項1所述之計算機系統的啟動方法,更包括該基板管理控制器啟動完成後,該計算機系統開始系統開機自我檢測(POST),一基本輸入輸出系統(BIOS)傳送一系統時間給該基板管理控制器,該基板管理控制器將該系統時間存入該實時時鐘暫存器中去更新該時間戳記。The booting method of the computer system according to claim 1, further comprising: after the baseboard management controller is started, the computer system starts a system boot self-test (POST), and a basic input/output system (BIOS) transmits a system time to the a baseboard management controller that stores the system time in the real time clock register to update the timestamp. 如請求項3所述之計算機系統的啟動方法,其中該基板管理控制器的啟動為該計算機系統的一交流電供電後的啟動,該實時時鐘暫存器中的該時間戳記的初始值為一隨機時間,該實時時鐘致能欄位預設為禁能,啟動該基板管理控制器,該基板管理控制器加載該實時時鐘驅動,於該實時時鐘驅動加載後,檢查該基板管理控制器的該實時時鐘暫存器的一實時時鐘致能欄位,由於該實時時鐘致能欄位預設為禁能,致能該實時時鐘暫存器的該實時時鐘更新欄位並將該實時時鐘暫存器的為隨機時間的該時間戳記清零,該基板管理控制器從該實時時鐘暫存器中獲取該時間戳記,該時間戳記早於該預設時間,則將該時間戳記設置為該預設時間,該基板管理控制器啟動完成。The method for starting a computer system according to claim 3, wherein the startup of the baseboard management controller is an activation of an alternating current power supply of the computer system, and the initial value of the timestamp in the real-time clock register is a random Time, the real-time clock enabling field is preset to be disabled, the base management controller is activated, the baseboard management controller loads the real-time clock driver, and after the real-time clock driver is loaded, checking the real-time of the baseboard management controller a real-time clock enabling field of the clock register, wherein the real-time clock enabling field is preset to be disabled, enabling the real-time clock update field of the real-time clock register and the real-time clock register The time stamp of the random time is cleared, and the baseboard management controller acquires the time stamp from the real time clock register, and the time stamp is earlier than the preset time, and the time stamp is set to the preset time. The baseboard management controller is started up. 如請求項5所述之計算機系統的啟動方法,其中由於該時間戳記設置為該預設時間,該基板管理控制器採用該預設時間記錄事件日誌(event log)。The method for starting a computer system according to claim 5, wherein the substrate management controller records the event log by using the preset time period because the time stamp is set to the preset time. 如請求項2所述之計算機系統的啟動方法,其中該基板管理控制器的啟動為該計算機系統保持給該基板管理控制器供電的情況下的重新啟動,該實時時鐘致能欄位為致能狀態,該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記,該時間戳記晚於該預設時間,為正確的時間,該基板管理控制器採用正確的該時間戳記記錄事件日誌。The method for starting a computer system according to claim 2, wherein the activation of the baseboard management controller is a restart in the case where the computer system maintains power to the baseboard management controller, and the real-time clock enabling field is enabled. a state, the baseboard management controller directly obtains the timestamp from the real-time clock register, the timestamp is later than the preset time, and the base management controller uses the correct timestamp to record the event log. . 如請求項2所述之計算機系統的啟動方法,其中該基板管理控制器的啟動為該基板管理控制器的一韌體(firmware)更新完畢後該基板管理控制器的重啟,該實時時鐘致能欄位為致能狀態,該基板管理控制器直接從該實時時鐘暫存器中獲取該時間戳記,該時間戳記晚於該預設時間,為 正確的時間,該基板管理控制器採用正確的該時間戳記記錄事件日誌。The method for starting a computer system according to claim 2, wherein the startup of the baseboard management controller is a restart of the baseboard management controller after a firmware of the baseboard management controller is updated, and the real-time clock is enabled. The field is enabled, and the baseboard management controller directly obtains the timestamp from the real-time clock register, the timestamp being later than the preset time, At the correct time, the baseboard management controller records the event log with the correct timestamp. 如請求項3所述之計算機系統的啟動方法,其中該預設時間為1970年1月1日0時。The method for starting a computer system according to claim 3, wherein the preset time is 0:00 on January 1, 1970. 如請求項1所述之計算機系統的啟動方法,其中該實時時鐘致能欄位之狀態為禁能時該欄位值為0,該實時時鐘致能欄位之狀態為致能時該欄位值為1,該實時時鐘更新欄位之狀態為禁能時該欄位值為0,該實時時鐘更新欄位之狀態為致能時該欄位值為1cThe method for starting a computer system according to claim 1, wherein the field value of the real-time clock enabling field is 0 when the field is disabled, and the field of the real-time clock enabling field is when the field is enabled. The value is 1, and the status of the real-time clock update field is 0 when the field is disabled. The status of the real-time clock update field is 1c when the field value is enabled.
TW103136204A 2014-10-20 2014-10-20 Method of starting computing system TWI514131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103136204A TWI514131B (en) 2014-10-20 2014-10-20 Method of starting computing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103136204A TWI514131B (en) 2014-10-20 2014-10-20 Method of starting computing system

Publications (2)

Publication Number Publication Date
TWI514131B true TWI514131B (en) 2015-12-21
TW201616357A TW201616357A (en) 2016-05-01

Family

ID=55407878

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103136204A TWI514131B (en) 2014-10-20 2014-10-20 Method of starting computing system

Country Status (1)

Country Link
TW (1) TWI514131B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760366B (en) * 2016-11-28 2022-04-11 荷蘭商Asm Ip控股公司 Substrate processing system, storage medium and data processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080536A1 (en) * 1999-07-02 2006-04-13 Time Certain, Llc. System and method for distributing trusted time
TW200821794A (en) * 2006-11-10 2008-05-16 Inventec Corp Method for updating the timing of a baseboard management controller
US7437258B2 (en) * 2003-06-26 2008-10-14 Hewlett-Packard Development Company, L.P. Use of I2C programmable clock generator to enable frequency variation under BMC control
US7581133B2 (en) * 2006-08-04 2009-08-25 Dell Products, Lp System and method of providing real time to devices within a server chassis
CN102298414A (en) * 2010-06-22 2011-12-28 鸿富锦精密工业(深圳)有限公司 Server time synchronizing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080536A1 (en) * 1999-07-02 2006-04-13 Time Certain, Llc. System and method for distributing trusted time
US7437258B2 (en) * 2003-06-26 2008-10-14 Hewlett-Packard Development Company, L.P. Use of I2C programmable clock generator to enable frequency variation under BMC control
US7581133B2 (en) * 2006-08-04 2009-08-25 Dell Products, Lp System and method of providing real time to devices within a server chassis
TW200821794A (en) * 2006-11-10 2008-05-16 Inventec Corp Method for updating the timing of a baseboard management controller
CN102298414A (en) * 2010-06-22 2011-12-28 鸿富锦精密工业(深圳)有限公司 Server time synchronizing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760366B (en) * 2016-11-28 2022-04-11 荷蘭商Asm Ip控股公司 Substrate processing system, storage medium and data processing method

Also Published As

Publication number Publication date
TW201616357A (en) 2016-05-01

Similar Documents

Publication Publication Date Title
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
TWI522919B (en) Device, method, and non-transitory computer-readable medium for automatically configuring bios performance profiles of a computer system
WO2016206514A1 (en) Startup processing method and device
US20140143477A1 (en) Computer system and data recovery method thereof
US20150095632A1 (en) Computer booting system and method for computer system
TWI391808B (en) Overclocking module and computer system and method thereof
TW201351286A (en) System and method of updating firmware
TWI668567B (en) Server and method for restoring a baseboard management controller automatically
TW202030602A (en) The method and system of bios recovery and update
US20160103688A1 (en) Method of Starting Computing System
WO2022037014A1 (en) Boot restoration method for arm server, and related apparatus
TW201314574A (en) Method and device for updating BIOS program for computer system
JP4886558B2 (en) Information processing device
TW201435575A (en) Boot fault tolerant device and method thereof
TW201716999A (en) Method for startup inspection and computer system using the same
TWI514131B (en) Method of starting computing system
US8972709B2 (en) Booting method for low temperature environment and electronic apparatus therefor
TW201734779A (en) Boot status notification method and server system using the same
JP2017078998A (en) Information processor, log management method, and computer program
JP5561791B2 (en) Information processing apparatus, information processing method, and information processing program
CN111078452A (en) BMC firmware image recovery method and device
TW201428470A (en) Automatic booting system and method
TWI537721B (en) Baseboard management control system and method
TW201624192A (en) Computer system, adaptable hibernation control module and control method thereof
TW201416855A (en) System power-on monitoring method and electronic apparatus

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees