CN112817629A - BIOS (basic input output System) refreshing method and related device of ARM architecture server platform - Google Patents

BIOS (basic input output System) refreshing method and related device of ARM architecture server platform Download PDF

Info

Publication number
CN112817629A
CN112817629A CN202110090581.2A CN202110090581A CN112817629A CN 112817629 A CN112817629 A CN 112817629A CN 202110090581 A CN202110090581 A CN 202110090581A CN 112817629 A CN112817629 A CN 112817629A
Authority
CN
China
Prior art keywords
bios
refreshing
tool
refreshed
firmware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110090581.2A
Other languages
Chinese (zh)
Other versions
CN112817629B (en
Inventor
张国奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202110090581.2A priority Critical patent/CN112817629B/en
Publication of CN112817629A publication Critical patent/CN112817629A/en
Application granted granted Critical
Publication of CN112817629B publication Critical patent/CN112817629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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

Abstract

The application provides a BIOS refreshing method and a related device for an ARM architecture server platform, wherein the method comprises the following steps: running a driver of a refresh tool of the BIOS firmware; the file of the refreshing tool and the authority of the mirror image file to be refreshed are promoted; controlling a refreshing tool to acquire a physical memory address of the BIOS firmware by using a drive; and refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed. The drive of the refreshing tool for running the BIOS firmware is used for assisting the refreshing tool to acquire the physical memory address of the BIOS firmware, after the authority of the file of the refreshing tool and the authority of the mirror image file to be refreshed are improved, the drive of the refreshing tool is assisted to acquire the physical memory address of the BIOS firmware, the BIOS firmware is refreshed by entering the corresponding position in the FLASH ROM according to the physical memory address, the upgrading and downgrading of the firmware of the ARM architecture server platform to be refreshed are completed, the refreshing speed is high, and the operation is convenient.

Description

BIOS (basic input output System) refreshing method and related device of ARM architecture server platform
Technical Field
The application relates to the technical field of firmware upgrading and downgrading, in particular to a BIOS refreshing method, device, equipment and medium of an ARM architecture server platform.
Background
The main board BIOS (Basic Input Output System) firmware refresh is to rewrite data in a main board BIOS ROM (Read-Only Memory), and the main board BIOS refresh is to refresh a BIOS FW (firmware) engineer and a test engineer by a common operation. The purpose of firmware refresh is mainly two: firstly, the existing BUG or fault is repaired, and the function is perfected; secondly, new functions are added. For a firmware engineer, the purpose of refreshing the BIOS is to debug, verify that the BUG is repaired, and test the newly added functions. At present, two methods are generally used for updating a Firmware BIOS of an X86 server platform, one method is that the BIOS Firmware completes upgrading and downgrading operations of the BIOS under a UEFI (Unified Extensible Firmware Interface) shell upgrading tool, and the other method completes upgrading and downgrading operations of the BIOS Firmware in a form of a terminal command of a BMC (Baseboard Management Controller) Web (World Wide Web) and a BMC. The two ways of upgrading the BIOS firmware are both ways in which a CPU (central processing unit) platform mainly based on X86 executes firmware processing, and cannot be applied to a domestic server platform using an ARM (Advanced RISC Machine) CPU as an architecture.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a BIOS refreshing method, a BIOS refreshing device and a BIOS refreshing medium for an ARM architecture server platform, which can realize upgrading and downgrading of the BIOS of the ARM architecture server platform, and are high in refreshing speed and simple in operation. The specific scheme is as follows:
the application provides a BIOS refreshing method of an ARM architecture server platform, which comprises the following steps:
running a driver of a refresh tool of the BIOS firmware;
the authority of the file of the refreshing tool and the authority of the mirror image file to be refreshed are improved;
controlling the refreshing tool to acquire a physical memory address of the BIOS firmware by using the driver;
and refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed.
Preferably, the promoting the authority of the file of the refreshing tool and the image file to be refreshed includes:
storing the file of the refreshing tool and the mirror image file to be refreshed in a set folder;
and improving the operation permission of the set folder.
Preferably, the promoting the authority of the file of the refreshing tool and the image file to be refreshed includes:
respectively storing the file of the refreshing tool and the mirror image file to be refreshed in different folders;
and the operation permission of the two folders is promoted.
Preferably, the driving of the refresh tool running the BIOS firmware includes:
entering a root authority of a command line terminal, and inputting a compiling instruction;
installing the driver of the refresh tool of the BIOS firmware according to the compiled instructions;
the drive is refreshed and run.
Preferably, after the BIOS firmware in the physical memory address is refreshed in the FLASH ROM according to the mirror image file to be refreshed, the method further includes:
judging whether the BIOS firmware is refreshed successfully;
when the BIOS firmware is successfully refreshed, determining that the BIOS refreshing is finished;
and if the BIOS firmware fails to be refreshed, executing the drive of the refreshing tool for operating the BIOS firmware.
Preferably, before the driving of the refresh tool for running the BIOS firmware, the method further includes:
acquiring a first BIOS refreshing instruction of a current ARM architecture server platform;
and running a driver of a refreshing tool of the BIOS firmware arranged on the current ARM architecture server platform according to the first BIOS refreshing instruction.
Preferably, before the driving of the refresh tool for running the BIOS firmware, the method further includes:
acquiring a second BIOS refreshing instruction of other ARM architecture server platforms;
and running the driver of the refreshing tool of the BIOS firmware arranged on the other ARM architecture server platforms through a network channel according to the second BIOS refreshing instruction.
The application provides a BIOS refreshing device of ARM architecture server platform, includes:
the drive running module is used for running the drive of the refreshing tool of the BIOS firmware;
the authority lifting module is used for lifting the authority of the file of the refreshing tool and the mirror image file to be refreshed;
an address obtaining module, configured to control the refresh tool to obtain a physical memory address of the BIOS firmware by using the driver;
and the refreshing module is used for refreshing the BIOS firmware in the physical memory address in a FLASH ROM according to the mirror image file to be refreshed.
The application provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the BIOS refresh method as described above when executing the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the BIOS refresh method as described above.
The application provides a BIOS refreshing method of an ARM architecture server platform, which comprises the following steps: running a driver of a refresh tool of the BIOS firmware; the file of the refreshing tool and the authority of the mirror image file to be refreshed are promoted; controlling a refreshing tool to acquire a physical memory address of the BIOS firmware by using a drive; and refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed.
It can be seen that in the ARM architecture server platform, the parameters and values obtained by the refresh tool are incorrect, therefore, the refresh tool can not directly obtain the physical memory address of the BIOS firmware to realize the refresh of the BIOS firmware, the drive of the refresh tool of the BIOS firmware is operated, the driver is used for assisting the refreshing tool to acquire the physical memory address of the BIOS firmware, after the authority of the file of the refreshing tool and the mirror image file to be refreshed is improved, the running drive auxiliary refreshing tool acquires the physical memory address of the BIOS firmware, enters the corresponding position in the FLASH ROM according to the physical memory address, then, the BIOS firmware is refreshed according to the mirror image file to be refreshed, a refreshing channel can be directly refreshed for the BIOS firmware locally on the ARM architecture server platform to be refreshed, a network is not needed to obtain an address and then the firmware is refreshed, the refreshing speed is high, and the operation is more convenient.
The application also provides a BIOS refreshing device, equipment and medium of the ARM architecture server platform, and the BIOS refreshing device, the equipment and the medium all have the beneficial effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, 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 BIOS refresh method for an ARM architecture server platform according to an embodiment of the present disclosure;
FIG. 2 is a block diagram illustrating a specific BIOS refresh method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a BIOS refresh apparatus of an ARM architecture server platform according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The purpose of firmware refresh is mainly two: firstly, the existing BUG or fault is repaired, and the function is perfected; secondly, new functions are added. For a firmware engineer, the purpose of refreshing the BIOS is to debug, verify that the BUG is repaired, and test the newly added functions. At present, two methods are generally adopted for updating a firmware BIOS of a mainstream X86 server platform, wherein one method is that the BIOS firmware completes the upgrading and downgrading operation of the BIOS under a UEFI shell upgrading tool, and the other method completes the upgrading and downgrading operation of the BIOS firmware in the form of a terminal command of a BMC (baseboard management controller) web and a BMC. The two ways of upgrading the BIOS firmware are both ways of executing firmware processing by the CPU platform mainly based on X86, and cannot be applied to a domestic server platform with an ARM CPU as an architecture.
Based on the above technical problem, this embodiment provides a BIOS refresh method for an ARM framework server platform, including: running a driver of a refresh tool of the BIOS firmware; the file of the refreshing tool and the authority of the mirror image file to be refreshed are promoted; controlling a refreshing tool to acquire a physical memory address of the BIOS firmware by using a drive; and refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed.
It can be seen that in the ARM architecture server platform, the parameters and values obtained by the refresh tool are incorrect, therefore, the refresh tool can not directly obtain the physical memory address of the BIOS firmware to realize the refresh of the BIOS firmware, the drive of the refresh tool of the BIOS firmware is operated, the driver is used for assisting the refreshing tool to acquire the physical memory address of the BIOS firmware, after the authority of the file of the refreshing tool and the mirror image file to be refreshed is improved, the running drive auxiliary refreshing tool acquires the physical memory address of the BIOS firmware, enters the corresponding position in the FLASH ROM according to the physical memory address, then, the BIOS firmware is refreshed according to the mirror image file to be refreshed, a refreshing channel can be directly refreshed for the BIOS firmware locally on the ARM architecture server platform to be refreshed, a network is not needed to obtain an address and then the firmware is refreshed, the refreshing speed is high, and the operation is more convenient.
Referring to fig. 1 specifically, fig. 1 is a flowchart of a BIOS refresh method of an ARM architecture server platform according to an embodiment of the present application, which specifically includes:
s101, running the drive of a refreshing tool of the BIOS firmware;
the execution main body of the application is an ARM architecture server platform, and it can be understood that the ARM architecture server platform can be an FT2000+/FT2500 domestic server platform and is provided with a system with ARM centos above 7.6, and the ARM architecture server platform normally runs into the system with ARM centos above 7.6; in the application, a system below ARM centros 7.6 can be adopted, but the system below ARM centros 7.6 lacks an operating environment capable of operating the driver safely, and has potential safety hazards.
It can be understood that the refresh tool operates in a command line terminal mode under the ARM centros 7.6 system, but the refresh tool cannot acquire the physical memory address of the refreshed BIOS firmware device, the parameters and values acquired by the refresh tool through the virtual memory under the ARM centros 7.6 system are incorrect, and the memory address that the refresh tool cannot pass through is used to refresh the BIOS firmware, so that the drive of the refresh tool needs to operate in the command line terminal to assist in acquiring the address of the corresponding physical memory in this embodiment.
And installing a driver of the refreshing tool, specifically, opening a command line terminal under an ARM centros 7.6 system, entering a root authority, compiling the driver, installing the driver of the BIOS flash refreshing tool under a driver file, and operating the driver of the BIOS refreshing tool, wherein the driver can assist the refreshing tool under the BIOS system to acquire the physical memory address of the BIOS firmware.
It is to be appreciated that the refresh tool can implement a refresh of existing BIOS firmware, which can be an upgrade, downgrade, maintenance, or repair BUG.
S102, promoting the file of the refreshing tool and the authority of the mirror image file to be refreshed;
the purpose of this step is to promote the file of the refreshing tool and the authority of the mirror image file to be refreshed, so as to be able to execute in the command line terminal. The method for promoting the authority is not limited, and the user can set the authority according to actual requirements as long as the purpose of the method can be achieved.
The image file to be refreshed can be any one of an image file to be upgraded, an image file to be maintained, an image file to be degraded and a BUG image file to be repaired, and can be set by a user in a self-defined mode, wherein the upgrading of BIOS firmware can be achieved according to the image file to be upgraded, the maintenance of the BIOS firmware can be achieved according to the image file to be maintained, the degradation of the BIOS firmware can be achieved according to the image file to be degraded, and the BUG repair of the BIOS firmware can be achieved according to the BUG image file to be repaired.
It can be understood that the image file to be refreshed may be a full file or an incremental file, and the user may set the image file according to actual conditions as long as the purpose of the embodiment can be achieved.
S103, controlling a refreshing tool to acquire a physical memory address of the BIOS firmware by using a driver;
in this step, the BIOS firmware is updated by using the BIOS firmware refreshing tool and the physical memory address of the BIOS firmware obtained by the driver of the BIOS firmware refreshing tool.
And S104, refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed.
After the physical memory address of the BIOS firmware is obtained in step S103, the BIOS firmware is refreshed according to the to-be-refreshed image file by entering the corresponding position in the FLASH ROM according to the physical memory address, a refresh channel can be directly refreshed for the BIOS firmware locally on the to-be-refreshed ARM architecture server platform, and it is not necessary to obtain an address using a network and then refresh the firmware, so that the refresh speed is high, and the operation is more convenient.
It can be seen that, in the embodiment, a design method for remotely upgrading BIOS firmware on an ARM centros 7.6 platform based on an ARM server is designed, and a method for refreshing BIOS firmware by using an ARM centros 7.6 system is adopted on a server platform of an ARM CPU (FT2000+/FT2500) architecture. The efficiency of upgrading the BIOS firmware of the domestic ARM architecture server is improved, and the safe, reliable and stable operation of the upgrading process of the BMC firmware of the domestic server is ensured. Meanwhile, a safe, reliable and stable firmware upgrading method is provided for servers with other CPU architectures.
Based on the technical scheme, in the ARM architecture server platform, the parameters and the numerical values acquired by the refreshing tool are incorrect, so that the refreshing tool cannot directly acquire the physical memory address of the BIOS firmware to refresh the BIOS firmware The operation is more convenient.
In an implementation manner, in order to facilitate the operation of the command line terminal and improve the refresh efficiency, specifically, the method for promoting the permissions of the file of the refresh tool and the image file to be refreshed includes: storing the file of the refreshing tool and the mirror image file to be refreshed in a set folder; and the operation permission of the set folder is improved.
In this embodiment, the refreshing tool and the image file to be updated are placed in the same folder (setting folder), so that the operation permission of all the setting folders in the setting folder at the command system terminal is improved, the operation of the command line terminal can be facilitated, and the refreshing efficiency is improved.
In another implementation, the method for promoting the authority of refreshing the file of the tool and the image file to be refreshed includes: respectively storing the file of the refreshing tool and the mirror image file to be refreshed in different folders; and the operation permission of the two folders is promoted.
Specifically, the file where the refreshing tool is located is stored in a first folder, the mirror image file to be refreshed is stored in a second folder, the operation authority of the first folder is promoted to the first authority, the operation authority of the second folder is promoted to the second authority, and the file can be executed in the command line terminal at the moment.
Further, the driving of the refresh tool running the BIOS firmware comprises: entering a root authority of a command line terminal, and inputting a compiling instruction; installing a driver of a refreshing tool of the BIOS firmware according to the compiling instruction; refresh and run the drive.
The method comprises the steps of opening a command line terminal of an ARM centros 7.6 system, entering root authority, inputting a compiling instruction, compiling and driving, then installing a driver of a refreshing tool of the BIOS firmware according to the compiling instruction, and obtaining a physical memory address of the BIOS firmware in an auxiliary mode through the driver.
Further, in order to ensure that the refreshing of the BIOS firmware is completed, after the BIOS firmware in the physical memory address is refreshed according to the image file to be refreshed in the FLASH ROM, the method further includes:
judging whether the BIOS firmware is refreshed successfully;
when the BIOS firmware is successfully refreshed, determining that the BIOS refreshing is finished;
and if the BIOS firmware fails to be refreshed, executing the step of driving a refreshing tool for running the BIOS firmware.
The mode for judging whether the BIOS firmware is successfully refreshed is different according to the specific form of the image file to be refreshed. And when the image file to be refreshed is the image file to be upgraded, judging whether the version information of the upgraded BIOS is the same as the image file to be upgraded, and if so, determining that the upgrade is successful. And when the image file to be refreshed is the image file to be maintained, judging whether the feature file of the version of the BIOS after maintenance is consistent with the corresponding file in the image file to be maintained, and if so, determining that the maintenance is successful. And when the image file to be refreshed is the image file to be degraded, judging whether the version information of the degraded BIOS is the same as the image file to be degraded, and if so, determining that the degradation is successful. And when the mirror image file to be refreshed is the BUG mirror image file to be repaired, judging whether the feature file of the repaired BIOS version is consistent with the corresponding file in the BUG mirror image file to be repaired, and if so, determining that the BUG is repaired successfully.
Therefore, in the embodiment, the BIOS firmware is ensured to be refreshed by judging whether the BIOS firmware is refreshed successfully, so that the refreshing accuracy is improved.
Further, in this embodiment, the refreshing of the BIOS firmware of the current ARM architecture server platform may be implemented, specifically, before the driving of the refresh tool for running the BIOS firmware, the method further includes:
acquiring a first BIOS refreshing instruction of a current ARM architecture server platform;
and running a driver of a refreshing tool of the BIOS firmware arranged on the current ARM architecture server platform according to the first BIOS refreshing instruction.
In this embodiment, the BIOS firmware is updated on the current ARM architecture server platform according to the first BIOS refresh instruction.
Further, the present embodiment can realize the refresh of the BIOS firmware of the current ARM architecture server platform to other ARM architecture server platforms, which is more favorable for the large-scale deployment of the server, and can meet the requirement of upgrading other ARM CPU architecture server platforms at the ARM architecture CPU server platform, specifically, before the drive of the refresh tool for running the BIOS firmware, further includes:
acquiring a second BIOS refreshing instruction of other ARM architecture server platforms;
and running the driver of the refreshing tool of the BIOS firmware arranged on the other ARM architecture server platforms through the network channel according to the second BIOS refreshing instruction.
In this embodiment, a network channel between the current ARM architecture server platform and another ARM architecture server platform is set, and through the network channel, the drive of the refreshing tool for the BIOS firmware set in the another ARM architecture server platform is operated according to the second BIOS refresh instruction, so as to refresh the BIOS firmware of the another ARM architecture server platform by the current ARM architecture server platform, which is more beneficial to large-scale deployment of the server, and can meet the requirement of upgrading the another ARM CPU architecture server platform by the ARM architecture CPU server platform.
Based on any of the above embodiments, the present embodiment provides a specific BIOS refresh method for an ARM architecture server platform, please refer to fig. 2, where fig. 2 is a specific BIOS refresh method provided in the present embodiment, and the method includes:
and the BIOS refreshes the installation and operation of the tool driver.
Opening an ARM centros 7.6 system, entering a root authority of a drive entering command line terminal of a BIOS refreshing tool, inputting a compiling instruction, installing a drive under a folder, and operating the drive of the refreshing tool.
The refreshing tool and the mirror image file to be refreshed are placed under the same folder (set folder), and enter a command line terminal of the system, so that the operating permission of two files in the folder is improved.
And the BIOS firmware refreshing tool obtains the physical memory address by using the drive of the BIOS firmware refreshing tool, finds the physical memory address of the BIOS firmware, and enters the FLASH ROM to refresh the BIOS firmware.
If the BIOS firmware is refreshed successfully, the BIOS is refreshed successfully under an ARM centros 7.6 system, and if the update is unsuccessful, the BIOS returns to 'installation operation of the BIOS refreshing tool driver', and the BIOS refreshing tool driver starts from the installation driver.
The embodiment designs a design method for remotely upgrading BIOS firmware on an ARM centros 7.6 platform based on an ARM server, wherein the ARM server can be an FT2000+/FT2500 server platform, the ARM centros 7.6 and above system Arch (ARM) system platforms, the BIOS is an auxiliary drive of a refreshing tool under the ARM centros 7.6 system, the drive is mainly used for assisting the refreshing tool of the BIOS to obtain a physical memory address, after the drive is installed, the refreshing tool and an image file to be refreshed are placed under the same file, the operation permission of all files in a folder is improved, the physical memory is obtained by the drive of the refreshing tool, and the image file to be refreshed is used for refreshing the image file of the BIOS firmware under the assistance of the refreshing tool.
Therefore, the design method for remotely upgrading the BIOS firmware based on the FT2000+/FT2500 server ARM centros 7.6 platform is that the server platform based on the ARM CPU (FT2000+/FT2500) framework is a server platform based on the ARM framework, the CPU system platform based on the ARM framework refers to an aacre OS system, namely, a Linux aacre centros 7.6 system is adopted to refresh the BIOS by using a FLASH refreshing tool, compared with other BIOS refreshing methods, the method is high in refreshing speed/simple and convenient to operate, is more beneficial to large-scale deployment of the server, and can meet the requirement for upgrading other ARM CPU framework server platforms based on the ARM framework CPU server platform. In the case that a CPU core service platform of an ARM architecture is different from a server platform of X86, a corresponding BIOS firmware refreshing tool operates in an ARM centros 7.6 system, usually in a manner of a command line terminal, and since a physical memory cannot be acquired, it is necessary to assist in acquiring the corresponding physical memory by means of a corresponding driver. When the driver acquired by the auxiliary refreshing tool is installed, the refreshing tool and the corresponding updated image file are placed in the same file under the ARM centos7.6 system, the operation permission of the file in the whole folder at the system terminal is improved, and the updating of the firmware BIOS is completed by utilizing the refreshing tool and the physical memory address acquired under the assistance of the driver and operating at the ARM centos7.6 system command line terminal.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a BIOS refresh apparatus of an ARM architecture server platform according to an embodiment of the present disclosure, where the BIOS refresh apparatus of the ARM architecture server platform described below and the BIOS refresh method of the ARM architecture server platform described above are referred to in correspondence, and related modules are all disposed in the ARM architecture server platform, and the BIOS refresh apparatus includes:
a driver running module 301, configured to run a driver of a refresh tool of the BIOS firmware;
the authority lifting module 302 is used for lifting the authority of the file of the refreshing tool and the mirror image file to be refreshed;
an address obtaining module 303, configured to control the refresh tool to obtain a physical memory address of the BIOS firmware by using the driver;
and the refreshing module 304 is used for refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed.
Preferably, the rights elevation module 302 includes:
the first storage unit is used for storing the file of the refreshing tool and the mirror image file to be refreshed in the set folder;
and the first improving unit is used for improving the operation permission of the set folder.
Preferably, the rights elevation module 302 includes:
the second storage unit is used for respectively storing the file of the refreshing tool and the mirror image file to be refreshed in different folders;
and the second improving unit is used for improving the operation permission of the two folders.
Preferably, the driving operation module 301 includes:
the input unit is used for entering the root authority of the command line terminal and inputting a compiling instruction;
the installation unit is used for installing the drive of the refreshing tool of the BIOS firmware according to the compiling instruction;
and the refreshing unit is used for refreshing and running the drive.
Preferably, the method further comprises the following steps:
the judging module is used for judging whether the BIOS firmware is successfully refreshed;
the determining module is used for determining that the BIOS refreshing is finished when the BIOS firmware is successfully refreshed;
and the execution module is used for executing the step of driving the refreshing tool for running the BIOS firmware if the BIOS firmware fails to be refreshed.
Preferably, the method further comprises the following steps:
the first BIOS refreshing instruction acquisition module is used for acquiring a first BIOS refreshing instruction of the current ARM architecture server platform;
and the first operation module is used for operating the drive of the refreshing tool of the BIOS firmware arranged on the current ARM architecture server platform according to the first BIOS refreshing instruction.
Preferably, the method further comprises the following steps:
the second BIOS refreshing instruction acquisition module is used for acquiring second BIOS refreshing instructions of other ARM architecture server platforms;
and the second operation module is used for operating the drive of the refreshing tool of the BIOS firmware arranged on the other ARM architecture server platforms through the network channel according to the second BIOS refreshing instruction.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
In the following, an electronic device provided by an embodiment of the present application is introduced, and the electronic device described below and the method described above may be referred to correspondingly.
The application provides an electronic device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the BIOS refreshing method of the ARM architecture server platform when executing the computer program.
Since the embodiment of the electronic device portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the electronic device portion, which is not repeated here.
The following describes a computer-readable storage medium provided by embodiments of the present application, and the computer-readable storage medium described below and the method described above may be referred to correspondingly.
The present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above BIOS refresh method for an ARM architecture server platform.
Since the embodiment of the computer-readable storage medium portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the computer-readable storage medium portion, which is not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and 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.
The method, the apparatus, the device and the medium for refreshing the BIOS of the ARM framework server platform provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A BIOS refreshing method of an ARM architecture server platform is characterized by comprising the following steps:
running a driver of a refresh tool of the BIOS firmware;
the authority of the file of the refreshing tool and the authority of the mirror image file to be refreshed are improved;
controlling the refreshing tool to acquire a physical memory address of the BIOS firmware by using the driver;
and refreshing the BIOS firmware in the physical memory address in the FLASH ROM according to the mirror image file to be refreshed.
2. The BIOS refresh method of an ARM architecture server platform as claimed in claim 1, wherein the raising the authority of the file of the refresh tool and the image file to be refreshed comprises:
storing the file of the refreshing tool and the mirror image file to be refreshed in a set folder;
and improving the operation permission of the set folder.
3. The BIOS refresh method of an ARM architecture server platform as claimed in claim 1, wherein the raising the authority of the file of the refresh tool and the image file to be refreshed comprises:
respectively storing the file of the refreshing tool and the mirror image file to be refreshed in different folders;
and the operation permission of the two folders is promoted.
4. The method of claim 1, wherein the driving of the refresh tool running BIOS firmware comprises:
entering a root authority of a command line terminal, and inputting a compiling instruction;
installing the driver of the refresh tool of the BIOS firmware according to the compiled instructions;
the drive is refreshed and run.
5. The BIOS refresh method of the ARM architecture server platform of claim 1, further comprising, after refreshing the BIOS firmware in the physical memory address according to the image file to be refreshed in a FLASH ROM:
judging whether the BIOS firmware is refreshed successfully;
when the BIOS firmware is successfully refreshed, determining that the BIOS refreshing is finished;
and if the BIOS firmware fails to be refreshed, executing the drive of the refreshing tool for operating the BIOS firmware.
6. The method of any of claims 1 to 5, wherein the step of running the driver of the BIOS firmware refresh tool further comprises:
acquiring a first BIOS refreshing instruction of a current ARM architecture server platform;
and running a driver of a refreshing tool of the BIOS firmware arranged on the current ARM architecture server platform according to the first BIOS refreshing instruction.
7. The method of any of claims 1 to 5, wherein the step of running the driver of the BIOS firmware refresh tool further comprises:
acquiring a second BIOS refreshing instruction of other ARM architecture server platforms;
and running the driver of the refreshing tool of the BIOS firmware arranged on the other ARM architecture server platforms through a network channel according to the second BIOS refreshing instruction.
8. A BIOS refreshing apparatus for an ARM architecture server platform, comprising:
the drive running module is used for running the drive of the refreshing tool of the BIOS firmware;
the authority lifting module is used for lifting the authority of the file of the refreshing tool and the mirror image file to be refreshed;
an address obtaining module, configured to control the refresh tool to obtain a physical memory address of the BIOS firmware by using the driver;
and the refreshing module is used for refreshing the BIOS firmware in the physical memory address in a FLASH ROM according to the mirror image file to be refreshed.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the BIOS refresh method of the ARM architecture server platform of any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the BIOS refresh method of the ARM architecture server platform of any of claims 1 to 7.
CN202110090581.2A 2021-01-22 2021-01-22 BIOS refreshing method and related device of ARM architecture server platform Active CN112817629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110090581.2A CN112817629B (en) 2021-01-22 2021-01-22 BIOS refreshing method and related device of ARM architecture server platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110090581.2A CN112817629B (en) 2021-01-22 2021-01-22 BIOS refreshing method and related device of ARM architecture server platform

Publications (2)

Publication Number Publication Date
CN112817629A true CN112817629A (en) 2021-05-18
CN112817629B CN112817629B (en) 2024-04-19

Family

ID=75859005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110090581.2A Active CN112817629B (en) 2021-01-22 2021-01-22 BIOS refreshing method and related device of ARM architecture server platform

Country Status (1)

Country Link
CN (1) CN112817629B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073304A1 (en) * 2000-12-07 2002-06-13 Marsh James L. System and method for updating firmware
CN105573148A (en) * 2014-10-11 2016-05-11 广州汽车集团股份有限公司 Vspy-based ECU software refreshing method and Vspy-based software refreshing device
CN111176666A (en) * 2019-12-29 2020-05-19 苏州浪潮智能科技有限公司 BIOS + ME mirror image refreshing method, system, equipment and readable medium
CN111857783A (en) * 2020-07-28 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Method, device, equipment and storage medium for remotely refreshing BMC (baseboard management controller) firmware

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073304A1 (en) * 2000-12-07 2002-06-13 Marsh James L. System and method for updating firmware
CN105573148A (en) * 2014-10-11 2016-05-11 广州汽车集团股份有限公司 Vspy-based ECU software refreshing method and Vspy-based software refreshing device
CN111176666A (en) * 2019-12-29 2020-05-19 苏州浪潮智能科技有限公司 BIOS + ME mirror image refreshing method, system, equipment and readable medium
CN111857783A (en) * 2020-07-28 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Method, device, equipment and storage medium for remotely refreshing BMC (baseboard management controller) firmware

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YOU, TJ等: "WIRELESS SENSOR USED IN INDOOR AIR QUALITY MONITORING SYSTEM", 《FIRST INTERNATIONAL SYMPOSIUM ON BIOENGINEERING (ISOB 2011), PROCEEDINGS》, 31 December 2011 (2011-12-31) *
徐东方;陈宏君;周强;: "嵌入式装置电子盘备份恢复设计", 电脑编程技巧与维护, no. 03, 3 February 2017 (2017-02-03) *

Also Published As

Publication number Publication date
CN112817629B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN109358887B (en) On-line upgrading method, device and system for single chip microcomputer program
CN103530162A (en) Automatic online virtual machine software installing method and system
CN103761112A (en) Vehicle-mounted multimedia device and control method thereof
EP3879399A1 (en) Method and apparatus for upgrading vehicle-mounted tbox, device, and storage medium
CN111414169B (en) BMC (baseboard management controller) image upgrading method and related components
CN106406955A (en) A method and a device for upgrades of a bootloader program in an RSU apparatus
CN107566169A (en) A kind of firmware upgrade method and router based on openwrt
CN107526574A (en) The control method and device of system start-up mode
CN105068845A (en) Method for quick firmware update and booting to enter operating system
CN110275726A (en) A kind of onboard electronic control unit control program backup upgrade method
WO2015184732A1 (en) Bootstrap storage method, bootstrap fault recovery method and device, and computer storage medium
CN108932134B (en) Remote updating method for server BIOS
CN112817629A (en) BIOS (basic input output System) refreshing method and related device of ARM architecture server platform
CN112433769A (en) BMC starting method and device, computer equipment and storage medium
CN102087607B (en) Method and device for installing patch packets
CN110647343B (en) OpenPower server and system deployment method thereof
CN107436778A (en) A kind of high reliability upgrade method of unmanned systems
CN106444730B (en) Diagnosis method of electronic control unit for preventing software from being dead
CN116126379A (en) BIOS firmware upgrading method, device, equipment and storage medium
CN115794182A (en) Firmware out-of-band upgrading method and device, electronic equipment and storage medium
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
CN109002309A (en) A kind of HardwareUpgring method and relevant apparatus
CN112394965B (en) Battery management system upgrade and operation method, controller, battery management system and storage medium
CN106201583A (en) A kind of for not restarting the method that system realizes the upgrading of LSI RAID card FW under linux system
CN111399889A (en) Updating method, device and equipment of server uboot partition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant