TWI236621B - 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
TWI236621B
TWI236621B TW92137799A TW92137799A TWI236621B TW I236621 B TWI236621 B TW I236621B TW 92137799 A TW92137799 A TW 92137799A TW 92137799 A TW92137799 A TW 92137799A TW I236621 B TWI236621 B TW I236621B
Authority
TW
Taiwan
Prior art keywords
module
configuration
option
hardware
file
Prior art date
Application number
TW92137799A
Other languages
Chinese (zh)
Other versions
TW200521836A (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 and method for baseboard management controller (BMC). The method includes the following steps of: first packaging hardware module, interface module, command module, SDR module, and OEM module by category; generating a configuration file and separating each module as an independent directory; initializing and generating an empty Makefile file; reading the contents of the configuration file; and when user selects the options in a module, checking the configuration file and dynamically displaying the options of related modules on the interface; recording the related options in the Makefile file; finally generating the BMC firmware data. The present invention can flexibly manage the hardware information, and automatically accomplish the configuration of a BMC firmware.

Description

12366211236621

【發明所屬之技術領域】 ^ 本發明是關於一種韌體自動配置的系統及方法,尤其 是關於—種符合^…規範之基板管理控制器韌體配^ 系統及方法。 【先前技術】 / 斤;濟時代企業面臨的一個主要問題是既要保證應用 系統不間斷運行,又要不斷降低運行成本。誰能更好地控 制網路管理成本,誰就有可能在競爭中站在前列。[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 firmware configuration of a substrate management controller that conforms to ^ ... specifications. [Previous technology] / Jin; One of the main problems facing enterprises in the economic era is to ensure that the application system runs uninterruptedly while continuously reducing operating costs. Whoever can better control the cost of network management is likely to be at the forefront of competition.

市場的需求決定著技術與產業的發展方向。業界的一 些主要廠商從1 9 9 7年開始聯手,步入伺服器管理智慧化的 研發之路。它們的出發點是解決伺服器硬體管理能力低的 問題。經過數年努力,於2〇〇1年推出了 ipMI (Intelligent Platform Management Interface,智慧 化平臺管理介面)標準。 曰 I PM I是使硬體管理具備智慧化的新一代通用介面標 準。用戶可以利用I PM I監視伺服器的物理健康特徵,如溫 度、電壓、電扇工作狀態、電源供應以及機箱入侵等,為 系統管理、恢復以及資產管理提供資訊。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 server hardware management capabilities. After several years of hard work, the ipMI (Intelligent Platform Management Interface) standard was introduced in 2001. I PM I is a new-generation universal interface standard 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.

I Ρ Μ I技術的π智慧化π來自於一個管理微控制器。在 一個主機系統裏,這個控制器被稱為BMC (Baseboard Management Controller,基板管理控制器)。bMC可以用 來提供智慧平臺管理的智慧,控制系統的管理軟體和平臺 管理硬體之間的介面,提供自主監視、事件記錄和恢復控 制功能,並可作為系統管理軟體和I PMB與I CMB介面間的閘The π wisdom of IPM technology comes from a management microcontroller. In a host system, this controller is called a BMC (Baseboard Management Controller). bMC can be used to provide the wisdom of intelligent platform management, the interface between the management software of the control system and the platform management hardware, providing independent monitoring, event recording and recovery control functions, and can be used as the system management software and I PMB and I CMB interfaces Gate

第5頁 1236621Page 5 1236621

如 ί 3 : :巧電源,並自動地監控系統健康狀況~ p ί發現任何被控早元異常,t能立即採取行動,例如記錄 Γ報%自動關機或重啟動。與㈣相關聯的是-組無源β己憶體,用來存儲感測器的資料(Sens〇r DataSuch as ί 3 :: Qiao power supply, and automatically monitor the system health ~ p ί found any accused premature abnormalities, t can take immediate action, such as recording Γ reported% automatic shutdown or restart. Associated with plutonium is a group of passive β-capsules used to store sensor data (Sensor Data

Records’ SDR)、系統事件記錄檔案,以及一些單元資訊 =序=和部件號資訊等。IPMI通過指定通用、精簡、 與硬體資訊的分離。 輸^理微控制器,實現軟體 -击^時MC曰收集有關系統健康和系統狀態資訊,當有 :Ϊ ΐ件發ί可以執行糾正動作。•常,系統健康監視 功此疋利用菲利浦的I 2C數位感測器(如U75、LM85、 yy、LM86)實現的,它能監視不同的系統電壓、溫度和 2速度。麗採用主動輪詢的方式來發現是否存 =的感測器。為了使監視工作切實有效,Mc可 ::的門限值進行配置。例如,當嶋測到溫度超過= 個D警門限時它就提高風扇速度,如果糾正不夠,、〇产、 :超過另-個緊急門限,此時BMC會切斷系統電源二广: 事件過程並通過LAN或串列數據機向遠端終端發告馨:,录 BMC由許多模組組成,與硬體密切相關,並^ ^ 之間具有千絲萬縷的聯繫。在BMC配置過程中,需要選摆 主板硬體晶片,然後選擇相應的驅動模組,選擇而需的八 ::命令,SDR,OEM命令’將各個模組組合起來譯二 BMC的韌體。 〒Ώ 目前,沒有一個合適的配置工具,BMC的配置過程只Records ’SDR), system event log files, and some unit information = sequence = and part number information. IPMI is designed to be generic, streamlined, and decoupled from hardware information. Enter the microcontroller and implement the software.-When you click, the MC collects information about system health and system status. When there is a: Ϊ file, you can perform corrective actions. • Often, system health monitoring is achieved by using Philips' I 2C digital sensors (such as U75, LM85, yy, LM86), which can monitor different system voltages, temperatures, and 2 speeds. Lai uses an active polling method to find out if a sensor is present. In order for monitoring to be effective, Mc can be configured with a threshold. For example, when it is detected that the temperature exceeds the D alarm threshold, it will increase the fan speed. If the correction is insufficient, the output will exceed the other emergency threshold. At this time, the BMC will cut off the system power. To the remote terminal via LAN or serial modem: The BMC is composed of many modules, which are closely related to the hardware, and there are inextricable connections between them. In the BMC configuration process, you need to select the motherboard hardware chip, then select the corresponding driver module, select the required eight :: command, SDR, OEM command ’to combine each module to translate the BMC firmware. 〒Ώ Currently, there is no suitable configuration tool, and the BMC configuration process is only

12366211236621

五、發明說明(3) =依靠手工完成,由於完全依賴人腦,容易出錯,效率 ,並且一些隱含的錯誤無法得到及時發現,品質盔二 到保證。因此,如何提供一種MC動體的自動配置、系、统/仔 經成為業界亟待解決的問題。 、、’ 【發明内容】 本發明乃為解決上述問題而提供一種基板管理控制器 之韌體自動配置系統,用以靈活管理硬體資^ BMC勤體的合理配置。 目勤疋成 ^ 本發明提供一種基板管理控制器之韌體自動配置系 統,包括硬體選項模組,儲存有可供選擇的硬體選項用 $針對不同的硬體環境的支援管理,使用者可以根據實際 而要選擇相應的硬體;介面選項模組,儲存有可供選擇的 通訊介面選項,用以針對不同的通訊介面支援,使用者可 以根據實際需要選擇相應的通訊介面;命令選項模組,儲 存有可供選擇的命令選項,用以支援I PM I規範的命令集 合’使用者可以根據實際需要選擇相應的命令;感測器資 料記錄(Sensor Data Record,SDR)模組,用以配置SDR 的各個類型,用戶可以根據實際需要自行輸入或選擇; 〇EM( Original Equipment Manufacturer)模組,用以對 OEM的命令和介面進行配置;配置檔案,記錄有每一模組 的每一選項的關聯與限制;Make f i 1 e檔案生成模組,用以 根據使用者的選擇透過該配置檔案而生成Makef丨le檔案; BMC韋刃體生成模組’用以根據使用者的選擇以及Makef丨le 播案在編譯環境中生成BMC勤體資料。V. Description of the invention (3) = Relying on manual work. Because it is completely dependent on the human brain, it is prone to errors and efficiency, and some hidden errors cannot be found in time. The quality helmet is guaranteed. Therefore, how to provide an automatic configuration, system, and system of MC moving bodies has become an urgent problem for the industry. [...] [Summary of the Invention] The present invention is to provide a firmware automatic configuration system for a substrate management controller in order to solve the above-mentioned problems, which is used to flexibly manage the hardware resources. The objective of the invention is to provide an automatic firmware configuration system for a substrate management controller, which includes a hardware option module, which stores optional hardware options and supports management of different hardware environments. Users The corresponding hardware can be selected according to the actual situation; the interface option module stores the available communication interface options for supporting different communication interfaces. The user can choose the corresponding communication interface according to the actual needs; the command option mode Group, which stores optional command options to support the I PM I standard command set. The user can select the corresponding command according to the actual needs; the Sensor Data Record (SDR) module is used to Configure various types of SDR, users can input or choose according to actual needs; oEM (Original Equipment Manufacturer) module, which is used to configure OEM commands and interfaces; configuration files, each option of each module is recorded Association and limitation; Make fi 1 e file generation module, which is generated by the configuration file according to the user's choice Item Makef Shu le; Wei blade body BMC generating module 'BMC ground member for generating data in accordance with the selection and compilation environment Makef Shu le multicast case the user.

1236621 五、發明說明(4) 本發明進而提供一種基板管理控制器之韌體自動配置 方法,首先將BMC需要使用的硬體、介面、命令、SDR以及 OEM資料按類分為硬體模組、介面模組、命令模組、SDR模 組以及OEM模組;然後根據該模組之間的關聯與限制生成 一配置槽案並將每一模組分別分成單獨的目錄;初始化並 生成 二的Makefil e槽案,頃取配置權案内容,列出樹型 列表;當用戶選中一模組中的選項時,檢查該配置檔案中 的關聯與限制内容;根據該配置檔案在介面上動態顯示關 聯模組的選項,並在該Make f i 1 e檔案上記錄相關聯的選 項’最後根據使用者的選擇及當前Makefil e標案在編譯環 境下生成BMC勒體資料。 、β < 本發明透過將BMC需要的硬體、介面、命令、SDR以 OEM資料分類封裝並設置關聯,可以靈活的管理各個硬 模組,適應各種需求,為各個模組提供統一的調用介 靈活的替換硬體,甚至可以導入標準配置模板,在其 上進行修改配置,從而提高了生產率。 、土楚 【實施方式】 本發明提供了一種基板管理控制器之韌體自動配置 統,用以靈活管理硬體資訊,自動完成BMC勃體的合理配、 置,如第1圖所示,為本發明之BMC韌體自動配置系統示音 圖,該系統包括一硬體選項模組i 〇丨、一介面選項模組、思 102、一命令選項模組103、一感測器資料記錄(Sens〇r Data Record, SDR)模組 104、 一 〇EM( Original1236621 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 divided into hardware modules, Interface module, command module, SDR module and OEM module; then generate a configuration slot plan and separate each module into separate directories according to the associations and restrictions between the modules; initialize and generate two Makefil The e-slot case takes the content of the configuration right case and lists the tree list; when the user selects an option in a module, checks the association and restriction content in the configuration file; dynamically displays the association on the interface according to the configuration file Module options, and record the associated options' on the Make fi 1 e file. Finally, according to the user's selection and the current Makefil e standard project, BMC Leak data is generated in the compilation environment. , Β < The present invention classifies and sets the hardware, interface, command, and SDR required by BMC by OEM data and sets the association, which can flexibly manage each hardware module to meet various needs and provide a unified calling interface for each module Flexible hardware replacement, even standard configuration templates can be imported, and configuration changes can be made on them, increasing 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 the reasonable configuration and configuration of BMC bodies. As shown in FIG. 1, The sound map of the BMC firmware automatic configuration system of the present invention, the system includes a hardware option module i 〇 丨, an interface option module, Si 102, a command option module 103, a sensor data record (Sens 〇r Data Record (SDR) module 104, 〇EM (Original

Equipment Manufacturer)模組 i〇5、一配置檔案 j〇6、_Equipment Manufacturer) module i〇5, a configuration file j〇6, _

五、發明說明(5)V. Description of the invention (5)

Makefile檔案生成模組1〇7、一 βΜ 直Φ,縿石杀鰣、强= 殿生成拉組1 〇 8。 ^ '"更體選項模組101儲存有可供選擇的麻种、@ 項,用以針對不同的硬體環境的支援^ ^擇的硬體選 據實際需要選擇相應的硬體;介 使用者可以根 供選擇的通訊介面iP馆? 選項核組102儲存有可 仏k擇的逋面選項,用以針對不同 使用者可以根據實際需要選擇相應的 存V供選擇的命令選項,用以支援心規範 1 Ϊ e/ 者可以根據實際需要選擇相應的命令; 感測器資料記錄模組1 04用以配置SDR的各個類型,用戶可 以根據實際需要自行輸入或選擇;〇EM模組1〇5用以對〇em 的命令和介面進行配置;配置檔案! 〇6記錄有每一模組的 每一選項的關聯與限制;Make f i 1 e檔案生成模組1 〇 7用以 根據使用者的選擇透過該配置檔案而生成Makef丨le檔案; BMC勃體生成模組108用以根據使用者的選擇以及Makefne 檔案在編譯環境中生成BMC勃體資料。 請參閱第2圖,為本發明之基板管理控制器韌體自動 配置方法流程圖,首先將BMC需要使用的硬體、介面、命 令、SDR以及OEM資料按類分為硬體模組、介面模組、命令 模組、SDR模組以及OEM模組(步驟201);然後根據該模 組之間的關聯與限制生成一配置檔案並將每一模組分別分 成單獨的目錄(步驟2 0 2);初始化並生成一空的 Makef i le檔案(步驟2 0 3);讀取配置檔案内容,列出樹 型列表(步驟2 0 4);當用戶選中一模組中的選項時,檢 查該配置檔案中的關聯與限制内容(步驟2 0 5);根據該 1236621 五、發明說明(6) 配置檔案在介面上動態顯示關聯模組的選項,並在該 Make f i 1 e槽案上記錄相關聯的選項(步驟2 0 6);最後根 據使用者的選擇及當前Makef i le標案在編譯環境下生成 BMC章刃體資料(步驟2 0 7)。 本發明之配置檔案1 0 6可以是統一為所有模組而創建 的一個單一檔案,也可以是分開為硬體選項模組1 0丨、介 面選項模組1 02、命令選項模組1 03、SDR模組1 04以及OEM 模組1 0 5而分別設置。本方法之實施例是以分別設置來說 明的。 其中該配置檔案中包含的資訊包括當前模組名、依賴 的模組位置及模組名、關聯的模組位置及模組名,限制條 件。 依據本發明,可以事先對各種支援的硬體、介面、命 令專以統一的形式進行封裝,保證不衝突、不遺漏。如第 3圖所不’為本發明所提之硬體選項模組的結構示意圖。 第4圖所示為本發明所提之介面選項模組結構示意 圖。第5圖所示為本發明所提之命令選項模組結構示意 圖。第6圖所示為本發明所提之SDR模組結構示意圖。 本發明之實施例將各個模組分成單獨的一個目錄,比 如硬體型號目錄2168,介面目錄kcs,lan,命令目錄 comman^, SDR目錄 Sdr, OEM目錄 〇em。 义★在每個目錄中設置一個配置文件Config,其内容是當 =核組名’依賴的模組位置,模組名,關聯的模組位置’ 模組名,限制條件等。Makefile file generation module 107, a βM straight Φ, vermiculite killing, strong = Dian Shengla group 108. ^ '" More options module 101 stores selectable hemp seeds and @ items for support of different hardware environments ^ ^ The selected hardware is selected based on the actual needs of the corresponding hardware; refer to the use Can iP Pavilion with alternative communication interface? The option check group 102 stores selectable face options, which can be used to select corresponding command options for different users according to actual needs, and to support heart norms 1 Ϊ e / can be based on actual needs Select the corresponding command; sensor data recording module 104 is used to configure various types of SDR, users can input or select according to actual needs; oEM module 105 is used to configure the command and interface of oem ; Configuration files! 〇6 Records the association and limitation of each option of each module; Make fi 1 e file generation module 1 〇 Used to generate Makef file through the configuration file according to the user's choice; BMC body generation The module 108 is configured to generate BMC body data in a compilation environment according to a user's selection and a Makefne file. Please refer to FIG. 2 for a flowchart of a method for automatically configuring the firmware of the substrate management controller of the present invention. First, the hardware, interface, command, SDR, and OEM data required by the BMC are divided into hardware modules and interface modules Group, command module, SDR module, and OEM module (step 201); then generate a configuration file based on the associations and restrictions between the modules and divide each module into separate directories (step 2 2) ; Initialize and generate an empty Makef i le file (step 2 0 3); read the configuration file content and list the tree list (step 2 4); when the user selects an option in a module, check the configuration Relevant and restricted content in the file (step 2 0 5); according to the 1236621 V. Description of Invention (6) Configure the file to dynamically display the option of the associated module on the interface and record the association in the Make fi 1 e slot case Option (step 206); finally, according to the user's choice and the current Makefile project, generate the BMC chapter body data in the compilation environment (step 207). 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 1 02, a command option module 1 03, SDR module 1 04 and OEM module 105 respectively. The embodiments of the method are explained in terms of separate settings. 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 supporting hardware, interfaces, and commands 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. In the embodiment of the present invention, each module is divided into a single directory, such as a hardware model directory 2168, an interface directory kcs, lan, a command directory comman ^, an SDR directory Sdr, and an OEM directory 〇em. Meaning ★ Set a configuration file Config in each directory, whose content is when = core group name ’dependent module position, module name, associated module position’ module name, restrictions, etc.

第10頁 1236621 五、發明說明(7) ^------ 本發明之配置系統啟 文件,然後去讀取每個目,f生成一個空的Makefile 表。當用戶選中其中一的c〇nfl蚊件,列出樹形列 Config文件,杳找出笪^夺,本發明會去檢查該項的 私1认胁a山Γ 八依賴,關聯模組,並在顯示介面上 項。 了在Makef 1 le文件上記錄相關聯的 含當前模組名,依賴模組名和 還有各自特殊的棚位,例如, 位 每個配置文件至少包 置,關聯模組名和位置。 SDR配置文件的形式如下: //通用攔位Page 10 1236621 V. Description of the invention (7) ^ ------ The configuration system of the present invention starts the file, then reads each item, and f generates an empty Makefile table. When the user selects one of the confl mosquitoes, lists the tree-shaped Config file, and then finds the 笪 夺 夺, the present invention will check the private identification of the item 八 eight dependencies, related modules, And items on the display interface. In order to record the associated module name in the Makef 1 le file, including the current module name, the dependent module name, and its own special booth, for example, each configuration file contains at least the associated module name and location. The form of the SDR configuration file is as follows: // General stop

[Modu1eName ] 'Name"=str:sdr.c .DepModu 1 e ][Modu1eName] 'Name " = str: sdr.c .DepModu 1 e]

Name 丨丨= str:xxxx Positionf, = str:xxxx [Re 1 atedModu 1 e ] 丨,Name 丨’=str:xxxx "Posititon” = str:xxxx //以下是對SDR表的具體描述 [Byte 1 2 ] ByteNumber"=dword: 12Name 丨 丨 = str: xxxx Positionf, = str: xxxx [Re 1 atedModu 1 e] 丨, Name 丨 '= str: xxxx " Posititon ”= str: xxxx // The following is a detailed description of the SDR table [Byte 1 2] ByteNumber " = dword: 12

第11頁 1236621 五、發明說明(8) 丨’ BitLength丨丨= dword: 8 丨丨 FieldName 丨丨= str:Sensor Capabilities "Description"=str:[7]lb=Ignore sensor if Entity is not present or disabled [6] 1b = Auto Re-arm Support[5:4] 0Ob = No hysteresis 01b=hysteresis is readable 1Ob=readab1e and settable llb=Fixed,unreadable,hysteresis [3:2] 0 Ob = no thresholds 01b = thresho1ds are readable 10b二readable and settable 11b = F i xed and unreadable [1:0] 0 0b = per threshold / discrete-state event enable / disable control 01b=entire sensor only 10b=g1oba1 disable only 11b=no events MReferTableM=str:NULL 丨丨 Detai INumber丨丨= dword: 5 <Deta i11> "Detail" = dword:l MDetailDesM=str:Ignore sensor M F r o inM = d w o r d : 7 丨丨 Length’丨二dword:l n 0M = str:ignore sensor if Entity is not present or disabled 丨丨 1 丨丨= str:don’t ignore sensorPage 111236621 V. Description of the invention (8) 丨 'BitLength 丨 丨 = dword: 8 丨 丨 FieldName 丨 丨 = str: Sensor Capabilities " Description " = str: [7] lb = Ignore sensor if Entity is not present or disabled [6] 1b = Auto Re-arm Support [5: 4] 0Ob = No hysteresis 01b = hysteresis is readable 1Ob = readab1e and settable llb = Fixed, unreadable, hysteresis [3: 2] 0 Ob = no thresholds 01b = thresho1ds are readable 10b. readable and settable 11b = F i xed and unreadable [1: 0] 0 0b = per threshold / discrete-state event enable / disable control 01b = entire sensor only 10b = g1oba1 disable only 11b = no events MReferTableM = str : NULL 丨 丨 Detai INumber 丨 丨 = dword: 5 < Deta i11 > " Detail " = dword: l MDetailDesM = str: Ignore sensor MF ro inM = dword: 7 丨 丨 Length '丨 two dword: ln 0M = str : ignore sensor if Entity is not present or disabled 丨 丨 1 丨 丨 = str: don't ignore sensor

第12頁 1236621 五、發明說明(9) [Rea 1 at i on ] M RByteNumber"=dword:34 丨丨 RFromn=dword:7 丨丨 RLength"=dword:3 MRValue,f-string:010 <Detai 1 2> n D e t a i 1M = d w o r d : 2 M DetailDes"=str: Sensor Auto Re-arm Support M F r o m" = d w o r d : 6 M Length"=dword :1 "0!, = str:no(manual) n1"=str:yes(auto) <Detai 13> "Detail"=dword:3 n DetailDesM = str:Sensor Hysteresis Support 丨丨 From” = dword:5 丨丨 Length ”=dword:2 丨’00 丨丨= str:No hysteresis 丨丨 01 丨丨= str: hysteresis is readable "10"二str:hysteresis is readable and settable n llM=str:Fixed,unreadable, hysteresis <Deta i 1 4> n Detail"=dword :4 "DetailDesM = str:Sensor Threshold AccessPage 123626621 V. Description of the invention (9) [Rea 1 at i on] M RByteNumber " = dword: 34 丨 丨 FromFrom = dword: 7 丨 丨 RLength " = dword: 3 MRValue, f-string: 010 < Detai 1 2 > n D etai 1M = dword: 2 M DetailDes " = str: Sensor Auto Re-arm Support MF ro m " = dword: 6 M Length " = dword: 1 " 0 !, = str: no (manual) n1 " = str: yes (auto) < Detai 13 > " Detail " = dword: 3 n DetailDesM = str: Sensor Hysteresis Support 丨 丨 From "= dword: 5 丨 丨 Length" = dword: 2 丨 '00 丨丨 = str: No hysteresis 丨 丨 01 丨 丨 = str: hysteresis is readable " 10 " two str: hysteresis is readable and settable n llM = str: Fixed, unreadable, hysteresis < Deta i 1 4 > n Detail " = dword: 4 " DetailDesM = str: Sensor Threshold Access

第13頁 1236621 五、發明說明(10)Page 13 1236621 V. Description of the invention (10)

Support !, F r 〇 ra,f = d w 〇 r d : 3 "Lengthf, = dword :2 1 丨 00n=str:no thresholds 丨丨 01 丨丨= str:thresholds are readable 丨丨 10 丨丨= str:reserved 丨丨 11 丨丨= str: Fixed,unreaadble,thresholds. <Detai 1 5> "D e t a i 1" = d w o r d : 5 n DetailDesM = str:Sensor Event Message Control Support 丨丨F r o m丨丨=d w o r d : 1 丨丨 Length” = dword :2 ”00 丨丨= str:per threshold/discrete - state event enab1e/d i sab 1e control f, 0111 = str: entire sensor only !, 10" = str: global disable only 丨丨 11 丨丨= str:no evnets from sensor • · 這樣,當使用者填寫完SDR的一個欄位之後,本發明 就會根據SDR的Conf ig文件,將填寫的值的具體含義告知 用戶,並且將在C ο n f i g文件中指定的相關聯的欄位賦值, 這樣,就能保證S D R表的内在邏輯的正確性。同時,將這 一操作告知使用者。Support!, F r 〇ra, f = dw 〇rd: 3 " Lengthf, = dword: 2 1 丨 00n = str: no thresholds 丨 丨 01 丨 丨 = str: thresholds are readable 丨 丨 10 丨 丨 = str: reserved 丨 丨 11 丨 丨 = str: Fixed, unreaadble, thresholds. < Detai 1 5 > " D etai 1 " = dword: 5 n DetailDesM = str: Sensor Event Message Control Support 丨 丨 F rom 丨 丨 = dword: 1 丨 丨 Length ”= dword: 2” 00 丨 丨 = str: per threshold / discrete-state event enab1e / di sab 1e control f, 0111 = str: entire sensor only!, 10 " = str: global disable only 丨 丨11 丨 丨 = str: no evnets from sensor • In this way, after the user fills in a field of the SDR, the present invention will inform the user of the specific meaning of the filled value according to the Conf ig file of the SDR, and will inform the user in The associated fields specified in the C nfig file are assigned. In this way, the inherent logical correctness of the SDR table can be guaranteed. At the same time, inform the user of this operation.

第14頁 1236621 五、發明說明(11) makefile文件是許多編譯器,包括 Windows NT下 的編譯器,維護編譯資訊的常用方法。Make工具最主要也 是最基本的功能就是通過m a k e f i 1 e文件來描述根源程式之 間的相互關係並自動維護編譯工作。而m a k e f i 1 e文件需 要按照某種語法進行編寫,文件中需要說明如何編譯各個 原始檔案並連接生成可執行文件,並要求定義原始檔案之 間的依賴關係。 本發明的Makef i le槽案在系統啟動的時候自動建立, 並且在選擇具體模組的時候進行修改,例如,選擇i 2 c之 後,會在Makef i le檔案中添加: OBJ = obj/di2c.ο \ obj/EEProm.o \ obj/IPMB.o \ obj/ADMl 0 2 9. o \ obj/LanSmb·o 當然’這些内容,是在i2c的Confi g文件裏指定的。 在選中一個模組時,將其本身的模組,依賴的模9组,關聯 的模組同時從相應Config文件裏讀出,寫入MakefUe。^ 樣,删除一個模組時,刪除相關内容。 。 應用本發明所提供之自動配置系統可以方便、靈活、 快捷的進行BMC配置,如第7圖所示,為本發明之配置介 不意圖。只需直觀的選擇一種硬體,比如直接選擇 " Hitachi 2186晶片(在一個列表中選定一種硬體後,和該Page 14 1236621 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 describe the relationship between the root programs through the m a k e f i 1 e file and automatically maintain the compilation work. The m a k e 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 archives. The Makef i le slot case of the present invention is automatically created when the system is started, and is modified when a specific module is selected. For example, after selecting i 2 c, it will be added to the Makef i le file: OBJ = obj / di2c. ο \ obj / EEProm.o \ obj / IPMB.o \ obj / ADMl 0 2 9. o \ obj / LanSmb · o Of course, these contents are specified in i2c's Confi g file. When a module is selected, its own module, 9 dependent modules, and associated modules are read from the corresponding Config file at the same time and written into MakefUe. ^ When deleting a module, delete related content. . Using the automatic configuration system provided by the present invention, BMC configuration can be performed conveniently, flexibly, and quickly. As shown in FIG. 7, it is not intended for the configuration of the present invention. Just intuitively select a hardware, such as directly selecting " Hitachi 2186 chip (after selecting a hardware in a list, and the

第15頁 1236621 五、發明說明(12) 硬體相關聯的介面就會出現在下一級列表中),類似的, 接下來只需直觀的選擇一個介面,比如選擇KCS介面,只 需直觀的選擇所需命令,比如需要Global,Event,Sel, Watch dog命令等。Page 15 1236621 V. Description of the invention (12) The interface associated with the hardware will appear in the list below. Similarly, you only need to select an interface intuitively, such as selecting the KCS interface. Required commands, such as Global, Event, Sel, Watch dog commands, etc.

對於SDR表,如何不使用本發明,要填寫一個SDRFor the SDR form, how to use the present invention without filling in an SDR

Type 1的感測器,需要手工填寫64位元組的十六進位數, 對程式師來說,不易理解,也就容易出錯,遺漏,而且, 由於其中一些位元組的一些位元,互相關聯著,比如前面 選擇了不支援entity instance,那麼後面關於entity instance的位元組都必須作相應得調整,非常繁瑣。而透 ,利用本發明,請參閱第8圖,為SDR配置向導示意圖,只 需填寫關鍵部分的SDR表的内容即可,並且全過程都有智 慧在線幫助,不用再另行查閱規範,並且保證所生成的 # 的^内#在邏輯聯繫沒有錯誤,可以很直觀的完成這64 —且仅填充,並且好多位元組能夠根據前面的設置自動 元成,保證配置的快捷,正確性。 勳 非用S: ί Ϊ ’僅為本發明其中的較佳實施例而已,並 々疋本發明的實施範圍;即凡依 圍所作的均等轡化盥攸放^ 別作甲咕寻利乾 ]寺i化與修飾’皆為本創作專利範圍所涵蓋。 1236621 圖式簡單說明 第1圖為本發明之BMC韌體自動配置系統示意圖; 第2圖為本發明之基板管理控制器韌體自動配置方法流程 圖, 第3圖為本發明所提之硬體選項模組的結構示意圖; 第4圖為本發明所提之介面選項模組結構示意圖; 第5圖為本發明所提之命令選項模組結構示意圖; 第6圖為本發明所提之SDR模組結構示意圖; 第7圖為本發明之配置介面示意圖;及 第8- 1 2圖為本發明所提之SDR配置向導示意圖 【圖式符號說明】 101 硬體選項模組 1 0 2 介面選項模組 1 0 3 命令選項模組 104 感測器資料記錄模組 105 OEM模組 106 配置檔案 107 Makef i le槽案生成模組 108 BMC勤體生成模組Type 1 sensors need to manually fill in the hexadecimal digits of 64 bytes. It is not easy for programmers to understand, and it is easy to make mistakes and omissions. Moreover, because some of these bytes have some bits, each other Related: For example, if you chose not to support entity instance, then the bytes of entity instance must be adjusted accordingly, which is very tedious. However, using the present invention, please refer to FIG. 8 for a schematic diagram of the SDR configuration wizard. You only need to fill in the contents of the SDR table in the key part, and the entire process has intelligent online help. The generated # 的 内 内 # has no errors in the logical connection, and this can be done intuitively 64-and it is only filled, and many bytes can be automatically formed according to the previous settings, ensuring fast and correct configuration. Xun Fei S: Ϊ Ϊ 'It is only one of the preferred embodiments of the present invention, and the scope of the present invention's implementation; that is, the equalization of toilets made by Yiwei. "Iization and modification" are covered by the scope of the creation patent. 1236621 Brief description of the diagram. The first diagram is a schematic diagram of the BMC firmware automatic configuration system of the present invention. The second diagram is a flowchart of the automatic configuration method of the baseboard management controller firmware of the present invention. The third diagram is the hardware of the present invention. Schematic diagram of the option module; Figure 4 is a schematic diagram of the interface option module structure of the present invention; Figure 5 is a schematic diagram of the command option module structure of the invention; Figure 6 is the SDR module of the invention Group structure diagram; Figure 7 is a schematic diagram of the configuration interface of the present invention; and Figures 8- 12 are schematic diagrams of the SDR configuration wizard provided by the present invention [Illustration of Symbols] 101 Hardware Option Module 1 0 2 Interface Option Model Group 1 0 3 Command option module 104 Sensor data recording module 105 OEM module 106 Configuration file 107 Makefle slot generation module 108 BMC server generation module

第17頁Page 17

Claims (1)

1236621 六、申請專利範圍 1、一種基板管理控制考「 C〇ntroller’ BMC)之=a:eb〇ard Management ^ ¥刀體自動配置系統,用以靈活管理 ^ ^ t動凡成BMC拿刃體的合理配置,該系統包括: 硬選項,組,儲存有可供選擇的硬體選項,用以針對 不同的硬體% i兄的支援管理,使用者可以根據實際需要選 擇相應的硬體; ”面選項杈組,儲存有可供選擇的通訊介面選項,用以 針對不同的通訊介面支援,使用者可以根據實際需要選擇 相應的通訊介面; 一命令,項模組,儲存有可供選擇的命令選項,用以支援 I PM I規範的命令集合,使用者可以根據實際需要選擇相應 的命令; 一感測器資料記錄(Sensor Data Record,SDR)模組, 用以配置SDR的各個類型,用戶可以根據實際需要自行輸 入或選擇; 一 0EM( Original Equipment Manufacturer)模組,用以 對0 E Μ的命令和介面進行配置; 一配置檔案,記錄有每一模組的每一選項的關聯與限制; 一 Makef i le播案生成模組,用以根據使用者的選擇透過該 配置檔案而生成Makefile檔案;及 一 BMC勃體生成模組,用以根據使用者的選擇以及 Makef i le檔案在編譯環境中生成BMC韌體資料。 2、如申請專利範圍第1項所述之基板管理控制器之物體自 動配置系統,其中該硬體選項模組、介面選項模組、命令1236621 6. Scope of patent application 1. A substrate management control test "C〇ntroller 'BMC" = a: eb〇ard Management ^ ¥ Automatic blade configuration system for flexible management ^ ^ Tfanfan becomes a BMC holding blade The reasonable configuration of the system includes: hardware options, groups, which store optional hardware options to support the management of different hardware, users can choose the corresponding hardware according to actual needs; The surface option branch group stores the communication interface options that can be selected for different communication interface support. The user can choose the corresponding communication interface according to the actual needs; a command, an item module, which stores the optional command Options to support the I PM I standard command set, users can choose the corresponding command according to the actual needs; a Sensor Data Record (SDR) module is used to configure various types of SDR, users can Enter or select by yourself according to actual needs; a 0EM (Original Equipment Manufacturer) module, which is used to configure the 0 EM command and interface; A configuration file, which records the association and limitation of each option of each module; a Makefile broadcast generation module, which is used to generate a Makefile file through the configuration file according to the user's choice; and a BMC body A generating module is used to generate BMC firmware data in a compilation environment according to a user's selection and a Makefile file. 2. The object automatic configuration system of the substrate management controller as described in item 1 of the scope of patent application, wherein the hardware option module, interface option module, command 第18頁 1236621 六、申請專利範圍 選項模組、SDR模組以及〇E_組被分別分成單獨的目錄。 3、 如申晴專利範圍第1項所述之基板管理控制器之韌體自 動配置系統,其中該配置檔案可以為該硬體選項模組、介 面選項模組、命令選項模組、SDR模組以及〇EM模組而分別 設置。 4、 如申請專利範圍第1項所述之基板管理控制器之韌體自 動配置系統’其中該配置檔案中包含的資訊包括當前模組 名、依賴的模組位置及模組名、關聯的模組位置及模組 名,限制條件。 5 種基板管理控制器(Baseboard Management Control ler ’ BMC)之韌體自動配置方法,用以靈活管理 硬體資訊’自動完成BMc勃體的合理配置,該方法包括: 將BMC需要使用的硬體、介面、命令、SDR以及〇EM資料按 類分為硬體模組、介面模組、命令模組、SDR模組以及〇EM 模組; 根據該模組之間的關聯與限制生成一配置檔案並將每一模 組分別分成單獨的目錄; 初始化並生成一空的Makef丨le檔案; 讀取配置檔案内容,列出樹型列表; 當用戶選中一模組中的選項時,檢查該配置檔案中的關聯 與限制内容; 根據該配置槽案在介面上動態顯示關聯模組的選項,並在 該Make f i 1 e檔案上記錄相關聯的選項;及 根據使用者的選擇及當前M a k e f i 1 e檔案在編譯環境下生成Page 18 1236621 VI. Patent Application Scope Option modules, SDR modules and OE_ groups are divided into separate directories. 3. The firmware automatic configuration system of the board management controller as described in item 1 of Shenqing's patent scope, wherein the configuration file can be the hardware option module, interface option module, command option module, SDR module And oEM modules. 4. The firmware automatic configuration system of the baseboard management controller as described in item 1 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. 5 kinds of baseboard management controller (BMC) firmware automatic configuration methods for flexible management of hardware information 'automatically complete the rational configuration of BMC bots, this method includes: BMC hardware, The interface, command, SDR, and OEM data are divided into hardware modules, interface modules, command modules, SDR modules, and OEM modules according to their types; a configuration file is generated based on the associations and restrictions between the modules and Divide each module into separate directories; initialize and generate an empty Makef 丨 le file; read the configuration file contents and list the tree list; when the user selects an option in a module, check the configuration file According to the configuration slot, dynamically display the options of the associated module on the interface, and record the associated options on the Make fi 1 e file; and according to the user's choice and the current Makefi 1 e file Generated in the compilation environment 1236621 六、申請專利範圍 BMC動體資料。 6、 如申請專利範圍第5項所述之基板管理控制器之韌體自 動配置方法,其中該配置檔案中包含的資訊包括當前模組 名、依賴的模組位置及模組名、關聯的模組位置及模組 名,限制條件。 7、 如申請專利範圍第5項所述之基板管理控制器之韌體自 動配置方法,其中更包括當使用者刪除一模組選項時,從 M a k e f i 1 e樓案中刪除相應的内容之步驟。 8、 如申請專利範圍第5項所述之基板管理控制器之韌體自 動配置方法,其中該配置檔案可以為該硬體選項模組、介 面選項模組、命令選項模組、SDR模組以及OEM模組而分別 設置。1236621 6. Scope of patent application BMC moving data. 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 firmware automatic configuration method of the baseboard management controller as described in item 5 of the scope of the 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. 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 TW200521836A (en) 2005-07-01
TWI236621B true 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
US8935509B2 (en) 2010-11-03 2015-01-13 Inventec Corporation Method for controlling BMC having customized SDR

Families Citing this family (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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8935509B2 (en) 2010-11-03 2015-01-13 Inventec Corporation Method for controlling BMC having customized SDR

Also Published As

Publication number Publication date
TW200521836A (en) 2005-07-01

Similar Documents

Publication Publication Date Title
CN1327341C (en) Firmware automatic configuration system and method for substrate management controller
US9342427B2 (en) Multi-function device ID with unique identifier
US7269691B2 (en) Electronic device for managing removable storage medium, method and storage medium therefor
US20090171484A1 (en) Self-describing device module and system and computer-readable medium for the production thereof
CN106802869B (en) Driving method and driving system of serial-like device
WO2011127845A2 (en) Method, system and terminal for system update between mobile communication terminals
EP2997463B1 (en) Extraction of operating system-specific characteristics via a communication interface
EP4130953A1 (en) Device state identification method and apparatus, and smart terminal
WO2017185954A1 (en) Method, host, and system for implementing usb device management
WO2019127864A1 (en) Electronic device, springmvc-based data interface and automatic description generation method therefor, and storage medium
TW201227341A (en) Remote management systems and methods for servers, and computer program products thereof
JP2003271429A (en) Storage device resource managing method, storage resource managing program, recording medium recording the program, and storage resource managing device
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
WO2012155452A1 (en) Method and system for obtaining identification information of data terminal device
TWI236621B (en) Automatic firmware configuration system and method for baseboard management controller
CN115509563B (en) Mirror image file manufacturing method, device, equipment and medium
CN114911421B (en) Data storage method, system, device and storage medium based on CSI plug-in
US10027535B1 (en) Systems and methods for managing device configurations at various levels of abstraction
WO2018028321A1 (en) Method and apparatus for managing virtual external storage device, and terminal
CN114416656A (en) Method, equipment and storage medium for remotely operating folder
US10325003B2 (en) Configuration resolution for transitive dependencies
CN112445764B (en) File operation method, device, storage medium and electronic equipment
CN112367656B (en) ZigBee gateway control method and device, storage medium and gateway
CN114443150B (en) Method, system, terminal and storage medium for synchronizing factory information of switch
TWI428765B (en) Electronic system and method thereof capable of sharing application configurations

Legal Events

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