Method and system for dividing and updating bios firmware

An update method and firmware technology, applied in software deployment, platform integrity maintenance, etc., can solve the problem that BIOS firmware cannot be updated safely, and achieve the effect of simple, safe and wide application

Active Publication Date: 2018-04-17
CELESTICA TECH CONSULTANCY SHANGHAI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned shortcoming of the prior art, the purpose of the present invention is to provide a kind of division of BIOS firmware, update method and system, be used to solve under the situation of no hardware support in the prior art, and in non-Intel platform or some On a special Intel platform, the BIOS firmware cannot be updated safely

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for dividing and updating bios firmware
  • Method and system for dividing and updating bios firmware
  • Method and system for dividing and updating bios firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] This embodiment discloses a method for dividing the BIOS firmware. In order to ensure the safe update of the BIOS firmware, the BIOS firmware is re-divided.

[0042] Such as figure 1 As shown, in the existing UEFI BIOS architecture, the BIOS firmware is usually divided into blocks such as Boot-Block (SEC+PEI), FvMain (DXE+BDS) and NVRAM. Moreover, UEFI BIOS executes SEC and PEI sequentially: SEC is the startup phase of UEFI BIOS operation, which is the earliest startup phase of the computer; PEI is the second phase of UEFI BIOS operation, and is the most basic hardware chip initialization work. Therefore, when the BIOS firmware starts to update, back up the PEI of the Boot-Block part. If the BIOS firmware update fails, the UEFI BIOS can also be restored through the backup PEI data.

[0043] In order to ensure the safe update of BIOS firmware, this embodiment provides a new method for dividing BIOS firmware, specifically as image 3 As shown: the Boot-Block in the BIOS...

Embodiment 2

[0049] This embodiment discloses a method for updating BIOS firmware 300 without hardware intervention, wherein the Boot-Block block in the BIOS firmware is divided into independent SEC block 310 and PEI block 320, and the first The address block and the second address block, specifically as figure 2 shown, including:

[0050] Step S11, before the PEI block 320 is updated, back up the data of the PEI block 320 to the temporary backup block 350, and write the program entry address of the temporary backup block 350 into the second address block 340:

[0051] In order to ensure the safe update of the BIOS firmware, the original data in the PEI block 320 is backed up. Moreover, in order to complete the update of the BIOS firmware without hardware intervention, the original data in the PEI block 320 is still backed up to the UEFI BIOS architecture 300 . In the present invention, the temporary backup block 350 is a non-exclusive block, which is located in an idle area to be updat...

Embodiment 3

[0070] This embodiment discloses a BIOS firmware update system 400, such as Figure 4 As shown, it includes a dividing module 410 , a backup module 420 , an address writing module 430 , an updating module 440 and an erasing module 450 .

[0071] The division module 410 is used for decomposing the Boot-Block in the BIOS firmware into an independent SEC block and an independent PEI block, and adding a first address block and a second address block.

[0072] The backup module 420 is used for backing up the original data in the PEI block to the temporary backup block.

[0073] The address writing module 430 is used for writing the program entry address of the temporary backup block into the first address block, and writing the program entry address of the updated PEI block into the second address block.

[0074] The update module 440 is used for updating BIOS firmware. Specifically include: updating the data in the PEI block. After starting the SEC block, jump to the PEI block ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a method and system for dividing and updating BIOS firmware. The dividing method includes decomposing a Boot-Block block into an independent SEC block and a PEI block, and adding a first address block and a second address block. The safe update method of BIOS firmware includes backing up the PEI block data to a temporary backup block, and writing its program entry address into the second address block; updating the PEI block data, and writing its program entry address into the first address area block; check the data of the first address block, if valid, then erase the data of the second address block and the temporary backup block, and continue to update; if invalid, the update ends. When the BIOS firmware is restarted, the SEC block jumps to the temporary backup block according to the data stored in the second address block, and enters the recovery mode. The BIOS firmware update of the present invention does not depend on specific hardware support, has a wider scope of application, and is simpler and safer to implement.

Description

technical field [0001] The present invention relates to a BIOS (Basic Input Output System, Basic Input Output System) update method, in particular to a method and system for dividing and updating BIOS firmware (Firmware) without hardware intervention. Background technique [0002] In UEFI (Unified Extensible Firmware Interface, universal extended firmware interface) BIOS architecture, BIOS firmware is usually divided into Boot-Block (SEC+PEI), FvMain (DXE+BDS) and NVRAM (Non-Volatile Random Access Memory, non-volatile volatile random access memory) and other blocks, such as figure 1 shown. Among them, SEC (Security Phase, the startup phase of UEFI BIOS) is used for the earliest startup phase of the computer. This period of time is very short, and the code is about a thousand lines; PEI (Pre-EFI Initialization, the second phase of UEFI BIOS operation) ) is the initialization stage of the pre-extensible firmware interface. In this stage, the CPU works in the 32-bit state of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/57
CPCG06F8/65
Inventor 钟刚平
Owner CELESTICA TECH CONSULTANCY SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products