TWI528287B - Server system - Google Patents

Server system Download PDF

Info

Publication number
TWI528287B
TWI528287B TW103142375A TW103142375A TWI528287B TW I528287 B TWI528287 B TW I528287B TW 103142375 A TW103142375 A TW 103142375A TW 103142375 A TW103142375 A TW 103142375A TW I528287 B TWI528287 B TW I528287B
Authority
TW
Taiwan
Prior art keywords
multiplexer
bios chip
server system
pin
management controller
Prior art date
Application number
TW103142375A
Other languages
Chinese (zh)
Other versions
TW201621644A (en
Inventor
邱國書
曲忠英
趙天文
胡鵬
褚方傑
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW103142375A priority Critical patent/TWI528287B/en
Application granted granted Critical
Publication of TWI528287B publication Critical patent/TWI528287B/en
Publication of TW201621644A publication Critical patent/TW201621644A/en

Links

Description

伺服器系統 Server system

本發明係關於一種伺服器技術領域,特別有關一種伺服器系統。 The present invention relates to the field of server technology, and more particularly to a server system.

伺服器是網路架構的重要基礎。通常在伺服器中,基本輸入/輸出系統(Basic Input/Output System,簡稱BIOS)是極為重要的一個模組。在開機時,需要根據基本輸入/輸出系統的設定以對各個硬體裝置進行初始化,從而使得操作系統開始運作後,得以對各個硬體裝置進行操作。 The server is an important foundation of the network architecture. Usually in the server, the Basic Input/Output System (BIOS) is an extremely important module. At the time of power-on, it is necessary to initialize the respective hardware devices according to the settings of the basic input/output system, so that after the operating system starts operating, it is possible to operate the respective hardware devices.

目前,在伺服器系統中多半設置一個BIOS晶片,若開機自我檢測(Power on self-test,簡稱POST)失敗,則需要對BIOS晶片的韌體進行修復或者離線更新,這樣會給用戶帶來不便。若在伺服器系統中再另設置一個BIOS晶片,當其中一個BIOS晶片進行開機自我檢測(POST)失敗或其韌體自身存有缺陷時,伺服器系統自動切換至另一個BIOS晶片,以使伺服器系統能夠正常啟動。於是,這對資料中心或者大量使用伺服器的機構提供極大的便利。習知技術的桌上型電腦內也會採用上述的備份BIOS晶片的設計方式,但是其必須透過人工干預以達到切換BIOS晶片的效果。 At present, most of the BIOS chips are set in the server system. If the power on self-test (POST) fails, the firmware of the BIOS chip needs to be repaired or updated offline, which will cause inconvenience to the user. . If another BIOS chip is set in the server system, when one of the BIOS chips fails to perform boot self-test (POST) or its firmware itself is defective, the server system automatically switches to another BIOS chip to make the servo The system can start normally. As a result, this greatly facilitates the data center or the organization that uses a large number of servers. The above-mentioned backup BIOS chip design is also used in the conventional desktop computer, but it must be manually intervened to achieve the effect of switching the BIOS chip.

在習知設計中,利用設置於伺服器系統中的基板管理控制器(Baseboard Management Controller,簡稱BMC),將待監控的BIOS晶片電 性連接至該基板管理控制器的序列周邊介面(Serial Peripheral Interface,簡稱SPI),以實現基板管理控制器監測BIOS晶片是否正常進行開機自我檢測的目的。但是,若將兩個BIOS晶片同時電性連接至該基板管理控制器,則存有以下問題:如何區分上述兩個BIOS晶片,以確定其中一個BIOS晶片可以用於使伺服器系統正常啟動。 In the conventional design, the BIOS chip to be monitored is electrically powered by using a Baseboard Management Controller (BMC) installed in the server system. The serial interface is connected to the Serial Peripheral Interface (SPI) of the baseboard management controller to implement the purpose of monitoring whether the BIOS chip is normally booted and self-detected. However, if two BIOS chips are simultaneously electrically connected to the substrate management controller, there is a problem in how to distinguish the above two BIOS chips to determine that one of the BIOS chips can be used to enable the server system to start normally.

因此,亟需提供一種創新的伺服器系統,以解決上述問題。 Therefore, there is an urgent need to provide an innovative server system to solve the above problems.

為解決上述習知技術之問題,本發明之目的在於提供一種伺服器系統,以實現當伺服器系統從第一BIOS晶片和第二BIOS晶片其中之一BIOS晶片啟動失敗時,自動從另一BIOS晶片啟動,進一步地,能夠透過基板管理控制器同時更新啟動失敗的BIOS晶片的韌體,以保證伺服器系統的安全性和可靠性。 In order to solve the above problems of the prior art, it is an object of the present invention to provide a server system for automatically booting from another BIOS when the server system fails to boot from one of the first BIOS chip and the second BIOS chip. The wafer is booted, and further, the firmware of the failed BIOS chip can be updated simultaneously through the substrate management controller to ensure the security and reliability of the server system.

為達成上述目的,本發明提供一種伺服器系統,其包括一第一BIOS晶片、一第二BIOS晶片、一平台控制器以及一基板管理控制器。該平台控制器電性連接至一第一多路選擇器,該第一多路選擇器分別電性連接至該第一BIOS晶片和該第二BIOS晶片。該基板管理控制器電性連接至一第二多路選擇器,該第二多路選擇器分別電性連接至該第一BIOS晶片和該第二BIOS晶片。 To achieve the above object, the present invention provides a server system including a first BIOS chip, a second BIOS chip, a platform controller, and a substrate management controller. The platform controller is electrically connected to a first multiplexer, and the first multiplexer is electrically connected to the first BIOS chip and the second BIOS chip, respectively. The substrate management controller is electrically connected to a second multiplexer, and the second multiplexer is electrically connected to the first BIOS chip and the second BIOS chip, respectively.

作為可選的實施例,當該伺服器系統從該第一BIOS晶片和該第二BIOS晶片其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動。 As an alternative embodiment, when the server system fails to boot from one of the first BIOS chip and the second BIOS chip, it will automatically boot from another BIOS chip.

作為可選的實施例,當該伺服器系統從該第一BIOS晶片和 該第二BIOS晶片其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動,且該基板管理控制器同時更新啟動失敗的BIOS晶片的韌體。 As an alternative embodiment, when the server system is from the first BIOS chip and When one of the BIOS chips of the second BIOS chip fails to boot, it will automatically boot from another BIOS chip, and the substrate management controller simultaneously updates the firmware of the failed BIOS chip.

作為可選的實施例,該伺服器系統透過該基板管理控制器所包含的BIOS晶片的韌體更新啟動失敗的BIOS晶片的韌體。 As an optional embodiment, the server system updates the firmware of the failed BIOS chip through the firmware of the BIOS chip included in the baseboard management controller.

作為可選的實施例,該伺服器系統接收一外部的更新指令對該第一BIOS晶片或該第二BIOS晶片的韌體進行更新。 As an alternative embodiment, the server system receives an external update command to update the firmware of the first BIOS chip or the second BIOS chip.

作為可選的實施例,該基板管理控制器包含至少一第三GPIO引腳,該至少一第三GPIO引腳分別電性連接至該第一多路選擇器的選擇引腳和該第二多路選擇器的選擇引腳。 In an optional embodiment, the substrate management controller includes at least one third GPIO pin, and the at least one third GPIO pin is electrically connected to the selection pin of the first multiplexer and the second multiple The selector pin of the way selector.

作為可選的實施例,該第一多路選擇器和該第二多路選擇器均包含多組輸出引腳。 As an alternative embodiment, the first multiplexer and the second multiplexer each comprise a plurality of sets of output pins.

作為可選的實施例,該至少一第三GPIO引腳包含一第四GPIO引腳;該第四GPIO引腳透過一反相器電性連接至該第一多路選擇器的選擇引腳,以及該第四GPIO引腳電性連接至該第二多路選擇器的選擇引腳。 In an optional embodiment, the at least one third GPIO pin includes a fourth GPIO pin; the fourth GPIO pin is electrically connected to the select pin of the first multiplexer through an inverter. And the fourth GPIO pin is electrically connected to the selection pin of the second multiplexer.

作為可選的實施例,該至少一第三GPIO引腳包含一第五GPIO引腳和一第六GPIO引腳;該第五GPIO引腳電性連接至該第一多路選擇器的選擇引腳,以及該第六GPIO引腳電性連接至該第二多路選擇器的選擇引腳。 In an optional embodiment, the at least one third GPIO pin includes a fifth GPIO pin and a sixth GPIO pin; the fifth GPIO pin is electrically connected to the first multiplexer. The pin, and the sixth GPIO pin are electrically connected to the select pin of the second multiplexer.

作為可選的實施例,在內定狀態下,該平台控制器透過該第一多路選擇器的第一組輸出引腳與該第一BIOS晶片接通,從而透過該第一BIOS晶片啟動該伺服器系統。 In an optional embodiment, the platform controller is connected to the first BIOS chip through the first group of output pins of the first multiplexer in a predetermined state, thereby starting the servo through the first BIOS chip. System.

作為可選的實施例,當該基板管理控制器監測到該第一 BIOS晶片開機自我檢測失敗,則該基板管理控制器自動發送一控制命令至該第一多路選擇器,該平台控制器透過該第一多路選擇器的第二組輸出引腳與該第二BIOS晶片接通,該基板管理控制器發送一重置命令,以使該第二BIOS晶片進行開機自動檢測來啟動該伺服器系統。 As an optional embodiment, when the substrate management controller detects the first If the BIOS chip fails to self-test, the baseboard management controller automatically sends a control command to the first multiplexer, and the platform controller transmits the second set of output pins of the first multiplexer and the second The BIOS chip is turned on, and the substrate management controller sends a reset command to enable the second BIOS chip to perform boot automatic detection to start the server system.

作為可選的實施例,在該基板管理控制器發送該控制命令至該第一多路選擇器之後,該基板管理控制器透過第二多路選擇器的第一組輸出引腳與該第一BIOS晶片接通,並且該基板管理控制器更新該第一BIOS晶片的韌體。 In an optional embodiment, after the baseboard management controller sends the control command to the first multiplexer, the baseboard management controller transmits the first set of output pins of the second multiplexer with the first The BIOS chip is turned on and the substrate management controller updates the firmware of the first BIOS chip.

作為可選的實施例,當該基板管理控制器發送該控制命令至該第一多路選擇器時,該控制命令為一高電位訊號切換至一低電位訊號。 In an optional embodiment, when the substrate management controller sends the control command to the first multiplexer, the control command switches a high potential signal to a low potential signal.

作為可選的實施例,透過該基板管理控制器採用遠端或本地方式來執行該基板管理控制器的專用命令,以對該第一BIOS晶片的韌體進行更新。 As an optional embodiment, the base management controller performs a dedicated command of the baseboard management controller through a remote or local mode to update the firmware of the first BIOS chip.

作為可選的實施例,該平台控制器電性連接至該基板管理控制器,以進行控制訊息的溝通。 In an optional embodiment, the platform controller is electrically connected to the baseboard management controller for communication of control messages.

作為可選的實施例,該平台控制器包含至少一第一GPIO引腳,該至少一第一GPIO引腳電性連接至該第一多路選擇器的選擇引腳,該基板管理控制器包含至少一第二GPIO引腳,該至少一第二GPIO引腳電性連接至該第二多路選擇器的選擇引腳。 In an optional embodiment, the platform controller includes at least one first GPIO pin, the at least one first GPIO pin is electrically connected to the selection pin of the first multiplexer, and the substrate management controller includes The at least one second GPIO pin is electrically connected to the selection pin of the second multiplexer.

作為可選的實施例,該第一多路選擇器和第二多路選擇器均包含多組輸出引腳,且該第一多路選擇器和該第二多路選擇器的一選通訊號內定為有效訊號,多組輸出引腳的第一組輸出引腳被選中。 In an optional embodiment, the first multiplexer and the second multiplexer each comprise a plurality of sets of output pins, and the first multiplexer and the second multiplexer select a communication number The default is a valid signal, and the first set of output pins of the multiple sets of output pins are selected.

作為可選的實施例,該平台控制器透過一第一SPI訊號及至少一第一GPIO訊號與該第一多路選擇器溝通,該基板管理控制器透過一第二SPI訊號及至少一第二GPIO訊號與該第二多路選擇器溝通。 In an optional embodiment, the platform controller communicates with the first multiplexer via a first SPI signal and at least one first GPIO signal, and the substrate management controller transmits a second SPI signal and at least a second The GPIO signal communicates with the second multiplexer.

作為可選的實施例,該平台控制器透過該第一GPIO訊號選擇開啟該第一多路選擇器的選通訊號,以將該第一SPI訊號傳送至該第一BIOS晶片或該第二BIOS晶片,該基板管理控制器透過該第二GPIO訊號選擇開啟該第二多路選擇器的選通訊號,以將該第二SPI訊號傳送至該第一BIOS晶片或該第二BIOS晶片,並且該平台控制器透過該第一GPIO訊號選擇開啟該第一多路選擇器的選通訊號時,該基板管理控制器透過該第二GPIO訊號禁止選擇開啟該第二多路選擇器的選通訊號。 In an optional embodiment, the platform controller selects to enable the selection signal of the first multiplexer by using the first GPIO signal to transmit the first SPI signal to the first BIOS chip or the second BIOS. a chip, the substrate management controller selects, by using the second GPIO signal, to enable a selection communication number of the second multiplexer to transmit the second SPI signal to the first BIOS chip or the second BIOS chip, and the When the platform controller selects to enable the selection communication number of the first multiplexer through the first GPIO signal, the baseboard management controller prohibits selection of the selection communication number of the second multiplexer by using the second GPIO signal.

本發明的優點在於,能夠實現當伺服器系統從第一BIOS晶片和第二BIOS晶片其中之一BIOS晶片啟動失敗時,自動從另一BIOS晶片啟動。進一步地,能夠透過基板管理控制器同時更新啟動失敗的BIOS晶片的韌體,從而不影響伺服器系統的正常運行,以提高伺服器系統的安全性和可靠性。另外,透過基板管理控制器的GPIO引腳能夠進一步區分並控制第一BIOS晶片和第二BIOS晶片,以實現備份BIOS的功能。 An advantage of the present invention is that it can be automatically initiated from another BIOS chip when the server system fails to boot from one of the first BIOS chip and the second BIOS chip. Further, the firmware of the failed BIOS chip can be updated simultaneously through the substrate management controller, thereby not affecting the normal operation of the server system, thereby improving the security and reliability of the server system. In addition, the first BIOS chip and the second BIOS chip can be further distinguished and controlled by the GPIO pins of the substrate management controller to implement the function of the backup BIOS.

110、210‧‧‧平台控制器 110, 210‧‧‧ platform controller

120、220‧‧‧基板管理控制器 120, 220‧‧‧Base management controller

130、230‧‧‧第一多路選擇器 130, 230‧‧‧ first multiplexer

131、141‧‧‧第一組輸出引腳 131, 141‧‧‧ first set of output pins

132、142‧‧‧第二組輸出引腳 132, 142‧‧‧Second group of output pins

140、240‧‧‧第二多路選擇器 140, 240‧‧‧ second multiplexer

150、250‧‧‧第一BIOS晶片 150, 250‧‧‧ first BIOS chip

160、260‧‧‧第二BIOS晶片 160, 260‧‧‧ second BIOS chip

270‧‧‧反相器 270‧‧‧Inverter

為讓本發明的上述和其它目的、特徵、和優點能更明顯易懂,配合所附圖式,作詳細說明如下:第1圖顯示一種根據本發明之一較佳實施例的伺服器系統的功能方塊圖。 The above and other objects, features, and advantages of the present invention will become more apparent from the description of the accompanying drawings. Functional block diagram.

第2圖顯示一種根據本發明之另一較佳實施例的伺服器系統的功能方塊圖。 Figure 2 shows a functional block diagram of a server system in accordance with another preferred embodiment of the present invention.

下面結合圖式對本發明提供的伺服器系統的具體實施方式做詳細說明。 The specific implementation of the server system provided by the present invention will be described in detail below with reference to the drawings.

參見第1圖,其顯示一種根據本發明之一較佳實施例的伺服器系統的功能方塊圖,該伺服器系統包括一第一BIOS晶片150、一第二BIOS晶片160、一平台控制器110以及一基板管理控制器120。平台控制器110電性連接至一第一多路選擇器130,第一多路選擇器130分別電性連接至第一BIOS晶片150和第二BIOS晶片160。基板管理控制器120電性連接至一第二多路選擇器140,第二多路選擇器140分別電性連接至第一BIOS晶片150和第二BIOS晶片160。當伺服器系統從第一BIOS晶片150和第二BIOS晶片160其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動。詳細而言,當從第一BIOS晶片150啟動失敗時,則將自動從第二BIOS晶片160啟動。當從第二BIOS晶片160啟動失敗時,則將自動從第一BIOS晶片150啟動。相較於習知技術需手動切換,本發明能夠提供在兩個BIOS晶片之間進行自動切換的功能。進一步而言,當伺服器系統從第一BIOS晶片150和第二BIOS晶片160其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動伺服器系統,並且基板管理控制器120能夠同時更新啟動失敗的BIOS晶片的韌體(版本),而習知技術中未實現此功能。關於基板管理控制器120同時更新啟動失敗的BIOS晶片的韌體(版本)的過程將在下文中進一步加以說明。 Referring to FIG. 1, there is shown a functional block diagram of a server system including a first BIOS chip 150, a second BIOS chip 160, and a platform controller 110 in accordance with a preferred embodiment of the present invention. And a substrate management controller 120. The platform controller 110 is electrically connected to a first multiplexer 130. The first multiplexer 130 is electrically connected to the first BIOS chip 150 and the second BIOS chip 160, respectively. The substrate management controller 120 is electrically connected to a second multiplexer 140, and the second multiplexer 140 is electrically connected to the first BIOS chip 150 and the second BIOS chip 160, respectively. When the server system fails to boot from one of the first BIOS chip 150 and the second BIOS chip 160, it will automatically boot from another BIOS chip. In detail, when the boot failure from the first BIOS wafer 150 fails, it will automatically boot from the second BIOS wafer 160. When the boot failure from the second BIOS wafer 160 fails, it will automatically boot from the first BIOS wafer 150. The present invention is capable of providing automatic switching between two BIOS chips as compared to conventional techniques requiring manual switching. Further, when the server system fails to boot from one of the first BIOS chip 150 and the second BIOS chip 160, the server system will be automatically booted from another BIOS chip, and the substrate management controller 120 can be updated simultaneously. The firmware (version) of the failed BIOS chip is initiated, which is not implemented in the prior art. The process of simultaneously updating the firmware (version) of the BIOS chip that failed to boot the substrate management controller 120 will be further described below.

另外,伺服器系統透過基板管理控制器120的韌體中所包含 的BIOS晶片的韌體更新啟動失敗的BIOS晶片的韌體。在本實施例中,第一BIOS晶片150的韌體和第二BIOS晶片160的韌體包含在基板管理控制器120中,並且第一BIOS晶片150的韌體與第二BIOS晶片160的韌體為同一韌體,從而保證當從上述任一BIOS晶片啟動失敗時,能夠從另一BIOS晶片啟動伺服器系統,且不影響原有伺服器系統的運行,保證伺服器系統的可靠性。在基板管理控制器120能夠同時更新啟動失敗的BIOS晶片的韌體之前,伺服器系統接收一外部發出的更新指令,以對啟動失敗的第一BIOS晶片150或第二BIOS晶片160的韌體進行更新。在本實施例中,當基板管理控制器120的GPIO(General-purpose input/output,通用型輸入輸出)引腳電性連接至第二多路選擇器140時,在此配置情況下,可以透過一遠端客戶端或者一本地客戶端並採用基板管理控制器120的專用指令(例如IPMI指令)經由基板管理控制器120發送更新指令對啟動失敗的第一BIOS晶片150或第二BIOS晶片160的韌體進行更新。而在其他部分實施例中,當平台控制器110的GPIO引腳電性連接至第一多路選擇器130時,在此配置情況下,更新指令也可以透過平台控制器110對第一BIOS晶片150或第二BIOS晶片160的韌體進行更新。需注意的是,在本實施例中,更新指令是針對啟動失敗的第一BIOS晶片150或第二BIOS晶片160的韌體進行更新。同樣地,在其他部分實施例中,上述更新指令也適用於對正常的第一BIOS晶片150或第二BIOS晶片160的韌體更新。另外,上述兩種不同配置情況下,分別透過基板管理控制器120或透過平台控制器110對第一BIOS晶片150或第二BIOS晶片160的韌體更新的過程將在下文中進一步詳細說明。 In addition, the server system is included in the firmware of the baseboard management controller 120. The firmware update of the BIOS chip initiates the firmware of the failed BIOS chip. In this embodiment, the firmware of the first BIOS chip 150 and the firmware of the second BIOS chip 160 are included in the substrate management controller 120, and the firmware of the first BIOS chip 150 and the firmware of the second BIOS chip 160 are The same firmware ensures that when the boot failure of any of the above BIOS chips fails, the server system can be booted from another BIOS chip without affecting the operation of the original server system, thereby ensuring the reliability of the server system. Before the baseboard management controller 120 can simultaneously update the firmware of the failed BIOS chip, the server system receives an externally issued update command to perform firmware on the failed first BIOS chip 150 or the second BIOS chip 160. Update. In this embodiment, when the GPIO (General-purpose input/output) pin of the substrate management controller 120 is electrically connected to the second multiplexer 140, in this configuration, it can be transmitted. A remote client or a local client and a dedicated instruction (eg, an IPMI command) of the baseboard management controller 120 is used to send an update command to the first BIOS chip 150 or the second BIOS chip 160 that failed to be initiated via the baseboard management controller 120. The firmware is updated. In other embodiments, when the GPIO pin of the platform controller 110 is electrically connected to the first multiplexer 130, in this configuration, the update command may also pass through the platform controller 110 to the first BIOS chip. The firmware of 150 or the second BIOS chip 160 is updated. It should be noted that, in this embodiment, the update instruction is to update the firmware of the first BIOS chip 150 or the second BIOS chip 160 that failed to start. Similarly, in other embodiments, the update instructions are also applicable to firmware updates to the normal first BIOS chip 150 or the second BIOS chip 160. In addition, in the above two different configurations, the process of updating the firmware of the first BIOS chip 150 or the second BIOS chip 160 through the substrate management controller 120 or through the platform controller 110 respectively will be described in further detail below.

繼續參見第1圖,在本實施例中,平台控制器110電性連接至 基板管理控制器120以進行控制訊息的溝通。詳細而言,平台控制器110透過一LPC(Low Pin Count)通信鏈路電性連接至基板管理控制器120,以進行控制訊息的傳送。 Continuing to refer to FIG. 1 , in the embodiment, the platform controller 110 is electrically connected to The substrate management controller 120 performs communication of control messages. In detail, the platform controller 110 is electrically connected to the baseboard management controller 120 through an LPC (Low Pin Count) communication link to perform control message transmission.

平台控制器110包含至少一第一GPIO引腳,該至少一第一GPIO引腳電性連接至第一多路選擇器130的選擇引腳,基板管理控制器120包含至少一第二GPIO引腳,該至少一第二GPIO引腳電性連接至第二多路選擇器140的選擇引腳。進一步而言,第一多路選擇器130和第二多路選擇器140均包含多組輸出引腳(例如二組輸出引腳),且第一多路選擇器130和第二多路選擇器140的一選通訊號內定(default)為相反的訊號,即第一多路選擇器130的一選通訊號為有效訊號則第二多路選擇器140的一選通訊號為無效訊號,第一多路選擇器130的多組輸出引腳的第一組輸出引腳131被選中,第二多路選擇器140的多組輸出引腳的第二組輸出引腳142被選中。在該實施例中,進行如此的內定設置。當然,也可以進行相反的設置,即第一多路選擇器130的一選通訊號為無效訊號則第二多路選擇器140的一選通訊號為有效訊號,第一多路選擇器130的多組輸出引腳的第二組輸出引腳132被選中,第二多路選擇器140的多組輸出引腳的第一組輸出引腳141被選中。在此情況下,之後的其他邏輯也需隨之變化。 The platform controller 110 includes at least one first GPIO pin, the at least one first GPIO pin is electrically connected to the selection pin of the first multiplexer 130, and the substrate management controller 120 includes at least one second GPIO pin. The at least one second GPIO pin is electrically connected to the select pin of the second multiplexer 140. Further, the first multiplexer 130 and the second multiplexer 140 each include a plurality of sets of output pins (eg, two sets of output pins), and the first multiplexer 130 and the second multiplexer The default communication number of 140 is the opposite signal, that is, the selected communication number of the first multiplexer 130 is a valid signal, and the selected communication number of the second multiplexer 140 is an invalid signal, first The first set of output pins 131 of the plurality of sets of output pins of the multiplexer 130 are selected, and the second set of output pins 142 of the plurality of sets of output pins of the second multiplexer 140 are selected. In this embodiment, such a default setting is made. Certainly, the opposite setting may also be performed, that is, the selected communication number of the first multiplexer 130 is an invalid signal, and the selected communication number of the second multiplexer 140 is a valid signal, and the first multiplexer 130 is A second set of output pins 132 of the plurality of sets of output pins are selected, and a first set of output pins 141 of the plurality of sets of output pins of the second multiplexer 140 are selected. In this case, the other logic that follows will also need to change.

在本實施例中,平台控制器110透過一第一SPI訊號及至少一第一GPIO訊號與第一多路選擇器130溝通,基板管理控制器120透過一第二SPI訊號及至少一第二GPIO訊號與第二多路選擇器140溝通。需注意的是,在該配置中,平台控制器110和基板管理控制器120之間是透過LPC通信鏈路相連,以進行控制訊息的傳送。 In this embodiment, the platform controller 110 communicates with the first multiplexer 130 via a first SPI signal and at least one first GPIO signal, and the substrate management controller 120 transmits a second SPI signal and at least a second GPIO. The signal communicates with the second multiplexer 140. It should be noted that in this configuration, the platform controller 110 and the baseboard management controller 120 are connected through an LPC communication link for control message transmission.

進一步,平台控制器110透過該第一GPIO訊號選擇開啟第一多路選擇器130的選通訊號將該第一SPI訊號傳送至第一BIOS晶片150或第二BIOS晶片160,基板管理控制器120透過該第二GPIO訊號選擇開啟第二多路選擇器140的選擇訊號將該第二SPI訊號傳送至第一BIOS晶片150或第二BIOS晶片160,並且平台控制器110透過該第一GPIO訊號選擇開啟第一多路選擇器130的選通訊號時,基板管理控制器120透過該第二GPIO訊號禁止選擇開啟第二多路選擇器140的選通訊號。在該實施例中,平台控制器110的至少一第一GPIO引腳和基板管理控制器120的至少一第二GPIO引腳透過LPC的溝通,以對第一多路選擇器130和第二多路選擇器140進行非此即彼的選擇,從而實現對第一BIOS晶片150和第二BIOS晶片160非此即彼的選擇。更明確的說,當平台控制器110透過第一GPIO訊號選擇開啟第一多路選擇器130的選通訊號並接通第一BIOS晶片150,則基板管理控制器120根據非此即彼的選擇原則透過第二多路選擇器140接通第二BIOS晶片160;當平台控制器110透過第一GPIO訊號選擇開啟第一多路選擇器130的選通訊號並接通第二BIOS晶片160,則基板管理控制器120根據非此即彼的選擇原則透過第二多路選擇器140接通第一BIOS晶片150。 Further, the platform controller 110 transmits the first SPI signal to the first BIOS chip 150 or the second BIOS chip 160 by using the first GPIO signal to enable the selection communication number of the first multiplexer 130, and the substrate management controller 120 The second SPI signal is transmitted to the first BIOS chip 150 or the second BIOS chip 160 by the selection signal of the second multiplexer 140 being selected by the second GPIO signal, and the platform controller 110 selects the first GPIO signal through the first GPIO signal. When the selection communication number of the first multiplexer 130 is turned on, the substrate management controller 120 prohibits selection of the selection communication number of the second multiplexer 140 by the second GPIO signal. In this embodiment, at least one first GPIO pin of the platform controller 110 and at least one second GPIO pin of the substrate management controller 120 communicate through the LPC to the first multiplexer 130 and the second plurality. The way selector 140 makes an alternative selection to achieve an alternative to the first BIOS chip 150 and the second BIOS chip 160. More specifically, when the platform controller 110 selects to open the selected communication number of the first multiplexer 130 through the first GPIO signal and turns on the first BIOS chip 150, the substrate management controller 120 selects according to one or the other. The second BIOS chip 160 is turned on by the second multiplexer 140. When the platform controller 110 selects the selected multiplex number of the first multiplexer 130 and turns on the second BIOS chip 160 through the first GPIO signal, The substrate management controller 120 turns on the first BIOS chip 150 through the second multiplexer 140 according to the selection principle of either or both.

以一實施例為例,在內定正常狀態下,平台控制器110透過該第一SPI訊號及該至少一第一GPIO訊號與第一多路選擇器130溝通,基板管理控制器120透過該第二SPI訊號及該至少一第二GPIO訊號與第二多路選擇器140溝通。當第一BIOS晶片150進行開機自我檢測失敗時,平台控制器110發現第一BIOS晶片150啟動失敗,於是平台控制器110透過LPC通信鏈路傳送一控制訊息至基板管理控制器120。同時,平台控制器110根據(軟體) 預定設置發送第一GPIO訊號至第一多路選擇器130,第一多路選擇器130的選擇引腳接收到該第一GPIO訊號後,將其作為選通訊號,並且判斷該選通訊號是否為有效訊號,若為有效訊號,則第一多路選擇器130的第一組輸出引腳131被選中,若為無效訊號,則第一多路選擇器130的第二組輸出引腳132被選中。當判斷出該選通訊號為無效訊號時,則第一多路選擇器130的第二組輸出引腳132被選中,於是平台控制器110將該第一SPI訊號透過第一多路選擇器130的第二組輸出引腳132傳送至與第二組輸出引腳132電性相連的第二BIOS晶片160(當第一BIOS晶片150啟動正常時,平台控制器110透過該第一GPIO訊號選擇開啟第一多路選擇器130的選通訊號為有效訊號,第一多路選擇器130的第一組輸出引腳131被選中,平台控制器110將該第一SPI訊號透過第一多路選擇器130的第一組輸出引腳131傳送至與第一組輸出引腳131電性相連的第一BIOS晶片150)。由於基板管理控制器120接收到從平台控制器110傳送一控制訊息,因此基板管理控制器120會發送一重置命令,以使第二BIOS晶片160進行開機自我檢測來啟動伺服器系統。同時,基板管理控制器120發送該第二GPIO訊號至第二多路選擇器140。第二多路選擇器140的選擇引腳接收到該第二GPIO訊號後,將其作為選通訊號,並且判斷該選通訊號是否為有效訊號,若為有效訊號,則第二多路選擇器140的第一組輸出引腳141被選中,若為無效訊號,則第二多路選擇器140的第二組輸出引腳142被選中。當判斷出該選通訊號為有效訊號時,則第二多路選擇器140的第一組輸出引腳141被選中,基板管理控制器120將第二SPI訊號透過第二多路選擇器140的第一組輸出引腳141傳送至與第一組輸出引腳141電性相連的第一BIOS晶片150,並且基板管理控制器120更新第一 BIOS晶片150的韌體(當第一BIOS晶片150啟動正常時,基板管理控制器120發送該第二GPIO訊號至第二多路選擇器140。經判斷,透過該第二GPIO訊號選擇開啟第二多路選擇器140的選通訊號為無效訊號,第二多路選擇器140的第二組輸出引腳142被選中,基板管理控制器120將該第二SPI訊號透過第二多路選擇器140的第二組輸出引腳142傳送至與第二組輸出引腳142電性相連的第二BIOS晶片160)。另外,需注意的是,當平台控制器110透過第一GPIO訊號選擇開啟第一多路選擇器130的選通訊號時,基板管理控制器120透過第二GPIO訊號禁止選擇開啟第二多路選擇器140的選通訊號,從而實現平台控制器110和基板管理控制器120透過軟體的預設定來邏輯選擇第一BIOS晶片150或第二BIOS晶片160的目的,並且該選擇具有非此即彼的效果。 For example, in a normal state, the platform controller 110 communicates with the first multiplexer 130 through the first SPI signal and the at least one first GPIO signal, and the substrate management controller 120 transmits the second The SPI signal and the at least one second GPIO signal communicate with the second multiplexer 140. When the first BIOS chip 150 fails to perform the boot self-detection, the platform controller 110 finds that the first BIOS chip 150 fails to start, and the platform controller 110 transmits a control message to the baseboard management controller 120 through the LPC communication link. At the same time, the platform controller 110 is based on (software) The predetermined setting sends the first GPIO signal to the first multiplexer 130. After receiving the first GPIO signal, the selection pin of the first multiplexer 130 selects the first GPIO signal as the selected communication number, and determines whether the selected communication number is For the valid signal, if it is a valid signal, the first set of output pins 131 of the first multiplexer 130 is selected, and if it is an invalid signal, the second set of output pins 132 of the first multiplexer 130 is chosen. When it is determined that the selected communication number is an invalid signal, the second group of output pins 132 of the first multiplexer 130 is selected, and the platform controller 110 transmits the first SPI signal to the first multiplexer. The second set of output pins 132 of the 130 are transmitted to the second BIOS chip 160 electrically connected to the second set of output pins 132. When the first BIOS chip 150 is started normally, the platform controller 110 selects the first GPIO signal. Turning on the selected communication number of the first multiplexer 130 as a valid signal, the first group of output pins 131 of the first multiplexer 130 is selected, and the platform controller 110 transmits the first SPI signal through the first multiplexer The first set of output pins 131 of the selector 130 are passed to a first BIOS chip 150) that is electrically coupled to the first set of output pins 131. Since the baseboard management controller 120 receives a control message transmitted from the platform controller 110, the baseboard management controller 120 sends a reset command to cause the second BIOS chip 160 to perform boot self-detection to activate the server system. At the same time, the substrate management controller 120 sends the second GPIO signal to the second multiplexer 140. The selection pin of the second multiplexer 140 receives the second GPIO signal, uses it as the selection communication number, and determines whether the selected communication number is a valid signal. If it is a valid signal, the second multiplexer The first set of output pins 141 of 140 is selected, and if it is an invalid signal, the second set of output pins 142 of the second multiplexer 140 is selected. When it is determined that the selected communication number is a valid signal, the first group of output pins 141 of the second multiplexer 140 is selected, and the substrate management controller 120 transmits the second SPI signal to the second multiplexer 140. The first set of output pins 141 are transferred to the first BIOS chip 150 electrically connected to the first set of output pins 141, and the substrate management controller 120 updates the first The firmware of the BIOS chip 150 (when the first BIOS chip 150 is started normally, the substrate management controller 120 sends the second GPIO signal to the second multiplexer 140. It is determined that the second GPIO signal is selected to be turned on by the second GPIO signal. The selected communication number of the multiplexer 140 is an invalid signal, the second set of output pins 142 of the second multiplexer 140 is selected, and the substrate management controller 120 transmits the second SPI signal through the second multiplexer. The second set of output pins 142 of 140 is transferred to a second BIOS die 160) that is electrically coupled to the second set of output pins 142. In addition, when the platform controller 110 selects to enable the selection communication number of the first multiplexer 130 through the first GPIO signal, the substrate management controller 120 prohibits selection and enables the second multiplex selection through the second GPIO signal. Selecting the communication number of the device 140, thereby realizing the purpose of the platform controller 110 and the substrate management controller 120 to logically select the first BIOS chip 150 or the second BIOS chip 160 through software preset, and the selection has one or the other effect.

參見第2圖,在另一較佳實施例中,基板管理控制器220包含至少一第三GPIO引腳,該至少一第三GPIO引腳分別電性連接至第一多路選擇器230的選擇引腳和第二多路選擇器240的選擇引腳。其中,第一多路選擇器230和第二多路選擇器240均包含多組輸出引腳,例如為兩組輸出引腳,具體是第一多路選擇器230的第一組輸出引腳(如第2圖中標號230對應組件所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳,以下均同)和第二組輸出引腳(如第2圖中標號230對應組件所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳,以下均同);以及第二多路選擇器240的第一組輸出引腳(如第2圖中標號240對應組件所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳,以下均同)和第二組輸出引腳(如第2圖中標號240對應組件所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳,以下均同)。第一多路選擇器230和第 二多路選擇器240均採用74CBT3257型選擇器,多路選擇器的型號並非用以限定本發明。 Referring to FIG. 2, in another preferred embodiment, the substrate management controller 220 includes at least one third GPIO pin, and the at least one third GPIO pin is electrically connected to the first multiplexer 230. The pin and the select pin of the second multiplexer 240. The first multiplexer 230 and the second multiplexer 240 each include multiple sets of output pins, for example, two sets of output pins, specifically the first set of output pins of the first multiplexer 230 ( For example, reference numeral 230 in Figure 2 corresponds to the 1B1 pin, 2B1 pin, 3B1 pin, and 4B1 pin shown in the component, the following are the same) and the second group of output pins (such as the corresponding component 230 in Figure 2) The 1B2 pin, the 2B2 pin, the 3B2 pin, and the 4B2 pin are shown as follows; and the first set of output pins of the second multiplexer 240 (as indicated by the corresponding component of the reference numeral 240 in FIG. 2) 1B1 pin, 2B1 pin, 3B1 pin and 4B1 pin, the following are the same) and the second group of output pins (such as the 1B2 pin, 2B2 pin, 3B2 shown in the corresponding component of the reference numeral 240 in Fig. 2) Pin and 4B2 pin, the same applies below). First multiplexer 230 and The two-way selector 240 uses a 74CBT3257 type selector, and the model of the multiplexer is not intended to limit the present invention.

在該較佳實施例中,該至少一第三GPIO引腳包含一第四GPIO引腳,該第四GPIO引腳透過一反相器270電性連接至第一多路選擇器230的選擇引腳,以及該第四GPIO引腳電性連接至第二多路選擇器240的選擇引腳。當然,在其他實施例中,該至少一第三GPIO引腳也可以包括一第五GPIO引腳和一第六GPIO引腳;該第五GPIO引腳電性連接至第一多路選擇器230的選擇引腳,以及該第六GPIO引腳電性連接至第二多路選擇器240的選擇引腳。若採用該較佳實施例中的GPIO引腳和反相器270的配置方式,僅需一GPIO引腳,從而可以能夠節省GPIO引腳。反相器270為一種常見的反相器,在此不再詳述其結構和功能。在內定的狀態下,平台控制器210透過第一多路選擇器230的第一組輸出引腳(如第2圖中所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳)與第一BIOS晶片250接通,從而透過第一BIOS晶片250啟動伺服器系統。 In the preferred embodiment, the at least one third GPIO pin includes a fourth GPIO pin, and the fourth GPIO pin is electrically connected to the first multiplexer 230 through an inverter 270. The pin, and the fourth GPIO pin are electrically connected to the select pin of the second multiplexer 240. In other embodiments, the at least one third GPIO pin may also include a fifth GPIO pin and a sixth GPIO pin; the fifth GPIO pin is electrically connected to the first multiplexer 230. The select pin, and the sixth GPIO pin are electrically connected to the select pin of the second multiplexer 240. If the GPIO pin and the inverter 270 are configured in the preferred embodiment, only one GPIO pin is needed, thereby saving GPIO pins. Inverter 270 is a common inverter and its structure and function will not be described in detail herein. In the default state, the platform controller 210 transmits the first set of output pins of the first multiplexer 230 (such as the 1B1 pin, the 2B1 pin, the 3B1 pin, and the 4B1 pin shown in FIG. 2). The first BIOS chip 250 is turned on to activate the server system through the first BIOS chip 250.

當基板管理控制器220監測到第一BIOS晶片250啟動失敗,則基板管理控制器220自動發送一控制命令至第一多路選擇器230,平台控制器210透過第一多路選擇器230的第二組輸出引腳(如第2圖中所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳)與第二BIOS晶片260接通,基板管理控制器220發送一重置命令,以使第二BIOS晶片260進行開機自我檢測來啟動伺服器系統,從而實現當伺服器系統從第一BIOS晶片250和第二BIOS晶片260其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動的目的。更進一步,由於第一多路選擇器230和第二多路選擇器240是相互獨立, 因此能夠透過基板管理控制器220同時更新啟動失敗的BIOS晶片的韌體,從而不影響伺服器系統的正常運行,以提高伺服器系統的安全性和可靠性。 When the substrate management controller 220 detects that the first BIOS wafer 250 fails to start, the substrate management controller 220 automatically sends a control command to the first multiplexer 230, and the platform controller 210 transmits the first multiplexer 230. Two sets of output pins (such as the 1B2 pin, the 2B2 pin, the 3B2 pin, and the 4B2 pin shown in FIG. 2) are connected to the second BIOS chip 260, and the substrate management controller 220 sends a reset command. In order for the second BIOS chip 260 to perform boot self-detection to activate the server system, when the server system fails to boot from one of the first BIOS chip 250 and the second BIOS chip 260, the BIOS will automatically boot from another BIOS. The purpose of wafer startup. Further, since the first multiplexer 230 and the second multiplexer 240 are independent of each other, Therefore, the firmware of the failed BIOS chip can be simultaneously updated through the substrate management controller 220, thereby not affecting the normal operation of the server system, thereby improving the security and reliability of the server system.

詳細而言,由於平台控制器210和基板管理控制器220之間透過LPC通信鏈路進行溝通以獲得控制訊息,當第一BIOS晶片250啟動正常時,平台控制器210發送一控制消息至基板管理控制器220。當第一BIOS晶片250進行開機自我檢測失敗時,原本與第一BIOS晶片250接通的平台控制器210發現第一BIOS晶片250啟動失敗,則平台控制器210傳送該控制訊息至基板管理控制器220,基板管理控制器220監測到第一BIOS晶片250啟動失敗,則自動發送一控制指令至第一多路選擇器230。當基板管理控制器220發送該控制命令至第一多路選擇器230時,該控制命令為一高電位訊號切換至一低電位訊號(即指第一多路選擇器230的選擇引腳接收到的電位訊號從高電位切換至低電位,第二多路選擇器240的選擇引腳接收到的電位訊號從低電位切換至高電位)。需注意的是,在本較佳實施例中,第一多路選擇器230的選擇引腳和第二多路選擇器240的選擇引腳內定高電位有效,並且在高電位有效時選擇第一組輸出引腳(如第2圖中所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳),而在低電位時選擇第二組輸出引腳(如第2圖中所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳)。於是,在基板管理控制器220發送該控制命令至第一多路選擇器230之後,平台控制器210透過第一多路選擇器230的第二組輸出引腳(如第2圖中所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳)與第二BIOS晶片260接通,基板管理控制器220控制器發送一重置命令,以使第二BIOS晶片260進行開機自我檢測來啟動伺服器系統。同時,基板管理控制器220透過第二多路選擇器240的第一組輸出引腳 (如第2圖中所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳)與第一BIOS晶片250接通,並且基板管理控制器220更新第一BIOS晶片250的韌體(版本)。其中,可以透過基板管理控制器220並且採用遠端或本地的方式來執行基板管理控制器220的專用命令(例如IPMI指令),以對第一BIOS晶片250的韌體進行更新。 In detail, since the platform controller 210 and the baseboard management controller 220 communicate through the LPC communication link to obtain control information, when the first BIOS chip 250 starts up normally, the platform controller 210 sends a control message to the baseboard management. Controller 220. When the first BIOS chip 250 fails to perform the boot self-detection, the platform controller 210 that is originally connected to the first BIOS chip 250 finds that the first BIOS wafer 250 fails to start, and the platform controller 210 transmits the control message to the baseboard management controller. 220. The baseboard management controller 220 detects that the first BIOS chip 250 fails to start, and automatically sends a control command to the first multiplexer 230. When the substrate management controller 220 sends the control command to the first multiplexer 230, the control command switches a high potential signal to a low potential signal (ie, the selection pin of the first multiplexer 230 receives the The potential signal is switched from a high level to a low level, and the potential signal received by the selection pin of the second multiplexer 240 is switched from a low level to a high level). It should be noted that in the preferred embodiment, the selection pin of the first multiplexer 230 and the selection pin of the second multiplexer 240 have a constant high potential, and the first selection is performed when the high potential is active. Group output pins (such as 1B1 pin, 2B1 pin, 3B1 pin, and 4B1 pin shown in Figure 2), and select the second set of output pins at low potential (as shown in Figure 2) 1B2 pin, 2B2 pin, 3B2 pin, and 4B2 pin). Then, after the substrate management controller 220 sends the control command to the first multiplexer 230, the platform controller 210 transmits the second set of output pins of the first multiplexer 230 (as shown in FIG. 2). The 1B2 pin, the 2B2 pin, the 3B2 pin and the 4B2 pin are connected to the second BIOS chip 260, and the substrate management controller 220 controller sends a reset command to enable the second BIOS chip 260 to perform boot self-detection. Start the server system. At the same time, the substrate management controller 220 transmits the first set of output pins of the second multiplexer 240. (1B1 pin, 2B1 pin, 3B1 pin, and 4B1 pin as shown in FIG. 2) are connected to the first BIOS chip 250, and the substrate management controller 220 updates the firmware of the first BIOS chip 250 ( version). The firmware of the first BIOS chip 250 may be updated by the substrate management controller 220 and by a remote or local manner to execute a dedicated command (eg, an IPMI command) of the baseboard management controller 220.

另外,基板管理控制器220包含一暫存單元(未圖示),該暫存單元用以儲存第一BIOS晶片250或第二BIOS晶片260進行開機自我檢測失敗(或稱啟動失敗)的記錄訊息,以便能夠判定第一BIOS晶片250和第二BIOS晶片260中的哪一個BIOS晶片開機自我檢測失敗或自身存有缺陷,以便透過基板管理控制器220所包含的韌體更新至啟動失敗的BIOS晶片的韌體,進而提升維護效率。 In addition, the baseboard management controller 220 includes a temporary storage unit (not shown) for storing the first BIOS chip 250 or the second BIOS chip 260 to perform a boot self-detection failure (or startup failure) record message. In order to be able to determine which of the first BIOS chip 250 and the second BIOS chip 260 has failed to boot self-test or has a defect in itself, so as to be updated to the failed BIOS chip through the firmware included in the substrate management controller 220. The firmware improves maintenance efficiency.

在上述較佳實施例中,僅以第一BIOS晶片250開機自我檢測失敗為例,用於說明當第一BIOS晶片250開機自我檢測失敗而無法啟動伺服器系統時,將會自動從第一BIOS晶片250切換至第二BIOS晶片260,並且透過第二BIOS晶片260以啟動伺服器系統以及同時更新第一BIOS晶片250韌體的過程。 In the above preferred embodiment, only the failure of the first BIOS chip 250 to boot self-test is taken as an example to illustrate that when the first BIOS chip 250 fails to boot self-test and fails to start the server system, it will automatically be from the first BIOS. The wafer 250 switches to the second BIOS wafer 260 and passes through the second BIOS wafer 260 to initiate the server system and simultaneously update the firmware of the first BIOS wafer 250.

當然,在本發明之另一實施例中,可參考第2圖所示,該實施例的結構與第2圖所示較佳實施例的結構相同,而兩者的多路選擇器(第一多路選擇器230和第二多路選擇器240)的選擇引腳內定有效的設定以及在有效時選擇相應輸出引腳的設定是不同的。在該實施例中,內定狀態是平台控制器210透過第一多路選擇器230的第二組輸出引腳(如第2圖中所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳)與第二BIOS晶片260接通,若 第二BIOS晶片260開機自我檢測失敗,則原本與第二BIOS晶片260接通的平台控制器210發現第二BIOS晶片260啟動失敗時,平台控制器210傳送一控制訊息至基板管理控制器220,基板管理控制器220監測到第二BIOS晶片260啟動失敗,則自動發送一控制指令至第一多路選擇器230。當基板管理控制器220發送該控制命令至第一多路選擇器230時,該控制命令為一低電位訊號切換至一高電位訊號(即指第一多路選擇器230的選擇引腳接收到的電位訊號從低電位切換至高電位,第二多路選擇器240的選擇引腳接收到的電位訊號從高電位切換至低電位)。需注意的是,在該實施例中,第一多路選擇器230的選擇引腳和第二多路選擇器240的選擇引腳內定低電位有效,並且在低電位有效時選擇第二組輸出引腳(如第2圖中所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳),而在高電位時選擇第一組輸出引腳(如第2圖中所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳)。於是,在基板管理控制器220自動發送該控制命令至第一多路選擇器230之後,平台控制器210透過第一多路選擇器230的第一組輸出引腳(如第2圖中所示的1B1引腳、2B1引腳、3B1引腳和4B1引腳)與第一BIOS晶片250接通,基板管理控制器220控制器發送一重置命令,以使第一BIOS晶片250進行開機自我檢測來啟動伺服器系統。在基板管理控制器220發送該控制命令至第一多路選擇器230之後,基板管理控制器220透過第二多路選擇器240的第二組輸出引腳(如第2圖中所示的1B2引腳、2B2引腳、3B2引腳和4B2引腳)與第二BIOS晶片260接通,並且基板管理控制器220更新第二BIOS晶片260的韌體(版本)。 Of course, in another embodiment of the present invention, reference may be made to FIG. 2, the structure of the embodiment is the same as that of the preferred embodiment shown in FIG. 2, and the multiplexers of the two (first The selection of the select pin of the multiplexer 230 and the second multiplexer 240) and the setting of the corresponding output pin when active are different. In this embodiment, the default state is that the platform controller 210 transmits the second set of output pins of the first multiplexer 230 (such as the 1B2 pin, the 2B2 pin, the 3B2 pin, and the 4B2 shown in FIG. 2). Pin) is connected to the second BIOS chip 260, if When the second BIOS chip 260 fails to boot self-test, the platform controller 210, which is originally connected to the second BIOS chip 260, finds that the second BIOS chip 260 fails to start, the platform controller 210 transmits a control message to the substrate management controller 220. When the substrate management controller 220 detects that the second BIOS chip 260 fails to start, it automatically sends a control command to the first multiplexer 230. When the substrate management controller 220 sends the control command to the first multiplexer 230, the control command switches a low potential signal to a high potential signal (ie, the selection pin of the first multiplexer 230 receives the The potential signal is switched from a low level to a high level, and the potential signal received by the selection pin of the second multiplexer 240 is switched from a high level to a low level). It should be noted that, in this embodiment, the select pin of the first multiplexer 230 and the select pin of the second multiplexer 240 are internally asserted low, and the second set of outputs is selected when the low potential is active. Pins (such as 1B2 pin, 2B2 pin, 3B2 pin, and 4B2 pin shown in Figure 2), and select the first set of output pins at high potential (such as 1B1 shown in Figure 2) Pin, 2B1 pin, 3B1 pin, and 4B1 pin). Then, after the substrate management controller 220 automatically sends the control command to the first multiplexer 230, the platform controller 210 transmits the first set of output pins of the first multiplexer 230 (as shown in FIG. 2). The 1B1 pin, the 2B1 pin, the 3B1 pin, and the 4B1 pin are connected to the first BIOS chip 250, and the substrate management controller 220 controller sends a reset command to enable the first BIOS chip 250 to perform boot self-detection. To start the server system. After the baseboard management controller 220 sends the control command to the first multiplexer 230, the baseboard management controller 220 transmits the second set of output pins of the second multiplexer 240 (as shown in FIG. 2BB). The pins, 2B2 pins, 3B2 pins, and 4B2 pins are turned on with the second BIOS chip 260, and the substrate management controller 220 updates the firmware (version) of the second BIOS chip 260.

上文中多路選擇器的選擇引腳內定有效的設定以及在有效時選擇相應輸出引腳的設定可以根據實際情況而設定,並非用以限定本發 明,只要保證透過GPIO引腳和多路選擇器的選擇引腳的配合使用,以實現平台控制器210或與第一BIOS晶片250接通,或與第二BIOS晶片260接通,同時基板管理控制器220相應地或與第二BIOS晶片260接通,或與第一BIOS晶片250接通的目的,其可視為一種非此即彼的效果。 In the above, the setting of the multiplexer's selection pin is valid and the setting of the corresponding output pin when it is valid can be set according to the actual situation, not to limit the hair. Therefore, as long as the use of the GPIO pin and the selection pin of the multiplexer is ensured, the platform controller 210 is either connected to the first BIOS chip 250 or connected to the second BIOS chip 260, and the substrate management is performed. The controller 220 can be viewed as a one-or-one effect, either for the purpose of being connected to the second BIOS chip 260 or for the first BIOS chip 250.

需注意的是,上述較佳實施例與之前的一個實施例相比,本較佳實施例是透過基板管理控制器220的單個GPIO引腳(配合一反相器270)對多路選擇器實現非此即彼的效果,而之前的實施例是平台控制器210和基板管理控制器220的各自GPIO引腳透過LPC通信鏈路,以達到非此即彼的效果。 It should be noted that the preferred embodiment is compared to the previous embodiment. The preferred embodiment implements the multiplexer through a single GPIO pin of the substrate management controller 220 (in conjunction with an inverter 270). Either or the other, the previous embodiment is that the respective GPIO pins of the platform controller 210 and the baseboard management controller 220 pass through the LPC communication link to achieve an effect of either or both.

另外,需注意的是,第2圖中的CS0#表示晶片選擇訊號;MOSI表示串行資料輸入;MISO表示串行資料輸出;CLK表示時脈訊號;VCC表示接入電壓的電壓;GND表示接地;S表示選擇引腳;OE_N表示致能引腳。 In addition, it should be noted that CS0# in FIG. 2 represents the chip selection signal; MOSI represents the serial data input; MISO represents the serial data output; CLK represents the clock signal; VCC represents the voltage of the access voltage; GND represents the ground. ;S indicates the select pin; OE_N indicates the enable pin.

雖然本發明已用較佳實施例揭露如上,然其並非用以限定本發明,本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the invention has been described above in terms of the preferred embodiments, the invention is not intended to limit the invention, and the invention may be practiced without departing from the spirit and scope of the invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims.

110‧‧‧平台控制器 110‧‧‧ platform controller

120‧‧‧基板管理控制器 120‧‧‧Baseboard management controller

130‧‧‧第一多路選擇器 130‧‧‧First Multiplexer

131‧‧‧第一組輸出引腳 131‧‧‧First set of output pins

132‧‧‧第二組輸出引腳 132‧‧‧Second group of output pins

140‧‧‧第二多路選擇器 140‧‧‧Second multiplexer

141‧‧‧第一組輸出引腳 141‧‧‧First set of output pins

142‧‧‧第二組輸出引腳 142‧‧‧Second set of output pins

150‧‧‧第一BIOS晶片 150‧‧‧First BIOS chip

160‧‧‧第二BIOS晶片 160‧‧‧Second BIOS chip

Claims (18)

一種伺服器系統,包括:一第一BIOS晶片;一第二BIOS晶片;一平台控制器,電性連接至一第一多路選擇器,該第一多路選擇器分別電性連接至該第一BIOS晶片和該第二BIOS晶片;以及一基板管理控制器,與該平台控制器電性連接,該基板管理控制器電性連接至一第二多路選擇器,該第二多路選擇器分別電性連接至該第一BIOS晶片和該第二BIOS晶片,其中該基板管理控制器包含至少一第三GPIO引腳,該至少一第三GPIO引腳分別電性連接至該第一多路選擇器的選擇引腳和該第二多路選擇器的選擇引腳。 A server system includes: a first BIOS chip; a second BIOS chip; a platform controller electrically connected to a first multiplexer, wherein the first multiplexer is electrically connected to the first a BIOS chip and the second BIOS chip; and a substrate management controller electrically connected to the platform controller, the substrate management controller is electrically connected to a second multiplexer, the second multiplexer Electrically connecting to the first BIOS chip and the second BIOS chip, wherein the substrate management controller includes at least one third GPIO pin, and the at least one third GPIO pin is electrically connected to the first multi-channel The selector pin of the selector and the select pin of the second multiplexer. 如申請專利範圍第1項所述之伺服器系統,其中當該伺服器系統從該第一BIOS晶片和該第二BIOS晶片其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動。 The server system of claim 1, wherein the server system automatically boots from another BIOS chip when the server system fails to boot from one of the first BIOS chip and the second BIOS chip. 如申請專利範圍第2項所述之伺服器系統,其中當該伺服器系統從該第一BIOS晶片和該第二BIOS晶片其中之一BIOS晶片啟動失敗時,將自動從另一BIOS晶片啟動,且該基板管理控制器同時更新啟動失敗的BIOS晶片的韌體。 The server system of claim 2, wherein when the server system fails to boot from one of the first BIOS chip and the second BIOS chip, the BIOS system automatically starts from another BIOS chip. And the baseboard management controller simultaneously updates the firmware of the failed BIOS chip. 如申請專利範圍第3項所述之伺服器系統,其中該伺服器系統透過該基板管理控制器所包含的BIOS晶片的韌體更新啟動失敗的BIOS晶片的韌體。 The server system of claim 3, wherein the server system updates the firmware of the failed BIOS chip through the firmware of the BIOS chip included in the baseboard management controller. 如申請專利範圍第1項所述之伺服器系統,其中該伺服器系統接收一外部的更新指令對該第一BIOS晶片或該第二BIOS晶片的韌體進行更新。 The server system of claim 1, wherein the server system receives an external update command to update the firmware of the first BIOS chip or the second BIOS chip. 如申請專利範圍第1項所述之伺服器系統,其中該第一多路選擇器和該第二多路選擇器均包含多組輸出引腳。 The server system of claim 1, wherein the first multiplexer and the second multiplexer each comprise a plurality of sets of output pins. 如申請專利範圍第1項所述之伺服器系統,其中該至少一第三GPIO引腳包含一第四GPIO引腳;該第四GPIO引腳透過一反相器電性連接至該第一多路選擇器的選擇引腳,以及該第四GPIO引腳電性連接至該第二多路選擇器的選擇引腳。 The server system of claim 1, wherein the at least one third GPIO pin comprises a fourth GPIO pin; the fourth GPIO pin is electrically connected to the first plurality through an inverter A select pin of the path selector, and the fourth GPIO pin is electrically connected to the select pin of the second multiplexer. 如申請專利範圍第1項所述之伺服器系統,其中該至少一第三GPIO引腳包含一第五GPIO引腳和一第六GPIO引腳;該第五GPIO引腳電性連接至該第一多路選擇器的選擇引腳,以及該第六GPIO引腳電性連接至該第二多路選擇器的選擇引腳。 The server system of claim 1, wherein the at least one third GPIO pin comprises a fifth GPIO pin and a sixth GPIO pin; the fifth GPIO pin is electrically connected to the first A select selector pin of the multiplexer, and the sixth GPIO pin is electrically coupled to the select pin of the second multiplexer. 如申請專利範圍第6項所述之伺服器系統,其中在內定狀態下,該平台控制器透過該第一多路選擇器的第一組輸出引腳與該第一BIOS晶片接通,從而透過該第一BIOS晶片啟動該伺服器系統。 The server system of claim 6, wherein the platform controller is connected to the first BIOS chip through the first set of output pins of the first multiplexer in a predetermined state, thereby transmitting The first BIOS chip activates the server system. 如申請專利範圍第9項所述之伺服器系統,其中當該基板管理控制器監測到該第一BIOS晶片開機自我檢測失敗,則該基板管理控制器自動發送一控制命令至該第一多路選擇器,該平台控制器透過該第一多路選擇器的第二組輸出引腳與該第二BIOS晶片接通,該基板管理控制器發送一重置命令,以使該第二BIOS晶片進行開機自動檢測來啟動該伺服器系統。 The server system of claim 9, wherein the substrate management controller automatically sends a control command to the first multi-channel when the base management controller detects that the first BIOS chip fails to self-detect. a selector, the platform controller is coupled to the second BIOS chip via a second set of output pins of the first multiplexer, the substrate management controller transmitting a reset command to cause the second BIOS to perform Boot the automatic detection to start the server system. 如申請專利範圍第10項所述之伺服器系統,其中在該基板管理控 制器發送該控制命令至該第一多路選擇器之後,該基板管理控制器透過第二多路選擇器的第一組輸出引腳與該第一BIOS晶片接通,並且該基板管理控制器更新該第一BIOS晶片的韌體。 The server system as described in claim 10, wherein the substrate management control After the controller sends the control command to the first multiplexer, the baseboard management controller is connected to the first BIOS chip through the first set of output pins of the second multiplexer, and the baseboard management controller The firmware of the first BIOS chip is updated. 如申請專利範圍第11項所述之伺服器系統,其中當該基板管理控制器發送該控制命令至該第一多路選擇器時,該控制命令為一高電位訊號切換至一低電位訊號。 The server system of claim 11, wherein when the substrate management controller sends the control command to the first multiplexer, the control command switches a high potential signal to a low potential signal. 如申請專利範圍第11項所述之伺服器系統,其中採用遠端通訊方式或本地方式來執行該基板管理控制器的命令,以對該第一BIOS晶片的韌體進行更新。 The server system of claim 11, wherein the command of the baseboard management controller is executed by using a remote communication mode or a local mode to update the firmware of the first BIOS chip. 如申請專利範圍第1項所述之伺服器系統,其中該平台控制器電性連接至該基板管理控制器,以進行控制訊息的溝通。 The server system of claim 1, wherein the platform controller is electrically connected to the baseboard management controller for communication of control messages. 如申請專利範圍第14項所述之伺服器系統,其中該平台控制器包含至少一第一GPIO引腳,該至少一第一GPIO引腳電性連接至該第一多路選擇器的選擇引腳,該基板管理控制器包含至少一第二GPIO引腳,該至少一第二GPIO引腳電性連接至該第二多路選擇器的選擇引腳。 The server system of claim 14, wherein the platform controller includes at least one first GPIO pin, and the at least one first GPIO pin is electrically connected to the selection of the first multiplexer. And the substrate management controller includes at least one second GPIO pin electrically connected to the selection pin of the second multiplexer. 如申請專利範圍第15項所述之伺服器系統,其中該第一多路選擇器和第二多路選擇器均包含多組輸出引腳,且該第一多路選擇器和該第二多路選擇器的一選通訊號內定為有效訊號,多組輸出引腳的第一組輸出引腳被選中。 The server system of claim 15, wherein the first multiplexer and the second multiplexer each comprise a plurality of sets of output pins, and the first multiplexer and the second plurality The selection signal of the path selector is internally determined to be a valid signal, and the first group of output pins of the plurality of sets of output pins are selected. 如申請專利範圍第16項所述之伺服器系統,其中該平台控制器透過一第一SPI訊號及至少一第一GPIO訊號與該第一多路選擇器溝通,該基板管理控制器透過一第二SPI訊號及至少一第二GPIO訊號與該第二多路選 擇器溝通。 The server system of claim 16, wherein the platform controller communicates with the first multiplexer via a first SPI signal and at least a first GPIO signal, and the substrate management controller transmits a first Two SPI signals and at least one second GPIO signal and the second multiple channel selection Communicate with the device. 如申請專利範圍第17項所述之伺服器系統,其中該平台控制器透過該第一GPIO訊號選擇開啟該第一多路選擇器的選通訊號,以將該第一SPI訊號傳送至該第一BIOS晶片或該第二BIOS晶片,該基板管理控制器透過該第二GPIO訊號選擇開啟該第二多路選擇器的選通訊號,以將該第二SPI訊號傳送至該第一BIOS晶片或該第二BIOS晶片,並且該平台控制器透過該第一GPIO訊號選擇開啟該第一多路選擇器的選通訊號時,該基板管理控制器透過該第二GPIO訊號禁止選擇開啟該第二多路選擇器的選通訊號。 The server system of claim 17, wherein the platform controller selects to enable the selection signal of the first multiplexer through the first GPIO signal to transmit the first SPI signal to the first a BIOS chip or the second BIOS chip, the substrate management controller selects to enable the selection signal of the second multiplexer through the second GPIO signal to transmit the second SPI signal to the first BIOS chip or The second BIOS chip, and the platform controller selects to enable the selection message of the first multiplexer by using the first GPIO signal, the substrate management controller prohibits the selection of the second plurality by using the second GPIO signal The routing number of the road selector.
TW103142375A 2014-12-05 2014-12-05 Server system TWI528287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103142375A TWI528287B (en) 2014-12-05 2014-12-05 Server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103142375A TWI528287B (en) 2014-12-05 2014-12-05 Server system

Publications (2)

Publication Number Publication Date
TWI528287B true TWI528287B (en) 2016-04-01
TW201621644A TW201621644A (en) 2016-06-16

Family

ID=56361381

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103142375A TWI528287B (en) 2014-12-05 2014-12-05 Server system

Country Status (1)

Country Link
TW (1) TWI528287B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741921A (en) * 2021-06-11 2021-12-03 深圳市同泰怡信息技术有限公司 Method and device for automatically upgrading double BIOS firmware
TWI768769B (en) * 2021-03-16 2022-06-21 英業達股份有限公司 Server motherboard for single-processor system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI644220B (en) * 2017-10-18 2018-12-11 神雲科技股份有限公司 Server for automatically determining whether to start remote control function and automatic start control method thereof
CN108089898A (en) * 2018-01-16 2018-05-29 郑州云海信息技术有限公司 The method, apparatus and system of a kind of upgrading BIOS

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI768769B (en) * 2021-03-16 2022-06-21 英業達股份有限公司 Server motherboard for single-processor system
CN113741921A (en) * 2021-06-11 2021-12-03 深圳市同泰怡信息技术有限公司 Method and device for automatically upgrading double BIOS firmware

Also Published As

Publication number Publication date
TW201621644A (en) 2016-06-16

Similar Documents

Publication Publication Date Title
US9710334B2 (en) Automatic restart server system
US9600370B2 (en) Server system
US8417774B2 (en) Apparatus, system, and method for a reconfigurable baseboard management controller
US9594910B2 (en) In-system provisioning of firmware for a hardware platform
US8386764B2 (en) BIOS architecture
US9846616B2 (en) Boot recovery system
JP4448878B2 (en) How to set up a disaster recovery environment
TWI724415B (en) A multi-node storage system and method for updating firmware thereof
US10409617B2 (en) BIOS switching device
TWI528287B (en) Server system
US10909247B2 (en) Computing device having two trusted platform modules
JP2021009683A (en) Method and system for remote selection of boot device
TW202030602A (en) The method and system of bios recovery and update
WO2014169727A1 (en) Interface expanding circuit, interface expanding connecting method, and embedded system
TWI739127B (en) Method, system, and server for providing the system data
JP6175788B2 (en) Electronic devices that can update microprograms
TWI666556B (en) Electronic device and operating method thereof
TWI528286B (en) Server system
TWI750215B (en) Bios switching device
JP2002027027A (en) Computer system, computer managing system and system managing method
TW201629757A (en) Control module of server node and firmware updating method for the control module
TWI685748B (en) Hdd control system
TWI530800B (en) Server and method for inquiring deployment status of server
TWI774464B (en) Expanded availability computing system
TWI497283B (en) Supervisory control apparatus