CN105068845A - Method for quickly updating firmware and guiding firmware to enter operating system - Google Patents

Method for quickly updating firmware and guiding firmware to enter operating system Download PDF

Info

Publication number
CN105068845A
CN105068845A CN201510530084.4A CN201510530084A CN105068845A CN 105068845 A CN105068845 A CN 105068845A CN 201510530084 A CN201510530084 A CN 201510530084A CN 105068845 A CN105068845 A CN 105068845A
Authority
CN
China
Prior art keywords
firmware
operating system
file
machine
need
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
CN201510530084.4A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510530084.4A priority Critical patent/CN105068845A/en
Publication of CN105068845A publication Critical patent/CN105068845A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The invention provides a method for quickly updating firmware and guiding the firmware to enter an operating system, which relates to the field of large-scale testing of computers and comprises the following steps: 1) determining that a first starting item of the machine is bootbroken-instell; 2) placing the firmware files and tools in a U disk or a hard disk; 3) after entering UEFIshell, the machine enters a file system for storing firmware files and tools, and automatically runs a firmware updating command; 4) after the firmware is updated, if the firmware does not need to be restarted and activated, the program automatically calls an operating system boot file and starts the operating system to perform a diagnostic test; 5) if the firmware needs to be restarted and activated after being updated, the machine automatically enters the uefisherll after being restarted, the program directly calls the operating system boot file, and the operating system is booted to carry out the diagnosis test. The invention does not need to load an operating system, thereby reducing the updating time; the requirement of a firmware updating tool on the operating system is not considered, and the updating process is simplified.

Description

A kind of quick firmware upgrades and guides the method entering operating system
Technical field
The present invention relates to computing machine large scale test field, particularly relate to a kind of quick firmware and upgrade and guide the method entering operating system.
Background technology
In current computer large scale test flow process, the firmware that diagnostic test mostly will carry out BIOS, BMC and various PCIe card upgrades.
In current testing process, diagnostic test mostly carries out firmware renewal in DOS, Linux, Windows operating system, and the online firmware that the overwhelming majority will carry out the chips such as BIOS, BMC and various PCIe card upgrades.Some factories upgrade under DOS, and some factories upgrade at operating system ends such as Linux, Windows.Under the current model, there are the following problems:
(1) DOS environment directly can not start Linux, need use instrument or amendment startup file, and UEFIBIOS does not support DOS gradually.
(2) no matter need start up system as upgraded firmware at Linux/Windows system end, be that PXE start-up mode or hard disk startup pattern loading system all will expend the long period.
(3) upgrading firmware at Linux/Windows system end to rely on to some extent system, need to adjust operating system, as installed driving, corresponding tool etc., being unfavorable for factory's large scale test.
(4) a lot of firmware upgrades needs and restarts, when the parts needing to upgrade firmware are more, often occur after tested for a long time after, machine is still in continuous loading system with restart, and seriously cause manpower and time waste, testing efficiency is low.
Summary of the invention
In order to solve this problem, proposing herein and a kind ofly upgrade for the quick firmware of computing machine large scale test and guide the method entering operating system.Utilize UEFI firmware to upgrade and do not need load operation system, speed is fast, the booting operating system file calling UEFI pattern can start the operating system, firmware renewal rewards theory when realizing computing machine large-scale production test is simple, speed is fast, start the operating system convenient and swift, save the test duration, firmware is upgraded and operating system end testing process simplification high-speeding.
The present invention to expend time in length in conjunction with operating system update firmware during current computer large scale test, and DOS not easily directly guides the situations such as os starting such as Linux, and designed and developed following testing process, implementation method is as follows:
1, mainstream computer is mostly integrated with build-inuefishell now, determines that machine first startup item is bootfrombuild-inshell.
2, firmware file and instrument are placed in USB flash disk or hard disk.
3, machine enters the file system depositing firmware file and instrument after entering UEFIshell, automatically runs and upgrades firmware command.
4, after firmware has upgraded, as firmware does not need to restart activation, program Automatically invoked booting operating system file, starts the operating system and carries out diagnostic test.
5, as firmware upgrade after need to restart activation, machine is restarted and is automatically entered uefishell, program direct call operation System guides file, guides os starting to carry out diagnostic test.
In step 3, can edit startup.nsh, scan available file system, machine enters the file system depositing firmware file and instrument after entering UEFIshell, runs and upgrades firmware command
In step 4, after firmware has upgraded, restart activation if do not needed, startup.nsh call operation System guides file.
Firmware renewal is carried out under the build-inuefishell environment that system bios is integrated, do not need to restart as this firmware upgrades, the boot files of direct calling system can start Linux or Windows system, as system needs to restart, then restart the rear boot files automatically entering uefishell Automatically invoked system again and start Linux or Windows system.
More the new stage, without loading system, saves the test duration to firmware, particularly upgrading firmware and be more and when needing to restart, saving the system loads time frequently greatly, improves firmware and upgrades efficiency and testing efficiency.
Avoid the requirement of firmware renewal to operating system, simple and quick.
Utilize UEFI can identify Linux/Windows system efi boot partition, direct calling system boot files can start the operating system, fast convenient and simple.
Accompanying drawing explanation
Fig. 1 is test of the present invention and uses procedure Procedure figure.
Embodiment
More detailed elaboration is carried out to content of the present invention below:
Testing process of the present invention, performing step is as follows:
A) check BIOSsetup boot sequence, guarantee that system starts build-inefishell automatically without other starting outfits.
B) firmware file and instrument are placed in USB flash disk or hard disk.
C) edit startup.nsh, scan available file system, guide and enter the file system depositing firmware file and instrument, run and upgrade firmware command (as erasing, upgrading etc.).
D) after firmware has upgraded, activation is restarted if do not needed, startup.nsh call operation System guides file ((SuSE) Linux OS be efi boot bootx64.efi, Windows operating system be EFI Microsoft Boot bootmgfw.efi), start the operating system and carry out diagnostic test.
E) as firmware upgrade after need to restart activation, machine is restarted and after automatically entering uefishell directly call operation System startup files guide os starting, the equal Script controlling of this process completes, automatically without the need to manual operation.
Under UEFIshell, carry out firmware renewal during large scale test, without the need to load operation system, decrease update time; Need not consider firmware more new tool to the requirement of operating system, simplify renewal process; Direct call operation System guides file guidance system startup can carry out diagnostic test, without the need to restarting, achieving the slitless connection with Windows/Linux system, optimizing firmware and upgrading and diagnostic test flow process.

Claims (3)

1. quick firmware upgrades and guides the method entering operating system, it is characterized in that, comprises the steps:
1) determine that machine first startup item is bootfrombuild-inshell;
2) firmware file and instrument are placed in USB flash disk or hard disk;
3) machine enters the file system depositing firmware file and instrument after entering UEFIshell, automatically runs and upgrades firmware command;
4) after firmware has upgraded, as firmware does not need to restart activation, program Automatically invoked booting operating system file, starts the operating system and carries out diagnostic test;
5) as firmware upgrade after need to restart activation, machine is restarted and is automatically entered uefishell, program direct call operation System guides file, guides os starting to carry out diagnostic test.
2. method according to claim 1, is characterized in that, editor startup.nsh, and scan available file system, machine enters the file system depositing firmware file and instrument after entering UEFIshell, runs and upgrades firmware command.
3. method according to claim 2, is characterized in that, after firmware has upgraded, restarts activation if do not needed, startup.nsh call operation System guides file.
CN201510530084.4A 2015-08-26 2015-08-26 Method for quickly updating firmware and guiding firmware to enter operating system Pending CN105068845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510530084.4A CN105068845A (en) 2015-08-26 2015-08-26 Method for quickly updating firmware and guiding firmware to enter operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510530084.4A CN105068845A (en) 2015-08-26 2015-08-26 Method for quickly updating firmware and guiding firmware to enter operating system

Publications (1)

Publication Number Publication Date
CN105068845A true CN105068845A (en) 2015-11-18

Family

ID=54498223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510530084.4A Pending CN105068845A (en) 2015-08-26 2015-08-26 Method for quickly updating firmware and guiding firmware to enter operating system

Country Status (1)

Country Link
CN (1) CN105068845A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893100A (en) * 2016-05-12 2016-08-24 浪潮电子信息产业股份有限公司 Method for automatically refreshing hard disk firmware under linux system
CN108399076A (en) * 2018-03-02 2018-08-14 山东超越数控电子股份有限公司 A kind of firmware update and device based on UEFI
CN108762797A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of SSD firmwares online updating method, system and SSD
CN109144543A (en) * 2018-08-09 2019-01-04 郑州云海信息技术有限公司 A method of the verifying VMware system bios compatibility based on EFI environment
CN109508200A (en) * 2018-11-02 2019-03-22 郑州云海信息技术有限公司 A kind of server Expander holding firmware upgrade method and system
WO2021163829A1 (en) * 2020-02-17 2021-08-26 Arris Enterprises Llc Systems and methods for narrowing the scope of a problem when a modem is bricked
WO2022040911A1 (en) * 2020-08-25 2022-03-03 Intel Corporation Methods and apparatus to perform pseudo-s3 protocol to update firmware and/or activate new firmware with warm reset

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809983A (en) * 2014-02-27 2014-05-21 山东超越数控电子有限公司 Method for modifying BIOS SETUP interface
US20150161223A1 (en) * 2013-12-11 2015-06-11 Fujitsu Limited Information processing device and method for moving data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150161223A1 (en) * 2013-12-11 2015-06-11 Fujitsu Limited Information processing device and method for moving data
CN103809983A (en) * 2014-02-27 2014-05-21 山东超越数控电子有限公司 Method for modifying BIOS SETUP interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
平板盒子: "蓝魔i10s BIOS更新工具和教程", 《HTTP://WWW.PBHZ.COM/ARCHIVES/26323》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893100A (en) * 2016-05-12 2016-08-24 浪潮电子信息产业股份有限公司 Method for automatically refreshing hard disk firmware under linux system
CN108399076A (en) * 2018-03-02 2018-08-14 山东超越数控电子股份有限公司 A kind of firmware update and device based on UEFI
CN108762797A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of SSD firmwares online updating method, system and SSD
CN109144543A (en) * 2018-08-09 2019-01-04 郑州云海信息技术有限公司 A method of the verifying VMware system bios compatibility based on EFI environment
CN109508200A (en) * 2018-11-02 2019-03-22 郑州云海信息技术有限公司 A kind of server Expander holding firmware upgrade method and system
WO2021163829A1 (en) * 2020-02-17 2021-08-26 Arris Enterprises Llc Systems and methods for narrowing the scope of a problem when a modem is bricked
WO2022040911A1 (en) * 2020-08-25 2022-03-03 Intel Corporation Methods and apparatus to perform pseudo-s3 protocol to update firmware and/or activate new firmware with warm reset

Similar Documents

Publication Publication Date Title
CN105068845A (en) Method for quickly updating firmware and guiding firmware to enter operating system
TWI507985B (en) Electronic device capable of automatically setting up operating systems and related method and system
US8171276B2 (en) Minimal startup mode for performing multiple-reboot configuration
US9329959B2 (en) Device and method for performing regression testing on bios boot information
CN106020861A (en) FOTA upgrading method and system for smart watch
CN109002346B (en) Conversion method of Windows virtual machine bootstrap program
KR102461044B1 (en) Application installation/uninstallation across multiple systems
CN109408122B (en) Equipment starting method, electronic equipment and computer storage medium
CN101470610B (en) Updating method of program used for test
CN111475172B (en) Bare metal deployment method and device
CN106293806A (en) Mirror image based on USB flash disk interface and the upgrade method of application program in road system
JP7102524B2 (en) Firmware release of multiple binary images
CN105094911B (en) A key upgrade method and a key upgrading tool for wireless communication module
TWI526934B (en) Method, apparatus, and computer program product for booting an information handling system
CN110362326A (en) A kind of upgrade method and relevant device of BIOS
CN102331942A (en) Method for automatically upgrading BIOS (basic input/output system) and Linux core
CN102681858A (en) VxWorks operation system as well as method and device for configuring start waiting time thereof
US20210055937A1 (en) Using a single process to install a uefi-supported os or a non-uefi supported os on a hardware platform
CN107357400B (en) Method for automatically starting up hard disk with specified operating system type
CN105426304A (en) Control method and device of restart test
CN111142949B (en) Information processing method and electronic equipment
CN106201583A (en) Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system
CN104142843A (en) System power-on failure diagnosis method
CN110647343B (en) OpenPower server and system deployment method thereof
CN112148376A (en) Terminal starting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151118

WD01 Invention patent application deemed withdrawn after publication