CN111427602A - Method for upgrading firmware on line of intelligent platform management controller of VPX case - Google Patents

Method for upgrading firmware on line of intelligent platform management controller of VPX case Download PDF

Info

Publication number
CN111427602A
CN111427602A CN202010278148.7A CN202010278148A CN111427602A CN 111427602 A CN111427602 A CN 111427602A CN 202010278148 A CN202010278148 A CN 202010278148A CN 111427602 A CN111427602 A CN 111427602A
Authority
CN
China
Prior art keywords
firmware
intelligent platform
management controller
platform management
main control
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010278148.7A
Other languages
Chinese (zh)
Other versions
CN111427602B (en
Inventor
周思远
周春云
马阿龙
曹小静
张翔
沈全
葛朝永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yangzhou Wanfang Technology Co.,Ltd.
Original Assignee
YANGZHOU WANFANG ELECTRONIC TECHNOLOGY LLC
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 YANGZHOU WANFANG ELECTRONIC TECHNOLOGY LLC filed Critical YANGZHOU WANFANG ELECTRONIC TECHNOLOGY LLC
Priority to CN202010278148.7A priority Critical patent/CN111427602B/en
Publication of CN111427602A publication Critical patent/CN111427602A/en
Application granted granted Critical
Publication of CN111427602B publication Critical patent/CN111427602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A method for upgrading firmware of an intelligent platform management controller of a VPX chassis on line. The invention relates to the field of intelligent control, in particular to a method for upgrading firmware on line by an intelligent platform management controller of a VPX case. The method for upgrading the firmware of the intelligent platform management controller of the VPX case without power-off or JTAG tools is provided. The VPX case comprises a main control module and a plurality of functional modules, wherein the main control module and the functional modules are provided with intelligent platform management controllers; in the work of the invention, the existing VPX chassis framework is utilized, and the corresponding firmware online upgrading function is added to the WEB management interface, the chassis management controller and the intelligent platform management controller through the IPMI transmission protocol, so that the IPMC firmware can be upgraded after the interface is simply clicked, and the upgrading process is simple, convenient and fast without detaching a module.

Description

Method for upgrading firmware on line of intelligent platform management controller of VPX case
Technical Field
The invention relates to the field of intelligent control, in particular to a method for upgrading firmware on line by an intelligent platform management controller of a VPX case.
Background
The VPX case is a general name of various cases conforming to VPX management specifications, the cases comprise 4U, 8U and other different specifications and sizes, and the VPX case can provide a standardized management framework and an interface and realize the functions of hierarchical system configuration management and online fault diagnosis.
Generally, a VPX chassis includes a fan module, a power module, a main control module, and other functional modules, each of which includes an IPMC (i.e., an intelligent platform management controller). In the prior use process, the firmware upgrading of the IPMC needs to be connected to a debugging bottom plate by virtue of a JTAG downloader, and the firmware upgrading can be completed only by pulling out the module and inserting the module into the debugging bottom plate after the chassis is powered off. Therefore, the traditional IPMC firmware upgrading process is very complicated, the workload of maintenance personnel is large during batch operation, and meanwhile, in some special occasions, the chassis needs to be powered on continuously, so that the firmware upgrading work cannot be finished.
Disclosure of Invention
Aiming at the problems, the invention provides a method for upgrading firmware on line by an intelligent platform management controller of a VPX case without power-off and JTAG tools.
The technical scheme of the invention is as follows: the VPX case comprises a main control module and a plurality of functional modules, wherein the main control module and the functional modules are provided with intelligent platform management controllers;
the method comprises the following steps:
s1, connecting the main control module and the intelligent platform management controllers on the plurality of functional modules with two paths of intelligent platform management buses respectively;
s2, connecting the intelligent platform management controller on the main control module with the processor on the main control module through a serial port to form a chassis management controller;
s3, establishing a WEB management interface running on the main control module processor, wherein the WEB management interface performs data interaction with the chassis management controller through a simple network management protocol;
s4, the WEB management interface transmits the firmware to the main control module through the network, then sends an update command to the case management controller, and the case management controller reads the firmware, divides the firmware and sends the firmware to the intelligent platform management controller of the corresponding functional module through the intelligent platform management bus;
and S5, completing online upgrading.
In step S2, the chassis management controller communicates with the intelligent platform management controller via IPMI protocol.
In step S2, the intelligent platform management controller on the main control module not only processes the IPMI message of the main control module, but also is responsible for transferring the IPMI messages of other function modules.
In step S3, the WEB management interface is configured to read IPMI data of the main control module and other function modules, display the IPMI data on the interface, and send an independent control command, and the WEB management interface is provided with functions of firmware selection, slot selection, browsing, and updating.
In step S4, the transmission of the firmware between the chassis management controller and the intelligent platform management bus is completed through the IPMI protocol, the communication mode is a question-and-answer mode, and the integrity of the data needs to be verified every time the data communication is performed;
when the data of any party fails to be checked, 3 times of retransmission are needed, if the 3 times of repetition are all failures, the data transmission is interrupted and the updating is cancelled.
In step S1, the Flash modules in the main control module and the intelligent platform management controllers on the plurality of function modules include a bootstrap area, a program running area, a program storage area, and a length and flag area.
When the intelligent platform management controller is upgraded on line, firstly, a bootstrap program area is operated, the length of the bootstrap program area and the mark of the mark area are checked, if the mark needs to be updated, all data in the program storage area are copied to the program operation area, and the upgrading of the firmware is completed.
In the work of the invention, the existing VPX chassis framework is utilized, and the corresponding firmware online upgrading function is added to the WEB management interface, the chassis management controller and the intelligent platform management controller through the IPMI transmission protocol, so that the IPMC firmware can be upgraded after the interface is simply clicked, and the upgrading process is simple, convenient and fast without detaching a module.
Drawings
Figure 1 is a bus schematic of a VPX chassis of the present invention,
figure 2 is a schematic diagram of a WEB management interface,
figure 3 is a customized IPMI protocol,
FIG. 4 is a schematic diagram of the area divided by the Flash module in the intelligent platform management controller,
FIG. 5 is a flow chart of a firmware upgrade.
Detailed Description
As shown in fig. 1 to 5, each board card (i.e., the main control module and the plurality of function modules) of the intelligent chassis of the VPX architecture includes an IPMC (i.e., an intelligent platform management controller), each IPMC has a unique IPMB address and is connected to two IPMBs (i.e., an intelligent platform management bus), wherein the IPMC of the main module is further connected to a processor (CPU) on the main control module via a serial port (UART). The CHMC (chassis management controller) runs on a processor (CPU) on the main control module and communicates data with the IPMC through a standard IPMI protocol. The IPMC on the main control module is also responsible for transferring the IPMI messages of other boards besides processing the IPMI messages of the main control module.
Wherein, the plurality of functional modules comprise a power supply module, a fan module, a calculation module and the like.
An independent WEB management interface is also operated on a processor (CPU) on the main control module, and the data interaction with the CHMC is realized through a Simple Network Management Protocol (SNMP), wherein the data interaction comprises reading IPMI data of each board card and displaying the IPMI data on the interface and sending an independent control command.
The invention designs IPMC firmware online upgrading function blocks on a WEB management interface, wherein the IPMC firmware online upgrading function blocks comprise firmware selection, slot position selection and the like, and as shown in figure 2.
A user only needs to use a network cable to connect to the main control module, the IP of the main control module is opened in the browser, a WEB management interface can be opened, the firmware selection and the slot position selection are completed by clicking a browsing button, and finally the upgrading of the IPMC firmware is completed by clicking an updating button.
The WEB management interface transmits the firmware to the main control module through a network, sends an update command to the CHMC after the update command is finished, the CHMC reads the firmware, divides the firmware, and sends the firmware into the IPMC of the corresponding board card through the IPMB according to the size of 1 Kbyte.
Assuming that the firmware (typically xxx. bin) is 23.5 kbytes in size, the CHMC will divide it into 24 shares by 1 kbyte in size. The CHMC sends 1K data, waits for IPMC to reply, then sends 1K data, and then waits for IPMC to reply, and the steps are repeated, so that 24 times of data frame transmission are completed, and all data are sent to the IPMC.
Because the firmware transmission uses the IPMB (i.e. I2C communication mode), in order to ensure the data transmission is complete and error-free, the firmware transmission is completed by sending a plurality of data frame transmissions. When each data frame transmits 1K data, the IPMC must check the integrity of the data, if the IPMC passes the checking, the IPMC replies OK, otherwise, the data transmitted this time is discarded, the CHMC repeatedly transmits the current 1K data frame, and after three times of retransmission, if all the data are failed, the updating is abandoned.
The firmware transmission between the CHMC and the IPMB is completed through a self-defined IPMI protocol, the communication mode is a question-and-answer mode, the integrity of data needs to be checked every time data communication is performed, and the protocol format is shown in FIG. 3.
The standard IPMI protocol has no protocol in the aspect of firmware transmission, a custom protocol is designed, and the specific content is custom according to the standard IPMI protocol format. The standard IPMI protocol format comprises a receiving address, data head check, frame number, data tail check and the like, specific data content needs to be redefined, and the CHMC and the IPMC only need to transmit and analyze data according to a self-defined protocol.
When the data of any party fails to be checked, 3 times of retransmission are needed, if the 3 times of repetition are all failures, the data transmission is interrupted and the updating is cancelled.
To realize the function of upgrading the firmware online, the Flash module of the IPMC is first divided into several blocks, including 4 blocks including a boot program area, a program running area, a program storage area, and a length and flag area, as shown in fig. 4 (the size of each area can be adjusted according to the size of actual use).
A bootstrap area: the entry where the IPMC software program runs,
program execution area: IPMI message and response are completed in the region,
program storage area: the IPMC stores the firmware received with the upgrade in this area,
length and mark area: the IPMC stores the length of the firmware received with the upgrade and the update flag in this area.
The IPMC receives the firmware data sent by the CHMC, stores the data in the program storage area after verification is completed, responds according to the IPMI protocol, writes the received length data and the update mark of the firmware into the length and mark area after the last frame of data is received, and resets the IPMC.
Resetting the IPMC to restart, firstly running the boot program, checking the length and the flag of the flag area by the boot program, and if the flag needs to be updated, copying all the data in the program storage area to the program running area to complete the upgrading of the firmware, where the flow is shown in fig. 5.
The invention designs a self-defined IPMI transmission protocol by utilizing the existing VPX chassis framework and IPMB, adds a corresponding firmware online upgrading function to a WEB management interface, CHMC and IPMC software, realizes that the IPMC firmware can be upgraded after simple click operation is carried out on the interface, and is simple, convenient and fast without detaching a module in the upgrading process.

Claims (7)

1. A VPX chassis comprises a main control module and a plurality of functional modules, wherein the main control module and the functional modules are provided with intelligent platform management controllers;
the method is characterized by comprising the following steps:
s1, connecting the main control module and the intelligent platform management controllers on the plurality of functional modules with two paths of intelligent platform management buses respectively;
s2, connecting the intelligent platform management controller on the main control module with the processor on the main control module through a serial port to form a chassis management controller;
s3, establishing a WEB management interface running on the main control module processor, wherein the WEB management interface performs data interaction with the chassis management controller through a simple network management protocol;
s4, the WEB management interface transmits the firmware to the main control module through the network, then sends an update command to the case management controller, and the case management controller reads the firmware, divides the firmware and sends the firmware to the intelligent platform management controller of the corresponding functional module through the intelligent platform management bus;
and S5, completing online upgrading.
2. The method of claim 1, wherein in step S2, the chassis management controller communicates data with the intelligent platform management controller via IPMI protocol.
3. The method of claim 1, wherein in step S2, the IPMI controller on the host module processes the IPMI message of the host module and relays the IPMI messages of other functional modules.
4. The method of claim 1, wherein in step S3, the WEB management interface is configured to read IPMI data of the main control module and other function modules to be displayed on the interface and send an independent control command, and the WEB management interface is provided with firmware selection, slot selection, browsing and updating functions.
5. The method of claim 1, wherein in step S4, the firmware transmission between the chassis management controller and the intelligent platform management bus is performed through IPMI protocol, the communication mode is a question-and-answer mode, and each data communication needs to check the integrity of data;
when the data of any party fails to be checked, 3 times of retransmission are needed, if the 3 times of repetition are all failures, the data transmission is interrupted and the updating is cancelled.
6. The method for upgrading firmware of an intelligent platform management controller of a VPX chassis according to any one of claims 1 to 5, wherein in step S1, the Flash module in the intelligent platform management controller on the main control module and the plurality of functional modules comprises a bootstrap program area, a program running area, a program storage area and a length and mark area.
7. The method of claim 6, wherein the method for upgrading firmware of the intelligent platform management controller of the VPX chassis on line,
when the intelligent platform management controller is upgraded on line, firstly, a bootstrap program area is operated, the length of the bootstrap program area and the mark of the mark area are checked, if the mark needs to be updated, all data in the program storage area are copied to the program operation area, and the upgrading of the firmware is completed.
CN202010278148.7A 2020-04-10 2020-04-10 Method for upgrading firmware on line of intelligent platform management controller of VPX case Active CN111427602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010278148.7A CN111427602B (en) 2020-04-10 2020-04-10 Method for upgrading firmware on line of intelligent platform management controller of VPX case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010278148.7A CN111427602B (en) 2020-04-10 2020-04-10 Method for upgrading firmware on line of intelligent platform management controller of VPX case

Publications (2)

Publication Number Publication Date
CN111427602A true CN111427602A (en) 2020-07-17
CN111427602B CN111427602B (en) 2021-08-06

Family

ID=71552566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010278148.7A Active CN111427602B (en) 2020-04-10 2020-04-10 Method for upgrading firmware on line of intelligent platform management controller of VPX case

Country Status (1)

Country Link
CN (1) CN111427602B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176982A (en) * 2021-05-28 2021-07-27 西安超越申泰信息科技有限公司 Device and method for realizing VPX architecture-based chassis management system
CN115529340A (en) * 2022-11-25 2022-12-27 湖南博匠信息科技有限公司 Data management method of VPX chassis CHMC module based on soft bus
CN116339790A (en) * 2023-05-25 2023-06-27 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605189A (en) * 2008-06-13 2009-12-16 大唐移动通信设备有限公司 The online upgrade system of intelligent platform management controller and method
CN101729287A (en) * 2008-10-31 2010-06-09 大唐移动通信设备有限公司 IPMC on-line upgrading method and device
JP2017134475A (en) * 2016-01-25 2017-08-03 株式会社東芝 Computer system, and initial installation method of software
CN107301077A (en) * 2017-06-28 2017-10-27 浙江国自机器人技术有限公司 A kind of embedded device firmware upgrade system
CN107870776A (en) * 2017-11-03 2018-04-03 北京锐安科技有限公司 A kind of IPMC online upgradings method and device
CN108803435A (en) * 2018-07-13 2018-11-13 北京计算机技术及应用研究所 A kind of universal intelligent managing device of the VPX boards based on production domesticization microcontroller
CN109358887A (en) * 2018-12-17 2019-02-19 武汉精立电子技术有限公司 A kind of the online upgrading method, apparatus and system of SCM program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605189A (en) * 2008-06-13 2009-12-16 大唐移动通信设备有限公司 The online upgrade system of intelligent platform management controller and method
CN101729287A (en) * 2008-10-31 2010-06-09 大唐移动通信设备有限公司 IPMC on-line upgrading method and device
JP2017134475A (en) * 2016-01-25 2017-08-03 株式会社東芝 Computer system, and initial installation method of software
CN107301077A (en) * 2017-06-28 2017-10-27 浙江国自机器人技术有限公司 A kind of embedded device firmware upgrade system
CN107870776A (en) * 2017-11-03 2018-04-03 北京锐安科技有限公司 A kind of IPMC online upgradings method and device
CN108803435A (en) * 2018-07-13 2018-11-13 北京计算机技术及应用研究所 A kind of universal intelligent managing device of the VPX boards based on production domesticization microcontroller
CN109358887A (en) * 2018-12-17 2019-02-19 武汉精立电子技术有限公司 A kind of the online upgrading method, apparatus and system of SCM program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张睿等: "基于国产平台VPX架构的IPMC控制器设计", 《计算机测量与控制》 *
朱红育等: "IPMI在VPX系统中的应用与设计", 《火控雷达技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176982A (en) * 2021-05-28 2021-07-27 西安超越申泰信息科技有限公司 Device and method for realizing VPX architecture-based chassis management system
CN115529340A (en) * 2022-11-25 2022-12-27 湖南博匠信息科技有限公司 Data management method of VPX chassis CHMC module based on soft bus
CN116339790A (en) * 2023-05-25 2023-06-27 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116339790B (en) * 2023-05-25 2023-09-08 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111427602B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN111427602B (en) Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN104899055B (en) A kind of ME more new systems and its update method based on BIOS controls
CN104149717B (en) A kind of long-range noiseless renewal system and method for car load control
EP0241678B1 (en) Method for self-configuring terminals in a data processing system
US8782316B2 (en) Systems and methods for performing a hot input function
CN108337120A (en) A kind of remote upgrade method of internet-of-things terminal equipment
US8397053B2 (en) Multi-motherboard server system
CN106649021B (en) PCIe is from equipment testing device
CN107346244B (en) A kind of automobile EPS director demon automation download system and method
CN201345041Y (en) Field data acquisition terminal capable of upgrading programs remotely
CN102411539A (en) Method and system for online debugging external device of mobile phone
CN114201197A (en) Firmware upgrading method and device, electronic equipment and readable storage medium
CN112702182A (en) Trusted management method, device, system, equipment and storage medium
CN113760332A (en) Software upgrading method and electronic equipment
CN109388603A (en) State information acquisition and feedback method, device, medium, terminal and demonstrator
CN112799693B (en) Burning method of collector and controller, upper computer and storage medium
CN114095343A (en) Disaster recovery method, device, equipment and storage medium based on double-active system
CN112291081B (en) Method, system and storage medium for auditing controller cluster data by cloud management platform
CN115599617B (en) Bus detection method and device, server and electronic equipment
CN102053847B (en) Server and updating method thereof
CN112003723A (en) Method and system for realizing firmware batch upgrading of Expander chip
CN114115955B (en) Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box
JP2006113754A (en) Software update device and method
CN112486877B (en) Outfield guarantee and test platform of generalized FC conversion interface module
CN104346209A (en) Updating method of substrate management controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: No.96 Anlin Road, Yangzhou City, Jiangsu Province 225006

Patentee after: Yangzhou Wanfang Technology Co.,Ltd.

Address before: No.96 Anlin Road, Yangzhou City, Jiangsu Province 225006

Patentee before: YANGZHOU WANFANG ELECTRONIC TECHNOLOGY LLC

CP01 Change in the name or title of a patent holder