Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

BIOS firmware dividing and updating method and system

An update method and firmware technology, which is applied in software deployment, instrumentation, platform integrity maintenance, etc., can solve the problem that BIOS firmware cannot be safely updated, and achieve simple, safe, and wide-ranging effects

Active Publication Date: 2015-04-29
CELESTICA TECH CONSULTANCY SHANGHAI
View PDF5 Cites 10 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
  • BIOS firmware dividing and updating method and system
  • BIOS firmware dividing and updating method and system
  • BIOS firmware dividing and updating method and system

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 invention provides BIOS firmware dividing and updating method and system. The dividing method includes: dividing a Boot-Block into an independent SEC block and a PEI block, and adding a first address block and a second address block. The safety updating method of BIOS firmware includes: backing up PEI block data to a temporary backup block, and writing the program inlet address of the PEI block data into the second address block; updating the PEI block data, and writing the program inlet address of the PEI block data into the first address block; inspecting the data of the first address block, erasing the data of the second address block and the temporary backup block if the data of the first address block is valid, and continuing to update; and finishing the updating if the data of the first address block is invalid. When the BIOS firmware starts again, the SEC block skips to the temporary backup block according to data saved in the second address block and enters a recovery mode. The method has the advantages that the BIOS firmware updating does not rely on specific hardware support, and the method is wide in application range and simple and safe to realize.

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-VolatileRandom Access Memory, non-volatile Random access memory) and other blocks, such as figure 1 shown. Among them, SEC (SecurityPhase, 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) It is the initialization stage of the pre-extensible firmware interface. In this stage, the CPU works in the 32-bit state of the protec...

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 Applications(China)
IPC IPC(8): G06F21/57
CPCG06F8/65G06F21/572
Inventor 钟刚平
Owner CELESTICA TECH CONSULTANCY SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products