CN115794239A - Network card firmware refreshing method, device, equipment and medium - Google Patents

Network card firmware refreshing method, device, equipment and medium Download PDF

Info

Publication number
CN115794239A
CN115794239A CN202211415154.8A CN202211415154A CN115794239A CN 115794239 A CN115794239 A CN 115794239A CN 202211415154 A CN202211415154 A CN 202211415154A CN 115794239 A CN115794239 A CN 115794239A
Authority
CN
China
Prior art keywords
platform
network card
refreshing
firmware
target
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
CN202211415154.8A
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 CN202211415154.8A priority Critical patent/CN115794239A/en
Publication of CN115794239A publication Critical patent/CN115794239A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for refreshing network card firmware, which relate to the technical field of computers and comprise the following steps: after an operating system is loaded on a preset non-x 86 platform, determining a target network card to be refreshed; uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform; uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform. According to the scheme, the target software for simulating the x86 platform is compiled and loaded on the non-x 86 platform, the firmware file can be refreshed on the non-x 86 platform by using the network card refreshing tool, and normal production of a production line in the non-x 86 platform is guaranteed.

Description

Network card firmware refreshing method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for refreshing a network card firmware.
Background
With the continuous update and update of network technology, various new platforms are also emerging continuously, and currently, the mainstream server platforms include an x86 platform and a non-x 86 platform. All the components face different platforms, and are difficult to adapt completely, particularly when FW (Firmware) refreshing is carried out, because the platforms are incompatible with the existing refreshing tools, some components cannot be used normally on specific platforms. For platform servers with customer requirements, manufacturers cannot meet the customer requirements. Traditional network card manufacturers only develop corresponding requirements for X86 platforms, and for non-X86 platforms, the manufacturers are reluctant to invest efforts to do corresponding technical support, so that component adaptation corresponding to the non-X86 servers is influenced.
The corresponding network card refreshing tools under the x86 platform are all based on the x86 platform, and with the rise of non-x 86 platforms and the rapid increase of market delivery, certain specific network cards are not favored by customers because the network cards do not support firmware refreshing under the non-x 86 platforms. At present, the network card components of the non-86 platforms are firstly refreshed by firmware under the x86 platform and then used on the non-x 86 platform. However, this method has a problem of inefficient refreshing, and is not suitable for mass refreshing shipment on a production line and a customer site.
In summary, how to refresh the firmware on the non-x 86 platform by using the network card refreshing tool to ensure the normal production of the production line in the non-x 86 platform is a problem to be solved at present.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, a device, and a medium for refreshing a firmware of a network card, which can refresh the firmware on a non-x 86 platform by using a network card refreshing tool, so as to ensure normal production of a production line in the non-x 86 platform. The specific scheme is as follows:
in a first aspect, the present application discloses a method for refreshing a network card firmware, including:
after an operating system is loaded on a preset non-x 86 platform, determining a target network card to be refreshed;
uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform;
uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform.
Optionally, the uploading the firmware file of the network card refreshing tool and the target network card to the non-x 86 platform includes:
determining a target directory preset in the non-x 86 platform;
and uploading a network card refreshing tool and the firmware file of the target network card to the target directory.
Optionally, during the process of compiling and loading the target software on the non-x 86 platform, the method further includes:
and acquiring analog coding information corresponding to the target software, and embedding the analog coding information into a linux kernel bottom layer.
Optionally, the x86 platform is any one of an Intel platform and an AMD platform.
Optionally, the non-x 86 platform is any one of an ARM platform, a RISC platform, and a CISC platform.
Optionally, the network card refreshing tool is a refreshing tool based on a diag production system.
Optionally, the refreshing the firmware file by using the network card refreshing tool includes:
and sending a firmware refreshing instruction to the network card refreshing tool so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction.
In a second aspect, the present application discloses a network card firmware refreshing apparatus, including:
the target network card determining module is used for determining a target network card to be refreshed after an operating system is loaded on a preset non-x 86 platform;
the target software uploading module is used for uploading target software for simulating an x86 platform to the non-x 86 platform, compiling and loading the target software on the non-x 86 platform;
and the firmware file refreshing module is used for uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform so as to refresh the firmware file by using the network card refreshing tool after the target software is started on the non-x 86 platform.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the steps of the network card firmware refreshing method disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein, the computer program realizes the steps of the network card firmware refreshing method disclosed in the foregoing when being executed by a processor.
The application discloses a network card firmware refreshing method, which comprises the steps of determining a target network card to be refreshed after an operating system is loaded on a preset non-x 86 platform; uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform; uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform. Therefore, according to the method, the target network card to be refreshed is determined after the operating system is loaded on the preset non-x 86 platform, the target software for simulating the x86 platform is uploaded to the non-x 86 platform, then the target software is compiled and loaded, so that the environment of the x86 platform can be simulated on the non-x 86 platform, then the network card refreshing tool and the firmware file of the target network card are uploaded to the non-x 86 platform, and then the firmware file can be refreshed by the network card refreshing tool after the target software is started. By the aid of the target software, an x86 platform can be simulated on a non-x 86 platform to execute a network card refreshing tool, network card firmware can be refreshed, and normal production of a production line in the non-x 86 platform is guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a network card firmware refreshing method disclosed in the present application;
FIG. 2 is a flowchart of a specific network card firmware refreshing method disclosed in the present application;
FIG. 3 is a diagram illustrating a specific firmware refresh process of a network card according to the present disclosure;
fig. 4 is a schematic structural diagram of a network card firmware refreshing apparatus disclosed in the present application;
fig. 5 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
With the continuous update and update of network technology, various new platforms are also continuously emerging, and currently, the mainstream server platforms include an x86 platform and a non-x 86 platform. All the components face different platforms, and are difficult to adapt completely, particularly when FW (Firmware) refreshing is carried out, because the platforms are incompatible with the existing refreshing tools, some components cannot be used normally on specific platforms. For platform servers with customer requirements, manufacturers cannot meet the customer requirements. Traditional network card manufacturers only develop corresponding requirements for X86 platforms, and for non-X86 platforms, the manufacturers are reluctant to invest efforts to do corresponding technical support, so that component adaptation corresponding to the non-X86 servers is influenced.
The corresponding network card refreshing tools under the x86 platform are all based on the x86 platform, and with the rise of non-x 86 platforms and the rapid increase of market delivery, certain specific network cards are not favored by customers because the network cards do not support firmware refreshing under the non-x 86 platforms. At present, the network card components of the non-86 platforms are firstly refreshed by firmware under the x86 platform and then used on the non-x 86 platform. However, this method has a problem of inefficient refreshing, and is not suitable for mass refreshing shipment on a production line and a customer site.
Therefore, the embodiment of the application discloses a method, a device, equipment and a medium for refreshing network card firmware, which can refresh the firmware on a non-x 86 platform by using a network card refreshing tool so as to ensure the normal production of a production line in the non-x 86 platform.
Referring to fig. 1, an embodiment of the present application discloses a method for refreshing a network card firmware, including:
step S11: and after loading an operating system on a preset non-x 86 platform, determining a target network card to be refreshed.
In this embodiment, first, after an Operating System (OS) is loaded on a preset non-x 86 platform, the network card hardware to be refreshed is identified, that is, the target network card to be refreshed is identified. In a specific embodiment, the non-x 86 platform may be any one of an ARM platform, a RISC platform, and a CISC platform, and it should be noted that the embodiment is not limited to the above-mentioned non-x 86 platforms. Among them, the ARM (Advanced RISC Machine), which is a 32-bit RISC processor architecture, is widely used in many embedded system designs, and due to the feature of energy saving, the ARM processor is very suitable for the mobile communication field, and conforms to the feature of low power consumption as its main design target. RISC (Reduced Instruction Set-Computer, reduced Instruction Set CPU) is a microprocessor for executing few types of Computer instructions, and the design of RISC is designed aiming at the defect of complex CISC CPU, and some instructions which can be completed in a single CPU cycle are selected to reduce the complexity of the CPU and transfer the complexity to a compiler. RISC has the advantages of simpler design, shorter design cycle, etc., and can perform operations at a faster speed (more million instructions per second, i.e., MIPS); the design idea of the simplified instruction set is to simplify the number of instructions and the addressing mode, so that the realization is easier, the parallel execution degree of the instructions is better, and the efficiency of a compiler is higher. A CISC (complex instruction set CPU), is also a microprocessor instruction set architecture in which each instruction may perform a number of low-level operations, such as read from memory, store, and compute operations, all in a single instruction. The design strategy of the CISC architecture is to use a large number of instructions, including complex instructions. Programming in CISC is easier than in other designs because each simple or complex task has a corresponding instruction. The programmer does not need to write a large heap of instructions to accomplish a complex task. The complexity of the instruction set makes the circuitry of the CPU and control unit very complex. Of the various instructions in the CISC instruction set, about 20% of the instructions are reused, accounting for 80% of the total program code, while the remaining 80% are infrequently used, accounting for only 20% of the programming.
Step S12: uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform.
In this embodiment, the target software for simulating the x86 platform is uploaded to the non-x 86 platform, and the target software is compiled and loaded on the non-x 86 platform, where it is noted that the target software in this embodiment is specifically a software simulation interface qmb, and can simulate the x86 platform on the non-x 86 platform. That is, in this embodiment, by designing one simulation script qmb, it may be implemented that the firmware refreshing tool of the x86 network card is transplanted to a non-x 86 platform for use across platforms. In an embodiment, the x86 platform is any one of an Intel platform and an AMD platform.
Step S13: uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform.
In this embodiment, the firmware files of the network card refreshing tool and the target network card are uploaded to the non-x 86 platform, so that firmware refreshing is performed on the non-x 86 platform. Specifically, after the target software is started on the non-x 86 platform, the firmware file is refreshed by using a network card refreshing tool.
Further, the network card refreshing tool is a refreshing tool based on a diag production system. The main purpose of this embodiment is to support a network card refreshing tool under diag in a non-x 86 platform, and further to refresh a firmware file, that is, to support the use of a refreshing tool under a non-x 86 platform, so that the firmware can be refreshed in a corresponding platform, and normal production of a production line is ensured. In addition, the diag production system may enable batch refreshing of firmware.
The application discloses a network card firmware refreshing method, which comprises the steps of determining a target network card to be refreshed after an operating system is loaded on a preset non-x 86 platform; uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform; uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform. Therefore, according to the method, the target network card to be refreshed is determined after the operating system is loaded on the preset non-x 86 platform, the target software for simulating the x86 platform is uploaded to the non-x 86 platform, then the target software is compiled and loaded, so that the environment of the x86 platform can be simulated on the non-x 86 platform, then the network card refreshing tool and the firmware file of the target network card are uploaded to the non-x 86 platform, and then the firmware file can be refreshed by the network card refreshing tool after the target software is started. By the aid of the target software, an x86 platform can be simulated on a non-x 86 platform to execute a network card refreshing tool, network card firmware can be refreshed, and normal production of a production line in the non-x 86 platform is guaranteed.
Referring to fig. 2, the embodiment of the present application discloses a specific method for refreshing a firmware of a network card, and compared with the previous embodiment, the present embodiment further describes and optimizes the technical solution. The method specifically comprises the following steps:
step S21: and after loading an operating system on a preset non-x 86 platform, determining a target network card to be refreshed.
Step S22: uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform.
In this embodiment, the above process of compiling and loading the target software on the non-x 86 platform further includes: and acquiring analog coding information corresponding to the target software, and embedding the analog coding information into a linux kernel bottom layer. It can be understood that when the target software is compiled and loaded on the non-x 86 platform, the analog coding information corresponding to the target software may be obtained, and the analog coding information is embedded into the linux kernel bottom layer, so as to implement the simulation of the x86 platform and be compatible with the refreshing of the x86 platform firmware. It can be understood that the linux kernel bottom layer relates to a platform hardware module, and hardware can be flexibly added and deleted, so that an environment for simulating x86 can be built.
Step S23: and determining a target directory preset in the non-x 86 platform, and uploading a network card refreshing tool and a firmware file of the target network card to the target directory.
In this embodiment, the network card refreshing tool and the firmware file of the target network card need to be uploaded to the target directory specified in the x86 platform, and then the target directory preset in the non-x 86 platform needs to be determined first, and then the network card refreshing tool and the firmware file of the target network card need to be uploaded to the target directory.
Step S24: and after the target software is started on the non-x 86 platform, sending a firmware refreshing instruction to the network card refreshing tool so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction.
In this embodiment, in the process of executing firmware refreshing, the target software needs to be started first, and then a firmware refreshing instruction is sent to the network card refreshing tool, so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction. The instruction may specifically be: qmb qma-d = a.bin. In this way, the software simulation interface of the X86 can simulate and execute the executability of the network card refreshing tool on the non-X86 platform, and further can refresh the firmware of the network card, that is, the newly added X86 simulation script under the environment of the non-X86 platform simulating X86, and cooperates with the network card refreshing tool to refresh the firmware on the non-X86 platform. Therefore, the list of the non-x 86 platform components increases the components supporting the x86 platform, expands the types and the number of the components, and allows a client to have more choices.
For more specific processing procedures of the steps S21 and S22, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, in the embodiment of the application, the target network card to be refreshed is determined by loading the operating system on the preset non-x 86 platform; uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform; determining a target directory preset in the non-x 86 platform, and uploading a network card refreshing tool and a firmware file of the target network card to the target directory; and after the target software is started on the non-x 86 platform, sending a firmware refreshing instruction to the network card refreshing tool so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction. Therefore, the linux kernel bottom layer relates to a platform hardware module, and hardware can be flexibly added and deleted, so that analog coding information corresponding to target software is embedded into the linux kernel bottom layer to build an environment for simulating x86, in addition, a target directory preset in a non-x 86 platform needs to be determined, a network card refreshing tool and a firmware file of a target network card are uploaded to the target directory, in the firmware refreshing process, the target software needs to be started first, and then a firmware refreshing instruction is sent to the network card refreshing tool, so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction. According to the scheme, the x86 platform can be simulated on the non-x 86 platform to execute the network card refreshing tool, so that the network card firmware can be refreshed, and the normal production of a production line in the non-x 86 platform is guaranteed.
Referring to fig. 3, the embodiment of the present application specifically describes a method for refreshing a network card firmware, by taking an ARM platform in an x86 platform as an example: firstly, after an operating system (namely an OS) is loaded on an ARM platform, a target network card to be refreshed is determined. Then, an analog interface module used for simulating an x86 platform is uploaded on the ARM platform, the firmware files of the network card refreshing tool and the target network card are uploaded continuously, and finally, the firmware files are refreshed by the network card refreshing tool after the analog interface module is started on a non-x 86 platform.
Referring to fig. 4, an embodiment of the present application discloses a device for refreshing a network card firmware, including:
the target network card determining module 11 is configured to determine a target network card to be refreshed after an operating system is loaded on a preset non-x 86 platform;
the target software uploading module 12 is configured to upload target software for simulating an x86 platform to the non-x 86 platform, and compile and load the target software on the non-x 86 platform;
and the firmware file refreshing module 13 is configured to upload a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform.
The application discloses a method for refreshing the firmware of the network card, which comprises the steps of determining a target network card to be refreshed after an operating system is loaded on a preset non-x 86 platform; uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform; uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform. Therefore, according to the method, the target network card to be refreshed is determined after the operating system is loaded on the preset non-x 86 platform, the target software for simulating the x86 platform is uploaded to the non-x 86 platform, then the target software is compiled and loaded, so that the environment of the x86 platform can be simulated on the non-x 86 platform, then the network card refreshing tool and the firmware file of the target network card are uploaded to the non-x 86 platform, and then the firmware file can be refreshed by the network card refreshing tool after the target software is started. By the aid of the target software, an x86 platform can be simulated on a non-x 86 platform to execute a network card refreshing tool, network card firmware can be refreshed, and normal production of a production line in the non-x 86 platform is guaranteed.
In some specific embodiments, the firmware file refreshing module 13 may specifically include:
the target directory determining unit is used for determining a target directory preset in the non-x 86 platform;
and the firmware uploading unit is used for uploading a network card refreshing tool and the firmware file of the target network card to the target directory.
In some specific embodiments, the target software uploading module 12 may further include:
and the information embedding unit is used for acquiring the analog coding information corresponding to the target software and embedding the analog coding information into the linux kernel bottom layer.
In some embodiments, the x86 platform in the network card firmware refresh device is any one of an Intel platform and an AMD platform.
In some embodiments, the non-x 86 platform in the network card firmware refresh device is any one of an ARM platform, a RISC platform, and a CISC platform.
In some embodiments, the network card refreshing tool in the network card firmware refreshing apparatus is a refresh tool based on a diag production system.
In some specific embodiments, the firmware file refreshing module 13 may specifically include:
and the refreshing instruction sending unit is used for sending a firmware refreshing instruction to the network card refreshing tool so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The method specifically comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is adapted to store a computer program, which is loaded and executed by the processor 21, to implement the steps of:
after an operating system is loaded on a preset non-x 86 platform, determining a target network card to be refreshed;
uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform;
uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
determining a target directory preset in the non-x 86 platform;
and uploading a network card refreshing tool and the firmware file of the target network card to the target directory.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and acquiring analog coding information corresponding to the target software, and embedding the analog coding information into a linux kernel bottom layer.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and sending a firmware refreshing instruction to the network card refreshing tool so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to acquire external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon include an operating system 221, a computer program 222, data 223, etc., and the storage mode may be a transient storage mode or a permanent storage mode.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the mass data 223 in the memory 22 by the processor 21, which may be Windows, unix, linux, or the like. The computer programs 222 may further include computer programs that can be used to perform other specific tasks in addition to the computer programs that can be used to perform the network card firmware refreshing method performed by the electronic device 20 disclosed in any of the foregoing embodiments. The data 223 may include data received by the electronic device and transmitted from an external device, or may include data collected by the input/output interface 25 itself.
Further, an embodiment of the present application further discloses a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is loaded and executed by a processor, the method steps executed in the network card firmware refreshing process disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The method, the device, the equipment and the storage medium for refreshing the network card firmware provided by the invention are described in detail, a specific example is applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A network card firmware refreshing method is characterized by comprising the following steps:
after an operating system is loaded on a preset non-x 86 platform, determining a target network card to be refreshed;
uploading target software for simulating an x86 platform to the non-x 86 platform, and compiling and loading the target software on the non-x 86 platform;
uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform, so that the firmware file is refreshed by using the network card refreshing tool after the target software is started on the non-x 86 platform.
2. The method of claim 1, wherein uploading the firmware files of the network card refreshing tool and the target network card to the non-x 86 platform comprises:
determining a target directory preset in the non-x 86 platform;
and uploading a network card refreshing tool and the firmware file of the target network card to the target directory.
3. The network card firmware refreshing method according to claim 1, wherein in the process of compiling and loading the target software on the non-x 86 platform, the method further comprises:
and acquiring analog coding information corresponding to the target software, and embedding the analog coding information into a linux kernel bottom layer.
4. The method for refreshing firmware of a network card according to claim 1, wherein the x86 platform is any one of an Intel platform and an AMD platform.
5. The method of claim 1, wherein the non-x 86 platform is any one of an ARM platform, a RISC platform, and a CISC platform.
6. The method for refreshing the firmware of the network card according to claim 1, wherein the network card refreshing tool is a refreshing tool based on a diag production system.
7. The method for refreshing the firmware of the network card according to any one of claims 1 to 6, wherein the refreshing the firmware file by using the network card refreshing tool comprises:
and sending a firmware refreshing instruction to the network card refreshing tool so that the network card refreshing tool refreshes the firmware file based on the firmware refreshing instruction.
8. A network card firmware refreshing device is characterized by comprising:
the target network card determining module is used for determining a target network card to be refreshed after an operating system is loaded on a preset non-x 86 platform;
the target software uploading module is used for uploading target software for simulating an x86 platform to the non-x 86 platform, compiling and loading the target software on the non-x 86 platform;
and the firmware file refreshing module is used for uploading a network card refreshing tool and the firmware file of the target network card to the non-x 86 platform so as to refresh the firmware file by using the network card refreshing tool after the target software is started on the non-x 86 platform.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing said computer program to implement the steps of the network card firmware refreshing method according to any of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of the network card firmware refreshing method according to any of claims 1 to 7.
CN202211415154.8A 2022-11-11 2022-11-11 Network card firmware refreshing method, device, equipment and medium Pending CN115794239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211415154.8A CN115794239A (en) 2022-11-11 2022-11-11 Network card firmware refreshing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211415154.8A CN115794239A (en) 2022-11-11 2022-11-11 Network card firmware refreshing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115794239A true CN115794239A (en) 2023-03-14

Family

ID=85437139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211415154.8A Pending CN115794239A (en) 2022-11-11 2022-11-11 Network card firmware refreshing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115794239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941475A (en) * 2023-03-15 2023-04-07 苏州浪潮智能科技有限公司 Network card firmware upgrading method, device, equipment, network card and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941475A (en) * 2023-03-15 2023-04-07 苏州浪潮智能科技有限公司 Network card firmware upgrading method, device, equipment, network card and readable storage medium

Similar Documents

Publication Publication Date Title
CN102436387B (en) Method and device for fast computer startup
CN106685687B (en) Gray scale dissemination method and device
CN102165418A (en) Turbo boot systems and methods
CN112040476B (en) Upgrading method and device for terminal of Internet of things
CN102880482A (en) System and technical method of automatically updating software in host batch control virtual machine
CN115794239A (en) Network card firmware refreshing method, device, equipment and medium
CN104204976A (en) Information processing apparatus, simulation method, and program
CN106897090A (en) A kind of embedded device programme upgrade method and system
CN109213570A (en) A kind of virtual machine migration method, device, equipment and readable storage medium storing program for executing
CN113641378B (en) Optical module program upgrading method, device, equipment and readable storage medium
EP3719645A1 (en) Extension application mechanisms through intra-process operation systems
CN114153477A (en) Method, device, system, equipment and medium for upgrading firmware of PCIE (peripheral component interface express) driver card
CN113703792A (en) Firmware remote upgrade test method, device, server and medium
CN109947445A (en) A kind of firmware upgrade method and system
CN115993985A (en) Bootloader updating method, bootloader updating device, bootloader updating equipment and Bootloader updating medium
CN115145634A (en) System management software self-adaption method, device and medium
CN114756212A (en) Low-code application integration method, device, equipment and medium
CN101908016A (en) Method for managing debugging information and break point of multi-core embedded device
WO2021230879A1 (en) Generating executables for target operational environments
JPH0410081B2 (en)
CN112905233B (en) Peripheral transplanting method of embedded firmware based on Linux kernel
CN108733444A (en) A kind of method for refreshing of the page, device, storage medium and mobile terminal
CN117234827B (en) Multi-platform automatic test method and system based on domestic graphic processor
CN117909272A (en) Method and device for setting transmission rate of serial bus and image signal generator
CN111475179B (en) Online software refreshing method and device, electronic control unit and upper computer

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