CN111966415A - Method for modifying starting item based on EEPROM - Google Patents

Method for modifying starting item based on EEPROM Download PDF

Info

Publication number
CN111966415A
CN111966415A CN202010841006.7A CN202010841006A CN111966415A CN 111966415 A CN111966415 A CN 111966415A CN 202010841006 A CN202010841006 A CN 202010841006A CN 111966415 A CN111966415 A CN 111966415A
Authority
CN
China
Prior art keywords
eeprom
boot
item
startup
modifying
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
CN202010841006.7A
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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics 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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202010841006.7A priority Critical patent/CN111966415A/en
Publication of CN111966415A publication Critical patent/CN111966415A/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

Landscapes

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

Abstract

The invention particularly relates to a method for modifying a startup starting item based on an EEPROM. The method for modifying the boot startup item based on the EEPROM comprises two parts, namely a BMC modified boot startup item and a BIOS modified boot startup item; and in order to ensure the synchronism of the BMC and the BIOS, the modified boot items are stored in the EEPROM. According to the method for modifying the startup items based on the EEPROM, the startup items are modified by the BMC without depending on the startup and shutdown state of the server, so that the modification can be carried out at any time, and the function use is more convenient and practical; meanwhile, in order to keep the consistency of the BMC and the BIOS in modifying the startup items, a method of storing the startup items by an EEPROM is adopted, so that the startup items are more stable.

Description

Method for modifying starting item based on EEPROM
Technical Field
The invention relates to the technical field of computer application, in particular to a method for modifying a startup item based on an EEPROM (electrically erasable programmable read-Only memory).
Background
The server is a computer, but the performance index of the server in terms of calculation speed, stability and the like is obviously higher than that of other computers. At present, extremely high requirements are provided for the stability of the server in the fields of financial systems, industrial control and the like.
The boot startup item refers to a program which runs in the foreground or the background of an operating system when the computer is started. When the operating system is started, a plurality of programs are usually automatically started, and the programs comprise some critical drivers of the operating system and some application programs selected by a user and started along with the system starting, so that convenience is brought to subsequent operations of the user.
The computer is divided into four stages when being started:
the first stage is the output input system (BIOS);
firstly, finishing hardware self-checking through a program in a BIOS (basic input/output system), setting a starting sequence, wherein the starting sequence is set to be a device in which a starting program is specifically stored in the next stage, the BIOS acquires the sequence of external storage devices, and the device in front of the external storage devices is preferentially handed over to the device with the control right.
The second stage is main guide record;
according to the boot sequence of the BIOS, the control authority is handed over to the first-order storage device, and if the boot condition is met, the device is used for booting, and if the boot condition is not met, the control authority is handed over to the next device in the boot sequence.
The third stage is the starting of the hard disk;
the fourth phase is the operating system.
Based on the above situation, the invention provides a method for modifying a startup item based on an EEPROM.
Disclosure of Invention
In order to make up for the defects of the prior art, the invention provides a simple and efficient method for modifying a startup starting item based on an EEPROM.
The invention is realized by the following technical scheme:
a method for modifying a boot startup item based on an EEPROM is characterized in that: the method comprises two parts of a BMC modified boot startup item and a BIOS modified boot startup item; and in order to ensure the synchronism of the BMC and the BIOS, the modified boot items are stored in the EEPROM.
When the computer is not started for the first time, the BIOS reads the startup items stored by the relevant EEPROM and completes the startup according to the read startup sequence, and the BMC modifies the startup items stored by the EEPROM through a webpage and an IPMI OEM.
The BMC modification boot-up item and the BIOS modification boot-up item are both realized by executing read-write operation on the EEPROM.
The step of modifying the boot startup item by the BMC is to view the boot startup item of the current system through a webpage, complete the modification of the boot startup item on the webpage, and store the modified boot startup item in the EEPROM.
The BMC modifies the startup starting item, and the implementation steps are as follows:
s1, opening a BMC setting startup item webpage;
s2, reading current startup item information stored in the EEPROM, and displaying the current startup item on a startup item webpage;
and S3, directly setting a startup item on the startup item webpage, and writing the set startup item into the EEPROM.
The BMC can modify the boot startup item and can directly modify the EEPROM through an IPMI custom command so as to achieve the purpose of modifying the boot startup item.
The BIOS modification boot item is to enter a BIOS setting interface through a shortcut key to complete the setting of the boot item when the system boots, and to store the modified boot item in the EEPROM.
The BIOS modifies the boot items, and the implementation steps are as follows:
s1, when a system is started, reading current startup item information stored in an EEPROM by a BIOS (basic input/output System), and acquiring the current startup item information;
s2, entering a BIOS setting page in the starting process of the system;
and S3, setting a starting item, and writing the set starting item into the EEPROM.
The invention has the beneficial effects that: according to the method for modifying the startup items based on the EEPROM, the startup items are modified by the BMC without depending on the startup and shutdown state of the server, so that the modification can be carried out at any time, and the function use is more convenient and practical; meanwhile, in order to keep the consistency of the BMC and the BIOS in modifying the startup items, a method of storing the startup items by an EEPROM is adopted, so that the startup items are more stable.
Drawings
FIG. 1 is a schematic diagram of a method for modifying a boot startup item based on an EEPROM according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the embodiment of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to ensure the performance of the server, the baseboard control system, namely the BMC is a system independent of the server, can be started after the server is powered on, and can particularly perform operations such as firmware upgrading and machine equipment checking on the server under the condition of not being powered on or being shut down.
BIOS (basic Input Output System), the translated Chinese name is 'basic Input Output System'. It is a set of programs solidified on a ROM chip on the internal mainboard of computer, and it stores the most important basic input and output programs of computer, system setting information, self-checking program after starting up and system self-starting program. Its primary function is to provide the lowest level, most direct hardware setup and control for the computer.
An EEPROM (Electrically Erasable Programmable Read-Only Memory), a charged Erasable Programmable Read-Only Memory, a Memory chip with no data loss after power failure. The EEPROM can be erased and reprogrammed on a computer or a special device. Typically plug and play.
The method for modifying the boot startup item based on the EEPROM comprises two parts, namely a BMC modified boot startup item and a BIOS modified boot startup item; and in order to ensure the synchronism of the BMC and the BIOS, the modified boot items are stored in the EEPROM.
When the computer is not started for the first time, the BIOS reads the startup items stored by the relevant EEPROM and completes the startup according to the read startup sequence, and the BMC modifies the startup items stored by the EEPROM through a webpage and an IPMI OEM.
The BMC modification boot-up item and the BIOS modification boot-up item are both realized by executing read-write operation on the EEPROM.
The step of modifying the boot startup item by the BMC is to view the boot startup item of the current system through a webpage, complete the modification of the boot startup item on the webpage, and store the modified boot startup item in the EEPROM.
The BMC modifies the startup starting item, and the implementation steps are as follows:
s1, opening a BMC setting startup item webpage;
s2, reading current startup item information stored in the EEPROM, and displaying the current startup item on a startup item webpage;
and S3, directly setting a startup item on the startup item webpage, and writing the set startup item into the EEPROM.
The BMC can modify the boot startup item and can directly modify the EEPROM through an IPMI custom command so as to achieve the purpose of modifying the boot startup item.
IPMI (Intelligent Platform Management Interface) is an industrial standard used for managing peripheral devices used in an enterprise system based on an Intel structure, can span different operating systems, firmware and hardware platforms, and can intelligently monitor, control and automatically report back the operating conditions of a large number of servers, so as to reduce the cost of a server system.
The BIOS modification boot item is to enter a BIOS setting interface through a shortcut key to complete the setting of the boot item when the system boots, and to store the modified boot item in the EEPROM.
The BIOS modifies the boot items, and the implementation steps are as follows:
s1, when a system is started, reading current startup item information stored in an EEPROM by a BIOS (basic input/output System), and acquiring the current startup item information;
s2, entering a BIOS setting page in the starting process of the system;
and S3, setting a starting item, and writing the set starting item into the EEPROM.
Compared with the prior art, the method for modifying the startup starting item based on the EEPROM has the following characteristics:
firstly, the startup item is modified through the BMC, so that the startup and shutdown state of the server is not depended on any more, and the modification can be carried out at any time, so that the function use is more convenient and practical;
and secondly, in order to keep the consistency of the BMC and the BIOS in modifying the startup items, a method of storing the startup items by an EEPROM is adopted, so that the startup items are more stable.
The method for modifying the boot startup item based on the EEPROM in the embodiment of the present invention is described in detail above. While the present invention has been described with reference to specific examples, which are provided to assist in understanding the core concepts of the present invention, it is intended that all other embodiments that can be obtained by those skilled in the art without departing from the spirit of the present invention shall fall within the scope of the present invention.

Claims (8)

1. A method for modifying a boot startup item based on an EEPROM is characterized in that: the method comprises two parts of a BMC modified boot startup item and a BIOS modified boot startup item; and in order to ensure the synchronism of the BMC and the BIOS, the modified boot items are stored in the EEPROM.
2. The method for modifying a boot startup item based on an EEPROM of claim 1, wherein: when the computer is not started for the first time, the BIOS reads the startup items stored by the relevant EEPROM and completes the startup according to the read startup sequence, and the BMC modifies the startup items stored by the EEPROM through a webpage and an IPMI OEM.
3. The method for modifying the boot startup item based on the EEPROM as claimed in claim 1 or 2, wherein: the BMC modification boot-up item and the BIOS modification boot-up item are both realized by executing read-write operation on the EEPROM.
4. The method for modifying a boot-up entry based on an EEPROM of claim 3, wherein: the step of modifying the boot startup item by the BMC is to view the boot startup item of the current system through a webpage, complete the modification of the boot startup item on the webpage, and store the modified boot startup item in the EEPROM.
5. The method for modifying a boot-up entry based on an EEPROM of claim 4, wherein: the BMC modifies the startup starting item, and the implementation steps are as follows:
s1, opening a BMC setting startup item webpage;
s2, reading current startup item information stored in the EEPROM, and displaying the current startup item on a page;
and S3, directly setting a starting item on the page, and writing the set starting item into the EEPROM.
6. The method for modifying a boot-up entry based on an EEPROM of claim 3, wherein: the BMC can modify the boot startup item and can directly modify the EEPROM through an IPMI custom command so as to achieve the purpose of modifying the boot startup item.
7. The method for modifying a boot-up entry based on an EEPROM of claim 3, wherein: the BIOS modification boot item is to enter a BIOS setting interface through a shortcut key to complete the setting of the boot item when the system boots, and to store the modified boot item in the EEPROM.
8. The method for modifying a boot-up entry based on an EEPROM of claim 7, wherein: the BIOS modifies the boot items, and the implementation steps are as follows:
s1, when a system is started, reading current startup item information stored in an EEPROM by a BIOS (basic input/output System), and acquiring the current startup item information;
s2, entering a BIOS setting page in the starting process of the system;
and S3, setting a starting item, and writing the set starting item into the EEPROM.
CN202010841006.7A 2020-08-20 2020-08-20 Method for modifying starting item based on EEPROM Pending CN111966415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010841006.7A CN111966415A (en) 2020-08-20 2020-08-20 Method for modifying starting item based on EEPROM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010841006.7A CN111966415A (en) 2020-08-20 2020-08-20 Method for modifying starting item based on EEPROM

Publications (1)

Publication Number Publication Date
CN111966415A true CN111966415A (en) 2020-11-20

Family

ID=73387977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010841006.7A Pending CN111966415A (en) 2020-08-20 2020-08-20 Method for modifying starting item based on EEPROM

Country Status (1)

Country Link
CN (1) CN111966415A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999362A (en) * 2012-12-04 2013-03-27 浪潮电子信息产业股份有限公司 Method for modifying sequence of boot options of basic input/output system (BIOS)
CN209690904U (en) * 2019-06-14 2019-11-26 山东超越数控电子股份有限公司 A kind of storage medium realizing BMC and being interacted with BIOS information
CN110633110A (en) * 2019-08-30 2019-12-31 苏州浪潮智能科技有限公司 Server starting method, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999362A (en) * 2012-12-04 2013-03-27 浪潮电子信息产业股份有限公司 Method for modifying sequence of boot options of basic input/output system (BIOS)
CN209690904U (en) * 2019-06-14 2019-11-26 山东超越数控电子股份有限公司 A kind of storage medium realizing BMC and being interacted with BIOS information
CN110633110A (en) * 2019-08-30 2019-12-31 苏州浪潮智能科技有限公司 Server starting method, equipment and storage medium

Similar Documents

Publication Publication Date Title
US8423991B2 (en) Embedded network device and firmware upgrading method
US10055218B2 (en) System and method for adding and storing groups of firmware default settings
EP3769224B1 (en) Configurable recovery states
US20150186161A1 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN110162429B (en) System repair method, server and storage medium
CN104679540A (en) Computer system and computer system starting method
CN104866324A (en) Method for constructing portable operating system and portable memorizer
CN104572161A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson portable computer
CN104424047A (en) NVRAM data recovery method and NVRAM data recovery device
CN110780908A (en) Screen display program upgrading method and system and terminal equipment
WO2019144621A1 (en) Method, apparatus, and server for acquiring uefi os startup item
US10565000B2 (en) Method and apparatus for online upgrade of kernel-based virtual machine module
CN111831345A (en) Management method and device for server hard disk backboard, storage medium and equipment
CN109582382B (en) Loading method and device of configuration information, storage medium and terminal equipment
CN113315675B (en) White box switch U-Boot automatic testing method, system and storage medium
CN103995717A (en) Method for upgrading software in embedded device
CN111258664B (en) Method, system, terminal and storage medium for completely acquiring memory serial number
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
US11340882B2 (en) Systems and methods for enforcing update policies while applying updates from bootable image file
US10564894B2 (en) Free space pass-through
CN109408124A (en) Store equipment and preparation method thereof, operating system double mode bootstrap technique and device
CN111966415A (en) Method for modifying starting item based on EEPROM
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools
CN114020211A (en) Storage space management method, device, equipment and storage medium

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