TWI822242B - Basic input output system setting method and server equipment - Google Patents
Basic input output system setting method and server equipment Download PDFInfo
- Publication number
- TWI822242B TWI822242B TW111130389A TW111130389A TWI822242B TW I822242 B TWI822242 B TW I822242B TW 111130389 A TW111130389 A TW 111130389A TW 111130389 A TW111130389 A TW 111130389A TW I822242 B TWI822242 B TW I822242B
- Authority
- TW
- Taiwan
- Prior art keywords
- configuration
- chip module
- configuration file
- volatile memory
- user
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000012360 testing method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
- Stored Programmes (AREA)
Abstract
Description
本發明是有關於一種開機初始化設定技術,特別是指一種基本輸入輸出系統設定方法。The present invention relates to a boot initialization setting technology, and in particular, to a basic input and output system setting method.
現行的伺服器執行基本輸入輸出系統(以下簡稱BIOS)開機初始設定時,若遇到電池沒電或其他發生設定作為每次開機使用的組態檔遺失的狀況會先載入原廠標準組態檔(manufacture default),不會在上電自檢(Power On Self Test,以下簡稱POST)畫面出現提示,使用者可以直接進到BIOS設定介面(以下簡稱setup),所導致的缺點是:如果客戶不想用原本的原廠標準組態檔,而需要依據不同使用目的調整BIOS初始化硬體時的組態檔各種設定參數,需要進到BIOS設定介面進行設定,造成使用者的不便及時間的浪費。現行的改善方式有透過網路與基板管理器(以下簡稱BMC)溝通,透過BMC來更新組態檔來達成修改BIOS設定的目的,但其都需透過BMC或網路,導致是當BMC或網路有問題時,仍然需要分別針對每一伺服器進到setup調整BIOS設定的狀況,所產生的缺點是更新BIOS必須耗費更多工時與人力,因此如何能提高處理效率來改善是目前研究方向。When the current server performs the initial startup settings of the Basic Input Output System (hereinafter referred to as BIOS), if the battery is out of power or the configuration file used for each startup is lost, the original factory standard configuration will be loaded first. file (manufacture default), no prompt will appear on the Power On Self Test (hereinafter referred to as POST) screen, and the user can directly enter the BIOS setup interface (hereinafter referred to as setup). The resulting disadvantage is: If the customer If you do not want to use the original factory standard configuration file, but need to adjust the various setting parameters of the BIOS configuration file when initializing the hardware according to different purposes, you need to enter the BIOS setup interface to make settings, causing inconvenience to the user and a waste of time. The current improvement method is to communicate with the baseboard manager (hereinafter referred to as BMC) through the network, and update the configuration file through the BMC to achieve the purpose of modifying the BIOS settings. However, they all need to go through the BMC or the network, causing the problem when the BMC or network When there is a problem with the network, you still need to enter the setup to adjust the BIOS settings for each server. The disadvantage is that updating the BIOS requires more man-hours and manpower. Therefore, how to improve the processing efficiency is the current research direction. .
因此,本發明的一目的,即在提供一種能夠克服先前技術缺點的基本輸入輸出系統設定方法。Therefore, an object of the present invention is to provide a basic input and output system setting method that can overcome the shortcomings of the prior art.
於是,基本輸入輸出系統設定方法,由一伺服設備執行,該伺服設備包括一晶片模組、一記憶模組,其中,該記憶模組用以儲存至少一組態位元、多種用戶組態檔、一原廠預設組態檔,且包含:Therefore, the basic input and output system setting method is executed by a servo device. The servo device includes a chip module and a memory module. The memory module is used to store at least one configuration bit and multiple user configuration files. , an original factory default configuration file, and includes:
(A)當該伺服設備處於一上電模式且該晶片模組偵測到無法讀取一第一BIOS組態檔時,該晶片模組讀取該組態位元。(A) When the server device is in a power-on mode and the chip module detects that a first BIOS configuration file cannot be read, the chip module reads the configuration bit.
(B) 該晶片模組根據該組態位元及一組態選擇指令將該多種組態檔的其中之一作為該第一BIOS組態檔及一目標組態檔其中之一者。(B) The chip module uses one of the multiple configuration files as one of the first BIOS configuration file and a target configuration file based on the configuration bit and a configuration selection command.
(C1) 該晶片模組3判斷是否接收一設定指令,該設定指令用以決定是否進入一調整模式。(C1) The chip module 3 determines whether to receive a setting command, which is used to determine whether to enter an adjustment mode.
(E)當判定不進入該調整模式時,則該晶片模組根據步驟(B)所儲存的該第一BIOS組態檔執行開機程序。(E) When it is determined that the adjustment mode is not to be entered, the chip module executes the boot procedure according to the first BIOS configuration file stored in step (B).
本發明的另一目的,即在提供一種伺服設備。Another object of the present invention is to provide a servo device.
伺服設備包含一記憶模組、一晶片模組、一顯示器。The servo device includes a memory module, a chip module, and a display.
記憶模組用以儲存至少一組態位元、多種用戶組態檔、一原廠預設組態檔。晶片模組電連接該記憶模組,且當該伺服設備處於一上電模式且該晶片模組偵測到無法讀取一第一BIOS組態檔時,該晶片模組讀取該組態位元, 該晶片模組根據該組態位元及一組態選擇指令將該多種組態檔的其中之一作為該第一BIOS組態檔及一目標組態檔其中之一者,該晶片模組判斷是否接收一設定指令,該設定指令用以決定是否進入一調整模式,當判定不進入該調整模式時,則該晶片模組根據該第一BIOS組態檔執行開機程序。The memory module is used to store at least one configuration bit, multiple user configuration files, and an original factory default configuration file. The chip module is electrically connected to the memory module, and when the servo device is in a power-on mode and the chip module detects that a first BIOS configuration file cannot be read, the chip module reads the configuration bit element, the chip module uses one of the multiple configuration files as one of the first BIOS configuration file and a target configuration file according to the configuration bit and a configuration selection instruction. The chip module The group determines whether to receive a setting command, and the setting command is used to determine whether to enter an adjustment mode. When it is determined not to enter the adjustment mode, the chip module executes a boot procedure according to the first BIOS configuration file.
本發明的功效在於:藉由伺服設備的內部記憶體及外部記憶體其中一者的組態位元搭配對用戶預設組態檔(user default)、多組用戶選擇組態檔(standard default值)及原廠預設組態檔(manufacture default)的切換選擇設定,讓使用者不用透過網路也不用以外接轉接板等工具連接伺服設備的基板管理控制器再透過BMC來與處理器溝通,以間接配置伺服設備的BIOS組態,藉由本案技術,使用者可以根據不同使用目的,直接操作該伺服設備以伺服設備上設置的輸入裝置來與處理器溝通以切換載入的方式快速進行調整而不用透過BMC,同時減少逐一手動調整BIOS組態檔的多個BIOS設定以重新建立在多種不同使用目的所要使用的伺服設備之配置環境的時間,提高使用者的使用方便以及效率。The effect of the present invention is to: use the configuration bits of one of the internal memory and the external memory of the servo device to configure the user default configuration file (user default) and multiple sets of user-selected configuration files (standard default values). ) and the original factory default configuration file (manufacture default) switch selection settings, so that users do not need to connect to the baseboard management controller of the servo device through the network or external adapter boards and other tools, and then communicate with the processor through the BMC , by indirectly configuring the BIOS configuration of the servo device, with the technology of this case, the user can directly operate the servo device according to different purposes of use, and use the input device set on the servo device to communicate with the processor and switch to load quickly. Adjustment does not need to be done through the BMC, and the time of manually adjusting multiple BIOS settings in the BIOS configuration file one by one to re-establish the configuration environment of the server devices used for various purposes is improved, improving user convenience and efficiency.
在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are designated with the same numbering.
參閱圖1,為應用本發明具有快速設定基本輸入輸出系統(Basic Input/Output System,以下簡稱BIOS)功能的伺服設備的一實施例。該伺服設備包括一記憶模組2、一晶片模組3與一顯示器4,其中,該記憶模組2用以儲存一組態位元、多種用戶組態檔、一原廠預設組態檔(manufacture default),其中,該多種用戶組態檔分別是多種用戶預設組態檔(user default)與多組用戶選擇組態檔(standard default)。該記憶模組2由非揮發性記憶體(Non-Volatile Memory,NVM)組成,例如為唯讀記憶體(Read-Only Memory, ROM)、快閃記憶體(Flash Memory)、電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)或非揮發性隨機存取記憶體(Non-Volatile Random Access Memory,以下簡稱NVRAM),其中該記憶模組2包括一第一非揮發性記憶體21與一第二非揮發性記憶體22,其中,該第一非揮發性記憶體21為非揮發性隨機存取記憶體(以下簡稱NVRAM),且該第一非揮發性記憶體21設置於該伺服設備內部(例如設置於伺服設備的一主機板上);該第二非揮發性記憶體22為一快閃記憶體(Flash Memory)或一電子抹除式可複寫唯讀記憶體(以下簡稱EEPROM)22,且該第二非揮發性記憶體22是設置於伺服設備外部且與伺服設備的PCH電耦接,例如該第二非揮發性記憶體22是與該伺服設備電性相連的一USB磁碟機或是一外接硬碟,該第一非揮發性記憶體21儲存一第一組態位元與第一用戶預設組態檔(user default),該第二非揮發性記憶體22儲存一第二組態位元、與一第二用戶預設組態檔,其中,第二用戶預設組態檔是用戶藉由外接設備想要載入到伺服設備,且包括供伺服設備開機時用以初始化和測試硬體元件的至少一參數設定值,該第一非揮發性記憶體21包括一待載入儲存區、一原廠儲存區、一用戶預設儲存區及一用戶選擇儲存區,其中,該待載入儲存區儲存一待載入組態檔,該原廠儲存區儲存一原廠預設組態檔是伺服設備出廠時預設要載入到伺服設備,包括供伺服設備開機時用以初始化和測試硬體元件的至少一參數設定值,該用戶預設儲存區儲存該第一用戶預設組態檔,該用戶選擇儲存區儲存多組用戶選擇組態檔。該晶片模組3包括一處理器(以下簡稱CPU)31、一電連接該處理器31、NVRAM21與EEPROM22的平台路徑控制器(Platform Controller Hub,以下簡稱PCH)32、一通用輸入輸出埠(以下簡稱GPIO)33。其中,該PCH32包括一電晶體儲存器(以下簡稱CMOS)34,CMOS34用以儲存一第一BIOS組態檔且電連接一電池5,其中,該平台路徑控制器32也可以是以外掛的方式電連接該晶片模組3,其中,該CMOS34也可以以外掛的方式電連接該PCH32,第一BIOS組態檔包括伺服設備當次開機時所要使用來進行初始化和測試硬體元件的參數設定值,當電池5持續供電給電晶體儲存器34,第一BIOS組態檔可持續儲存在CMOS34中不消失,當電池5沒電/被移除時(或是伺服設備收到一指示對CMOS34進行清除的指令),將使CMOS34內所儲存的第一BIOS組態檔消失,即使換了有電的電池,或是不再持續進行CMOS清除指令,CMOS中原本儲存的資料也不會自行復原,也就是說,當電池5沒電/被移除時(或是伺服設備收到一指示對CMOS34進行清除的指令),CMOS34不儲存/無法儲存/無法保存該第一BIOS組態檔,且於CMOS34不儲存/無法儲存/無法保存該第一BIOS組態檔後的下一次開機,由於該晶片模組於進入上電模式後,無法在該CMOS34找到該第一BIOS組態檔,因此該晶片模組判定偵測到無法讀取該第一BIOS組態檔的狀況,其中,該通用輸入輸出埠33也可以是該處理器31或該PCH32上的多個腳位中的其中一可供該處理器31直接或間接讀取的一個腳位。Referring to FIG. 1 , an embodiment of a servo device having a quick setting function of a Basic Input/Output System (hereinafter referred to as BIOS) using the present invention is shown. The servo device includes a memory module 2, a chip module 3 and a display 4. The memory module 2 is used to store a configuration bit, a variety of user configuration files, and an original factory default configuration file. (manufacture default), wherein the multiple user configuration files are multiple user default configuration files (user default) and multiple sets of user selection configuration files (standard default). The memory module 2 is composed of non-volatile memory (Non-Volatile Memory, NVM), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), electronically erasable memory. Electrically-Erasable Programmable Read-Only Memory (EEPROM) or Non-Volatile Random Access Memory (hereinafter referred to as NVRAM), in which the memory module 2 includes a first non-volatile memory Volatile memory 21 and a second non-volatile memory 22, wherein the first non-volatile memory 21 is a non-volatile random access memory (hereinafter referred to as NVRAM), and the first non-volatile memory The memory 21 is provided inside the server device (for example, it is provided on a motherboard of the server device); the second non-volatile memory 22 is a flash memory (Flash Memory) or an electronically erasable rewritable read-only memory. Memory (hereinafter referred to as EEPROM) 22, and the second non-volatile memory 22 is arranged outside the servo device and is electrically coupled to the PCH of the servo device. For example, the second non-volatile memory 22 is with the servo device. Electrically connected to a USB disk drive or an external hard disk, the first non-volatile memory 21 stores a first configuration bit and a first user default configuration file (user default), the second The non-volatile memory 22 stores a second configuration bit and a second user default configuration file, wherein the second user default configuration file is what the user wants to load into the server device through an external device. And includes at least one parameter setting value for initializing and testing hardware components when the servo device is turned on. The first non-volatile memory 21 includes a storage area to be loaded, an original storage area, and a user default storage area. area and a user-selected storage area, in which the storage area to be loaded stores a configuration file to be loaded, and the original storage area stores an original factory default configuration file that is to be loaded into the server by default when it leaves the factory. The servo device includes at least one parameter setting value for initializing and testing hardware components when the servo device is started. The user default storage area stores the first user default configuration file, and the user selection storage area stores multiple groups of users. Select the configuration file. The chip module 3 includes a processor (hereinafter referred to as CPU) 31, a platform controller hub (hereinafter referred to as PCH) 32 electrically connected to the processor 31, NVRAM 21 and EEPROM 22, and a general input and output port (hereinafter referred to as PCH) 32. Referred to as GPIO)33. Among them, the PCH 32 includes a transistor memory (hereinafter referred to as CMOS) 34. The CMOS 34 is used to store a first BIOS configuration file and is electrically connected to a battery 5. The platform path controller 32 can also be plug-in. Electrically connected to the chip module 3, in which the CMOS 34 can also be electrically connected to the PCH 32 in a plug-in manner. The first BIOS configuration file includes parameter settings that are used to initialize and test hardware components when the servo device is turned on. , when the battery 5 continues to supply power to the transistor memory 34, the first BIOS configuration file can continue to be stored in the CMOS 34 and will not disappear. When the battery 5 is out of power/removed (or the servo device receives an instruction to clear the CMOS 34 command) will cause the first BIOS configuration file stored in CMOS34 to disappear. Even if a charged battery is replaced or the CMOS clear command is no longer continued, the data originally stored in the CMOS will not be restored by itself. That is to say, when the battery 5 is out of power/removed (or the server device receives an instruction to clear CMOS34), CMOS34 does not store/cannot store/cannot save the first BIOS configuration file, and in CMOS34 The next boot after not saving/unable to save/unable to save the first BIOS configuration file is because the chip module cannot find the first BIOS configuration file in the CMOS34 after entering the power-on mode. Therefore, the chip module The group determination detects that the first BIOS configuration file cannot be read. The general input and output port 33 may also be one of the plurality of pins on the processor 31 or the PCH 32 for processing. A pin that is read directly or indirectly by the device 31.
參閱圖2,伺服設備執行一種基本輸入輸出系統(BIOS)設定方法,包括以下步驟(A)~(D)。Referring to Figure 2, the servo device performs a basic input and output system (BIOS) setting method, including the following steps (A) ~ (D).
(A)當該伺服設備處於一上電模式(power on)且該晶片模組3的處理器31偵測到無法由CMOS34取得/讀取第一BIOS組態檔時,則該晶片模組3的處理器31讀取儲存於第一非揮發性記憶體21的一指示設定(例如為一旗標及一通用輸入輸出埠(GPIO)33其中一者)的對應邏輯值,該邏輯值用以指示處理器31要採用/讀取該第一非揮發性記憶體21及該第二非揮發性記憶體22的其中哪一者所儲存的一組態位元(clear CMOS auto load default state bit,以下簡稱state bit)的其中之一,如圖3所示,該步驟(A)包括以下子步驟(A1)~(A5)。(A) When the servo device is in a power on mode (power on) and the processor 31 of the chip module 3 detects that the first BIOS configuration file cannot be obtained/read by the CMOS 34, then the chip module 3 The processor 31 reads the corresponding logical value of an instruction setting (for example, one of a flag and a general-purpose input and output port (GPIO) 33) stored in the first non-volatile memory 21, and the logical value is used to Instruct the processor 31 to use/read which one of the first non-volatile memory 21 and the second non-volatile memory 22 stores a set of configuration bits (clear CMOS auto load default state bit, Hereinafter referred to as one of the state bit), as shown in Figure 3, this step (A) includes the following sub-steps (A1) ~ (A5).
(A1)該晶片模組3的處理器31偵測到一電力信號,該電力信號用以指示該伺服設備上電使該伺服設備處於該上電模式,開始進行上電自檢(Power On System Test, POST),包括準備執行伺服設備各硬體的初始化與設定。(A1) The processor 31 of the chip module 3 detects a power signal. The power signal is used to instruct the servo device to power on so that the servo device is in the power-on mode and starts to perform power-on self-test (Power On System). Test, POST), including preparing to execute the initialization and settings of each hardware of the servo device.
(A2) 處理器31判斷CMOS34是否有儲存資料(第一BIOS組態檔),若是,則進到步驟(A6),若CMOS34沒有儲存資料的話,則進到步驟(A3)。(A2) The processor 31 determines whether the CMOS 34 has stored data (the first BIOS configuration file). If so, proceed to step (A6). If the CMOS 34 has not stored data, proceed to step (A3).
(A3) 該晶片模組3的處理器31讀取該記憶模組2的該指示設定所對應的邏輯值,例如處理器31讀取該記憶模組2的第一非揮發性記憶體21的一設定區塊儲存之該旗標(以下簡稱flag)及該通用輸入輸出埠(以下簡稱GPIO)33的設定電位之其中一者所對應的邏輯值,判斷該指示設定對應的邏輯值處於一第一邏輯值與第二邏輯值的其中之一,以決定讀取/採用該第一非揮發性記憶體及該第二非揮發性記憶體其中哪一者所儲存的組態位元。其中,當flag的邏輯值是第一邏輯值(例如為邏輯值=1)時,表示選擇採用第二非揮發性記憶體的組態位元,且進到步驟(A5),當flag的邏輯值是第二邏輯值(例如為邏輯值=0)時,表示選擇採用第一非揮發性記憶體的組態位元,且進到步驟(A4);其中,該晶片模組3的處理器31偵測/讀取該通用輸入輸出埠(GPIO)33的設定電位所對應的邏輯值,且判斷該設定電位處於一第一準位與第二準位的其中之一,其中,該第一準位大於該第二準位。在本實施例中,第一準位是數位信號是對應第一邏輯值(邏輯值=1)的高電壓準位,表示選擇採用第二非揮發性記憶體的組態位元,且進到步驟(A5),第二準位是對應第二邏輯值(邏輯值=0)的低電壓電位,表示選擇採用第一非揮發性記憶體的組態位元,且進到步驟(A4)。在其他實施例中,也可以是第二準位大於該第一準位,也就是說該第一邏輯值=0,且該第二邏輯值=1,第一邏輯值異於第二邏輯值。(A3) The processor 31 of the chip module 3 reads the logical value corresponding to the instruction setting of the memory module 2. For example, the processor 31 reads the first non-volatile memory 21 of the memory module 2. A setting block stores the logic value corresponding to one of the flag (hereinafter referred to as flag) and the setting potential of the general-purpose input and output port (hereinafter referred to as GPIO) 33, and determines that the logic value corresponding to the instruction setting is in a first One of a logical value and a second logical value is used to determine which one of the first non-volatile memory and the second non-volatile memory to read/use the configuration bit stored in the first non-volatile memory. Among them, when the logic value of flag is the first logic value (for example, logic value = 1), it indicates that the configuration bit of the second non-volatile memory is selected, and the step (A5) is entered. When the logic value of flag When the value is the second logical value (for example, logical value = 0), it indicates that the configuration bit of the first non-volatile memory is selected, and step (A4) is entered; wherein, the processor of the chip module 3 31 Detect/read the logic value corresponding to the set potential of the general-purpose input and output port (GPIO) 33, and determine that the set potential is at one of a first level and a second level, wherein the first level The level is greater than the second level. In this embodiment, the first level is a digital signal that is a high voltage level corresponding to the first logic value (logic value = 1), indicating that the configuration bit of the second non-volatile memory is selected and entered. In step (A5), the second level is a low voltage potential corresponding to the second logic value (logic value = 0), indicating that the configuration bit of the first non-volatile memory is selected, and step (A4) is entered. In other embodiments, the second level may be greater than the first level, that is to say, the first logic value=0, and the second logic value=1, and the first logic value is different from the second logic value. .
(A4)當該指示設定所對應的邏輯值為該第二邏輯值(邏輯值=0)時,該晶片模組3的處理器31從該第一非揮發性記憶體21讀取用以決定是否使用該第一用戶預設組態檔的組態位元(state bit,當state bit=1/0時,分別表示使用第一用戶預設組態檔/不使用第一用戶預設組態檔)。然後,進到子步驟(B1)。(A4) When the logical value corresponding to the instruction setting is the second logical value (logical value = 0), the processor 31 of the chip module 3 reads from the first non-volatile memory 21 to determine Whether to use the configuration bit (state bit) of the first user default configuration file. When state bit=1/0, it means using the first user default configuration file/not using the first user default configuration file respectively. file). Then, proceed to sub-step (B1).
(A5)當該指示設定所對應的邏輯值為該第一邏輯值(邏輯值=1)時,該晶片模組3的處理器31讀取該第二非揮發性記憶體22的組態位元,也就是晶片模組3的處理器31從該第二非揮發性記憶體22讀取用以決定是否使用該第二用戶預設組態檔的組態位元 。然後,進到子步驟(B3)。(A5) When the logic value corresponding to the instruction setting is the first logic value (logic value = 1), the processor 31 of the chip module 3 reads the configuration bit of the second non-volatile memory 22 element, that is, the processor 31 of the chip module 3 reads the configuration bits from the second non-volatile memory 22 to determine whether to use the second user default configuration file. Then, proceed to sub-step (B3).
(A6) 處理器31將該待載入儲存區儲存的該待載入組態檔儲存到CMOS34以作為新的第一BIOS組態檔,接著進入步驟C1。(A6) The processor 31 stores the configuration file to be loaded stored in the storage area to be loaded into the CMOS 34 as a new first BIOS configuration file, and then proceeds to step C1.
(B)當該組態位元指示該用戶模式時,該晶片模組3的處理器31根據該組態位元及一組態選擇指令的接收狀態,將該記憶模組2所儲存的多種組態檔(包括第一用戶預設組態檔、第二用戶預設組態檔、原廠預設組態檔及至少一用戶選擇組態檔)的其中之一作為該第一BIOS組態檔及一目標組態檔其中之一者。該步驟(B)包括以下子步驟B1~B11。(B) When the configuration bit indicates the user mode, the processor 31 of the chip module 3 converts the various types of information stored in the memory module 2 according to the configuration bit and the reception status of a configuration selection command. One of the configuration files (including the first user default configuration file, the second user default configuration file, the original factory default configuration file and at least one user selected configuration file) is used as the first BIOS configuration file and a target configuration file. This step (B) includes the following sub-steps B1 to B11.
(B1) 該晶片模組3的處理器31判斷該第一非揮發性記憶體21的組態位元的該組態值,以決定是否使用該第一用戶預設組態檔。當該組態位元所對應的該組態值為第一組態值(state bit=1)時,表示使用該第一用戶預設組態檔,進到子步驟(B2)。當該組態位元所對應的該組態值為第二組態值(state bit=0)時,表示不使用該第一用戶預設組態檔,進到子步驟(B6)。(B1) The processor 31 of the chip module 3 determines the configuration value of the configuration bit of the first non-volatile memory 21 to determine whether to use the first user default configuration file. When the configuration value corresponding to the configuration bit is the first configuration value (state bit=1), it means that the first user default configuration file is used and the sub-step (B2) is entered. When the configuration value corresponding to the configuration bit is the second configuration value (state bit=0), it means that the first user default configuration file is not used, and the sub-step (B6) is entered.
(B2)該晶片模組3的處理器31根據該第一非揮發性記憶體21的該第一組態值,由該第一非揮發性記憶體21的該用戶預設儲存區取得對應該第一組態值的該第一用戶預設組態檔。然後,進到子步驟(B5)。(B2) The processor 31 of the chip module 3 obtains the corresponding user default storage area of the first non-volatile memory 21 according to the first configuration value of the first non-volatile memory 21 The first user default configuration file of the first configuration value. Then, proceed to sub-step (B5).
(B3) 該晶片模組3的處理器31判斷該第二非揮發性記憶體22的組態位元的該組態值,以決定是否使用該第二用戶預設組態檔。當該組態位元所對應的該組態值為第一組態值(state bit=1)時,表示使用該第二用戶預設組態檔,進到子步驟(B4)。當該組態位元所對應的該組態值為第二組態值(state bit=0)時,表示不使用該第一用戶預設組態檔,然後,進到子步驟(B6)。(B3) The processor 31 of the chip module 3 determines the configuration value of the configuration bit of the second non-volatile memory 22 to determine whether to use the second user default configuration file. When the configuration value corresponding to the configuration bit is the first configuration value (state bit=1), it indicates that the second user default configuration file is used, and sub-step (B4) is entered. When the configuration value corresponding to the configuration bit is the second configuration value (state bit=0), it means that the first user default configuration file is not used, and then proceeds to sub-step (B6).
(B4),該晶片模組3的處理器31根據該第二非揮發性性記憶體22的該第一組態值,由該第二非揮發性記憶體22取得對應該第一組態值的該第二用戶預設組態檔。然後,進到子步驟(B5)。(B4), the processor 31 of the chip module 3 obtains the corresponding first configuration value from the second non-volatile memory 22 according to the first configuration value of the second non-volatile memory 22 of the second user default profile. Then, proceed to sub-step (B5).
(B5)該晶片模組3的處理器31將由步驟(B2)所取得的第一用戶預設組態檔及步驟(B4)所取得的第二用戶預設組態檔之其中一者載入到該電晶體儲存器34以作為新的該第一BIOS組態檔,其中,該晶片模組3的處理器31還將載入到該電晶體儲存器34的第一用戶預設組態檔及第二用戶預設組態檔之其中該者載入到該待載入儲存區以作為新的待載入組態檔。然後,進到步驟(C1) 。(B5) The processor 31 of the chip module 3 will load one of the first user default configuration file obtained in step (B2) and the second user default configuration file obtained in step (B4). to the transistor memory 34 as the new first BIOS configuration file, wherein the processor 31 of the chip module 3 will also load the first user default configuration file into the transistor memory 34 and the second user default configuration file, which one is loaded into the storage area to be loaded as a new configuration file to be loaded. Then, proceed to step (C1).
(B6)該晶片模組3的處理器31根據該第一非揮發性記憶體21及該第二非揮發性記憶體22之其中一者的第二組態值,將該記憶模組2的第二非揮發性記憶體的該原廠儲存區所儲存的該原廠預設組態檔載入到該晶片模組3的電晶體儲存器34以作為新的該第一BIOS組態檔,其中,該晶片模組3的處理器31還將載入到該晶片模組3的電晶體儲存器34的第二非揮發性記憶體22的該原廠儲存區所儲存的該原廠預設組態檔載入到該待載入儲存區以作為新的待載入組態檔。然後,進到子步驟(B7)。(B6) The processor 31 of the chip module 3 changes the memory module 2 according to the second configuration value of one of the first non-volatile memory 21 and the second non-volatile memory 22 . The original factory default configuration file stored in the original factory storage area of the second non-volatile memory is loaded into the transistor memory 34 of the chip module 3 as the new first BIOS configuration file, Among them, the processor 31 of the chip module 3 will also load the original factory default stored in the original factory storage area of the second non-volatile memory 22 of the transistor memory 34 of the chip module 3 The configuration file is loaded into the storage area to be loaded as a new configuration file to be loaded. Then, proceed to sub-step (B7).
(B7) 該顯示器4自動顯示一用戶提示畫面,其中,該用戶提示畫面顯示對應一組態選擇指令之一組用戶快捷鍵,以提示用戶選擇進入一用戶組態選擇模式。然後,進到子步驟(B8)。(B7) The display 4 automatically displays a user prompt screen, wherein the user prompt screen displays a set of user shortcut keys corresponding to a configuration selection command to prompt the user to choose to enter a user configuration selection mode. Then, proceed to sub-step (B8).
(B8) 該晶片模組3判斷是否接收一組態選擇指令,以決定是否進入該用戶組態選擇模式。若是,則進到子步驟(B9),若否,則進到步驟(C1)。(B8) The chip module 3 determines whether it receives a configuration selection command to determine whether to enter the user configuration selection mode. If yes, go to sub-step (B9), if not, go to step (C1).
(B9)該晶片模組3的處理器31根據所接收的該組態選擇指令,進入該用戶組態選擇模式,該處理器31根據該用戶組態選擇模式於該顯示器4顯示一用戶組態選擇視窗,並根據用戶操作或是透過網路取得一組態編碼,該組態編碼對應該第一非揮發性記憶體21所儲存的該用戶選擇儲存區所儲存的多組用戶選擇組態檔的其中一組用戶選擇組態檔,也就是由用戶操作該伺服設備所電連接的一輸入裝置或是經由網路傳送至少一目標組態選擇指令以選定該組態編碼。然後,進到子步驟(B10)。(B9) The processor 31 of the chip module 3 enters the user configuration selection mode according to the received configuration selection command, and the processor 31 displays a user configuration on the display 4 according to the user configuration selection mode. Select a window, and obtain a configuration code according to user operation or through the network. The configuration code corresponds to multiple sets of user selection configuration files stored in the user selection storage area stored in the first non-volatile memory 21 One of the group of user-selected configuration files means that the user operates an input device electrically connected to the servo device or transmits at least one target configuration selection command through the network to select the configuration code. Then, proceed to sub-step (B10).
(B10) 該晶片模組3的處理器31根據該組態編碼,由該第一非揮發性記憶體21的該用戶選擇儲存區取得對應該組態編碼的該用戶選擇組態檔以作為該目標組態檔。然後,進到步驟(F1),也就是子步驟(B9)~(B10)讓使用者藉由選擇組態編碼以決定要載入哪一組用戶選擇組態檔來做為該目標組態檔之後,然後進到步驟(F1)。(B10) The processor 31 of the chip module 3 obtains the user-selected configuration file corresponding to the configuration code from the user-selected storage area of the first non-volatile memory 21 according to the configuration code as the user-selected configuration file. Target configuration file. Then, proceed to step (F1), which is the sub-steps (B9) ~ (B10) to allow the user to determine which set of user-selected configuration files to load as the target configuration file by selecting the configuration code. After that, proceed to step (F1).
(C1)該晶片模組3的處理器31判斷是否接收一設定指令,該設定指令的接收與否用以決定切換進入一調整模式與維持預設的一非調整模式的其中之一,也就是該晶片模組3的處理器31根據是否收到設定指令判斷使用者是否選擇切換至該調整模式以進入BIOS SETUP介面進行參數調整,若否,則進到步驟(E),若是,則進到步驟(D1)。進一步說明,伺服器在進行開機時,會啟動計時器,然後伺服設備完成開機到一階段,就會允許用戶輸入快捷鍵來切換進入調整模式,一直到計時器的時間到了,還沒有接收來自用戶輸入的設定指令時,則伺服設備會判定不進入調整模式,並載入CMOS中儲存的第一BIOS組態檔。(C1) The processor 31 of the chip module 3 determines whether to receive a setting command. Whether the setting command is received or not is used to decide whether to switch to an adjustment mode or to maintain a default non-adjustment mode, that is, The processor 31 of the chip module 3 determines whether the user chooses to switch to the adjustment mode to enter the BIOS SETUP interface for parameter adjustment based on whether the setting command is received. If not, then proceed to step (E). If yes, then proceed to step (E). Step (D1). To further explain, when the server starts up, the timer will be started, and then the servo device will complete the startup stage and allow the user to enter the shortcut key to switch to the adjustment mode. Until the timer time is up, no data from the user has been received. When the setting command is entered, the servo device will determine not to enter the adjustment mode and load the first BIOS configuration file stored in the CMOS.
(E)當處於預設的該非調整模式時(若伺服設備開機後沒有收到該設定指令,則該處理器31會維持在非調整模式),則該晶片模組3的處理器31使用CMOS中當下儲存的該第一BIOS組態檔(步驟A6、步驟B5或B6存入的)繼續執行BIOS程式以繼續進行開機程序,也就是說,不重新啟動伺服設備上運行之電腦系統/不重新初始化處理器31,且處理器31直接使用當下CMOS所儲存的該第一BIOS組態檔繼續進行開機程序,以於完成開機程序後引導處理器31載入並執行一作業系統。(E) When in the default non-adjusting mode (if the servo device does not receive the setting command after being turned on, the processor 31 will remain in the non-adjusting mode), the processor 31 of the chip module 3 uses CMOS Continue to execute the BIOS program in the currently stored first BIOS configuration file (saved in step A6, step B5 or B6) to continue the boot process, that is, do not restart the computer system running on the server device/do not restart The processor 31 is initialized, and the processor 31 directly uses the first BIOS configuration file currently stored in the CMOS to continue the boot process, so as to guide the processor 31 to load and execute an operating system after completing the boot process.
(D1) 當該設定指令指示該調整模式時,該晶片模組3的處理器31根據一操作輸入,於該第一非揮發性記憶體中,產生相應於該第一BIOS組態檔的多個設定參數之至少一調整參數,並於該晶片模組3的處理器31接收一儲存指令後,根據該儲存指令,產生該目標組態檔,其中,該目標組態檔包括該至少一調整參數,然後,進到步驟(F1)。該晶片模組3的處理器31接收一離開指令,該離開指令指示放棄進行參數調整,而離開BIOS SETUP,接著,進到步驟(E)。(D1) When the setting command indicates the adjustment mode, the processor 31 of the chip module 3 generates multiple data corresponding to the first BIOS configuration file in the first non-volatile memory according to an operation input. at least one adjustment parameter of the setting parameters, and after the processor 31 of the chip module 3 receives a storage instruction, the target configuration file is generated according to the storage instruction, wherein the target configuration file includes the at least one adjustment parameters, then proceed to step (F1). The processor 31 of the chip module 3 receives a leave command, which instructs to give up parameter adjustment and leave the BIOS SETUP, and then proceeds to step (E).
(F1) 該晶片模組3的處理器31將該目標組態檔儲存到該記憶模組2的該第一非揮發性記憶體21的該待載入儲存區以作為新的該待載入組態檔,然後進到步驟(F2)。(F1) The processor 31 of the chip module 3 stores the target configuration file into the to-be-loaded storage area of the first non-volatile memory 21 of the memory module 2 as the new to-be-loaded storage area. configuration file, and then proceed to step (F2).
(F2) 該晶片模組3的處理器31重新啟動電腦系統(重新啟動伺服設備上運行的電腦系統,包括伺服設備的重置、冷啟動/Cold Reboot及溫啟動/Warm Reboot其中任一種,以下簡稱reboot),且進到步驟(A2)。(F2) The processor 31 of the chip module 3 restarts the computer system (restarts the computer system running on the servo device, including any one of the reset of the servo device, cold boot/Cold Reboot and warm boot/Warm Reboot, as follows) Referred to as reboot), and proceed to step (A2).
綜上所述,上述實施例的優點是提高使用者的使用方便以及效率,本案提出一個在電池沒電或清除CMOS34的第一BIOS組態檔後,且在開機過程,藉由伺服設備的內部記憶體及外部記憶體的其中一者的組態位元搭配POST畫面透過快捷鍵跳出載入預設值(Load default)介面視窗(用戶組態選擇視窗),如圖4所示,讓使用者由伺服設備的內部記憶體及外部記憶體的其中一者所儲存的原廠預設組態檔(manufacture default/ mfg fefault)、用戶預設組態檔(user default)及多組用戶選擇組態檔(standard default)選擇要load standard default/ mfg default/user default哪一組default值,且此方式不須透過網路或BMC,有效解決在遇到伺服系統的CMOS儲存的第一BIOS組態檔流失且BMC或網路出現狀況無法調整CMOS所儲存的第一BIOS組態檔的BIOS設定的問題,如圖5所示,同時藉由多組用戶選擇組態檔(standard default)的切換選擇設定,讓使用者可根據不同使用目的快速進行調整,減少重新建立環境的時間,並且藉由GPIO33的準位控制來判斷針對主機板不同設計需對DMI 或 EEPROM22進行讀取。In summary, the advantage of the above embodiments is to improve the user's convenience and efficiency. This case proposes a method that uses the internal power of the servo device after the battery is out of power or the first BIOS configuration file of CMOS34 is cleared, and during the boot process. The configuration bits of one of the memory and the external memory are matched with the POST screen to pop up the Load default interface window (user configuration selection window) through the shortcut key, as shown in Figure 4, allowing the user to The original factory default configuration file (manufacturer default/mfg fefault), user default configuration file (user default) and multiple sets of user-selected configurations stored in one of the internal memory and external memory of the servo device File (standard default) selects which set of default values to load standard default/mfg default/user default, and this method does not require going through the network or BMC, effectively solving the problem of encountering the first BIOS configuration file stored in the CMOS of the server system. The problem is that the BIOS settings of the first BIOS configuration file stored in CMOS cannot be adjusted due to BMC or network conditions, as shown in Figure 5, and the settings are selected by switching multiple sets of user selection configuration files (standard default) at the same time , allowing users to quickly adjust according to different purposes, reducing the time to re-establish the environment, and using the level control of GPIO33 to determine whether DMI or EEPROM22 needs to be read for different motherboard designs.
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention and should not be used to limit the scope of the present invention. All simple equivalent changes and modifications made based on the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. within the scope covered by the patent of this invention.
2:記憶模組 21:非抹除記憶體 22:電子抹除式記憶體 3:晶片模組 31:處理器 32:平台路徑控制器 33:通用輸入輸出埠 34:電晶體儲存器 4:顯示器 5:電池 2:Memory module 21: Non-erasable memory 22: Electronically erasable memory 3:Chip module 31: Processor 32: Platform path controller 33: General purpose input and output port 34: Transistor memory 4: Monitor 5:Battery
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是本發明伺服設備的一實施例的一系統圖; 圖2是基本輸入輸出系統設定方法的一流程圖; 圖3是該設定方法的子步驟的一流程圖; 圖4至圖5是顯示BIOS設定介面視窗的一示意圖。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a system diagram of an embodiment of the servo equipment of the present invention; Figure 2 is a flow chart of the basic input and output system setting method; Figure 3 is a flow chart of sub-steps of the setting method; Figures 4 to 5 are schematic diagrams showing the BIOS setting interface window.
2:記憶模組 2:Memory module
21:非抹除記憶體 21: Non-erasable memory
22:電子抹除式記憶體 22: Electronically erasable memory
3:晶片模組 3:Chip module
31:處理器 31: Processor
32:平台路徑控制器 32: Platform path controller
33:通用輸入輸出埠 33: General purpose input and output port
34:電晶體儲存器 34: Transistor memory
4:顯示器 4: Monitor
5:電池 5:Battery
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111130389A TWI822242B (en) | 2022-08-12 | 2022-08-12 | Basic input output system setting method and server equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111130389A TWI822242B (en) | 2022-08-12 | 2022-08-12 | Basic input output system setting method and server equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI822242B true TWI822242B (en) | 2023-11-11 |
TW202407541A TW202407541A (en) | 2024-02-16 |
Family
ID=89722428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111130389A TWI822242B (en) | 2022-08-12 | 2022-08-12 | Basic input output system setting method and server equipment |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI822242B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201610850A (en) * | 2014-09-08 | 2016-03-16 | 廣達電腦股份有限公司 | Method, managing apparatus, and computer-readable medium for managing basic input/output system configurations of a computer system |
CN109408126A (en) * | 2018-11-07 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of starting-up method of multipath server, BMC and multipath server |
-
2022
- 2022-08-12 TW TW111130389A patent/TWI822242B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201610850A (en) * | 2014-09-08 | 2016-03-16 | 廣達電腦股份有限公司 | Method, managing apparatus, and computer-readable medium for managing basic input/output system configurations of a computer system |
CN109408126A (en) * | 2018-11-07 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of starting-up method of multipath server, BMC and multipath server |
Also Published As
Publication number | Publication date |
---|---|
TW202407541A (en) | 2024-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI664574B (en) | Method of patching boot code of read-only memory and system-on-chip | |
US6122733A (en) | Method and apparatus for updating a basic input/output system | |
US7421573B2 (en) | Apparatus and method for updating firmware | |
US10860425B2 (en) | Method for recovering basic input/output system image file of a computer system and the computer system | |
US10409617B2 (en) | BIOS switching device | |
US8230211B2 (en) | Method for setting basic input/output system | |
CN105917306B (en) | System and method for configuring system firmware configuration data | |
TWI710952B (en) | Firmware update method and computer system | |
CN111435311B (en) | Firmware safety protection method and electronic system using same | |
TW201706837A (en) | A computer system | |
WO2011116621A1 (en) | Electronic device, configurable component and configuration information storage method thereof | |
US7418589B2 (en) | System and method for updating a basic input/output system | |
US7234055B2 (en) | Computer operating booting system making use of multi-buttons | |
CN113064637B (en) | Method and system for starting from separated BIOS image file | |
CN114090107A (en) | Computer and system starting method | |
CN115129345A (en) | Firmware upgrading method, device, equipment and storage medium | |
TWI822242B (en) | Basic input output system setting method and server equipment | |
US10198270B2 (en) | Dynamic hardware configuration via firmware interface at computing device boot | |
KR100824462B1 (en) | Method and apparatus for identifying hardware compatibility and enabling stable software images | |
US20230315833A1 (en) | Method for managing passwords for basic input/output system and baseboard management controller | |
TWI750215B (en) | Bios switching device | |
CN108958823B (en) | Method for modifying set value of basic input and output system | |
CN117667224A (en) | Basic input/output system setting method and servo equipment | |
TW201917597A (en) | Server for automatically determining whether to start remote control function and automatic start control method thereof | |
US20240134652A1 (en) | Computer and method of booting computer |