CN102331942A - Method for automatically upgrading BIOS (basic input/output system) and Linux core - Google Patents

Method for automatically upgrading BIOS (basic input/output system) and Linux core Download PDF

Info

Publication number
CN102331942A
CN102331942A CN201110188856A CN201110188856A CN102331942A CN 102331942 A CN102331942 A CN 102331942A CN 201110188856 A CN201110188856 A CN 201110188856A CN 201110188856 A CN201110188856 A CN 201110188856A CN 102331942 A CN102331942 A CN 102331942A
Authority
CN
China
Prior art keywords
bios
configuration file
upgrade
file
linux kernel
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
CN201110188856A
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.)
Dawning Information Industry Co Ltd
Original Assignee
Dawning Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dawning Information Industry Co Ltd filed Critical Dawning Information Industry Co Ltd
Priority to CN201110188856A priority Critical patent/CN102331942A/en
Publication of CN102331942A publication Critical patent/CN102331942A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for automatically upgrading a BIOS (basic input/output system) and a Linux core. The method is characterized in that: after the BIOS is started up, a network card is initialized, and is connected to an upgrading server via a network to read a configuration file, and according to the parsed result of the configuration file, the BIOS and the Linux core are updated. The method ensures that updating the BIOS and the Linux core is no longer a complex task, and meanwhile, updated version and content can be set according to need.

Description

The method of a kind of BIOS and linux kernel auto-update
Technical field
The present invention relates to mainboard BIOS and (SuSE) Linux OS kernel and upgrade, specifically, the method for a kind of BIOS and linux kernel auto-update is provided.
Background technology
In the use of server, do not get rid of the possibility that BIOS, linux kernel program are upgraded.When hundreds and thousands of machines being carried out BIOS, linux kernel renewal, be not easy, a happy thing by managerial personnel or user of service.
The renewal operation of current BIOS and kernel is not integrated in the bios program on the one hand, needs user or managerial personnel to accomplish by hand on the other hand.When needs upgraded bios program, mainly contain following two kinds of methods: the BIOS refresh routine was at first installed in (1), and obtained up-to-date BIOS binary code file.This needs the support of operating system on the one hand, also must need the support of BIOS refresh routine on the other hand; (2) use and to have the floppy disk that starts function and start computing machine, this floppy disk has comprised BIOS refresh routine and up-to-date BIOS binary code file.Concerning needs carried out user or managerial personnel that BIOS upgrades, these two kinds of methods had obviously increased renewal difficulty and workload.
Simultaneously, after BIOS starts completion, can move boot such as Grub.The user can be provided with the Grub boot, to start different linux kernel programs, accomplishes the renewal operation to the linux kernel program.After linux kernel that the user uses legacy version is with system start-up, can use up-to-date linux kernel program file to cover the linux kernel file of legacy version, so need not change the configuration of Grub boot.When the user does not cover the linux kernel file of legacy version, and during the new filename that is to use, can use this new linux kernel file to start, need be configured the Grub boot in order to make the Grub boot.This update method obviously relates to too many user participates in, and needs the user effort long time could accomplish the renewal operation of linux kernel.
Summary of the invention
In order to address the above problem, the invention provides the method for a kind of BIOS and linux kernel auto-update, making BIOS, linux kernel program updates no longer is a loaded down with trivial details task.
The method of a kind of BIOS and linux kernel auto-update is characterized in that: after BIOS starts, accomplish the network interface card initialization, be connected to upgrade server through network, read configuration file, carry out the renewal of BIOS and linux kernel according to the analysis result of configuration file.
Preferably, the driving file of said network interface card is to merge in BIOS, when BIOS starts, loads.
Preferably, said configuration file is disposed according to the renewal needs by the keeper and accomplishes and leave on the upgrade server.
Preferably, said configuration file content comprises the filename of BIOS and linux kernel, version number and update date.
Preferably, if the environmental variance of BIOS and Linux is consistent in the analysis result of said configuration file and the flash storer, then do not need to upgrade, BIOS withdraws from the update functions code, continues to carry out follow-up code; If environmental variance is inconsistent, then need to upgrade.
More preferably, read upgrade file from upgrade server during renewal, and with file load in internal memory, simultaneously the profile information that reads is stored in the flash storer as environmental variance.
More preferably, after renewal was accomplished, BIOS upgraded through the new environmental variance of loading when started next time.
It no longer is a loaded down with trivial details task that the present invention makes BIOS, linux kernel program updates, simultaneously, can set up the version and the content of renewal as required on their own.
Embodiment
When bios program when starting operation, after accomplishing the network function initialization, through the network loading configuration file, configuration file is resolved, to determine whether and need upgrade operation to bios program or linux kernel program.In the time need not upgrading operation, BIOS withdraws from the update functions code, continues to carry out other function codes.When needs upgraded operation, bios program can be known the filename and the version number of up-to-date bios program or linux kernel program through the parsing to configuration file.If the version number that the environmental variance of this version number and Flash storage is corresponding is consistent; When starting last time, expression bios program or linux kernel program upgraded; Need not when this starts to upgrade once more, BIOS withdraws from the update functions code, continues to carry out other function codes.If the version number that the environmental variance of this version number and Flash storage is corresponding is inconsistent, perhaps the environmental variance of Flash storage does not exist, and expression bios program or linux kernel program need renewal in this start-up course.So just can up-to-date bios program, linux kernel program be loaded in the internal memory.Simultaneously, the bios program that obtains or linux kernel program version number are stored among the Flash as environmental variance.Like this, BIOS loaded the flash memory content and accomplished the renewal operation when starting next time.Through above step, can accomplish BIOS, the operation of linux kernel program updates to server.

Claims (7)

1. the method for BIOS and linux kernel auto-update; It is characterized in that: after BIOS starts, accomplish the network interface card initialization, be connected to upgrade server through network; Read configuration file, carry out the renewal of BIOS and linux kernel according to the analysis result of configuration file.
2. the method for claim 1 is characterized in that: the driving file of said network interface card is to merge in BIOS, loading when BIOS starts.
3. the method for claim 1 is characterized in that: said configuration file is accomplished and is left on the upgrade server according to upgrading the needs configuration by the keeper.
4. the method for claim 1, it is characterized in that: said configuration file content comprises the filename of BIOS and linux kernel, version number and update date.
5. the method for claim 1 is characterized in that: if the environmental variance of BIOS and Linux is consistent in the analysis result of said configuration file and the flash storer, then do not need to upgrade, BIOS withdraws from the update functions code, continues to carry out follow-up code; If environmental variance is inconsistent, then need to upgrade.
6. method as claimed in claim 5 is characterized in that: read upgrade file from upgrade server during renewal, and with file load in internal memory, simultaneously the profile information that reads is stored in the flash storer as environmental variance.
7. like claim 1,5 or 6 described methods, it is characterized in that: after upgrading completion, BIOS was through loading new environmental variance renewal when started next time.
CN201110188856A 2011-07-07 2011-07-07 Method for automatically upgrading BIOS (basic input/output system) and Linux core Pending CN102331942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110188856A CN102331942A (en) 2011-07-07 2011-07-07 Method for automatically upgrading BIOS (basic input/output system) and Linux core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110188856A CN102331942A (en) 2011-07-07 2011-07-07 Method for automatically upgrading BIOS (basic input/output system) and Linux core

Publications (1)

Publication Number Publication Date
CN102331942A true CN102331942A (en) 2012-01-25

Family

ID=45483728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110188856A Pending CN102331942A (en) 2011-07-07 2011-07-07 Method for automatically upgrading BIOS (basic input/output system) and Linux core

Country Status (1)

Country Link
CN (1) CN102331942A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808270A (en) * 2014-12-17 2016-07-27 纬创资通股份有限公司 Firmware variable updating method
CN105933160A (en) * 2016-06-23 2016-09-07 四川长虹电器股份有限公司 Method for realizing quick connection of wired network on Android smart television
CN106897063A (en) * 2017-02-22 2017-06-27 郑州云海信息技术有限公司 A kind of method and system being forever added to OS startup items based on EFI in BIOS
CN107741854A (en) * 2017-10-25 2018-02-27 合肥联宝信息技术有限公司 The installation method and device of the trawl performance of a kind of electronic equipment
CN110286953A (en) * 2019-07-03 2019-09-27 迈普通信技术股份有限公司 Starting method, apparatus, embedded device and the storage medium of embedded system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331045C (en) * 2002-08-19 2007-08-08 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
US20090113130A1 (en) * 2007-10-24 2009-04-30 Inventec Corporation System and method for updating dirty data of designated raw device
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN101667131A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Mobile terminal and updating method of configuration information thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331045C (en) * 2002-08-19 2007-08-08 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
US20090113130A1 (en) * 2007-10-24 2009-04-30 Inventec Corporation System and method for updating dirty data of designated raw device
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN101667131A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Mobile terminal and updating method of configuration information thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RON MINNICH等: "The Linux BIOS", 《PROCEEDINGS OF THE 4TH ANNUAL LINUX SHOWCASE & CONFERENCE》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808270A (en) * 2014-12-17 2016-07-27 纬创资通股份有限公司 Firmware variable updating method
CN105933160A (en) * 2016-06-23 2016-09-07 四川长虹电器股份有限公司 Method for realizing quick connection of wired network on Android smart television
CN106897063A (en) * 2017-02-22 2017-06-27 郑州云海信息技术有限公司 A kind of method and system being forever added to OS startup items based on EFI in BIOS
CN107741854A (en) * 2017-10-25 2018-02-27 合肥联宝信息技术有限公司 The installation method and device of the trawl performance of a kind of electronic equipment
CN110286953A (en) * 2019-07-03 2019-09-27 迈普通信技术股份有限公司 Starting method, apparatus, embedded device and the storage medium of embedded system
CN110286953B (en) * 2019-07-03 2023-12-19 迈普通信技术股份有限公司 Method and device for starting embedded system, embedded device and storage medium

Similar Documents

Publication Publication Date Title
US8423991B2 (en) Embedded network device and firmware upgrading method
CN107193615B (en) Project code information updating and deploying method and device
CN103746833A (en) PXE-based RAID automatic configuration method and system
US9851993B2 (en) Virtual machine template optimization
CN101546270A (en) Automatic installation method for Linux operation system, device and system
CN101770383B (en) Method and device for on-line upgrade of cross-platform version
CN105320554A (en) Program updating method as well as client and system for program updating
CN101697133A (en) Software upgrading method, software upgrading system and client
CN102331942A (en) Method for automatically upgrading BIOS (basic input/output system) and Linux core
US10747523B2 (en) Methods of updating firmware components, computer systems and memory apparatus
CN108920212B (en) Linux kernel-based product starting method and system and related components
CN101826026A (en) Embedded equipment and on-line updating system and method of firmware in embedded equipment
CN109408122B (en) Equipment starting method, electronic equipment and computer storage medium
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN101694623A (en) Method for updating handheld device software
CN103353846A (en) Project automatic-deployment plug-in
CN104732151A (en) Remote safety batch BIOS updating method under Linux system
CN103514015A (en) Method and device for booting operation system from storage medium
CN103761115A (en) Method for achieving self-update of software
CN102147754A (en) Automatic backup method and device for driver
CN103747095A (en) Virtual desktop system and method
CN105068845A (en) Method for quick firmware update and booting to enter operating system
WO2014196994A1 (en) Dynamic management of composable api sets
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN115408013A (en) Firmware and file automatic programming method of Zynq UltraScale + MPSoC platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120125