CN107153555A - BIOS upgrade methods - Google Patents
BIOS upgrade methods Download PDFInfo
- Publication number
- CN107153555A CN107153555A CN201710178532.8A CN201710178532A CN107153555A CN 107153555 A CN107153555 A CN 107153555A CN 201710178532 A CN201710178532 A CN 201710178532A CN 107153555 A CN107153555 A CN 107153555A
- Authority
- CN
- China
- Prior art keywords
- bios
- upgrade
- file
- usb flash
- 64bit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44573—Execute-in-place [XIP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Abstract
The invention discloses BIOS upgrade methods, step includes:1) USB flash disk is checked for;2) such as check and there is USB flash disk, then continue checking for whether there is BIOS upgrade files in USB flash disk, the BIOS upgrade files include 64bit upgrade file and 32bit upgrade file;3) such as check USB flash disk and there is system bios upgrade file, then system judges that current system is 32bit or 64bit;4) such as judge that current system is 32bit, then system operation 32bit upgrade file, it is 64bit such as to judge current system, then system operation 64bit upgrade file;5) system is entered after corresponding upgrade file, is read upgrade file contents and is write in memory;6) system is restarted.The method of the present invention realizes BIOS upgrade methods without using cd-rom recorder and independent of particular hardware, and making the upgrading of BIOS program becomes easy and effective, so as to greatly improve the maintainability of communication equipment and reduce maintenance cost.
Description
Technical field
The present invention relates to a kind of method for upgrading software, particularly a kind of BIOS upgrade methods.
Background technology
In a communications device, used system is generally all embedded system, in embedded systems, each system or mould
The block division of labor completes the function of a communication equipment.All there is BIOS program and host service journey in more complicated embedded system
Sequence, the startup that BIOS program is used for system is guided, and host service program completes specific business function.BIOS program is on CPU
The first paragraph program electrically activated is general to use burning piece device that rom chip, into rom chip, is then attached to BIOS program programming
On veneer, therefore, because BIOS program by programming into rom chip, so BIOS program has ardware feature, be not easy to rise
Level.
As Intel intervenes tablet personal computer, the framework above PC is caused to be incorporated into consumer electronics design, then BIOS
Unavoidable is also introduced into.But the tablet personal computer BIOS on Intel platforms is to need single storage medium to store
, or it is exactly a part of BIOS (SPI Nor Flash) on single storage chip, storage medium of the part in Pad
On.In exploitation usually, or we blow down SPI Nor Flash to come in debugging, being placed on special Socket seats makes
With special cd-rom recorder come burning BIOS repeatedly, otherwise it is exactly to draw SPI pins (6) on plank to connect using adapter
Burning is completed on to the cd-rom recorder of specialty.It can be seen that there are following two shortcomings in prior art:1st, need the burning by specialty soft
Part, cd-rom recorder hardware burning;2nd, fly line is needed, or needs to blow down chip to complete burning.
The content of the invention
The problem of for being previously mentioned, the invention provides BIOS upgrade methods, step includes:
1) USB flash disk is checked for;
2) such as check and there is USB flash disk, then continue checking for whether there is BIOS upgrade files in USB flash disk, the BIOS upgradings text
Part includes 64bit upgrade file and 32bit upgrade file;
3) such as check USB flash disk and there is system bios upgrade file, then system judge current system be 32bit or
64bit;
4) such as judge that current system is 32bit, then system operation 32bit upgrade file, such as judge current system
64bit, then system operation 64bit upgrade file;
5) system is entered after corresponding upgrade file, is read upgrade file contents and is write in memory;
6) system is restarted.
Preferred scheme is:The BIOS upgrade files are realized on the basis of UEFI frameworks.
UEFI provides the interface specification of standardization for BIOS, good with compatibility compared to traditional BIOS, it is easier to real
Now appearance, error correction, effectively shorten the system research and development time;The degree of coupling between core code and driving is reduced, with more preferable
The advantages of scalability and portability.
Preferred scheme is:The BIOS upgrade files are the SPI driving sources based on Insyde UEFI frameworks of code building
Code or the Driver for reading and writing with eMMC.
Preferred scheme is:BIOS upgrade files are divided into Part I and Part II, if carrying BIOS memory chi
It is very little to accommodate Part I and Part II, then Part I and Part II are merged into storage and arrived in the memory, such as
When the fruit carrying BIOS memory-size can not accommodate whole, then only Part I is placed in SPI Nor Flash
Face, Part II is placed in eMMC.
Preferred scheme is:In step 5, system is entered after corresponding upgrade file, using UEFI SPI driving interfaces or
Person is that eMMC driving interfaces go to read BIOS upgrade files, is then being written to corresponding SPI Nor Flash either eMMC
In.
SPI driving interfaces are to synchronize serial data transmission between CPU and peripheral low speed devices, in the shifting of main device
Under digit pulse, data step-by-step transmission is high-order preceding, and low level is full-duplex communication, data transmission bauds compares on the whole rear
I2C buses are fast, and speed can reach several Mbps.
EMMC (Embedded MultiMedia Card) is the embedded memory standard specification ordered by MMC associations,
Based on mobile phone productses.An eMMC clear superiority is to be integrated with a controller in a package, and it provides mark
Quasi- interface simultaneously manages flash memory so that cell phone manufacturer just can be absorbed in the other parts of product development, and shortens to market release production
The time of product.These features are for wishing lithographic dimensioned and for reducing the NAND suppliers of cost by reducing, with same
Importance.
Preferred scheme is:BIOS upgrade files are stored under the root of USB flash disk.
Then the present invention reads BIOS file by the BIOS upgrade files in system detectio to USB flash disk from USB flash disk, then complete
Into upgrading BIOS work.The method of the present invention realizes BIOS upgrade methods without using cd-rom recorder and independent of particular hardware, makes
The upgrading of BIOS program becomes easy and effective, is safeguarded into so as to greatly improve the maintainability of communication equipment and reduce
This.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, to make those skilled in the art with reference to specification text
Word can be implemented according to this.
It should be appreciated that such as " having ", "comprising" and " comprising " term used herein do not allot one or many
The presence or addition of individual other elements or its combination.
The invention provides a kind of BIOS upgrade methods, step includes:
1) USB flash disk is checked for;
2) such as check and there is USB flash disk, then continue checking for whether there is BIOS upgrade files in USB flash disk, the BIOS upgradings text
Part includes 64bit upgrade file and 32bit upgrade file;
3) such as check USB flash disk and there is system bios upgrade file, then system judge current system be 32bit or
64bit;
4) such as judge that current system is 32bit, then system operation 32bit upgrade file, such as judge current system
64bit, then system operation 64bit upgrade file;
5) system is entered after corresponding upgrade file, is read upgrade file contents and is write in memory;
6) system is restarted.
The BIOS upgrade files are realized on the basis of UEFI frameworks.
UEFI provides the interface specification of standardization for BIOS, good with compatibility compared to traditional BIOS, it is easier to real
Now appearance, error correction, effectively shorten the system research and development time;The degree of coupling between core code and driving is reduced, with more preferable
The advantages of scalability and portability.
The BIOS upgrade files are the driving source codes of the SPI based on Insyde UEFI frameworks of code building or carried
The Driver that eMMC reads and write.
BIOS upgrade files are divided into Part I and Part II, if carrying BIOS memory-size can accommodate the
A part and Part II, then merge storage by Part I and Part II and arrive in the memory, if carrying BIOS
When the memory-size can not accommodate whole, then only Part I is placed on inside SPI Nor Flash, Part II is put
In eMMC.
In steps of 5, system enters the SPI driving interfaces either eMMC drives using UEFI after corresponding upgrade file
Mobile interface goes to read BIOS upgrade files, then in corresponding SPI Nor Flash either eMMC are written to.
SPI interface is to synchronize serial data transmission between CPU and peripheral low speed devices, in the displacement arteries and veins of main device
Sweep away, data step-by-step transmission, high-order preceding, low level is full-duplex communication, data transmission bauds is more total than I2C on the whole rear
Line is fast, and speed can reach several Mbps.
EMMC (Embedded MultiMedia Card) is the embedded memory standard specification ordered by MMC associations,
Based on mobile phone productses.An eMMC clear superiority is to be integrated with a controller in a package, and it provides mark
Quasi- interface simultaneously manages flash memory so that cell phone manufacturer just can be absorbed in the other parts of product development, and shortens to market release production
The time of product.These features are for wishing lithographic dimensioned and for reducing the NAND suppliers of cost by reducing, with same
Importance.
BIOS upgrade files are stored under the root of USB flash disk.
Embodiment
As shown in figure 1, the invention provides a kind of BIOS upgrade methods, step includes:
1) making of BIOS upgrade files
The Driver bags read and write by 64bit SPI Driver or with eMMC enter in the BIOS file being upgraded,
Entitled " UsbAutoUpdate64.efi " of BIOS file, " DB64 " is the beginning mark of UsbAutoUpdate64.efi files
Show, UsbAutoUpdate64.efi is the driving source codes of the SPI based on Insyde UEFI frameworks of code building or carried
The Driver that eMMC reads and write, the part is that compiling comes out under compiling its environment at 64, because the system being upgraded is not true
Surely it is 64bit or 32bit, so what we read and write by 64bit SPI Driver or with eMMC herein
Driver bags enter in the BIOS file being upgraded, so as to upgrading BIOS on the machine under 64bit environment.
The Driver bags read and write by 32bit SPI Driver or with eMMC enter in the BIOS file being upgraded,
Entitled " UsbAutoUpdate32.efi " of BIOS file, " DB32 " is the beginning mark of UsbAutoUpdate32.efi files
Show, UsbAutoUpdate32.efi is the same with the source code that UsbAutoUpdate64.efi is generated, simply in 32bit translation and compiling environments
The lower Driver for compiling SPI Driver out or reading and write with eMMC;To upgrade under 32bit environment 32
BIOS。
" $ DB $ BIOS " are the beginning signs of upgrading BIOS file, and " Stage1, Stage2 " are the 2 of BIOS upgrade file
Why individual part, divide the 1 and 2 SPI Nor Flash sizes for being used only to see carrying BIOS, by two if size is enough big
Piece file mergence puts in together;If Nor Flash are not big enough, BIOS file is just divided into 2 parts and is placed on part 1
Inside Nor Flash, Part II is placed in the memory of mobile phone (eMMC).
2) BIOS upgrade files are stored in the DBBIOSUpdate catalogues of USB flash disk;
3) USB flash disk is checked for;
4) such as check and there is USB flash disk, then continue checking for whether there is DBBIOSUpdate catalogues in USB flash disk;
5) it is literary with the presence or absence of entitled DBBIOSUpdateByUsb.fv BIOS upgradings under the catalogue if there is checking again
Part
6) if it does, system will check that current system is 32bit or 64bit, then according to system operation ring
Border jump to corresponding sign position " DB64 " or " DB32 " enter " UsbAutoUpdate64.efi " or
In " UsbAutoUpdate32.efi " file;
7) " $ DB $ BIOS " then utilize UEFI SPI driving interfaces to the beginning sign of system searching upgrading BIOS file
Either eMMC driving reading interface goes the entity part by BIOS behind file to read out, and is then being written to accordingly
In SPI Nor Flash either eMMC;
8) system is restarted.
Although embodiment of the present invention is disclosed as above, it is not restricted in specification and embodiment listed
With it can be applied to various suitable the field of the invention completely, can be easily for those skilled in the art
Other modification is realized, therefore under the universal limited without departing substantially from claim and equivalency range, the present invention is not limited
In specific details and shown here as the legend with description.
Claims (6)
1.BIOS upgrade methods, it is characterised in that step includes:
1) USB flash disk is checked for;
2) such as check and there is USB flash disk, then continue checking for whether there is BIOS upgrade files, the BIOS upgrade files bag in USB flash disk
Include 64bit upgrade file and 32bit upgrade file;
3) such as check USB flash disk and there is system bios upgrade file, then system judges that current system is 32bit or 64bit;
4) such as judge that current system is 32bit, then system operation 32bit upgrade file, such as judge that current system is
64bit, then system operation 64bit upgrade file;
5) system is entered after corresponding upgrade file, is read upgrade file contents and is write in memory;
6) system is restarted.
2. BIOS upgrade methods according to claim 1, it is characterised in that the BIOS upgrade files are in UEFI frameworks
On the basis of realize.
3. BIOS upgrade methods according to claim 1, it is characterised in that the BIOS upgrade files are code buildings
SPI driving source codes or the Driver for reading and writing with eMMC based on Insyde UEFI frameworks.
4. BIOS upgrade methods according to claim 1, it is characterised in that BIOS upgrade files are divided into Part I and
Two parts, if carrying BIOS memory-size can accommodate Part I and Part II, by Part I and second
Part merges storage and arrived in the memory, if the carrying BIOS memory-size can not accommodate whole, then only
Part I is placed on inside SPI Nor Flash, Part II is placed in eMMC.
5. BIOS upgrade methods according to claim 2, it is characterised in that in step 5, system enters corresponding upgrading
After file, go to read BIOS upgrade files using UEFI SPI driving interfaces either eMMC driving interface, then in write-in
Into corresponding SPI Nor Flash either eMMC.
6. BIOS upgrade methods according to claims 1 to 5, it is characterised in that BIOS upgrade files are stored in the root of USB flash disk
Under catalogue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710178532.8A CN107153555A (en) | 2017-03-23 | 2017-03-23 | BIOS upgrade methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710178532.8A CN107153555A (en) | 2017-03-23 | 2017-03-23 | BIOS upgrade methods |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107153555A true CN107153555A (en) | 2017-09-12 |
Family
ID=59791721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710178532.8A Pending CN107153555A (en) | 2017-03-23 | 2017-03-23 | BIOS upgrade methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107153555A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657476A (en) * | 2018-12-14 | 2019-04-19 | 广东浪潮大数据研究有限公司 | The verification method and relevant apparatus of BIOS recovery file credible |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012830A (en) * | 2010-12-03 | 2011-04-13 | 深圳市元征软件开发有限公司 | Automatic upgrading method for equipment and equipment |
CN103164244A (en) * | 2013-03-15 | 2013-06-19 | 南京工业大学 | Firmware system long-distance updating methods based on unified extensible firmware interface |
CN103543785A (en) * | 2012-07-09 | 2014-01-29 | 鸿富锦精密工业(深圳)有限公司 | Connecting circuit of basic input output system |
-
2017
- 2017-03-23 CN CN201710178532.8A patent/CN107153555A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012830A (en) * | 2010-12-03 | 2011-04-13 | 深圳市元征软件开发有限公司 | Automatic upgrading method for equipment and equipment |
CN103543785A (en) * | 2012-07-09 | 2014-01-29 | 鸿富锦精密工业(深圳)有限公司 | Connecting circuit of basic input output system |
CN103164244A (en) * | 2013-03-15 | 2013-06-19 | 南京工业大学 | Firmware system long-distance updating methods based on unified extensible firmware interface |
Non-Patent Citations (1)
Title |
---|
燦燦隼: "华硕UEFI BIOS升级方式一:USB BIOS一键升级", 《HTTP://WWW.360DOC.COM/CONTENT/16/0105/02/29942259_525538365.SHTML》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657476A (en) * | 2018-12-14 | 2019-04-19 | 广东浪潮大数据研究有限公司 | The verification method and relevant apparatus of BIOS recovery file credible |
WO2020119138A1 (en) * | 2018-12-14 | 2020-06-18 | 广东浪潮大数据研究有限公司 | Method for verifying credibility of bios restored file and relevant device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107423169B (en) | Method and system for testing high speed peripheral device interconnection equipment | |
CN106557340B (en) | Configuration method and device | |
CN108415717B (en) | ZYNQ SOC firmware upgrading method and upgrading device | |
US9250868B2 (en) | System and method for generating a device driver using an archive of template code | |
CN101576853B (en) | Data access method and controller and memory system using same | |
CN102033770A (en) | Touch screen firmware upgrading method and device for mobile terminal | |
CN109426613B (en) | Method for retrieving debugging data in UEFI and computer system thereof | |
US20080229005A1 (en) | Multi Partitioned Storage Device Emulating Dissimilar Storage Media | |
CN101454746A (en) | Method for communication with a multi-function memory card | |
CN101021797A (en) | Repairing and staging method for software of embedded system | |
CN102375787A (en) | System and method for realizing interface by using memory window | |
US8265919B1 (en) | Emulating a peripheral mass storage device with a portable device | |
CN105022949A (en) | Handheld device for evidence fixing of Android phones and fixing method | |
CN109451098A (en) | FPGA accelerator card MAC Address configuration method, device and accelerator card | |
CN108694052B (en) | Firmware upgrading method, firmware upgrading device and firmware upgrading system | |
CN101788946B (en) | Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device) | |
CN105389180B (en) | A kind of USB port configurableization method based on Android platform | |
US20150143014A1 (en) | Support for ioapic interrupts in amba-based devices | |
CN109992556A (en) | A kind of I2C driving method and device | |
CN100361075C (en) | Method and device for quickly developing embedded system using automatic compilation frame | |
CN107153555A (en) | BIOS upgrade methods | |
CN103514074A (en) | MVB network card development method and platform | |
CN1290886B (en) | Method system for optimum byte and character processing | |
CN111782474A (en) | Log processing method and device, electronic equipment and medium | |
CN215006450U (en) | Feiteng X100 bridge piece embedding mainboard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170912 |