CN116627463A - A chip upgrade method, device, equipment and medium - Google Patents

A chip upgrade method, device, equipment and medium Download PDF

Info

Publication number
CN116627463A
CN116627463A CN202310605306.9A CN202310605306A CN116627463A CN 116627463 A CN116627463 A CN 116627463A CN 202310605306 A CN202310605306 A CN 202310605306A CN 116627463 A CN116627463 A CN 116627463A
Authority
CN
China
Prior art keywords
target
chip
programmable logic
complex programmable
logic device
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.)
Pending
Application number
CN202310605306.9A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310605306.9A priority Critical patent/CN116627463A/en
Publication of CN116627463A publication Critical patent/CN116627463A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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

本申请公开了一种芯片升级方法、装置、设备及介质,涉及计算机服务器领域,该方法应用于预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件,包括:当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。本发明可以在不拆机的情况下对整个服务器的retimer芯片进行升级管理。

The present application discloses a chip upgrade method, device, equipment and medium, which relate to the field of computer servers. The method is applied to complex programmable logic devices connected to the baseboard management controller and the preset external interface in advance, including: when receiving The target command sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip opens the target path; the target update chip is configured on the target board, so The target board is one of the multiple boards pre-connected with the complex programmable logic device; receiving the target update file sent by the preset debugging tool through the preset external interface, and based on the target path The target update file is sent to the target update chip, so as to update the target update chip. The invention can upgrade and manage the retimer chip of the whole server without dismantling the machine.

Description

一种芯片升级方法、装置、设备及介质A chip upgrade method, device, equipment and medium

技术领域technical field

本发明涉及计算机服务器领域,特别涉及一种芯片升级方法、装置、设备及介质。The invention relates to the field of computer servers, in particular to a chip upgrading method, device, equipment and medium.

背景技术Background technique

PCIe(即PCI-Express,peripheral component interconnect express,高速串行计算机扩展总线标准)Retimer芯片主要解决数据中心服务器在数据高速、远距离传输时,信号时序不齐、损耗大、完整性差等问题。随着服务器架构越来越复杂,对于复杂配置的服务器如大型机架刀片式服务器,需要通过多个板卡转接才能到机箱口的PCIE智能卡等设备,对reimter的需求越来越多,而这些繁杂的配置,当实际应用场景会更换配置时,对于现场应用场合的改配就尤为重要。PCIe (that is, PCI-Express, peripheral component interconnect express, high-speed serial computer expansion bus standard) Retimer chips mainly solve the problems of uneven signal timing, large loss, and poor integrity when data center servers transmit data at high speed and long distances. As the server architecture becomes more and more complex, for servers with complex configurations, such as large-scale rack blade servers, multiple boards need to be transferred to devices such as PCIE smart cards at the chassis ports, and there is an increasing demand for reimter. For these complicated configurations, when the configuration will be changed in the actual application scenario, it is especially important for the modification of the field application.

现有的方案设计中,retimer的FW(即Firmware,固件版本)版本对应的PCIE资源分配是固定的,服务器设备中有多板卡设备,在每个板卡都会添加一个I2C(即Inter-Integrated Circuit,集成电路总线)header,用来给retimer版本升级时接retimer厂商的升级调测工具使用,有几张板卡就会有几个Header,升级时必须将整个服务器拆开,将retimer厂商的升级调测工具接到每一张板卡上去升级调测。这种方式对于需要灵活配置的服务器的使用对人员的要求就会比较高,如果一个配置中有多张板卡含有retimer芯片,如果需要对每一个retimer芯片都进行升级,则需要将工具依次连接到每一张板卡,且需要核对正确I2C Header PIN(即Personal identification number,个人身份识别码)序,在拆机和装机过程中也有可能引起装配不当等其他问题。浪费研发调测时间,对于更改配置的场合十分耗时耗力。In the existing scheme design, the PCIE resource allocation corresponding to the FW (i.e. Firmware, firmware version) version of the retimer is fixed, and there are multiple board devices in the server device, and an I2C (i.e. Inter-Integrated Circuit (integrated circuit bus) header, which is used to connect to the retimer manufacturer’s upgrade debugging tool when upgrading the retimer version. There are several boards with several headers. When upgrading, the entire server must be disassembled, and the retimer manufacturer’s The upgrade debugging tool is connected to each board to upgrade and debug. This method will require higher personnel requirements for the use of servers that require flexible configuration. If there are multiple boards in a configuration that contain retimer chips, if each retimer chip needs to be upgraded, the tools need to be connected in turn. To each board, it is necessary to check the correct I2C Header PIN (Personal identification number, personal identification number) sequence, which may also cause other problems such as improper assembly during disassembly and installation. It is a waste of research and development and commissioning time, and it is very time-consuming and labor-intensive for the occasion of changing the configuration.

由上可见,在芯片升级过程中,如何避免芯片升级过程繁琐的情况是本领域有待解决的问题。It can be seen from the above that, in the process of chip upgrading, how to avoid the complicated situation of the chip upgrading process is a problem to be solved in this field.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种芯片升级方法、装置、设备及介质,能够在不拆机的情况下对整个服务器的retimer芯片进行升级管理。其具体方案如下:In view of this, the purpose of the present invention is to provide a chip upgrade method, device, equipment and medium, which can upgrade and manage the retimer chip of the entire server without dismantling the machine. The specific plan is as follows:

第一方面,本申请公开了一种芯片升级方法,应用于预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件,包括:In the first aspect, the present application discloses a method for upgrading a chip, which is applied to complex programmable logic devices that are respectively connected to a baseboard management controller and a preset external interface in advance, including:

当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;When receiving the target command sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip, open the target path; the target update chip is configured on the target board Above, the target board is one of the multiple boards pre-connected with the complex programmable logic device;

接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。receiving a target update file sent by a preset debugging tool through the preset external interface, and sending the target update file to the target update chip based on the target path, so as to update the target update chip.

可选的,所述复杂可编程逻辑器件与所述基板管理控制器建立有第一通信链路,与所述预设外接接口建立有第二通信链路,所述当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路,包括:Optionally, the complex programmable logic device establishes a first communication link with the baseboard management controller, and establishes a second communication link with the preset external interface, and when receiving the baseboard management controller The target command sent for opening the target path between the complex programmable logic device and the target update chip, then opening the target path includes:

当接收到基板管理控制器通过所述第一通信链路发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;Opening the target path when a target command for opening the target path between the complex programmable logic device and the target update chip sent by the baseboard management controller through the first communication link is received;

相应的,所述接收预设调试工具通过所述预设外接接口发送的目标更新文件,包括:Correspondingly, the receiving the target update file sent by the preset debugging tool through the preset external interface includes:

通过所述第二通信链路接收预设调试工具通过所述预设外接接口发送的目标更新文件。The target update file sent by the preset debugging tool through the preset external interface is received through the second communication link.

可选的,所述第一通信链路和所述第二通信链路均为集成电路总线链路。Optionally, both the first communication link and the second communication link are integrated circuit bus links.

可选的,所述当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路,包括:Optionally, when receiving the target command sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip, opening the target path includes:

当接收到基板管理控制器通过第三通信链路接收到预设调试工具通过所述预设外接接口发送的针对目标芯片的芯片更新指令后,发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;其中,所述第三通信链路为所述基板管理控制器与所述预设外接接口预先建立的链路。After the baseboard management controller receives the chip update instruction for the target chip sent by the preset debugging tool through the preset external interface through the third communication link, the instruction sent to open the complex programmable logic device and A target command for updating a target path between chips opens the target path; wherein, the third communication link is a pre-established link between the baseboard management controller and the preset external interface.

可选的,所述第三通信链路为基于通用异步收发传输器构建的链路。Optionally, the third communication link is a link constructed based on a Universal Asynchronous Receiver Transmitter.

第二方面,本申请公开了一种芯片升级方法,应用于与复杂可编程逻辑器件连接的基板管理控制器,包括:In the second aspect, the present application discloses a chip upgrade method, which is applied to a baseboard management controller connected to a complex programmable logic device, including:

向所述复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,以便所述复杂可编程逻辑器件打开所述目标通路并在接收预设调试工具通过所述预设外接接口发送的目标更新文件后,基于所述目标通路将所述目标更新文件发送至所述目标更新芯以对所述目标更新芯片进行更新;Sending a target command for opening a target path between the complex programmable logic device and a target update chip to the complex programmable logic device, so that the complex programmable logic device opens the target path and receives a preset After the target update file is sent by the debugging tool through the preset external interface, based on the target path, the target update file is sent to the target update core to update the target update chip;

其中,所述复杂可编程逻辑器件预先与预设外接接口连接,所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块。Wherein, the complex programmable logic device is pre-connected to a preset external interface, and the target update chip is configured on a target board, and the target board is a plurality of boards that are pre-connected to the complex programmable logic device A piece of the card.

可选的,所述向所述复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,包括:Optionally, the sending a target command for opening a target path between the complex programmable logic device and the target update chip to the complex programmable logic device includes:

当通过第三通信链路接收到预设调试工具通过所述预设外接接口发送的针对目标板卡上的目标芯片的芯片更新指令,则基于所述芯片更新指令从所述复杂可编程逻辑器件中的用于记录板卡信息的第一寄存器和用于记录芯片地址信息的第二寄存器中确定所述目标芯片对应的芯片地址;其中,所述第三通信链路为所述基板管理控制器与所述预设外接接口预先建立的链路;When receiving the chip update instruction for the target chip on the target board sent by the preset debugging tool through the preset external interface through the third communication link, then based on the chip update instruction, from the complex programmable logic device The chip address corresponding to the target chip is determined in the first register for recording board information and the second register for recording chip address information; wherein, the third communication link is the baseboard management controller A pre-established link with the preset external interface;

向所述复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与所述目标芯片地址之间的目标通路的目标命令。A target command for opening a target path between the complex programmable logic device and the target chip address is sent to the complex programmable logic device.

第三方面,本申请公开了一种芯片升级装置,应用于预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件,包括:In a third aspect, the present application discloses a chip upgrade device, which is applied to complex programmable logic devices that are pre-connected to a baseboard management controller and a preset external interface, including:

通路切换模块,用于当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;The path switching module is configured to open the target path when receiving the target command sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip; the target update chip configured on the target board, the target board being one of the multiple boards pre-connected to the complex programmable logic device;

芯片更新模块,用于接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。A chip update module, configured to receive the target update file sent by the preset debugging tool through the preset external interface, and send the target update file to the target update chip based on the target path, so as to update the target The chip is updated.

第四方面,本申请公开了一种电子设备,包括:In a fourth aspect, the present application discloses an electronic device, including:

存储器,用于保存计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序,以实现前述的芯片升级方法。A processor, configured to execute the computer program, so as to implement the aforementioned chip upgrade method.

第五方面,本申请公开了一种计算机存储介质,用于保存计算机程序;其中,所述计算机程序被处理器执行时实现前述公开的芯片升级方法的步骤。In a fifth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the chip upgrade method disclosed above are implemented.

本申请预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令后,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;之后复杂可编程逻辑器件接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。这样一来,本发明中CPLD与全部板卡进行连接,BMC可以对CPLD实现通道的切换,可以实现对服务器内所有板卡的信息和retimer芯片的版本信息的管理,在不拆机的情况下对整个服务器的retimer芯片进行升级管理。In this application, the complex programmable logic device connected to the baseboard management controller and the preset external interface in advance respectively receives the target for opening the target channel between the complex programmable logic device and the target update chip sent by the baseboard management controller. After the command, the target path is opened; the target update chip is configured on the target board, and the target board is one of the multiple boards connected with the complex programmable logic device in advance; then complex The programmable logic device receives the target update file sent by the preset debugging tool through the preset external interface, and sends the target update file to the target update chip based on the target path, so as to perform the target update chip on the target update chip renew. In this way, in the present invention, the CPLD is connected with all the boards, and the BMC can switch the channels of the CPLD, and can realize the management of the information of all boards in the server and the version information of the retimer chip, without disassembling the machine. Upgrade and manage the retimer chips of the entire server.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本申请提供的一种芯片升级方法流程图;Fig. 1 is a kind of chip upgrading method flow chart that the present application provides;

图2为本申请提供的一种整体结构示意图;FIG. 2 is a schematic diagram of an overall structure provided by the present application;

图3为本申请提供的一种具体的芯片升级方法流程图;FIG. 3 is a flow chart of a specific chip upgrading method provided by the present application;

图4为本申请提供的一种芯片升级装置结构示意图;FIG. 4 is a schematic structural diagram of a chip upgrading device provided by the present application;

图5为本申请提供的一种电子设备结构图。FIG. 5 is a structural diagram of an electronic device provided by the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

现有技术中,在对芯片进行升级时必须将整个服务器拆开,将retimer厂商的升级调测工具接到每一张板卡上去升级调测。这种方式对于需要灵活配置的服务器的使用对人员的要求就会比较高,如果一个配置中有多张板卡含有retimer芯片,如果需要对每一个retimer芯片都进行升级,则需要将工具依次连接到每一张板卡,浪费研发调测时间。在本申请中,在不拆机的情况下对整个服务器的retimer芯片进行升级管理。In the prior art, when upgrading the chip, the entire server must be disassembled, and the upgrade and commissioning tool of the retimer manufacturer is connected to each board for upgrade and commissioning. This method will require higher personnel requirements for the use of servers that require flexible configuration. If there are multiple boards in a configuration that contain retimer chips, if each retimer chip needs to be upgraded, the tools need to be connected in turn. to each board, wasting R&D and commissioning time. In this application, the retimer chip of the entire server is upgraded and managed without dismantling the machine.

本发明实施例公开了一种芯片升级方法,应用于预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件,参见图1所述,该方法包括:The embodiment of the present invention discloses a method for upgrading a chip, which is applied to a complex programmable logic device connected to a baseboard management controller and a preset external interface in advance, as described in FIG. 1 , the method includes:

步骤S11:当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块。Step S11: Open the target path when receiving the target command sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip; the target update chip is configured in On the target board, the target board is one of the multiple boards pre-connected with the complex programmable logic device.

本实施例中,复杂可编程逻辑器件(即Complex Programmable Logic Device,CPLD)与多块板卡连接,并分别与基板管理控制器(即(Baseboard ManagementController,BMC)和预设外接接口连接。每一所述板卡上均配置有芯片,在需要对芯片进行更新时,外部的预设调试工具通过所述预设外接接口发送用于对目标板卡中的目标更新芯片进行更新的命令,以对目标更新芯片进行升级。在优选的实施方式中,所述芯片为retimer芯片,所述预设外接接口优选为DB9。In this embodiment, a complex programmable logic device (Complex Programmable Logic Device, CPLD) is connected to multiple boards, and is connected to a Baseboard Management Controller (Baseboard Management Controller, BMC) and a preset external interface respectively. Each Chips are configured on the boards, and when the chips need to be updated, the external preset debugging tool sends a command for updating the target update chip in the target board through the preset external interface to update the target board. The target update chip is upgraded.In a preferred embodiment, the chip is a retimer chip, and the preset external interface is preferably DB9.

在具体的实施方式中,外部的预设调试工具先通过所述外接接口向基板管理控制器发送用于对目标板卡中的目标更新芯片进行更新的指令,基板管理控制器接收所述指令后,确定目标更新芯片,并向复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,所述复杂可编程逻辑器件接收所述目标命令后,打开相应的目标通路,以供后续基于所述目标通路实现更新文件的传输。In a specific implementation, the external preset debugging tool first sends an instruction for updating the target update chip in the target board to the baseboard management controller through the external interface, and the baseboard management controller receives the instruction , determine the target update chip, and send to the complex programmable logic device a target command for opening the target path between the complex programmable logic device and the target update chip, and the complex programmable logic device receives the target command , opening the corresponding target path for subsequent transmission of the update file based on the target path.

可以理解的是,本实施例中复杂可编程逻辑器件与各个所述板卡均分别建立有相应的通路,在优选的实施方式中,各通路为集成电路总线通路。具体的,可以建立复杂可编程逻辑器件与各个所述板卡中的各个芯片之间的通路。即,所述复杂可编程逻辑器件与各个板卡上的各个芯片均建立有通路。在对某一板卡中的某一芯片进行更新时,先提前将相应的通路打开,再完成后续的更新文件传输过程。It can be understood that, in this embodiment, the complex programmable logic device and each of the boards have corresponding paths established respectively, and in a preferred implementation manner, each path is an integrated circuit bus path. Specifically, a path between the complex programmable logic device and each chip in each board can be established. That is, there are paths established between the complex programmable logic device and each chip on each board. When updating a certain chip in a board, first open the corresponding channel in advance, and then complete the subsequent update file transmission process.

在具体实施时,所述复杂可编程逻辑器件具体执行对通路进行切换的过程。即,在需要对多个板卡中的多个芯片进行升级时,每次升级前均进行通路的切换,实现了对服务器的灵活配置。During specific implementation, the complex programmable logic device specifically executes a process of switching paths. That is, when multiple chips in multiple boards need to be upgraded, the paths are switched before each upgrade, thereby realizing flexible configuration of the server.

步骤S12:接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。Step S12: Receive the target update file sent by the preset debugging tool through the preset external interface, and send the target update file to the target update chip based on the target path, so as to update the target update chip .

可以理解的是,本实施例中,在将复杂可编程器件与目标更新芯片之间的目标通路打开后,将会接收预设调试工具通过预设外接接口发送的目标更新文件,并基于所述目标通路将目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。It can be understood that in this embodiment, after the target path between the complex programmable device and the target update chip is opened, the target update file sent by the preset debugging tool through the preset external interface will be received, and based on the The target path sends the target update file to the target update chip, so as to update the target update chip.

本实施例中,所述复杂可编程逻辑器件与所述基板管理控制器建立有第一通信链路,与所述预设外接接口建立有第二通信链路,所述当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路,可以包括:当接收到基板管理控制器通过所述第一通信链路发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路。相应的,所述接收预设调试工具通过所述预设外接接口发送的目标更新文件,可以包括:通过所述第二通信链路接收预设调试工具通过所述预设外接接口发送的目标更新文件。另外,所述第一通信链路和所述第二通信链路均为集成电路总线链路,即I2C链路。In this embodiment, the complex programmable logic device establishes a first communication link with the baseboard management controller, and establishes a second communication link with the preset external interface, and when receiving the baseboard management control If the target command for opening the target path between the complex programmable logic device and the target update chip is sent by the device, opening the target path may include: when receiving If the target command for opening the target path between the complex programmable logic device and the target update chip is sent by the path, the target path is opened. Correspondingly, the receiving the target update file sent by the preset debugging tool through the preset external interface may include: receiving the target update file sent by the preset debugging tool through the preset external interface through the second communication link document. In addition, both the first communication link and the second communication link are integrated circuit bus links, that is, I2C links.

需要指出的是,本实施例中,在建立所述第二通信链路时,可以将DB9连接BMC后未使用的空闲管脚连接至复杂可编程逻辑器件,这样可以在不用改变任何的配置的情况下,充分利用连接到面板的连接器资源。It should be pointed out that, in this embodiment, when establishing the second communication link, the unused free pins after the DB9 is connected to the BMC can be connected to the complex programmable logic device, so that it can be used without changing any configuration. case, make full use of the connector resources connected to the panel.

本实施例中,所述当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路,可以包括:当接收到基板管理控制器通过第三通信链路接收到预设调试工具通过所述预设外接接口发送的针对目标芯片的芯片更新指令后,发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;其中,所述第三通信链路为所述基板管理控制器与所述预设外接接口预先建立的链路。另外,所述第三通信链路为基于通用异步收发传输器(即Universal Asynchronous Receiver/Transmitter,uart)构建的链路。In this embodiment, when the target command for opening the target path between the complex programmable logic device and the target update chip is received from the baseboard management controller, opening the target path may include: when After receiving the chip update instruction for the target chip sent by the preset debugging tool through the preset external interface by the baseboard management controller through the third communication link, the command sent to open the complex programmable logic device and the target chip The target command for updating the target path between chips opens the target path; wherein, the third communication link is a pre-established link between the baseboard management controller and the preset external interface. In addition, the third communication link is a link constructed based on a Universal Asynchronous Receiver/Transmitter (Universal Asynchronous Receiver/Transmitter, uart).

也即,本实施例中,基板管理控制器通过第三通信链路接收到预设调试工具通过所述预设外接接口发送的针对目标芯片的芯片更新指令后,向复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令。That is, in this embodiment, after receiving the chip update instruction for the target chip sent by the preset debugging tool through the preset external interface through the third communication link, the baseboard management controller sends the command to the complex programmable logic device. A target command for opening a target path between the complex programmable logic device and a target update chip.

如图2所示为本发明提供的一种整体结构示意图,图中以预设外接接口为DB9、芯片为retimer芯片为例,基板管理控制器与复杂可编程逻辑器件之间建立有I2C链路,DB9与复杂可编程逻辑器件之间建立有I2C链路,基板管理控制器与DB9之间建立有uart链路。具体实施场景下,预设调试工具通过DB9接口以uart链路向基板管理控制器发送对目标更新芯片进行更新的芯片更新指令,基板管理控制器基于基板管理控制器与复杂可编程逻辑器件之间预先建立的第一通信链路向复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,复杂可编程逻辑器件打开相应的目标通路后,通过DB9接口接收由第二通信链路传输的目标更新文件,并基于所述目标通路将目标更新文件发送至目标更新芯片,以进行芯片更新。As shown in Figure 2, it is a schematic diagram of the overall structure provided by the present invention. In the figure, the preset external interface is DB9, and the chip is a retimer chip as an example. An I2C link is established between the base board management controller and the complex programmable logic device. , An I2C link is established between the DB9 and the complex programmable logic device, and a uart link is established between the baseboard management controller and the DB9. In the specific implementation scenario, the preset debugging tool sends a chip update command to the baseboard management controller to update the target update chip through the DB9 interface through the uart link. The baseboard management controller is based on the connection between the baseboard management controller and the complex programmable logic device. The pre-established first communication link sends a target command for opening the target path between the complex programmable logic device and the target update chip to the complex programmable logic device, and after the complex programmable logic device opens the corresponding target path, The target update file transmitted by the second communication link is received through the DB9 interface, and the target update file is sent to the target update chip based on the target path to update the chip.

本实施例中,预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令后,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;之后复杂可编程逻辑器件接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。这样一来,本发明中CPLD与全部板卡进行连接,BMC可以对CPLD实现通道的切换,可以实现对服务器内所有板卡的信息和retimer芯片的版本信息的管理,在不拆机的情况下对整个服务器的retimer芯片进行升级管理。In this embodiment, the complex programmable logic device that is connected to the baseboard management controller and the preset external interface in advance respectively receives the target for opening between the complex programmable logic device and the target update chip sent by the baseboard management controller. After the target command of the path, the target path is opened; the target update chip is configured on the target board, and the target board is one of the multiple boards connected with the complex programmable logic device in advance ; Then the complex programmable logic device receives the target update file sent by the preset debugging tool through the preset external interface, and sends the target update file to the target update chip based on the target path, so as to update the target Update the chip to update. In this way, in the present invention, the CPLD is connected with all the boards, and the BMC can switch the channels of the CPLD, and can realize the management of the information of all boards in the server and the version information of the retimer chip, without disassembling the machine. Upgrade and manage the retimer chips of the entire server.

图3为本申请实施例提供的一种具体的芯片升级方法,应用于与复杂可编程逻辑器件连接的基板管理控制器。参见图3所示,该方法包括:FIG. 3 is a specific chip upgrade method provided by the embodiment of the present application, which is applied to a baseboard management controller connected to a complex programmable logic device. Referring to shown in Figure 3, the method includes:

步骤S21:向所述复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,以便所述复杂可编程逻辑器件打开所述目标通路并在接收预设调试工具通过所述预设外接接口发送的目标更新文件后,基于所述目标通路将所述目标更新文件发送至所述目标更新芯以对所述目标更新芯片进行更新。Step S21: sending to the complex programmable logic device a target command for opening the target path between the complex programmable logic device and the target update chip, so that the complex programmable logic device opens the target path and After receiving the target update file sent by the default debugging tool through the preset external interface, the target update file is sent to the target update core based on the target path to update the target update chip.

其中,所述复杂可编程逻辑器件预先与预设外接接口连接,所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块。Wherein, the complex programmable logic device is pre-connected to a preset external interface, and the target update chip is configured on a target board, and the target board is a plurality of boards that are pre-connected to the complex programmable logic device A piece of the card.

本实施例中,所述向所述复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,可以包括:当通过第三通信链路接收到预设调试工具通过所述预设外接接口发送的针对目标板卡上的目标芯片的芯片更新指令,则基于所述芯片更新指令从所述复杂可编程逻辑器件中的用于记录板卡信息的第一寄存器和用于记录芯片地址信息的第二寄存器中确定所述目标芯片对应的芯片地址;向所述复杂可编程逻辑器件发送用于打开所述复杂可编程逻辑器件与所述目标芯片地址之间的目标通路的目标命令。In this embodiment, sending the target command for opening the target path between the complex programmable logic device and the target update chip to the complex programmable logic device may include: when receiving the target command through the third communication link To the chip update instruction for the target chip on the target board sent by the preset debugging tool through the preset external interface, then based on the chip update instruction, from the complex programmable logic device for recording board information The chip address corresponding to the target chip is determined in the first register of the first register and the second register for recording chip address information; The target command for the target path between addresses.

可以理解的是,本实施例中,(如图2所示)复杂可编程逻辑器件中包括用于记录板卡信息的第一寄存器和用于记录芯片地址信息的第二寄存器,以此可以对每个芯片进行正确的管理升级。当BMC接收到芯片更新指令后,可以基于第一通信链路从CPLD中的第一寄存器与第二寄存器中确定目标更新芯片的芯片地址信息,并基于所述芯片地址信息生成目标命令后,向所述复杂可编程逻辑器件发送所述目标命令。It can be understood that, in this embodiment, (as shown in FIG. 2 ) the complex programmable logic device includes a first register for recording board information and a second register for recording chip address information, so that the Each chip performs the correct management upgrade. After the BMC receives the chip update instruction, it can determine the chip address information of the target update chip from the first register and the second register in the CPLD based on the first communication link, and after generating the target command based on the chip address information, send to The complex programmable logic device sends the target command.

在目前现有技术的架构中,由于未对retimer芯片的版本进行统一管理,故板卡上的各个retimer芯片的版本管理比较单一,仅靠加工要求进行记录,别的工程师无法核对版本。对此,(如图2所示)本发明还在所述复杂可编程逻辑器件中配置了用于记录芯片版本信息的第三寄存器,以方便核对记录每个芯片的版本和配置方式,解决现有技术中存在的芯片版本管理问题。In the current architecture of the prior art, since the version of the retimer chip is not managed uniformly, the version management of each retimer chip on the board is relatively simple, and only the processing requirements are used for recording, and other engineers cannot check the version. In this regard, (as shown in FIG. 2 ) the present invention also configures a third register for recording chip version information in the complex programmable logic device, so as to facilitate checking and recording the version and configuration mode of each chip, and solve the current problem. There is a chip version management problem in the technology.

本发明中将基于I2C通道升级retimer芯片的通道切换功能统一放到主板的CPLD当中实现,这样将通道切换放置在一个总控的位置便于对每一个板卡进行控制。在其他的实施方式中,CPLD可以使用其他切换管理器件替代。此CPLD或者切换管理器件对各个含有retimer芯片的板卡、retimer芯片的地址信息、版本信息都各自通过一个寄存器来进行管理,然后将I2C控制通路通过DB9的剩余管脚连接到外部,这样就可以在不拆机的情况下,仅通过DB9进行连接器的线缆转接就可以连接至外部的调试工具,对retimer芯片进行升级管理,从而达到对整个服务器灵活配置的目的。In the present invention, the channel switching function based on the I2C channel upgrade retimer chip is uniformly placed in the CPLD of the main board for realization, so that the channel switching is placed in a master control position to facilitate the control of each board. In other implementation manners, the CPLD can be replaced by other switching management devices. This CPLD or switching management device manages each board card containing retimer chip, address information and version information of retimer chip through a register respectively, and then connects the I2C control path to the outside through the remaining pins of DB9, so that Without dismantling the machine, it can be connected to an external debugging tool only through the cable transfer of the connector through DB9, and the retimer chip can be upgraded and managed, so as to achieve the purpose of flexible configuration of the entire server.

参见图4所示,本申请实施例公开了一种芯片升级装置,应用于预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件,具体可以包括:Referring to Figure 4, the embodiment of the present application discloses a chip upgrade device, which is applied to complex programmable logic devices connected to the baseboard management controller and the preset external interface in advance, and may specifically include:

通路切换模块11,用于当接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;The path switching module 11 is configured to open the target path when receiving the target command sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip; the target update The chip is configured on a target board, and the target board is one of a plurality of boards pre-connected to the complex programmable logic device;

芯片更新模块12,用于接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。The chip update module 12 is configured to receive the target update file sent by the preset debugging tool through the preset external interface, and send the target update file to the target update chip based on the target path, so as to update the target Update the chip to update.

本发明中预先分别与基板管理控制器和预设外接接口连接的复杂可编程逻辑器件接收到基板管理控制器发送的用于打开所述复杂可编程逻辑器件与目标更新芯片之间的目标通路的目标命令后,则打开所述目标通路;所述目标更新芯片被配置于目标板卡上,所述目标板卡为预先与所述复杂可编程逻辑器件连接的多块板卡中的一块;之后复杂可编程逻辑器件接收预设调试工具通过所述预设外接接口发送的目标更新文件,并基于所述目标通路将所述目标更新文件发送至所述目标更新芯片,以对所述目标更新芯片进行更新。这样一来,本发明中CPLD与全部板卡进行连接,BMC可以对CPLD实现通道的切换,可以实现对服务器内所有板卡的信息和retimer芯片的版本信息的管理,在不拆机的情况下对整个服务器的retimer芯片进行升级管理。In the present invention, the complex programmable logic device connected to the baseboard management controller and the preset external interface in advance respectively receives the message sent by the baseboard management controller for opening the target path between the complex programmable logic device and the target update chip After the target command, the target path is opened; the target update chip is configured on the target board, and the target board is one of the multiple boards connected with the complex programmable logic device in advance; after that The complex programmable logic device receives the target update file sent by the preset debugging tool through the preset external interface, and sends the target update file to the target update chip based on the target path, so as to update the target chip to update. In this way, in the present invention, the CPLD is connected with all the boards, and the BMC can switch the channels of the CPLD, and can realize the management of the information of all boards in the server and the version information of the retimer chip, without disassembling the machine. Upgrade and manage the retimer chips of the entire server.

进一步的,本申请实施例还公开了一种电子设备,图5是根据示例性实施例示出的电子设备20结构图,图中的内容不能认为是对本申请的使用范围的任何限制。Further, the embodiment of this application also discloses an electronic device. FIG. 5 is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure should not be regarded as any limitation on the application scope of this application.

图5为本申请实施例提供的一种电子设备20的结构示意图。该电子设备20,具体可以包括:至少一个处理器21、至少一个存储器22、电源23、显示屏24、输入输出接口25、通信接口26和通信总线27。其中,所述存储器22用于存储计算机程序,所述计算机程序由所述处理器21加载并执行,以实现前述任一实施例公开的芯片升级方法中的相关步骤。另外,本实施例中的电子设备20具体可以为电子计算机。FIG. 5 is a schematic structural diagram of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21 , at least one memory 22 , a power supply 23 , a display screen 24 , an input/output interface 25 , a communication interface 26 and a communication bus 27 . Wherein, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the chip upgrading method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

本实施例中,电源23用于为电子设备20上的各硬件设备提供工作电压;通信接口26能够为电子设备20创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;输入输出接口25,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 26 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is applicable Any communication protocol in the technical solution of the present application is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the external, and its specific interface type can be selected according to specific application needs, here Not specifically limited.

另外,存储器22作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源可以包括操作系统221、计算机程序222及虚拟机数据223等,虚拟机数据223可以包括各种各样的数据。存储方式可以是短暂存储或者永久存储。In addition, the memory 22, as a resource storage carrier, can be a read-only memory, random access memory, magnetic disk or optical disk, etc., and the resources stored thereon can include an operating system 221, a computer program 222, and virtual machine data 223, etc., and the virtual machine data 223 A wide variety of data can be included. The storage method can be short-term storage or permanent storage.

其中,操作系统221用于管理与控制电子设备20上的各硬件设备以及计算机程序222,其可以是Windows Server、Netware、Unix、Linux等。计算机程序222除了包括能够用于完成前述任一实施例公开的由电子设备20执行的芯片升级方法的计算机程序之外,还可以进一步包括能够用于完成其他特定工作的计算机程序。Wherein, the operating system 221 is used to manage and control various hardware devices and computer programs 222 on the electronic device 20 , which may be Windows Server, Netware, Unix, Linux, etc. The computer program 222 may further include a computer program capable of completing other specific tasks in addition to the computer program capable of completing the chip upgrade method performed by the electronic device 20 disclosed in any of the foregoing embodiments.

进一步的,本申请还公开了一种计算机可读存储介质,这里所说的计算机可读存储介质包括随机存取存储器(Random Access Memory,RAM)、内存、只读存储器(Read-OnlyMemory,ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、磁碟或者光盘或技术领域内所公知的任意其他形式的存储介质。其中,所述计算机程序被处理器执行时实现前述公开的芯片升级方法。关于该方法的具体步骤可以参考前述实施例中公开的相应内容,在此不再进行赘述。Further, the present application also discloses a computer-readable storage medium, where the computer-readable storage medium includes random access memory (Random Access Memory, RAM), memory, and read-only memory (Read-OnlyMemory, ROM) , electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, magnetic disk or optical disk or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the chip upgrade method disclosed above is realized. Regarding the specific steps of the method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part. Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

以上对本发明所提供的芯片升级方法、装置、设备、存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The chip upgrade method, device, equipment, and storage medium provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The descriptions of the above embodiments are only used to help understand the present invention The method of the invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.

Claims (10)

1. The chip upgrading method is characterized by being applied to a complex programmable logic device which is respectively connected with a baseboard management controller and a preset external interface in advance, and comprising the following steps:
when a target command for opening a target path between the complex programmable logic device and a target update chip, which is sent by a baseboard management controller, is received, opening the target path; the target updating chip is configured on a target board card, and the target board card is one of a plurality of board cards which are connected with the complex programmable logic device in advance;
and receiving a target update file sent by a preset debugging tool through the preset external interface, and sending the target update file to the target update chip based on the target path so as to update the target update chip.
2. The method of claim 1, wherein the complex programmable logic device establishes a first communication link with the baseboard management controller and establishes a second communication link with the preset external interface, and when a target command sent by the baseboard management controller for opening a target path between the complex programmable logic device and a target update chip is received, opening the target path comprises:
when a target command which is sent by the baseboard management controller through the first communication link and is used for opening a target channel between the complex programmable logic device and a target updating chip is received, opening the target channel;
correspondingly, the receiving the target update file sent by the preset debugging tool through the preset external interface includes:
and receiving a target update file sent by a preset debugging tool through the preset external interface through the second communication link.
3. The chip upgrade method of claim 2 wherein the first communication link and the second communication link are both integrated circuit bus links.
4. A method of upgrading a chip according to any one of claims 1 to 3, wherein when receiving a target command sent by a baseboard management controller for opening a target path between the complex programmable logic device and a target update chip, opening the target path comprises:
after receiving a chip updating instruction which is sent by a preset debugging tool through the preset external interface and is aimed at a target chip through a third communication link, a target command which is sent and used for opening a target channel between the complex programmable logic device and the target updating chip is received by the baseboard management controller, and then the target channel is opened; the third communication link is a link pre-established between the baseboard management controller and the preset external interface.
5. The method of claim 4, wherein the third communication link is a link constructed based on a universal asynchronous receiver transmitter.
6. A method of chip upgrade, applied to a baseboard management controller connected to a complex programmable logic device, comprising:
sending a target command for opening a target path between the complex programmable logic device and a target update chip to the complex programmable logic device, so that the complex programmable logic device opens the target path and sends a target update file to the target update core based on the target path after receiving the target update file sent by a preset debugging tool through the preset external interface to update the target update chip;
the complex programmable logic device is connected with a preset external interface in advance, the target updating chip is configured on a target board card, and the target board card is one of a plurality of board cards which are connected with the complex programmable logic device in advance.
7. The chip upgrade method according to claim 6, wherein the sending the target command to the complex programmable logic device for opening a target path between the complex programmable logic device and a target update chip comprises:
when a chip updating instruction, which is sent by a preset debugging tool through the preset external interface and is aimed at a target chip on a target board, is received through a third communication link, determining a chip address corresponding to the target chip from a first register used for recording board information and a second register used for recording chip address information in the complex programmable logic device based on the chip updating instruction; wherein, the third communication link is a link pre-established between the baseboard management controller and the preset external interface;
a target command is sent to the complex programmable logic device to open a target path between the complex programmable logic device and the target chip address.
8. The chip upgrading device is characterized by being applied to a complex programmable logic device which is respectively connected with a baseboard management controller and a preset external interface in advance, and comprising:
the access switching module is used for opening the target access when receiving a target command which is sent by the baseboard management controller and used for opening the target access between the complex programmable logic device and the target updating chip; the target updating chip is configured on a target board card, and the target board card is one of a plurality of board cards which are connected with the complex programmable logic device in advance;
the chip updating module is used for receiving a target updating file sent by a preset debugging tool through the preset external interface, and sending the target updating file to the target updating chip based on the target path so as to update the target updating chip.
9. An electronic device comprising a processor and a memory; wherein the processor, when executing the computer program stored in the memory, implements the chip upgrade method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program, when executed by a processor, implements the chip upgrade method according to any one of claims 1 to 7.
CN202310605306.9A 2023-05-26 2023-05-26 A chip upgrade method, device, equipment and medium Pending CN116627463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310605306.9A CN116627463A (en) 2023-05-26 2023-05-26 A chip upgrade method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310605306.9A CN116627463A (en) 2023-05-26 2023-05-26 A chip upgrade method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116627463A true CN116627463A (en) 2023-08-22

Family

ID=87596901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310605306.9A Pending CN116627463A (en) 2023-05-26 2023-05-26 A chip upgrade method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116627463A (en)

Similar Documents

Publication Publication Date Title
CN112328440B (en) Hard disk physical position determining method and device
CN106339344A (en) Multi-serial port switching system and method used for debugging server system
CN113872796A (en) Method, apparatus, device and medium for acquiring information of server and node device thereof
CN114153477B (en) PCIE driving card firmware upgrading method, device, system, equipment and medium
WO2024103829A1 (en) Port configuration method, component, and hard disk expansion apparatus
CN102081568A (en) Multi-motherboard server system
US11157427B2 (en) Configurable method to associate drive slot to bus number
CN107220194A (en) A kind of partitioned allocation method of multipath server, device and multipath server
CN102253845B (en) Server system
CN115878533A (en) Adaptive configuration method, device, equipment and storage medium of AI server
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN118643000B (en) Method for generating configuration information table of PCIe port of server, method and device for sending configuration information table
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN113835762B (en) Method and system for updating default configuration of hard disk backboard
CN102201959A (en) Network interface system of baseboard management controller
CN115145733A (en) A resource allocation method, device, server and system
CN112003723A (en) Method and system for batch firmware upgrade of Expander chip
CN116627463A (en) A chip upgrade method, device, equipment and medium
US10649941B2 (en) Server system and method for managing two baseboard management controllers
CN114281526B (en) An adaptive control right allocation method, system and device for FRU information memory
CN115827342A (en) Test fixture, test system and OCP network card test method
CN211787062U (en) MCTP equipment testing arrangement
CN115220810A (en) Loongson 2K 1000-based FPGA resource dynamic loading configuration method
CN115374042A (en) Bus switching method, device, equipment and medium
CN113138951A (en) Method, system and medium for connecting multiple devices through SGPIO

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