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

Method for detecting parameters in Flash Rom on intel platform

A platform and parameter technology, applied in the server field, can solve the problems of unable to read SFDP, unable to read SFDPtable, etc., to achieve the effect of increasing product stability, reducing the occurrence rate of BUG, ​​and increasing hardware lines

Active Publication Date: 2017-01-04
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the intel platform has some restrictions on Flash Rom access, that is, various access commands need to be placed in the OPMENU and OPTYPE registers before the corresponding commands can be used
For example, the command to read SFDP table is 0x5A. If there is no such command in OPMEUN, then SFDP cannot be read. The fact is that OPMENU does not have 0x5A by default, and these two registers are LOCKed at the PEI stage, so when entering the system Unable to read SFDP table afterwards

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 for detecting parameters in Flash Rom on intel platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0014] When the system is powered on, the UEFI BIOS boot stage is roughly divided into SEC, PEI, DXE, and BDS. The method for detecting parameters in the Flash Rom on the intel platform described in this embodiment mainly includes the following steps: 1) In the PEI stage when the system is powered on, OPMENU and Before the OPTYPE register is LOCKed, save the values ​​of the OPMENU and OPTYPE registers, 2) fill the OPMENU and OPTYPE registers with the SFDP table read command 0x5A, 3) store the SFDP table data in the self-built HOB, 4) save the data in the HOB in the DXE stage Store it in the requested EfiACPIMemoryNVS memory, 5) Read the data from the EfiACPIMemoryNVS memory by calling the driver in the system to check whether it is consistent with the parameters filled in the program.

[0015] attached figure 1 For the flow chart of the method for detecting parameters in Flash Rom for the intel platform, as attached figure 1 As shown, the specific implementation process is as...

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 discloses a method for detecting parameters in a Flash Rom on an intel platform, relating to the technical field of servers. The method has the beneficial effects that the data in an SFDP table are firstly stored in an HOB before OPMENU and OPTYPE registers are locked at the PEI stage, then the data are stored in an EfiACPIMemoryNVS type memory at the DXE stage and the data can be obtained on an application layer by calling a driver; the method provides great convenience for obtaining various parameters in the Flash Rom so as to check whether the parameters are consistent with the parameters filled in programs; the method has the effects of increasing the product functions, reducing the BUG occurrence rate and increasing the product stability.

Description

technical field [0001] The invention relates to the technical field of servers, in particular to a method for detecting parameters in a Flash Rom on an intel platform. Background technique [0002] In the design of PC and server, the BIOS program is usually stored in the FLASH ROM, and the parameters of the Flash Rom need to be added to the source code (source code), which involves many specific parameters. At present, it is usually compared with the SPEC given by the ROM manufacturer, and the required parameters are retrieved and added to the project. If there are errors in these parameters, it may cause the system post process to crash, or cause a probabilistic crash, and it is usually difficult to find out what is wrong. The problem is caused by wrong configuration of FLASH ROM parameters. In order to check the parameters of FLASH ROM conveniently, it is necessary to design some methods to read these parameters. The detailed parameters of Flash Rom exist in the SFDP Tab...

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
IPC IPC(8): G06F9/22
CPCG06F9/22G06F9/4406G06F9/30101
Inventor 郭章平
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
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