CN116028085A - System and method for updating firmware of computer starting - Google Patents

System and method for updating firmware of computer starting Download PDF

Info

Publication number
CN116028085A
CN116028085A CN202310050255.8A CN202310050255A CN116028085A CN 116028085 A CN116028085 A CN 116028085A CN 202310050255 A CN202310050255 A CN 202310050255A CN 116028085 A CN116028085 A CN 116028085A
Authority
CN
China
Prior art keywords
firmware
embedded processor
switch
computer
storage module
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
CN202310050255.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.)
Hefei Zhuoyi Hengtong Information Security Co Ltd
Original Assignee
Hefei Zhuoyi Hengtong Information Security 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 Hefei Zhuoyi Hengtong Information Security Co Ltd filed Critical Hefei Zhuoyi Hengtong Information Security Co Ltd
Priority to CN202310050255.8A priority Critical patent/CN116028085A/en
Publication of CN116028085A publication Critical patent/CN116028085A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a system and a method for updating firmware of a computer when the computer is started. The system comprises a central processing unit, an embedded processor, a switch module and a firmware storage module. The central processing unit is connected with the embedded processor through a signal connection bus. The switch module receives a control signal from the embedded processor and switches between connecting the central processor with the firmware storage module and connecting the embedded processor with the firmware storage module according to the control signal. When the embedded processor is connected with the firmware storage module through the switch module, the central processing unit is used for reading firmware update data from the external device and transmitting the firmware update data to the embedded processor through the signal connection bus, and the embedded processor writes the firmware storage module through the switch module. The invention can realize firmware update under the condition of starting up the computer.

Description

System and method for updating firmware of computer starting
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a system and a method for updating firmware when a computer is started.
Background
Various computer products are currently available on the market, including servers, desktops, notebooks, etc., mostly based on Intel and AMD platform designs. With the great support of the national development of semiconductor and autonomous controllable processor industries, a batch of processor platform research and development manufacturers based on the development and application of computer products are developed in China, and the products of all manufacturers have advantages and disadvantages when facing different industries for application so as to meet various application requirements of different industries.
Whether computer products based on Intel/AMD processor platform or domestic processor platform, after mass production and shipment by manufacturers, subsequent product maintenance may be involved, mainly including computer motherboard firmware update, system upgrade, etc. The products can generally realize operations such as updating firmware online, updating and maintaining through a network, and the like, and the clients update and upgrade the firmware by themselves, so that a great deal of manpower and material cost of manufacturers is saved.
However, some platforms, especially emerging domestic platforms, cannot enable the CPU to automatically execute commands to update the firmware to be updated into the corresponding firmware memory chip by directly inputting related instructions under the power-on condition. In this case, if the update of the computer motherboard firmware is concerned, the update can be achieved only by the following two methods:
the first method is that in the shutdown state, the firmware memory chip on the main board which needs to update the firmware is taken down, and at the moment, if the firmware memory chip is stuck on the PCB of the main board by adopting an SMT technology, tools such as soldering iron and the like are also needed to be adopted to take down the memory chip; then, adopting another computer and a special burner to burn the new firmware file into the firmware memory chip, and then loading the firmware memory chip back to the main board;
the second method is that a special maintenance tool is connected to a maintenance interface on the main board in the power-on state of the main board, the other end of the maintenance tool is connected with a maintenance computer, and the maintenance computer updates the firmware file to be updated into the firmware memory chip on the main board through the special maintenance tool.
For example, on the processor platform shown in fig. 1, the firmware storage chip 1 (SPI BIOS ROM) is directly connected to the SPI (Serial Peripheral Interface) interface of the central processor 2, and this platform does not support updating the firmware to be updated to the firmware storage chip 1 directly by instructions in the case of power-on, it is necessary to update the firmware by a special maintenance tool and maintenance computer, or to take the firmware storage chip 1 off and update the firmware with a burner in the case of power-off.
It can be seen that both the first and second methods require the use of special tools (burner or maintenance tool) and additional computers to implement the update of the computer motherboard firmware. Tools such as soldering irons and the like are also required to have soldering techniques if necessary. Therefore, the terminal client basically does not have the condition for updating the firmware and can not automatically update the firmware of the main board, and when the product needs to be updated, the maintenance personnel of the manufacturer can only go to the site for maintenance, or the product is sent back to the manufacturer for maintenance. On the premise of mass shipment of products, the maintenance work also faces huge manpower and material resource challenges, and even the adoption of the platform by product research and development manufacturers can be influenced.
Disclosure of Invention
The invention aims to provide a system for updating firmware when a computer is started, which can realize the firmware update under the condition that the computer is started without a special burner or maintenance tool and an additional computer.
Another object of the present invention is to provide a method for updating firmware when a computer is powered on, which can implement firmware update when the computer is powered on without a dedicated burner or maintenance tool and an additional computer.
To achieve the above object, the present invention provides a system for updating firmware when a computer is started, comprising: the device comprises a central processor, an embedded processor, a switch module and a firmware storage module, wherein the central processor is connected with the embedded processor through a signal connection bus; the switch module receives a control signal from the embedded processor and switches between connecting the central processor with the firmware storage module and connecting the embedded processor with the firmware storage module according to whether the control signal is a first control signal or a second control signal; when the central processing unit is connected with the firmware storage module through the switch module, the central processing unit can read firmware data from the firmware storage module; when the embedded processor is connected with the firmware storage module through the switch module, the central processing unit is used for reading firmware update data from an external device and transmitting the firmware update data to the embedded processor through the signal connection bus, and the embedded processor writes the firmware update data into the firmware storage module through the switch module.
The switch module comprises a switch selection port, a first switch port, a second switch port and a third switch port, wherein the switch selection port is connected to a general input/output port of the embedded processor to receive the control signal of the embedded processor, the first switch port is connected to the central processor, the second switch port is connected to the embedded processor, and the third switch port is connected to the firmware storage module; the switch module switches between connecting the first switch port with the third switch port and connecting the second switch port with the third switch port according to whether the control signal received by the switch selection port is a first control signal or a second control signal.
The switch module is a single-way or multi-way data selector.
The firmware storage module is SPI ROM; the first switch port is connected to the SPI interface of the central processing unit, and the second switch port is connected to the SPI interface of the embedded processor.
The embedded processor is any one of a singlechip, an embedded controller and a programmable device comprising a complex programmable logic device and a field programmable gate array; the signal connection bus is an LPC bus or an I2C bus.
The invention also provides a method for updating firmware when the computer is started, wherein the computer is provided with the system, and the method comprises the following steps:
the computer is connected to an external device storing firmware update data in a starting state;
the embedded processor receives a firmware updating instruction, and the embedded processor sends the second control signal to the switch module according to the firmware updating instruction to control the switch module to connect the embedded processor with the firmware storage module;
the CPU reads the firmware update data from the external device and transmits the firmware update data to the embedded processor through the signal connection bus;
the embedded processor writes the firmware update data into the firmware storage module through the switch module.
Before the step of connecting the computer to the external device storing the firmware update data in the starting state, the method further comprises the following steps:
the computer receives a key start command;
the embedded processor sends the first control signal to the switch module to control the switch module to connect the central processor and the firmware storage module;
and the central processing unit reads the firmware data from the firmware storage module to realize starting up, so that the computer enters the starting-up state.
The method further comprises, after the step of writing the firmware update data into the firmware storage module by the embedded processor through the switch module:
the embedded processor receives a firmware update ending instruction;
and the embedded processor sends the first control signal to the switch module according to the firmware update ending instruction to control the switch module to connect the central processor and the firmware storage module.
The method further comprises the steps of after the embedded processor sends the first control signal to the switch module according to the firmware update end instruction to control the switch module to connect the central processor and the firmware storage module:
the computer receives a restarting instruction and restarts the machine.
The step that the CPU reads the firmware update data from the external device and transmits the firmware update data to the embedded processor through the signal connection bus specifically comprises the following steps:
the CPU receives a firmware reading instruction;
and the central processing unit reads the firmware update data from the external device according to the firmware read instruction and transmits the firmware update data to the embedded processor through the signal connection bus.
The invention has the beneficial effects that: the system and the method for updating the firmware of the computer by starting up are characterized in that an embedded processor and a switch module are arranged between a central processor and a firmware storage module, and the switch module can be switched between connecting the central processor with the firmware storage module and connecting the embedded processor with the firmware storage module under the control of the embedded processor, so that when the computer is started up and is in a normal working state of starting up, the central processor is connected to the firmware storage module through the switch module, and firmware data can be read from the firmware storage module; when the firmware is updated in the starting state, the embedded processor is connected to the firmware storage module through the switch module, the central processor can read firmware update data from the external device and transmit the firmware update data to the embedded processor, and the embedded processor writes the firmware storage module through the switch module to realize the firmware update.
Drawings
For a further understanding of the nature and technical aspects of the present invention, reference should be made to the following detailed description of the invention and to the accompanying drawings, which are provided for purposes of reference only and are not intended to limit the invention.
In the drawings of which there are shown,
FIG. 1 is a schematic diagram of a connection between a firmware memory chip and a CPU in the prior art;
FIG. 2 is a schematic diagram of a system for updating firmware in a computer boot-strap according to the present invention;
FIG. 3 is a flowchart illustrating a method for updating firmware in a computer system according to an embodiment of the invention.
Detailed Description
In order to further explain the technical means adopted by the present invention and the effects thereof, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Referring to fig. 2, the present invention provides a system for updating firmware when a computer is turned on, which includes a central processing unit 10, an embedded processor 20, a switch module 30, and a firmware storage module 40.
Specifically, the central processor 10, the embedded processor 20, the switch module 30, and the firmware storage module 40 are disposed on a motherboard (not shown) of the computer.
The central processing unit 10 is connected with the embedded processor 20 through a signal connection bus 50.
The embedded processor 20 sends a control signal to the switch module 30, wherein the control signal includes a first control signal and a second control signal. The switch module 30 receives the control signal from the embedded processor 20 and switches between connecting the central processor 10 and the firmware storage module 40 and connecting the embedded processor 20 and the firmware storage module 40 according to whether the control signal is a first control signal or a second control signal.
Specifically, when the switch module 30 receives the first control signal, the switch module 30 connects the cpu 10 and the firmware storage module 40; when the switch module 30 receives the second control signal, the switch module 30 connects the embedded processor 20 with the firmware storage module 40. The switch module 30 switches between the above two connection relationships according to the difference of the control signals sent by the embedded processor 20.
When the central processor 10 is connected to the firmware storage module 40 through the switch module 30, the central processor 10 can read the firmware data from the firmware storage module 40. When the embedded processor 20 is connected with the firmware storage module 40 through the switch module 30, the central processor 10 is configured to read firmware update data from an external device and transmit the firmware update data to the embedded processor 20 through the signal connection bus 50, and the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30 to implement firmware update.
In particular, the switch module 30 may include a switch select port 31, a first switch port 32, a second switch port 33, and a third switch port 34. The switch selection port 31 is connected to a general purpose input output port (GPIO) of the embedded processor 20 to receive the control signal of the embedded processor 20 (the output of the general purpose input output port of the embedded processor 20 is high or low), the first switch port 32 is connected to the central processor 10, the second switch port 33 is connected to the embedded processor 20, and the third switch port 34 is connected to the firmware storage module 40. The switch module 30 switches between connecting the first switch port 32 with the third switch port 34 and connecting the second switch port 33 with the third switch port 34 depending on whether the control signal received by the switch select port 31 is a first control signal (high level or low level) or a second control signal (low level or high level). That is, when the switching module 30 receives the first control signal, the switching module 30 connects its first switching port 32 with the third switching port 34; when the switch module 30 receives the second control signal, the switch module 30 connects its second switch port 33 with the third switch port 34.
In an embodiment, the embedded processor 20 may control the switch module 30, for example, to keep the first control signal low (or high), so that the first switch port 32 is connected to the third switch port 34 by default, i.e., the central processor 10 is connected to the firmware storage module 40, during normal operation (without updating firmware); when the system needs to update the firmware, the general purpose input/output port of the embedded processor 20 switches and outputs a second control signal, i.e. a high level (or a low level), so that the switch module 3 is connected from the first switch port 32 to the third switch port 34, and switches to the second switch port 33 to be connected to the third switch port 34, i.e. the embedded processor 20 is connected with the firmware storage module 40; after the firmware update is completed, the general input/output port of the embedded processor 20 switches and outputs the first control signal, i.e., the low level (or the high level), so that the switch module 3 is connected from the second switch port 33 to the third switch port 34, and switches back to the first switch port 32 to be connected to the third switch port 34.
In particular implementations, the switch module 30 may be implemented using a single-way or multi-way data selector, and is not limited thereto.
In particular implementations, firmware storage module 40 may be, but is not limited to, an SPI ROM. Further, the firmware storage module 40 may be an SPI BIOS ROM. When the firmware storage module 40 is a SPIROM, the first switch port 32 of the switch module 30 is connected to the SPI interface of the central processor, and the second switch port 33 is connected to the SPI interface of the embedded processor.
In particular, the embedded processor 20 may be any one of a single chip microcomputer, an embedded controller, a programmable device including a complex programmable logic device and a field programmable gate array, and is not limited thereto. The signal connection bus 50 is used to realize data communication between the central processor 10 and the embedded processor 20, and may be an LPC bus or an I2C bus, and is not limited thereto, and any bus capable of meeting the speed and data transmission requirements of the central processor 10 and the embedded processor 20 may be used.
Next, the operation of the system for updating firmware when the computer is started up according to the present invention will be described.
During normal operation (without updating firmware), the embedded processor 20 sends a first control signal to the switch module 30, and the switch module 30 is controlled to connect the central processor 10 and the firmware storage module 40. At this time, the cpu 10 can read the firmware data from the firmware storage module 40 to realize the computer power-on and the device initialization.
When the firmware needs to be updated during the boot process, the embedded processor 20 receives a firmware update instruction, and sends a second control signal to the switch module 30 according to the firmware update instruction, so as to control the switch module 30 to connect the embedded processor 20 with the firmware storage module 40. At this time, the central processor 10 can read the firmware update data from the external device connected to the motherboard (computer) and storing the firmware update data, and transmit the firmware update data to the embedded processor 20 through the signal connection bus 50, and the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30, so as to implement firmware update.
As an implementation manner, the external device may be a mobile storage device, for example, a usb disk.
In an embodiment, when receiving the firmware reading instruction, the central processor 10 may read firmware update data from the external device according to the firmware reading instruction, and transmit the firmware update data to the embedded processor 20 through the signal connection bus 50, and the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30 to implement firmware update.
Further, the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30, after the firmware update is completed, the embedded processor 20 sends a first control signal to the switch module 30 according to the firmware update end instruction when receiving the firmware update end instruction, and controls the switch module 30 to connect the central processor 10 and the firmware storage module 40, so as to restore the system to a normal working state.
It should be noted that the above instructions, including the firmware update instruction, the firmware read instruction, and the firmware update end instruction, may be generated by receiving an input from a user on a human-machine interface of the computer, where the human-machine interface may specifically include one of a power-on Shell interface and a system command line interface.
Therefore, the system for updating the firmware of the computer can realize the firmware update under the condition of starting up, and the computer with the system can realize the firmware update under the condition of starting up the computer without detaching a firmware storage module, a special burner or maintenance tool and an additional computer.
The invention also provides a method for updating the firmware of the computer when the computer is started, and the computer is provided with the system for updating the firmware of the computer when the computer is started. The method for updating the firmware by starting up the computer comprises the following steps:
step S11, the computer is connected to an external device storing firmware update data in a starting state;
step S12, the embedded processor 20 receives the firmware update instruction, and sends the second control signal to the switch module 30 according to the firmware update instruction, so as to control the switch module 30 to connect the embedded processor 20 with the firmware storage module 40;
step S13, the central processing unit 10 reads the firmware update data from the external device, and transmits the firmware update data to the embedded processor 20 through the signal connection bus 50;
in step S14, the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30.
Therefore, the method for updating the firmware of the computer can realize the firmware update under the condition of starting the computer.
Further, the step S13 may specifically include:
the central processing unit 10 receives a firmware reading instruction;
the central processing unit 10 reads the firmware update data from the external device according to the firmware read instruction, and transmits the firmware update data to the embedded processor through the signal connection bus.
In an embodiment, before the computer is connected to the external device storing the firmware update data in the power-on state in step S11, the method may further include a step of the computer entering the power-on state, specifically including:
step S21, the computer receives a key start command;
step S22, the embedded processor 20 sends the first control signal to the switch module 30, and controls the switch module 30 to connect the central processor 10 and the firmware storage module 40;
in step S23, the central processing unit 10 reads the firmware data from the firmware storage module 40 to realize power-on, so that the computer enters the power-on state.
In another embodiment, in a normal use state in which the embedded processor 20 does not receive the firmware update instruction, the embedded processor 20 controls the switch module 30 to connect the cpu 10 and the firmware storage module 40 by default, so when the computer receives a key start command, the cpu 10 reads firmware data from the firmware storage module 40 to realize start-up, so that the computer enters the start-up state.
In an embodiment, after the embedded processor 20 writes the firmware update data to the firmware storage module 40 through the switch module 30 in the step S14, the method may further include:
step S31, the embedded processor 20 receives a firmware update end instruction;
in step S32, the embedded processor 20 sends the first control signal to the switch module 30 according to the firmware update end command, and controls the switch module 30 to connect the cpu 10 and the firmware storage module 40.
In an embodiment, in the step S32, the method further includes, after the embedded processor 20 sends the first control signal to the switch module 30 according to the firmware update end instruction to control the switch module 30 to connect the cpu 10 and the firmware storage module 40, the method further includes:
in step S41, the computer receives a restart instruction and restarts the power-on.
The computer is restarted to ensure successful firmware update.
It should be noted that the above instructions, including the firmware update instruction, the firmware read instruction, the firmware update end instruction, and the restart instruction, may be generated by receiving an input from a user on a human-machine interface of the computer, where the human-machine interface may specifically include one of a startup Shell interface and a system command line interface.
Therefore, the method for updating the firmware of the computer when the computer is started can realize the firmware update under the condition of starting up without detaching the firmware storage module, and can realize the firmware update under the condition of starting up the computer without a special burner or maintenance tool and an additional computer.
Fig. 3 shows a specific embodiment of a method for updating firmware of a computer boot according to the present invention, which specifically illustrates a computer having a system for updating firmware of a computer boot according to the present invention, and a specific process from boot to boot state, firmware update in boot state, and firmware update is performed to completion of firmware update is implemented by the method for updating firmware of a computer boot according to the present invention.
In the embodiment shown in fig. 3, the method for updating firmware of a computer in the present invention includes:
step S51, the computer receives a key start command;
step S52, the embedded processor 20 sends a first control signal to the switch module 30, and controls the switch module 30 to connect the central processor 10 and the firmware storage module 40;
step S53, the CPU 10 reads the firmware data from the firmware memory module 40 to realize the startup, so that the computer enters the startup state;
step S54, the computer is connected to an external device storing firmware update data in a starting state;
step S55, the embedded processor 20 receives the firmware update instruction, and sends a second control signal to the switch module 30 according to the firmware update instruction, so as to control the switch module 30 to connect the embedded processor 20 with the firmware storage module 40;
step S56, the central processing unit 10 receives a firmware reading instruction, reads the firmware update data from the external device according to the firmware reading instruction, and transmits the firmware update data to the embedded processor 20 through the signal connection bus 50;
step S57, the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30;
step S58, the embedded processor 20 receives the firmware update end command, and sends a first control signal to the switch module 30 according to the firmware update end command, so as to control the switch module 30 to connect the central processor 10 and the firmware storage module 40;
in step S59, the computer receives the restart instruction and restarts the power-on.
It should be noted that, in step S57, after the embedded processor 20 writes the firmware update data into the firmware storage module 40 through the switch module 30, the external device may be selectively disconnected from the computer. As an implementation manner, the external device may be a mobile storage device, for example, a usb disk.
In summary, in the system and method for updating firmware when a computer is started, an embedded processor and a switch module are arranged between a central processing unit and a firmware storage module, and the switch module can be switched between connecting the central processing unit with the firmware storage module and connecting the embedded processor with the firmware storage module under the control of the embedded processor, so that when the computer is started and is in a normal working state, the central processing unit is connected to the firmware storage module through the switch module, and firmware data can be read from the firmware storage module; when the firmware is updated in the starting state, the embedded processor is connected to the firmware storage module through the switch module, the central processor can read the firmware update data from the external device, then the firmware update data is transmitted to the embedded processor, and the embedded processor writes the firmware storage module through the switch module to realize the firmware update. Therefore, the invention can realize firmware update under the condition of starting up without detaching the firmware storage module, without a burner or a maintenance tool, without an additional computer, without tools such as electric soldering iron, soldering tin and the like, and without maintenance personnel having welding technology. Therefore, the invention is convenient for the terminal client to finish the maintenance operation of firmware update by himself: the terminal client can complete the firmware update by only starting the computer which needs to update and upgrade the firmware and inputting a simple command according to the instruction file, thereby saving a great deal of manpower and material resource maintenance cost for the product manufacturer.
When the invention is applied to the emerging processor platform, the problem that the firmware is difficult to maintain and upgrade after sales of the emerging processor platform can be solved, and the subsequent maintenance cost of the product can be reduced, so that the processor platform can be favorably used for developing and applying more products, and the development of the emerging processor platform and the realization of autonomous controllable products can be further promoted.
In the above, it should be apparent to those skilled in the art that various other modifications and variations can be made in accordance with the technical solution and the technical idea of the present invention, and all such modifications and variations are intended to fall within the scope of the claims of the present invention.

Claims (10)

1. A system for updating firmware in a computer boot-strap, comprising: the device comprises a central processor, an embedded processor, a switch module and a firmware storage module, wherein the central processor is connected with the embedded processor through a signal connection bus; the switch module receives a control signal from the embedded processor and switches between connecting the central processor with the firmware storage module and connecting the embedded processor with the firmware storage module according to whether the control signal is a first control signal or a second control signal; when the central processing unit is connected with the firmware storage module through the switch module, the central processing unit can read firmware data from the firmware storage module; when the embedded processor is connected with the firmware storage module through the switch module, the central processing unit is used for reading firmware update data from an external device and transmitting the firmware update data to the embedded processor through the signal connection bus, and the embedded processor writes the firmware update data into the firmware storage module through the switch module.
2. The system of claim 1, wherein the switch module comprises a switch select port, a first switch port, a second switch port, and a third switch port, wherein the switch select port is connected to a general purpose input output port of the embedded processor to receive the control signal of the embedded processor, the first switch port is connected to the central processor, the second switch port is connected to the embedded processor, and the third switch port is connected to the firmware storage module; the switch module switches between connecting the first switch port with the third switch port and connecting the second switch port with the third switch port according to whether the control signal received by the switch selection port is a first control signal or a second control signal.
3. The system for updating firmware on a computer as recited in claim 2, wherein said switch module is a single or multiple data selector.
4. The system for updating firmware in computer boot-strap of claim 2 wherein said firmware storage module is an SPI ROM; the first switch port is connected to the SPI interface of the central processing unit, and the second switch port is connected to the SPI interface of the embedded processor.
5. The system for updating firmware of computer boot-strap of claim 1, wherein said embedded processor is any one of a single-chip microcomputer, an embedded controller, a programmable device including a complex programmable logic device, a field programmable gate array; the signal connection bus is an LPC bus or an I2C bus.
6. A method of updating firmware when a computer is powered on, the computer having a system as claimed in any one of claims 1 to 5, the method comprising:
the computer is connected to an external device storing firmware update data in a starting state;
the embedded processor receives a firmware updating instruction, and the embedded processor sends the second control signal to the switch module according to the firmware updating instruction to control the switch module to connect the embedded processor with the firmware storage module;
the CPU reads the firmware update data from the external device and transmits the firmware update data to the embedded processor through the signal connection bus;
the embedded processor writes the firmware update data into the firmware storage module through the switch module.
7. The method for updating firmware of a computer power-on as claimed in claim 6, wherein before the step of connecting the computer to an external device storing firmware update data in a power-on state, the method further comprises:
the computer receives a key start command;
the embedded processor sends the first control signal to the switch module to control the switch module to connect the central processor and the firmware storage module;
and the central processing unit reads the firmware data from the firmware storage module to realize starting up, so that the computer enters the starting-up state.
8. The method of updating firmware on a computer as claimed in claim 6 or 7, further comprising, after the step of the embedded processor writing the firmware update data to the firmware storage module via the switch module:
the embedded processor receives a firmware update ending instruction;
and the embedded processor sends the first control signal to the switch module according to the firmware update ending instruction to control the switch module to connect the central processor and the firmware storage module.
9. The method for updating firmware of a computer boot-strap according to claim 8, wherein after the step of the embedded processor sending the first control signal to the switch module to control the switch module to connect the central processor and the firmware storage module according to the firmware update end instruction, the method further comprises:
the computer receives a restarting instruction and restarts the machine.
10. The method for updating firmware of computer boot-strap according to claim 6, wherein said central processing unit reads said firmware update data from said external device and transmits said firmware update data to said embedded processor via said signal connection bus, and said method comprises the steps of:
the CPU receives a firmware reading instruction;
and the central processing unit reads the firmware update data from the external device according to the firmware read instruction and transmits the firmware update data to the embedded processor through the signal connection bus.
CN202310050255.8A 2023-02-01 2023-02-01 System and method for updating firmware of computer starting Pending CN116028085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310050255.8A CN116028085A (en) 2023-02-01 2023-02-01 System and method for updating firmware of computer starting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310050255.8A CN116028085A (en) 2023-02-01 2023-02-01 System and method for updating firmware of computer starting

Publications (1)

Publication Number Publication Date
CN116028085A true CN116028085A (en) 2023-04-28

Family

ID=86070436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310050255.8A Pending CN116028085A (en) 2023-02-01 2023-02-01 System and method for updating firmware of computer starting

Country Status (1)

Country Link
CN (1) CN116028085A (en)

Similar Documents

Publication Publication Date Title
CN106201563B (en) Configuration method and device of starting parameters and method and device for starting mainboard
CN108170451B (en) Method and system for controlling BIOS version upgrading by server BMC
US10656676B2 (en) Docking device, electrical device, and MAC address cloning method
WO2021136200A1 (en) Bootloader loading method, storage medium, and embedded terminal
EP2799952B1 (en) Information processing system, information processing apparatus and start up control method
US10564707B2 (en) System management controller
US8169939B2 (en) Mobile computation device and data packet reception method thereof
EP2750034B1 (en) Electronic device having updatable bios and bios updating method thereof
CN112181502B (en) OPS computer control method and device of all-in-one machine equipment and storage medium
WO2016033941A1 (en) Boot on-line upgrading apparatus and method
CN114661368B (en) Chip and starting method thereof
TWI526934B (en) Method, apparatus, and computer program product for booting an information handling system
CN108108314B (en) Exchanger system
CN116028085A (en) System and method for updating firmware of computer starting
CN106095643A (en) The establishing method of systematic parameter access and server thereof
CN113986357B (en) Method, apparatus and storage medium for establishing communication link
JP2019207551A (en) Information processing device, control method, and program
CN114117562A (en) Intelligent network card management method and device, electronic equipment and computer storage medium
CN106445571B (en) Mainboard and starting method
CN219143450U (en) Storage medium switching circuit, system and terminal equipment based on embedded EC
CN117931246B (en) Method and device for upgrading EC firmware, electronic equipment and storage medium
US20240012654A1 (en) Electronic device and demo program execution method thereof
TWI693515B (en) Testing method for motherboard and testing system for motherboard
CN107066277B (en) Method for updating universal unique identification code based on serial port
CN117271179A (en) Starting method, device, server and system of central processing unit

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