TW200521836A - Automatic firmware configuration system and method for baseboard management controller - Google Patents

Automatic firmware configuration system and method for baseboard management controller Download PDF

Info

Publication number
TW200521836A
TW200521836A TW92137799A TW92137799A TW200521836A TW 200521836 A TW200521836 A TW 200521836A TW 92137799 A TW92137799 A TW 92137799A TW 92137799 A TW92137799 A TW 92137799A TW 200521836 A TW200521836 A TW 200521836A
Authority
TW
Taiwan
Prior art keywords
module
hardware
option
configuration
bmc
Prior art date
Application number
TW92137799A
Other languages
Chinese (zh)
Other versions
TWI236621B (en
Inventor
Win-Harn Liu
Hsuan-Tung Chen
Jia-Ke Cen
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW92137799A priority Critical patent/TWI236621B/en
Publication of TW200521836A publication Critical patent/TW200521836A/en
Application granted granted Critical
Publication of TWI236621B publication Critical patent/TWI236621B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides an automatic firmware configuration system for baseboard management controller (BMC), which includes the following steps of: first packaging a hardware module, an interface module, a command module, a SDR module, and an OEM module by types; then, generating a configuration file, and separating each module into independent directories; initializing and generating an empty Makefile file; reading the contents of the configuration file; when user selects an option of one module, checking the configuration file and dynamically displaying the options of related modules on the interface; recording the related options in the Makefile file; and finally generating BMC firmware data. The present invention could flexibly manage hardware information, and automatically complete the configuration of BMC firmware.

Description

200521836200521836

【發明所屬之技術領域】 本發明是關於一種韌體自動配置的系統及方法,尤其 是關於一種符合I PM I規範之基板管理控制器韌體自動配^ 系統及方法。 【先前技術】 新經濟時代企業面臨的一個主要問題是既要保證應用 系統不間斷運行,又要不斷降低運行成本。誰能更好^控 制網路管娌成本,誰就有可能在競爭中站在前列。 " 市場的需求決定著技術與產業的發展方向。業界的一 些主要廠商從1 9 9 7年開始聯手,步入伺服器管理智慧化的 研發之路。它們的出發點是解決伺服器硬體管理能Z低的 問題。經過數年努力,於2 0 0 1年推出了 IPMI 一 (Intelligent Platform Management Interface,知彗 化平臺管理介面)標準。 a慧、 IPMI是使硬體管理具備智慧化的新一代通用介面標 準。用戶可以利用I PM I監視伺服器的物理健康特徵,如溫 度、電壓、電扇工作狀態、電源供應以及機箱入侵等,為 系統管理、恢復以及資產管理提供資訊。 I Ρ Μ I技術的π智慧化π來自於一個管理微控制器。在 一個主機系統裏,這個控制器被稱為MC (Baseboard[Technical field to which the invention belongs] The present invention relates to a system and method for automatic firmware configuration, and more particularly, to a system and method for automatic firmware configuration of a board management controller that complies with I PM I specifications. [Previous technology] One of the main problems faced by enterprises in the new economic era is not only to ensure uninterrupted operation of application systems, but also to continuously reduce operating costs. Whoever can better control the cost of network management will be at the forefront of competition. " Market demand determines the development direction of technology and industry. Some major manufacturers in the industry have joined forces since 1997 to enter the research and development of intelligent server management. Their starting point is to solve the problem of low Z of server hardware management. After several years of hard work, the IPMI-1 (Intelligent Platform Management Interface) standard was introduced in 2001. A Hui, IPMI is a new generation of common interface standards that enables intelligent hardware management. Users can use I PM I to monitor the physical health characteristics of the server, such as temperature, voltage, fan operating status, power supply, and chassis intrusion, to provide information for system management, recovery, and asset management. The π wisdom of IPM technology comes from a management microcontroller. In a host system, this controller is called MC (Baseboard

Management Controller’基板管理控制器)。BMC可以用 來提供智慧平臺管理的智慧,控制系統的管理軟體和平臺 管理硬體之間的介面’提供自主監視、事件記錄和恢復控 制功能,並可作為系統管理軟體,I ?〇與I CMB介面間的閘Management Controller ’). BMC can be used to provide the wisdom of smart platform management. The interface between the management software of the control system and the platform management hardware 'provides autonomous monitoring, event recording, and recovery control functions, and can be used as system management software, I? 〇 and I CMB Interface gate

第5頁 200521836 五、發明說明(2) " -- 道使用。BMC自備電源,並自動地監控系統健康狀況。如 果發現任何被控單元異常,$能立即採取行動,例如記錄 事件、報警、自動關機或重啟動。與BMC相關聯的是一 組無源記憶體,用來存儲感測器的資料(Sens〇r Data Records’ SDR)、系統事件記錄檔案,以及一些單元資訊 如序列號和部件旒貢訊等。I PM丨通過指定通用、精簡、 基於消息的介面,將資訊傳輸到管理微控制器,實現軟體 與硬體資訊的分離。 加平時BMC會收集有關系統健康和系統狀態資訊,當有 嚴重事件發生時可以執行糾正動作。通常,系統健康監視 功此疋利用菲利浦的I 2 C數位感測器(如[μ 7 5、L Μ 8 5、 LM84、LM86)實現的,它能監視不同的系統電壓、溫度和 ,扇速度。BMC採用主動輪詢的方式來發現是否存在超出 範圍的感測器。為了使監視工作切實有效,BMC可以根據 不同的門限值進行配置。例如,當BMC檢測到溫度超過某 個告警門限時它就提高風扇速度,如果糾正不夠,溫度就 二超過另一個緊急門限,此時BMC會切斷系統電源、記錄 事件過程並通過LAN或串列數據機向遠端終端發告鑿。 BMC由許多模組組成,與硬體密切相關,丄^二模組 之間具有千絲萬縷的聯繫。在BMC配置過程中,需要選擇 主板硬體晶片,然後選擇相應的驅動模組,選擇^需要^介 面,命令,SDR,OEM命令,將各個模組組合起來,編譯出 BMC的勃體。 目前’沒有一個合適的配置工具,BMC的配置過程只Page 5 200521836 V. Description of Invention (2) "-Use of Tao. BMC has its own power supply and automatically monitors system health. If any controlled unit is found to be abnormal, $ can take immediate action, such as logging an event, alarm, automatic shutdown or restart. Associated with the BMC is a set of passive memory used to store sensor data (Sensor Data Records' SDR), system event log files, and some unit information such as serial numbers and parts and tribute messages. I PM 丨 transfers information to the management microcontroller by specifying a general-purpose, streamlined, message-based interface to separate software and hardware information. In normal times, BMC collects information about system health and system status, and can perform corrective actions when serious events occur. Generally, the system health monitoring function is implemented by using Philips' I 2 C digital sensors (such as [μ 7 5, L Μ 8 5, LM84, LM86), which can monitor different system voltages, temperatures, and Fan speed. BMC uses active polling to find out if there are sensors out of range. In order to make the monitoring work effective, the BMC can be configured according to different thresholds. For example, when the BMC detects that the temperature exceeds a certain alarm threshold, it will increase the fan speed. If the correction is not enough, the temperature will exceed another emergency threshold. At this time, the BMC will cut off the system power, record the event process and pass the LAN or serial The modem sends a message to the remote terminal. The BMC is composed of many modules, which are closely related to the hardware. There are numerous connections between the two modules. In the BMC configuration process, you need to select the motherboard hardware chip, then select the corresponding driver module, select ^ required ^ interface, command, SDR, OEM command, combine the various modules to compile the BMC. At present ’there is no suitable configuration tool, the BMC configuration process is only

第6頁 200521836Page 6 200521836

月b依罪手工完成,由於完全依类 ^ 賴人細,谷易出錯,效率低 下,並且一些隱含的錯誤盔法 手低 、床侍到及時發現,品質盔法焊 到保證。因此,如何提供一藉..... 于 i BMC早刀體的自動配置系统p 經成為業界亟待解決的問題。 置矛…无已 :發明内容】 土 明乃為解決上述問題而提供一種基板管理控制器 之轫脰自動配置系統,用以靈活管理硬體 BMC韌體的合理配置。Month b is completed by hand. Because it is completely based on people, Gu is easy to make mistakes, and is inefficient, and some hidden error helmet methods are low, the bed attendant is found in time, and the quality helmet method is guaranteed. Therefore, how to provide a loan ..... The automatic configuration system p for the early BMC body of i BMC has become an urgent problem for the industry. Putting a spear ... wonder: Summary of content] To solve the above problem, Tomyoshi provides an automatic configuration system of a substrate management controller to flexibly manage the rational configuration of the hardware BMC firmware.

本發明提供一種基板管理控制器之動體自動配置系 統,包括硬體選項模組,儲存有可供選擇的硬體選項,用 以針對不同的硬體環境的支援管理,使用者可以根據實際 需要選擇相應的硬體;介面選項模組,儲存有可供選擇的 通訊介面選項,用以針對不同的通訊介面支援,使用者可 以根據實際需要選擇相應的通訊介面;命令選項模組,儲 存有可供選擇的命令選項,用以支援IPMI規範的命令集 合’使用者可以根據實際需要選擇相應的命令;感測器資The invention provides a moving body automatic configuration system for a substrate management controller, which includes a hardware option module and stores optional hardware options for supporting management of different hardware environments. Select the corresponding hardware; the interface option module stores the available communication interface options to support different communication interfaces. The user can choose the corresponding communication interface according to the actual needs; the command option module stores the available communication interfaces. Optional command options to support the command set of the IPMI specification. 'Users can select the corresponding command according to actual needs; sensor information

料纪錄(Sensor Data Record,SDR)模組,用以配置SDR 的各個類型,用戶可以根據實際需要自行輸入或選擇; 0EM( Original Equipment Manufacturer)模組,用以對Sensor Data Record (SDR) module, used to configure various types of SDR, users can input or select according to actual needs; 0EM (Original Equipment Manufacturer) module, used to

OEM的命令和介面進行配置;配置檔案,記錄有每一模組 的每一選項的關聯與限制;Make f i 1 e稽案生成模組,用以 根據使用者的選擇透過該配置檔案而生成Makef丨丨e檔案; BMC韋刃體生成模組,用以根據使用者的選擇以及Makef丨le 槽案在編譯環境+中生成BMC勃體資料。OEM commands and interfaces for configuration; configuration files that record the association and restrictions of each option of each module; Make fi 1 e audit generation module to generate Makef through the configuration file according to the user's choice丨 丨 e file; BMC Wei blade body generation module, used to generate BMC body data in the compilation environment + according to the user's choice and Makef 丨 le slot case.

第7頁 200521836 五、發明說明(4) 本發明進而提供一種基板管理控制器之韌體自動配置 方法’首先將BMC需要使用的硬體、介面、命令、sdr以及 OEM資料按類分為硬體模組、介面模組、命令模組、SDR模 組以及0E職組;然後根據該模組之間的關聯與限制生成 一配置檔案並將每一模組分別分成單獨的目錄;初始化並 生成一空的Makefile播案;讀取配置檔案内容,列出樹型 列表;當用戶選中一模組中的選項時,檢查該配置檔案中 的關聯與限制内容;根據該配置檔案在介面上動態顯示關 聯模組的選項,並在該Make f i 1 e槽案上記錄相關聯的選 項;最後根據使用者的選擇及當前Makef i le槽案在編譯環 境下生成BMC動體資料。 本發明透過將BMC需要的硬體、介面、命令、SDR以及 0 E Μ資料分類封裝並設置關聯,可以靈活的管理各個硬體 模組,適應各種需求,為各個模組提供統一的調用介面, 靈活的替換硬體,甚至可以導入標準配置模板,在其基礎 上進行修改配置,從而提高了生產率。 【實施方式】 本發明提供了一種基板管理控制器之韌體自動配置系 統,用以靈活管理硬體資訊,自動完成BMC勃體的合理配 置,如第1圖所示,為本發明之BMC勤體自動配置系統示意 圖,該系統包括一硬體選項模組1 〇 1、一介面選項模組 1 0 2、一命令選項模組1 0 3、一感測器資料記錄(s e n s 〇 r Data Record’ SDR)权組 104、 一 〇EM( Original Equipment Manufacturer)模组 1〇5、一配置檔案 106、一Page 7 200521836 V. Description of the invention (4) The present invention further provides a method for automatically configuring the firmware of the substrate management controller. 'First, the hardware, interface, command, sdr, and OEM data required by the BMC are classified into hardware by class. Module, interface module, command module, SDR module and 0E crew; then generate a configuration file based on the associations and restrictions between the modules and separate each module into separate directories; initialize and generate an empty Makefile broadcast; read the configuration file content and list the tree list; when the user selects an option in a module, check the association and restricted content in the configuration file; dynamically display the association on the interface according to the configuration file Module options, and the associated options are recorded in the Make fi 1 e slot; finally, according to the user's choice and the current Makef slot, the BMC dynamic data is generated in the compilation environment. By encapsulating and setting the hardware, interface, command, SDR, and 0 EM data required by the BMC and setting associations, the present invention can flexibly manage each hardware module, adapt to various needs, and provide a unified calling interface for each module. Flexible hardware replacement, even standard configuration templates can be imported, and configuration can be modified based on them, which improves productivity. [Embodiment] The present invention provides a firmware automatic configuration system for a substrate management controller, which is used to flexibly manage hardware information and automatically complete a reasonable configuration of BMC. As shown in FIG. 1, it is a BMC server of the present invention. Schematic diagram of the automatic configuration system, which includes a hardware option module 1 〇1, an interface option module 1 0 2, a command option module 1 0 3, a sensor data record (sens 〇r Data Record ' SDR) weight group 104, 10EM (Original Equipment Manufacturer) module 105, a configuration file 106, a

第8頁 200521836 五、發明說明(5)Page 8 200521836 V. Description of the invention (5)

Makefile播案生成模組1〇7、一 BMC動體生成模組1〇8。 其中’該硬體選項模組儲存有可供選擇的硬體選 項,用以針對不同的硬體環境的支援管理,使用者可以根 據實際需要選擇相應的硬體;介面選項模組丨〇 2儲存有可 供選擇的通訊介面選項,用以針對不同的通訊介面支援, 使用者可以根據實際需要選擇相應的通訊介面;命令選項 核組1 0 3儲存有可供選擇的命令選項,用以支援I I規範 的命ί Ϊ合’使用者可以根據實際需要選擇相應的命令; 感測器貧料記錄模組j 〇4用以配置SDR的各個類型,用戶可 以=需要自行輸人或選擇;〇EM模組ι〇5用以對〇em 2二=行配置;配置檔案106記錄有每-模組的 =坡=用者的t與限制;Make f 1 1 e槽案生成模組1 0 7用以 MC韋刃體生成模組1〇8用;;祀二=生成Makefile槽案; ^ ^ ^ ^用以根據使用者的選擇以及Makef i le 祂案在編澤壞境中生成BMC韌體資料。 請參閱第2圖,為太欢# 配置方法流程®,首,先將\^基板管理㈣器,體自動 令、S_及_資料i 3需么5用的硬體、介面、命 組之間的關聯與限制Γΐ步驟2G1);然後根據該模 成單獨的目配,案並將每一模組分別分Makefile broadcast case generation module 107, a BMC moving body generation module 108. Among them, the hardware option module stores selectable hardware options for supporting management of different hardware environments. Users can choose the corresponding hardware according to actual needs; interface option module 丨 〇2 storage There are optional communication interface options to support different communication interfaces. The user can choose the corresponding communication interface according to the actual needs. The command option check group 1 0 3 stores the optional command options to support II. The user can select the corresponding command according to the actual needs. The sensor lean recording module j 〇4 is used to configure various types of SDR. The user can = input or choose by himself; 〇EM mode Group ι〇5 is used to configure two rows of 〇em 2; configuration file 106 records each-module = slope = user's t and restrictions; Make f 1 1 e slot case generation module 1 0 7 MC Wei blade body generation module 108 is used ;; Si II = Generate Makefile slot case; ^ ^ ^ ^ is used to generate BMC firmware data in the editing environment according to the user's choice and Makefile case. Please refer to Figure 2, Weitaihuan # Configuration Method Flow®. First, first, you need to use the \ ^ substrate management tool, auto-command, S_, and _data. The relationship and restrictions between the steps Γ ΐ step 2G1); then according to the model into a separate project, and each module is divided into

,初始化並生点一 *fe AA 案(步驟2〇3);讀取配 ς 型列表(步驟2 04);者田*阳丄 系円合91 ^ ^ S& f ^ ^ Φ ^ E,田用戶選中一模組中的選項時,檢 查該置‘案中的關聯與限制内纟(步驟2 0 5)"艮據該 200521836 五、發明說明(6) 配置檔案在介面上動態顯示關聯模組的選項,並在該 Makef i le檔案上記錄相關聯的選項(步驟2 0 6);最後根 據使用者的選擇及當前Makef i le稽案在編譯環境下生成 BMC動體資料(步驟2 0 7)。 本發明之配置檔案1 0 6可以是統一為所有模組而創建 的一個單一檔案,也可以是分開為硬體選項模組1 〇丨、介 面選項模組102、命令選項模組1〇3、SDR模組104以及OEM 模組1 0 5而分別設置。本方法之實施例是以分別設置來說 明的。, Initialize and generate a * fe AA case (step 203); read the list of matching patterns (step 2 04); Zhetian * yangyang system combined 91 ^ ^ S & f ^ ^ Φ E, Tian When the user selects an option in a module, check the associations and restrictions in the case (step 2 0 5) according to the 200521836 V. Description of the invention (6) The configuration file dynamically displays the association on the interface Module options, and record the associated options on the Makef i le file (step 2 06); finally, according to the user's choice and the current Makef i le audit case, generate BMC dynamic data in the compilation environment (step 2 0 7). The configuration file 106 of the present invention may be a single file created uniformly for all modules, or may be divided into a hardware option module 1 0, an interface option module 102, a command option module 103, The SDR module 104 and the OEM module 105 are provided separately. The embodiments of the method are explained in terms of separate settings.

其中該配置檔案中包含的資訊包括當前模組名、依賴 的模組位置及模組名、關聯的模組位置及模組名,限制條 件。 依據本發明’可以事先對各種支援的硬體、介面、命 令等以統一的形式進行封裝,保證不衝突、不遺漏。如第 3圖所示’為本發明所提之硬體選項模組的結構示意圖。 第4圖所示為本發明所提之介面選項模組結構示意 圖。第5圖所示為本發明所提之命令選項模組結構示意 圖。第6圖所示為本發明所提之SDR模組結構示意圖。The information contained in the configuration file includes the current module name, dependent module locations and module names, associated module locations and module names, and restrictions. According to the present invention ', various supported hardware, interfaces, commands, etc. can be packaged in a unified form in advance to ensure no conflicts and omissions. As shown in FIG. 3 ', it is a schematic structural diagram of a hardware option module mentioned in the present invention. Fig. 4 is a schematic diagram showing the structure of an interface option module mentioned in the present invention. Fig. 5 is a schematic diagram showing the structure of a command option module mentioned in the present invention. FIG. 6 is a schematic structural diagram of an SDR module according to the present invention.

本發明之實施例將各個模組分成單獨的一個目錄,比 如硬體型號目錄2168,介面目錄kcs,lan,命令目錄 command, SDR目錄 sdr, OEM目錄 〇em。 在母個目錄中設置一個配置文件Config,其内容是當 前模組名’依賴的模組位置,模組名,關聯的模組位置, 模組名,限制條件等。In the embodiment of the present invention, each module is divided into a single directory, such as the hardware model directory 2168, the interface directory kcs, lan, the command directory command, the SDR directory sdr, and the OEM directory oem. A configuration file Config is set in the parent directory, and its content is the current module name ’dependent module location, module name, associated module location, module name, restrictions, etc.

第10頁 200521836Page 10 200521836

成—個空的Makef i le 五、發明說明(7)Into an empty Makef i le V. Invention Description (7)

本發明之配置系統啟動之後 文件’然後去讀取每個目铱认r f. 1L 表。當用戶選中其中一項=士on& lg文件,列出樹形列After the configuration system of the present invention is started, the file ′ is then read for each item. When the user selects one of the items = 士 on & lg file, list the tree column

Conf ig文件,查找出其依 —μ項的 坎賴,關聯板組,並在顯示公 動態的體現出來。同時,. f · 1々杜μ ^ * 丨面上 項 丁在Makef 1 le文件上圮錄相關聯的 每個配置文件至少包含當前模組名,依賴模組 置,關聯模組名和位置。還有各自特殊的攔位, ϋ立 SDR配置文件的形式如下: ’ / /通用欄位 [Modu1eName] n Namen=str:sdr.c [DepModu1e] MNamen=str:xxxx ” Position” =str:xxxx [RelatedModule] "Name"=str:xxxx M Posititon11 = str:xxxx //以下是對SDR表的具體描述 [Bytel 2]Conf ig file, find out the dependents of the μ-term, correlative board group, and reflect it in the display public dynamics. At the same time,. F · 1々 μ μ ^ * 丨 The items on Ding are recorded on the Makef 1 le file. Each configuration file contains at least the current module name, dependent module settings, associated module names and locations. There are also special stops. The form of the stand-alone SDR configuration file is as follows: '// General field [Modu1eName] n Namen = str: sdr.c [DepModu1e] MNamen = str: xxxx ”Position” = str: xxxx [ RelatedModule] " Name " = str: xxxx M Posititon11 = str: xxxx // The following is a detailed description of the SDR table [Bytel 2]

ByteNumber1丨二dword:12ByteNumber1 丨 Two dword: 12

第11頁 200521836 五、發明說明(8) ”BitLength 丨'= dword:8 ’丨 FieldNamef, = str: Sensor Capabilities MDescription"=str:[7]lb=Ignore sensor if Entity is not present or disabled [6] 1 b = Auto Re-arm Support[5:4] 0 Ob = No hysteresis 0 1 b = hysteresis is readable 10b = readable and set tab 1e llb^Fixed, unreadable,hysteresis [3:2] 0 Ob = no thresholds 0 1 b = thresho1ds are readablePage 11 200521836 V. Description of the invention (8) "BitLength 丨 '= dword: 8' 丨 FieldNamef, = str: Sensor Capabilities MDescription " = str: [7] lb = Ignore sensor if Entity is not present or disabled [6] 1 b = Auto Re-arm Support [5: 4] 0 Ob = No hysteresis 0 1 b = hysteresis is readable 10b = readable and set tab 1e llb ^ Fixed, unreadable, hysteresis [3: 2] 0 Ob = no thresholds 0 1 b = thresho1ds are readable

1 Ob = readab1e and settable 1 1 b = F i xed and unreadable [1:0] 0 Ob = per threshold / discrete- state event enable / disable control 01b=entire sensor only 10b=global disable only 11b=no events MReferTableM=str:NULL "DetailNumber"=dword:5 <Deta i11>1 Ob = readab1e and settable 1 1 b = F i xed and unreadable [1: 0] 0 Ob = per threshold / discrete- state event enable / disable control 01b = entire sensor only 10b = global disable only 11b = no events MReferTableM = str: NULL " DetailNumber " = dword: 5 < Deta i11 >

丨,Detail” = dword:l n DetaiIDes"=str: Ignore sensor nFromn=dword:7 丨,Length'丨= dword:l MOn=str:ignore sensor if Entity is not present or disabled n ln=str:don’t ignore sensor t丨, Detail "= dword: ln DetaiIDes " = str: Ignore sensor nFromn = dword: 7 丨, Length '丨 = dword: l MOn = str: ignore sensor if Entity is not present or disabled n ln = str: don't ignore sensor t

第12頁 200521836 五、發明說明(9) [Rea 1 at i on] M RByteNumber"=dword:34 nRFrom!, = dword:7 "RLength"=dword:3 MRValue"=string:010 <Detai12> "Detailn=dword:2Page 12 200521836 V. Description of the invention (9) [Rea 1 at i on] M RByteNumber " = dword: 34 nRFrom !, = dword: 7 " RLength " = dword: 3 MRValue " = string: 010 < Detai12 > " Detailn = dword: 2

M Detai1DesM = str: Sensor Auto Re-arm Support 丨,Fromn=dword:6 nLength"=dword:l M0!, = str:no(manual) "lf, = str:yes(auto) <Detai 1 3> 丨,Detail1 丨= dword:3M Detai1DesM = str: Sensor Auto Re-arm Support 丨, Fromn = dword: 6 nLength " = dword: l M0 !, = str: no (manual) " lf, = str: yes (auto) < Detai 1 3 > 丨, Detail1 丨 = dword: 3

M DetaiIDes"=str:Sensor Hysteresis Support 1丨 From丨丨= dword: 5 M Lengthff=dword: 2 n 0 0"= s t r:N o hysteresis 丨丨 01n 二 str:hysteresis is readable ,10 丨丨二 str:hysteresis is readable and settable n ll,!=str:Fixed, unreadable, hysteresis <Deta i 1 4> nDetailn=dw〇rd:4 f, Detai IDes" = str : Sensor Threshold AccessM DetaiIDes " = str: Sensor Hysteresis Support 1 丨 From 丨 丨 = dword: 5 M Lengthff = dword: 2 n 0 0 " = str: N o hysteresis 丨 丨 01n Two str: hysteresis is readable, 10 丨 丨 two str: hysteresis is readable and settable n ll,! = str: Fixed, unreadable, hysteresis < Deta i 1 4 > nDetailn = dw〇rd: 4 f, Detai IDes " = str: Sensor Threshold Access

第13頁 200521836 五、發明說明(ίο)Page 13 200521836 V. Description of the Invention (ίο)

Support n F r 〇 m" = d w 〇 r d : 3 "Length”二dword:2 "0 0 !! = s t r : η o thresholds n 01M = str:thresholds are readable !, 10,f=str:reserved n11M=str:Fixed,unreaadble,thresholds. <Detai 1 5> ”Detailn=dword:5Support n F r 〇m " = dw 〇rd: 3 " Length "two dword: 2 " 0 0 !! = str: η o thresholds n 01M = str: thresholds are readable!, 10, f = str: reserved n11M = str: Fixed, unreaadble, thresholds. < Detai 1 5 > ”Detailn = dword: 5

"DetailDesn = str:Sensor Event Message Control Support ’丨 From” = dword: 1 n Length1丨= dword:2 M 0 0 = s t r : p e r threshold/discrete - state event enab1e/d i sab 1e control 丨丨 01 丨丨= str: entire sensor only n10n=str:global disable only 1 1,f = s t r : η o evnets from sensor" DetailDesn = str: Sensor Event Message Control Support '丨 From "= dword: 1 n Length1 丨 = dword: 2 M 0 0 = str: per threshold / discrete-state event enab1e / di sab 1e control 丨 丨 01 丨 丨= str: entire sensor only n10n = str: global disable only 1 1, f = str: η o evnets from sensor

這樣,當使用者填寫完SDR的一個欄位之後,本發明 就會根據S D R的C ο n f i g文件,將填寫的值的具體含義告知 用戶,並且將在Con f i g文件中指定的相關聯的欄位賦值, 這樣,就能保證SDR表的内在邏輯的正確性。同時,將這 一操作告知使用者。In this way, after the user completes a field in the SDR, the present invention will inform the user of the specific meaning of the filled value according to the C ο nfig file of the SDR, and the associated field specified in the Con fig file Assignment, in this way, can ensure the correctness of the internal logic of the SDR table. At the same time, inform the user of this operation.

第14頁 200521836 五、發明說明(11) makefile文件是許多編譯器,包括 Windows NT下 的編譯器,維護編譯資訊的常用方法。Make工具最主要也 是最基本的功能就是通過makef i 1 e文件來描述根源程式之 間的相互關係並自動維護編譯工作。而make f i 1 e文件需 要按照某種語法進行編寫,文件中需要說明如何編譯各個 原始檔案並連接生成可執行文件,並要求定義原始播案之 間的依賴關係。 ~ 本發明的M a k e f i 1 e稽案在系統啟動的時候自動建& 並且在選擇具體模組的時候進行修改,例如,選擇i 2 < 後,會在Makefil e槽案中添加: OBJ = obj/di2c.o \ obj/EEProm.o \ obj/IPMB,o \ obj/ADM1029.ο \ obj/LanSmb.ο 當然’這些内容’是在i 2 c的C ο η f i g文件裏指定的 在選中一個模組時’將其本身的模組,依賴的模組^, ° 的模組同時從相應Conf i g文件裏讀出,寫入Makef丨1 e " 樣,刪除一個模組時,刪除相關内容。 同 應用本發明所提供之自動配置系統可以方便、靈、、舌 快捷的進行BMC配置,如第7圖所示,為本發明之 =^、 不意圖。只需直觀的選擇一種硬體,比如直接選擇 叫 1 8 @曰曰 片(在一個列表中選定一種硬體後,和該Page 14 200521836 V. Description of the invention (11) The makefile is a common method for many compilers, including the compiler under Windows NT, to maintain compilation information. The main and most basic function of the Make tool is to use makef i 1 e files to describe the interrelationships between the source programs and automatically maintain the compilation. The make f i 1 e file needs to be written according to a certain syntax. The file needs to explain how to compile each original archive and link to generate an executable file, and it is required to define the dependencies between the original broadcasts. ~ The Makefi 1 e audit case of the present invention is automatically created & when the system is started, and modified when the specific module is selected, for example, after selecting i 2 <, it will be added to the Makefil e case: OBJ = obj / di2c.o \ obj / EEProm.o \ obj / IPMB, o \ obj / ADM1029.ο \ obj / LanSmb.ο Of course 'these contents' are specified in the i 2 c C ο η fig file. In the case of one module, 'read its own module, dependent modules ^, ° module from the corresponding Conf ig file at the same time, write Makef 丨 1 e " like, when deleting a module, delete related information. With the application of the automatic configuration system provided by the present invention, BMC configuration can be performed conveniently, quickly, and quickly. As shown in FIG. 7, it is not intended for the present invention. Just intuitively select a piece of hardware, for example, directly choose to call 1 8 @ 曰 耶 片 (After selecting a piece of hardware in a list, and the

200521836 五、發明說明(12) |硬體相關聯的介面就會出現在下一級列表中),類似的, |接下來只需直觀的選擇一個介面,比如選擇](cs介面,只 需直觀的選擇所需命令,比如需要Global,Event,Sel, Watch dog命令等。 對於SDR表,如何不使用本發明,要填寫一個SDR Typel的感測器,需要手工填寫64位元組的十六進位數, 丨對程式師來說,不易理解,也就容易出錯,遺漏,而且, 丨^ :其^ 一些位元組的一些位元,互相關聯著,比如前面 I"" 了不支援entity instance,那麼後面關於enti1:y 位元組都必須作相應得調整,非常繁項。而透 需填窣Μ ^明,凊參閱第8圖,為SDR配置向導示意圖,只 I慧在線“部 s㈣表的内在、仃查閱規乾,並且保證所生成的 |位元組的填充、輯f聯繫沒有錯誤,可以报直觀的完成這64 完成,㈣配置组能夠根據前面的設置自動 、 qG罝的快捷,正確性。 以上所述去^ 非用來限定本ΐ明;”發明其中的較佳實施例而已,並 圍所作的均等‘化:施粑圍’即凡依本創作申請專利範 一 L飾,皆為本創作專利範圍所涵蓋。 第16頁 200521836 圖式簡單說明 第1圖為本發明之BMC韋刃體自動配置系統示意圖; 第2圖為本發明之基板管理控制器韌體自動配置方法流程 圖; 第3圖為本發明所提之硬體選項模組的結構示意圖; 第4圖為本發明所提之介面選項模組結構示意圖; 第5圖為本發明所提之命令選項模組結構示意圖; 第6圖為本發明所提之SDR模組結構示意圖; 第7圖為本發明之配置介面示意圖;及 第8-1、8-2圖為本發明所提之SDR配置向導示意圖。200521836 V. Description of the invention (12) | The interface associated with the hardware will appear in the next list), similarly, | Next, you only need to intuitively select an interface, such as selecting] (cs interface, only intuitive Select the required command, such as Global, Event, Sel, Watch dog commands, etc. For the SDR table, how to use the present invention, to fill in an SDR Typel sensor, you need to fill in the 64 hexadecimal digits manually. , 丨 For programmers, it is not easy to understand, it is easy to make mistakes and omissions, and, 丨 ^: Its ^ some bits and some bits are related to each other. For example, I " " does not support entity instances, Then the following enti1: y bytes must be adjusted accordingly, which is very complicated. However, you need to fill in the details, refer to Figure 8, which is a schematic diagram of the SDR configuration wizard. Inherent and non-examined rules, and ensure that there is no error in the generation of the byte filling and editing, can be reported intuitively to complete this 64 completion, the ㈣ configuration group can automatically, qG 罝 fast according to the previous settings Correctness. The above description is not intended to limit the present invention; "It is only the preferred embodiment of the invention, and the equalization of" transformation: Shi Yanwei "is to apply for the application of the patent model No. 1 in accordance with this creation, All are covered by the scope of the creation patent. Page 16 200521836 Brief Description of Drawings Figure 1 is a schematic diagram of the BMC Wei blade automatic configuration system of the present invention; Figure 2 is a flowchart of the method of automatic configuration of the baseboard management controller firmware of the present invention Figure 3 is a schematic structural diagram of a hardware option module according to the present invention; Figure 4 is a schematic structural diagram of an interface option module according to the present invention; Figure 5 is a command option module structure according to the present invention Schematic diagram; Figure 6 is a schematic diagram of the structure of the SDR module according to the present invention; Figure 7 is a schematic diagram of the configuration interface of the present invention; and Figures 8-1 and 8-2 are schematic diagrams of the SDR configuration wizard provided by the present invention.

【圖式符號說明】 101 硬體選項模組 1 0 2 介面選項模組 1 0 3 命令選項模組 104 感測器資料記錄模組 105 OEM模組 106 配置檔案 107 Makef i le槽案生成模組 108 BMC韌體生成模組[Illustration of graphical symbols] 101 hardware option module 1 0 2 interface option module 1 0 3 command option module 104 sensor data recording module 105 OEM module 106 configuration file 107 Makef i le slot generation module 108 BMC firmware generation module

第17頁Page 17

Claims (1)

200521836200521836 六、申請專利範圍 1、一種基板管理控制器(Baseboard Management Controller,BMC)之韌體自動配置系統,用以靈活營硬 硬體資訊,自動完成BMC勒體的合理配置,該系統包括: 一硬體選項模組’儲存有可供選擇的硬體選項,用以針對 不同的硬體環境的支援管理,使用者可以根據實際需要選 擇相應的硬體; ' 一介面選項模組,儲存有可供選擇的通訊介面選項,用以 針對不同的通訊介面支援,使用者可以根據實際需要選擇 相應的通訊介面; 一命令選項模組,儲存有可供選擇的命令選項,用以支援 I PM I規範的命令集合,使用者可以根據實際需要選擇相應 的命令; 一感測器資料記錄(Sensor Data Record,SDR)模組, 用以配置SDR的各個類型,用戶可以根據實際需要自行輸 入或選擇; 一 0EM( Original Equipment Manufacturer)模組,用以 對OEM的命令和介面進行配置; 一配置檔案,記錄有每一模組的每一選項的關聯與限制 一 Makefile檐案生成模組,用以根據使用者的選擇遂過該 配置槽案而生成Makefil e檔案;及 一 BMC韋刃體生成模組,用以根據使用者的選擇以及 Makef 1 le棺案在編譯環境中生成MC韋刃體資料。 2、如申請專利範圍第1項所述之基板管理控制器之韌體> 動配置系統,其中窣硬體選項模組、介面選項模組、命々6. Scope of patent application 1. A firmware automatic configuration system for the Baseboard Management Controller (BMC), which is used to flexibly manage hardware and hardware information and automatically complete the reasonable configuration of the BMC. The system includes: The hardware option module 'stores optional hardware options to support the management and management of different hardware environments. Users can select the corresponding hardware according to actual needs.' An interface option module stores available hardware options. The selected communication interface option is used to support different communication interfaces. The user can choose the corresponding communication interface according to the actual needs. A command option module stores optional command options to support the I PM I standard. Command collection, users can choose the corresponding command according to actual needs; a Sensor Data Record (SDR) module is used to configure various types of SDR, users can input or select according to actual needs; a 0EM (Original Equipment Manufacturer) module for configuring OEM commands and interfaces; A configuration file records the association and limitation of each option of each module. A Makefile eaves generation module is used to generate a Makefil e file through the configuration slot according to the user's choice; and a BMC blade body A generating module is used to generate MC Wei blade data in the compilation environment according to the user's choice and the Makef 1 le coffin case. 2. The firmware of the baseboard management controller as described in item 1 of the scope of the patent application > dynamic configuration system, where: 窣 Hardware option module, interface option module, command line 第18頁 200521836 六、申請專利範圍 選項模組、SDR模組以及OEM模組被分別分成單獨的目錄。 3、 如申請專利範圍第1項所述之基板管理控制器之韌體自 動配置系統,其中該配置檔案可以為該硬體選項模組、介 面選項模組、命令選項模組、SDR模組以及OEM模組而分別 設置。 4、 如申請專利範圍第1項所述之基板管理控制器之韌體自 動配置系統,其中該配置檔案中包含的資訊包括當前模組 名、依賴的模組位置及模組名、關聯的模組位置及模組 名,限制條件。 5、 一種基板管理控制器(Baseboard Management Controller,BMC)之韋刃體自動配置方法,用以靈活管理 硬體資訊,自動完成BMC勃體的合理配置,該方法包括: 將BMC需要使用的硬體、介面、命令、SDR以及OEM資料按 類分為硬體模組、介面模組、命令模組、SDR模組以及OEM 模組; 根據該模組之間的關聯與限制生成一配置檔案並將每一模 組分別分成單獨的目錄; 初始化並生成一空的Makefil e槽案; 讀取配置檔案内容,列出樹型列表; 當用戶選中一模組中的選項時,檢查該配置檔案中的關聯 與限制内容; 根據該配置檔案在介面上動態顯示關聯模組的選項,並在 該M a k e f i 1 e槽案上記錄相關聯的選項;及 根據使用者的選擇及當前Makef i le槽案在編譯環境下生成Page 18 200521836 VI. Patent Application Scope Option modules, SDR modules and OEM modules are divided into separate directories. 3. The firmware automatic configuration system of the substrate management controller as described in the first item of the scope of the patent application, wherein the configuration file can be the hardware option module, interface option module, command option module, SDR module, and OEM module. 4. The firmware automatic configuration system of the baseboard management controller as described in item 1 of the scope of patent application, wherein the information contained in the configuration file includes the current module name, the location of the dependent module and the module name, and the associated module Group location and module name, restrictions. 5. A method for automatic configuration of a baseboard management controller (BMC), which is used to flexibly manage hardware information and automatically complete the reasonable configuration of the BMC. The method includes: changing the hardware used by the BMC , Interface, command, SDR, and OEM data are divided into hardware modules, interface modules, command modules, SDR modules, and OEM modules by category; generate a configuration file based on the associations and restrictions between the modules and Each module is divided into separate directories; initialize and generate an empty Makefil e slot; read the configuration file content and list the tree list; when the user selects an option in a module, check the configuration file Association and restriction content; dynamically display the options of the associated module on the interface according to the configuration file, and record the associated options in the Makefi 1 e slot; and according to the user's selection and the current Makef ile slot Generated in the compilation environment 第19頁 200521836 六、申請專利範圍 BMC韋刃體資料。 6、 如申請專利範圍第5項所述之基板管理控制器之韌體自 動配置方法,其中該配置檔案中包含的資訊包括當前模組 名、依賴的模組位置及模組名、關聯的模組位置及模組 名,限制條件。 7、 如申請專利範圍第5項所述之基板管理控制器之韌體自 動配置方法,其中更包括當使用者删除一模組選項時,從 M a k e f i 1 e檀案中刪除相應的内容之步驟。Page 19 200521836 6. Scope of patent application BMC Wei blade body information. 6. The firmware automatic configuration method of the substrate management controller as described in item 5 of the scope of the patent application, wherein the information contained in the configuration file includes the current module name, the location of the dependent module and the module name, and the associated module Group location and module name, restrictions. 7. The method for automatic firmware configuration of the board management controller as described in item 5 of the scope of patent application, which further includes the step of deleting the corresponding content from the Makefi 1 e case when the user deletes a module option. . 8、 如申請專利範圍第5項所述之基板管理控制器之韌體自 動配置方法,其中該配置檔案可以為該硬體選項模組、介 面選項模組、命令選項模組、SDR模組以及OEM模組而分別 設置。8. The firmware automatic configuration method for the substrate management controller as described in item 5 of the scope of the patent application, wherein the configuration file may be the hardware option module, interface option module, command option module, SDR module, and OEM module. 第20頁Page 20
TW92137799A 2003-12-31 2003-12-31 Automatic firmware configuration system and method for baseboard management controller TWI236621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92137799A TWI236621B (en) 2003-12-31 2003-12-31 Automatic firmware configuration system and method for baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92137799A TWI236621B (en) 2003-12-31 2003-12-31 Automatic firmware configuration system and method for baseboard management controller

Publications (2)

Publication Number Publication Date
TW200521836A true TW200521836A (en) 2005-07-01
TWI236621B TWI236621B (en) 2005-07-21

Family

ID=36674974

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92137799A TWI236621B (en) 2003-12-31 2003-12-31 Automatic firmware configuration system and method for baseboard management controller

Country Status (1)

Country Link
TW (1) TWI236621B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI822536B (en) * 2022-12-28 2023-11-11 神雲科技股份有限公司 Firmware automatic configuration method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI505104B (en) 2010-11-03 2015-10-21 Inventec Corp Controlling method for baseboard management controller with customization sensor data record

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI822536B (en) * 2022-12-28 2023-11-11 神雲科技股份有限公司 Firmware automatic configuration method

Also Published As

Publication number Publication date
TWI236621B (en) 2005-07-21

Similar Documents

Publication Publication Date Title
TWI553556B (en) Computing device and operating method thereof, and non-transitory computer-readable storage medium
CN1327341C (en) Firmware automatic configuration system and method for substrate management controller
TWI332176B (en) Method and system for automated installation of system specific drivers
EP3992796A1 (en) Inter-process communication method, apparatus and device
EP2189894B1 (en) Archiving data on memory cards
US20100031244A1 (en) Software updating device and computer-readable storage medium storing software updating program
CN103999055A (en) Accessing data stored in a command/address register device
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
CN107273245B (en) Operation device and operation method
WO2014082583A1 (en) Method and device for generating dynamic partition information in nand flash memory
WO2020259163A1 (en) Device deployment method and apparatus, device running method, and electronic device
US8265919B1 (en) Emulating a peripheral mass storage device with a portable device
TW589572B (en) Method for updating operating system
US8966238B2 (en) Personalization of shared electronic devices
EP3429128B1 (en) Hard drive operation method and hard drive manager
CN109117418A (en) A kind of programmable system on chip
CN110187872A (en) A kind of BIOS development approach, system and electronic equipment and storage medium
WO2021135326A1 (en) Data backup method, apparatus and device, and medium
TW200521836A (en) Automatic firmware configuration system and method for baseboard management controller
JP2005531085A (en) Method and apparatus for realizing hardware compatibility and realizing stable software image
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
US11748110B2 (en) Server with setup menu for the bios settings
WO2018028321A1 (en) Method and apparatus for managing virtual external storage device, and terminal
CN115373908A (en) Data storage method and related device
JP5840892B2 (en) Software distribution system and software distribution program

Legal Events

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