CN116088945A - System firmware starting method, device, equipment and computer storage medium - Google Patents

System firmware starting method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN116088945A
CN116088945A CN202211521577.8A CN202211521577A CN116088945A CN 116088945 A CN116088945 A CN 116088945A CN 202211521577 A CN202211521577 A CN 202211521577A CN 116088945 A CN116088945 A CN 116088945A
Authority
CN
China
Prior art keywords
system firmware
bios
storage address
preset storage
image
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
CN202211521577.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 CN202211521577.8A priority Critical patent/CN116088945A/en
Publication of CN116088945A publication Critical patent/CN116088945A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F9/4406Loading of operating system
    • 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

Landscapes

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

Abstract

The application discloses a system firmware starting method, a device, equipment and a computer storage medium, which are applied to a BIOS (basic input output system) to execute initialization operation; reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area; determining a target system firmware image to be started based on a preset storage address; the target system firmware image is remotely launched to boot the corresponding target system firmware. In the method, the BIOS remotely starts the target system firmware image based on the preset storage address to start the target system firmware, and because the preset storage address is an address outside the BIOS storage area, the method is equivalent to determining the target system firmware image in the address outside the BIOS storage area to remotely start the target system firmware, so that the limitation of the BIOS storage space to the system firmware is broken, frequent rewriting of the BIOS storage space or the system firmware is not needed, and the quick start of the system firmware is facilitated.

Description

System firmware starting method, device, equipment and computer storage medium
Technical Field
The present invention relates to the field of server technologies, and in particular, to a method, an apparatus, a device, and a computer storage medium for starting system firmware.
Background
After the server is powered on and started up by the power supply, initialization before entering an operating System, such as a central processing unit, a memory, a driver and the like, is completed by a firmware BIOS (basic input/Output System). When the operating system is started, some peripheral devices are initialized, for example, a Linux boot is a Linux system firmware, which contains a Linux system kernel driver and other Linux-based optional functions, and is exemplified by a BIOS (unified extensible firmware interface) based on a BIOS interface specification, so that the peripheral device initialization in the DXE/BDS stage can be replaced by the Linux boot to a certain extent, and the system is more smoothly transited into the Linux of the operating system.
In the prior art, the system firmware is generally packaged into the mirror image of the BIOS with partial DXE/BDS functions removed for execution, and the method has the advantages of avoiding repeated execution of the same peripheral initialization operation, reducing the starting time and completing smooth transition from the BIOS to the Linux, and has the defects of being limited by the RomLayout space address, the size and the like of the BIOS chip, so that the system firmware is subject to space constraint, has poor system expansibility and is unfavorable for quick starting of the system firmware.
In view of the foregoing, how to quickly boot up the system firmware is a problem to be solved by those skilled in the art.
Disclosure of Invention
The purpose of the application is to provide a system firmware starting method, which can solve the technical problem of how to quickly start the system firmware to a certain extent. The application also provides a system firmware starting device, equipment and a computer readable storage medium.
In order to achieve the above object, the present application provides the following technical solutions:
a system firmware starting method is applied to BIOS, and comprises the following steps:
performing an initialization operation;
reading a preset storage address in a BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area;
determining a target system firmware image to be started based on the preset storage address;
and remotely starting the target system firmware image to start the corresponding target system firmware.
Preferably, the reading the preset storage address in the BIOS image includes:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises a memory of the server.
Preferably, the reading the preset storage address in the BIOS image includes:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises a persistent memory externally connected with a server.
Preferably, the reading the preset storage address in the BIOS image includes:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises a public access area.
Preferably, the reading the preset storage address in the BIOS image includes:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises server south bridge equipment.
Preferably, the remote booting the target system firmware image includes:
and remotely starting the target system firmware image through the BMC.
Preferably, the method further comprises:
executing UEFI flows
A system firmware boot device, applied to a BIOS, comprising:
the first execution module is used for executing initialization operation;
the first reading module is used for reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area;
the first determining module is used for determining a target system firmware image to be started based on the preset storage address;
and the first starting module is used for remotely starting the target system firmware image so as to start the corresponding target system firmware.
A system firmware boot device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the system firmware boot method as described in any one of the above when executing the computer program.
A computer readable storage medium having stored therein a computer program which when executed by a processor performs the steps of the system firmware initiation method of any of the above.
The system firmware starting method is applied to the BIOS and used for executing initialization operation; reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area; determining a target system firmware image to be started based on a preset storage address; the target system firmware image is remotely launched to boot the corresponding target system firmware. In the method, after the BIOS executes the initialization operation, the preset storage address is read from the BIOS image of the BIOS and the target system firmware image to be started is determined based on the preset storage address, and finally the target system firmware image is started remotely to start the corresponding target system firmware. The application provides a system firmware starting device, equipment and a computer readable storage medium, which also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a first flowchart of a system firmware boot method according to an embodiment of the present application;
FIG. 2 is a second flowchart of a system firmware boot method according to an embodiment of the present application;
FIG. 3 is a third flowchart of a system firmware boot method according to an embodiment of the present application;
FIG. 4 is a fourth flowchart of a system firmware boot method according to an embodiment of the present application;
FIG. 5 is a fifth flowchart of a system firmware boot method according to an embodiment of the present application;
FIG. 6 is a sixth flowchart of a system firmware boot method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a system firmware starting device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a system firmware boot device according to an embodiment of the present application;
fig. 9 is another schematic structural diagram of a system firmware boot device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
After the server is powered on and started up by the power supply, initialization before entering an operating System, such as a central processing unit, a memory, a driver and the like, is completed by a firmware BIOS (basic input/Output System). When the operating system is started, some peripheral devices are initialized, for example, a Linux boot is a Linux system firmware, which contains a Linux system kernel driver and other Linux-based optional functions, and is exemplified by a BIOS (unified extensible firmware interface) based on a BIOS interface specification, so that the peripheral device initialization in the DXE/BDS stage can be replaced by the Linux boot to a certain extent, and the system is more smoothly transited into the Linux of the operating system.
In the prior art, the system firmware is generally packaged into the mirror image of the BIOS with partial DXE/BDS functions removed for execution, and the method has the advantages of avoiding repeated execution of the same peripheral initialization operation, reducing the starting time and completing smooth transition from the BIOS to the Linux, and has the defects of being limited by the RomLayout space address, the size and the like of the BIOS chip, so that the system firmware is subject to space constraint, has poor system expansibility and is unfavorable for quick starting of the system firmware. The system firmware starting scheme provided by the application can quickly start the system firmware.
Referring to fig. 1, fig. 1 is a first flowchart of a system firmware boot method according to an embodiment of the present application.
The method for starting the system firmware, which is provided by the embodiment of the application, is applied to the BIOS and can comprise the following steps:
step S101: an initialization operation is performed.
In practice, the BIOS may perform an initialization operation to prepare for a subsequent system firmware boot. The type of initialization operation performed by the BIOS may be determined according to a specific application scenario, which is not specifically limited herein.
Step S102: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area.
In practical applications, after the initialization operation is performed, the BIOS may read a preset storage address in the BIOS image, where the preset storage address includes an address outside the BIOS storage area, that is, an address outside the BIOS storage area is read. The type of the preset storage address can be dynamically adjusted according to specific application scenarios, and the application is not specifically limited herein.
Step S103: and determining the target system firmware image to be started based on the preset storage address.
In practical application, after the BIOS reads the preset storage address from the BIOS image, the target system firmware image to be started may be determined based on the preset storage address, so as to start the corresponding target system firmware later.
In a specific application scenario, when the BIOS image is compiled, an independent module may be created by means of inf file configuration to execute the system firmware image, in the module, the address of the agreed system firmware image may be written, that is, the preset storage address may be written, so when the BIOS executes to the module, the system firmware may be executed from the preset storage address by means of StartImage.
It should be noted that, in a specific application scenario, the type of the target system firmware image may be determined according to actual needs, for example, when the target system firmware image is a Linux boot firmware image, a necessary Linux boot function may be selected according to service needs of an operating system, such as some peripheral drivers, an operating system Kernel, etc., and a Linux boot firmware generated image file is stored in the preset storage address, and Linux drivers, kernel versions, or startup parameters, etc. may be customized in the Linux boot firmware image to achieve the purpose of customization.
Step S104: the target system firmware image is remotely launched to boot the corresponding target system firmware.
In practical applications, after determining the target system firmware image to be started based on the preset storage address, the BIOS may remotely start the target system firmware image to start the corresponding target system firmware.
In a specific application scenario, considering that more system firmware in a server is needed, in order to meet the starting requirements of multiple system firmware, multiple system firmware images can be simultaneously manufactured according to different needs, for example, multiple LinuxBoot firmware images are manufactured, and then required LinuxBoot images are directly selected to be started in a software control mode, for example, required LinuxBoot images can be selected to be started through software under an OS (operating system), required LinuxBoot images can be selected to be started through server firmware, required LinuxBoot images can be selected to be started through a BMC (BaseboardManagement Controller, a baseboard management controller), required LinuxBoot images can be selected to be started, and the like.
It should be noted that, in the process of remotely starting the firmware image of the target system, the BIOS may further save corresponding information that is beneficial to the subsequent starting operation in the process of starting the firmware image of the target system according to actual needs, so as to facilitate the subsequent starting operation, which is not specifically limited herein.
In order to facilitate understanding of the system firmware starting method provided by the application, assuming that the target system firmware is a linux boot firmware, the starting process of the linux boot firmware may be as follows: the method comprises the steps that a user makes a LinuxBoot firmware mirror image and stores the LinuxBoot firmware mirror image into a preset storage address in a server; the method comprises the steps that firstly, a BIOS of a server executes initialization operation, then a preset storage address is read in the BIOS image, the preset storage address comprises an address outside a BIOS storage area, then a to-be-started LinuxBoot firmware image is determined based on the preset storage address, and finally the LinuxBoot firmware image is remotely started to start corresponding LinuxBoot firmware.
The system firmware starting method is applied to the BIOS and used for executing initialization operation; reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area; determining a target system firmware image to be started based on a preset storage address; the target system firmware image is remotely launched to boot the corresponding target system firmware. In the method, after the BIOS executes the initialization operation, the preset storage address is read from the BIOS image of the BIOS and the target system firmware image to be started is determined based on the preset storage address, and finally the target system firmware image is started remotely to start the corresponding target system firmware.
Referring to fig. 2, fig. 2 is a second flowchart of a system firmware boot method according to an embodiment of the present application.
The method for starting the system firmware, which is provided by the embodiment of the application, is applied to the BIOS and can comprise the following steps:
step S201: an initialization operation is performed.
Step S202: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises the internal memory of the server.
In practical application, in the process of reading the preset storage address in the BIOS image, the preset storage address may be read in the BIOS image, where the preset storage address includes the internal memory of the server itself. That is, when the memory of the server is available, the target system firmware image may be stored in the memory of the server, for example, by storing the target system firmware image in the memory of the server in a network card transmission manner.
Step S203: and determining the target system firmware image to be started based on the preset storage address.
Step S204: the target system firmware image is remotely launched to boot the corresponding target system firmware.
In order to facilitate understanding of the system firmware starting method provided by the present application, assuming that the target system firmware is a LinuxBoot firmware, the starting process of the LinuxBoot firmware in this embodiment may be as follows: the method comprises the steps that a user makes a LinuxBoot firmware mirror image and stores the LinuxBoot firmware mirror image into a preset storage address in a server; the method comprises the steps that firstly, a BIOS of a server executes initialization operation, then a preset storage address is read in the BIOS image, the preset storage address comprises a server internal memory, then a to-be-started LinuxBoot firmware image is determined based on the server internal memory, and finally the LinuxBoot firmware image is remotely started to start corresponding LinuxBoot firmware.
Referring to fig. 3, fig. 3 is a third flowchart of a system firmware boot method according to an embodiment of the present application.
The method for starting the system firmware, which is provided by the embodiment of the application, is applied to the BIOS and can comprise the following steps:
step S301: an initialization operation is performed.
Step S302: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a persistent memory externally connected with the server.
In practical application, in the process of reading the preset storage address in the BIOS image, the preset storage address may be read in the BIOS image, where the preset storage address includes a persistent memory externally connected to the server. In other words, the target system firmware image may be stored in a persistent memory external to the server, for example, in an AEP memory (apache passdimms) of the server, and in a specific application scenario, in order to facilitate maintenance of the system firmware image in the persistent memory external to the server, remote update may be performed on the system firmware image by a server firmware BMC or OS network transmission, etc., which is not limited herein.
Step S303: and determining the target system firmware image to be started based on the preset storage address.
Step S304: the target system firmware image is remotely launched to boot the corresponding target system firmware.
In order to facilitate understanding of the system firmware starting method provided by the present application, assuming that the target system firmware is a LinuxBoot firmware, the starting process of the LinuxBoot firmware in this embodiment may be as follows: the method comprises the steps that a user makes a LinuxBoot firmware mirror image and stores the LinuxBoot firmware mirror image into a preset storage address in a server; the method comprises the steps that firstly, a BIOS of a server executes initialization operation, then a preset storage address is read in the BIOS image, the preset storage address comprises a persistent memory externally connected with the server, then a to-be-started LinuxBoot firmware image is determined based on the persistent memory externally connected with the server, and finally the LinuxBoot firmware image is remotely started to start corresponding LinuxBoot firmware.
Referring to fig. 4, fig. 4 is a fourth flowchart of a system firmware boot method according to an embodiment of the present application.
The method for starting the system firmware, which is provided by the embodiment of the application, is applied to the BIOS and can comprise the following steps:
step S401: an initialization operation is performed.
Step S402: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a public access area.
In practical application, in the process of reading the preset storage address in the BIOS image, the preset storage address may be read in the BIOS image, where the preset storage address includes a public access area. That is, the target system firmware image may be stored in a common access area of the server, such as a BIOS and a BMC, for example, a video memory, etc.
Step S403: and determining the target system firmware image to be started based on the preset storage address.
Step S404: the target system firmware image is remotely launched to boot the corresponding target system firmware.
In order to facilitate understanding of the system firmware starting method provided by the present application, assuming that the target system firmware is a LinuxBoot firmware, the starting process of the LinuxBoot firmware in this embodiment may be as follows: the method comprises the steps that a user makes a LinuxBoot firmware mirror image and stores the LinuxBoot firmware mirror image into a preset storage address in a server; the method comprises the steps that firstly, a BIOS of a server executes initialization operation, then a preset storage address is read in the BIOS image, the preset storage address comprises a public access area, then a to-be-started LinuxBoot firmware image is determined based on the public access area, and finally the LinuxBoot firmware image is remotely started to start corresponding LinuxBoot firmware.
Referring to fig. 5, fig. 5 is a fifth flowchart of a system firmware boot method according to an embodiment of the present application.
The method for starting the system firmware, which is provided by the embodiment of the application, is applied to the BIOS and can comprise the following steps:
step S501: an initialization operation is performed.
Step S502: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises server south bridge equipment.
In practical application, in the process of reading the preset storage address in the BIOS image, the preset storage address is read in the BIOS image, where the preset storage address includes the server south bridge device. That is, the target system firmware image may be stored in the server south bridge device, for example, the target system firmware image may be stored in the server PCH (PlatformControllerHub), and accordingly, the target system firmware image may be executed remotely through a debug function in the PCH later, which is not limited herein.
Step S503: and determining the target system firmware image to be started based on the preset storage address.
Step S504: the target system firmware image is remotely launched to boot the corresponding target system firmware.
In order to facilitate understanding of the system firmware starting method provided by the present application, assuming that the target system firmware is a LinuxBoot firmware, the starting process of the LinuxBoot firmware in this embodiment may be as follows: the method comprises the steps that a user makes a LinuxBoot firmware mirror image and stores the LinuxBoot firmware mirror image into a preset storage address in a server; the method comprises the steps that firstly, a BIOS of a server executes initialization operation, then a preset storage address is read in the BIOS image, the preset storage address comprises server south bridge equipment, then a to-be-started LinuxBoot firmware image is determined based on the server south bridge equipment, and finally the LinuxBoot firmware image is remotely started to start corresponding LinuxBoot firmware.
Referring to fig. 6, fig. 6 is a sixth flowchart of a system firmware boot method according to an embodiment of the present application.
The method for starting the system firmware, which is provided by the embodiment of the application, is applied to the BIOS and can comprise the following steps:
step S601: an initialization operation is performed.
Step S602: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area.
Step S603: and determining the target system firmware image to be started based on the preset storage address.
Step S604: and remotely starting the target system firmware image through the BMC to start the corresponding target system firmware.
In practical applications, in the process of remotely starting the target system firmware image, the BIOS may remotely start the target system firmware image through the BMC, so as to quickly start the target system firmware by means of the BMC.
In practical application, in the process of starting the system firmware, the BIOS can also execute the original UEFI flow according to the need, in a specific application scenario, whether the BIOS executes the original UEFI flow can be determined by Setup control in the BIOS, whether the BIOS executes the original UEFI flow can be determined by a register or the like under the OS, or whether the BIOS executes the original UEFI flow or not can be controlled by a BMCWeb user interaction page, so that the process of executing the original UEFI flow by the BIOS is controlled by a user, and the corresponding management needs of the user are met.
In order to facilitate understanding of the system firmware starting method provided by the present application, assuming that the target system firmware is a LinuxBoot firmware, the starting process of the LinuxBoot firmware in this embodiment may be as follows: the method comprises the steps that a user makes a LinuxBoot firmware mirror image and stores the LinuxBoot firmware mirror image into a preset storage address in a server; the method comprises the steps that firstly, a BIOS of a server executes initialization operation, then a preset storage address is read from a BIOS image, the preset storage address comprises an address outside a BIOS storage area, then a to-be-started LinuxBoot firmware image is determined based on the preset storage address, and finally the LinuxBoot firmware image is remotely started through a BMC to start corresponding LinuxBoot firmware.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a system firmware start device according to an embodiment of the present application.
The system firmware starting device provided in the embodiment of the application is applied to a BIOS, and may include:
a first execution module 101 for executing an initialization operation;
the first reading module 102 is configured to read a preset storage address in the BIOS image, where the preset storage address includes an address outside the BIOS storage area;
a first determining module 103, configured to determine a target system firmware image to be started based on a preset storage address;
the first boot module 104 is configured to remotely boot the target system firmware image to boot the corresponding target system firmware.
The embodiment of the application provides a system firmware starting device, which is applied to a BIOS, and the first reading module may include:
the first reading unit is used for reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises the internal memory of the server.
The embodiment of the application provides a system firmware starting device, which is applied to a BIOS, and the first reading module may include:
the second reading unit is used for reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a persistent memory externally connected with the server.
The embodiment of the application provides a system firmware starting device, which is applied to a BIOS, and the first reading module may include:
and the third reading unit is used for reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a public access area.
The embodiment of the application provides a system firmware starting device, which is applied to a BIOS, and the first reading module may include:
and the fourth reading unit is used for reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises server south bridge equipment.
The embodiment of the application provides a system firmware starting device, which is applied to a BIOS, and a first starting module may include:
and the first starting unit is used for remotely starting the target system firmware image through the BMC.
The system firmware starting device provided in the embodiment of the present application is applied to a BIOS, and may further include:
and the second execution module is used for executing the UEFI flow.
The application also provides a system firmware starting device and a computer readable storage medium, which have the corresponding effects of the system firmware starting method. Referring to fig. 8, fig. 8 is a schematic structural diagram of a system firmware boot device according to an embodiment of the present application.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program:
performing an initialization operation;
reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area;
determining a target system firmware image to be started based on a preset storage address;
the target system firmware image is remotely launched to boot the corresponding target system firmware.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises the internal memory of the server.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a persistent memory externally connected with the server.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a public access area.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises server south bridge equipment.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and remotely starting the target system firmware image through the BMC.
The system firmware starting device provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the following steps when executing the computer program: and executing the UEFI flow.
Referring to fig. 9, another system firmware boot device provided in an embodiment of the present application may further include: an input port 203 connected to the processor 202 for transmitting an externally input command to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing communication between the system firmware starting device and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; communication means employed by the communication module 205 include, but are not limited to, mobile high definition link technology (HML), universal Serial Bus (USB), high Definition Multimedia Interface (HDMI), wireless connection: wireless fidelity (WiFi), bluetooth communication, bluetooth low energy communication, ieee802.11s based communication.
Of course, in actual practice, the various components in the system firmware boot device may be coupled together via a bus system. It will be appreciated that a bus system is used to enable connected communications between these components. The bus system may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
The memory in the embodiments of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The nonvolatile Memory may be Read-Only Memory (ROM, readOnlyMemory), programmable Read-Only Memory (PROM, programmableRead-Only Memory), erasable programmable Read-Only Memory (EPROM, erasableProgrammable Read-Only Memory), electrically erasable programmable Read-Only Memory (EEPROM, electrically ErasableProgrammableRead-Only Memory), magnetic random access Memory (FRAM), flash Memory (flash Memory), magnetic surface Memory, optical disk, or Read-Only optical disk (CD-ROM, compactDiscRead-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM, randomAccessMemory) that acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as static random access Memory (SRAM, staticRandomAccessMemory), synchronous static random access Memory (SSRAM, synchronousStaticRandomAccessMemory), dynamic random access Memory (DRAM, dynamicRandomAccessMemory), synchronous dynamic random access Memory (SDRAM, synchronousDynamicRandomAccessMemory), double data rate synchronous dynamic random access Memory (DDRSDRAM, doubleDataRateSynchronous dynamic random access Memory), enhanced synchronous dynamic random access Memory (ESDRAM, enhancedSynchronousDynamicRandomAccessMemory), synchronous connected dynamic random access Memory (SLDRAM, syncLinkDynamicRandomAccess Memory), direct Memory bus random access Memory (DRRAM, directRambusRandom access Memory). The memory described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium having a memory, and the processor reads the program in the memory and performs the steps of the method in combination with its hardware.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory storing a computer program, where the computer program is stored, the computer program when executed by a processor implementing the steps of:
performing an initialization operation;
reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area;
determining a target system firmware image to be started based on a preset storage address;
the target system firmware image is remotely launched to boot the corresponding target system firmware.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises the internal memory of the server.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a persistent memory externally connected with the server.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises a public access area.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises server south bridge equipment.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and remotely starting the target system firmware image through the BMC.
The embodiment of the application provides a computer readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: and executing the UEFI flow.
The computer readable storage medium referred to in this application includes Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, CD-ROM, FRAM, ROM, PROM, EPROM, EEPROM, flashMemory, a magnetic surface memory, an optical disk, or any other form of storage medium known in the art.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method may be implemented in other manners. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, and the computer software product may be stored in a storage medium, and include several instructions to cause an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The description of the related parts in the system firmware starting device, the device and the computer readable storage medium provided in the embodiments of the present application is referred to in the detailed description of the corresponding parts in the system firmware starting method provided in the embodiments of the present application, and will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
It is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A system firmware boot-up method, applied to a BIOS, comprising:
performing an initialization operation;
reading a preset storage address in a BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area;
determining a target system firmware image to be started based on the preset storage address;
and remotely starting the target system firmware image to start the corresponding target system firmware.
2. The method of claim 1, wherein the reading the preset memory address in the BIOS image comprises:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises a memory of the server.
3. The method of claim 1, wherein the reading the preset memory address in the BIOS image comprises:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises a persistent memory externally connected with a server.
4. The method of claim 1, wherein the reading the preset memory address in the BIOS image comprises:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises a public access area.
5. The method of claim 1, wherein the reading the preset memory address in the BIOS image comprises:
and reading the preset storage address in the BIOS mirror image, wherein the preset storage address comprises server south bridge equipment.
6. The method of any of claims 1 to 5, wherein the remotely booting the target system firmware image comprises:
and remotely starting the target system firmware image through the BMC.
7. The method according to any one of claims 1 to 5, further comprising:
and executing the UEFI flow.
8. A system firmware boot-up device, for use with a BIOS, comprising:
the first execution module is used for executing initialization operation;
the first reading module is used for reading a preset storage address in the BIOS mirror image, wherein the preset storage address comprises an address outside the BIOS storage area;
the first determining module is used for determining a target system firmware image to be started based on the preset storage address;
and the first starting module is used for remotely starting the target system firmware image so as to start the corresponding target system firmware.
9. A system firmware boot-strap apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the system firmware boot method according to any of claims 1 to 7 when executing said computer program.
10. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, which computer program, when being executed by a processor, implements the steps of the system firmware boot method according to any of claims 1 to 7.
CN202211521577.8A 2022-11-30 2022-11-30 System firmware starting method, device, equipment and computer storage medium Pending CN116088945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211521577.8A CN116088945A (en) 2022-11-30 2022-11-30 System firmware starting method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211521577.8A CN116088945A (en) 2022-11-30 2022-11-30 System firmware starting method, device, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN116088945A true CN116088945A (en) 2023-05-09

Family

ID=86200021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211521577.8A Pending CN116088945A (en) 2022-11-30 2022-11-30 System firmware starting method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN116088945A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117251216A (en) * 2023-09-15 2023-12-19 上海合芯数字科技有限公司 Server firmware starting optimization method, system, server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117251216A (en) * 2023-09-15 2023-12-19 上海合芯数字科技有限公司 Server firmware starting optimization method, system, server and storage medium
CN117251216B (en) * 2023-09-15 2024-04-05 上海合芯数字科技有限公司 Server firmware starting optimization method, system, server and storage medium

Similar Documents

Publication Publication Date Title
US9507604B2 (en) Boot method and boot system
US8769256B2 (en) Fast switching between multiple operating systems using standby state
TWI382346B (en) Computer system with dual bios protection mechanism and control method of the same
US20050177709A1 (en) Apparatus and method for updating firmware
JP6070360B2 (en) Information processing apparatus and processing method thereof
US20140337004A1 (en) Digital signage management and content delivery system and method thereof
CN110825419B (en) Firmware refreshing method and device, electronic equipment and storage medium
TW200525422A (en) Method of using feature flags to determine compatibility between bios revisions and installed hardware during flash update
CN116088945A (en) System firmware starting method, device, equipment and computer storage medium
TWI515557B (en) Computer system and control method
US20080288769A1 (en) Method for adjusting set-up default value of bios and mainboard using the same method
CN114020340B (en) Server system and data processing method thereof
CN112667442B (en) Control method, device and equipment based on nonvolatile memory device starting system
CN112084064B (en) Master-slave BIOS switching method, board card and equipment
CN111885420B (en) Standby protection method and device, smart television and readable storage medium
WO2024113680A1 (en) Firmware interaction method and apparatus, and server and storage medium
WO2022199622A1 (en) Method for running startup program of electronic device, and electronic device
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
CN111752623A (en) Display configuration method and device, electronic equipment and readable storage medium
JP2012194675A (en) Information apparatus and emergency access method for information apparatus
JP6192089B2 (en) Information processing apparatus, control method and control program for information processing apparatus
US20100049962A1 (en) Method for loading and updating central processing unit microcode into basic input/output system
CN112667444A (en) System upgrading method, storage medium and terminal equipment
CN105068835A (en) Mobile terminal and debugging information display method thereof
CN113448639B (en) Access method, device, equipment and storage medium for user configuration variable area

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