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

Method and device for flashing firmware program and startup logo

A firmware program and hardware address technology, which is applied in the computer field, can solve the problems of affecting work efficiency and the inconvenience of changing the boot map of the bios program, and achieve the effect of avoiding re-programming

Inactive Publication Date: 2015-07-15
深圳中电长城信息安全系统有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In computer hardware, the flash chip is usually used to store the firmware program of the basic input and output system of the bios (Basic Input Output System). The boot map is originally compiled in the bios program. When the customer needs to change the boot map, the entire bios program must be recompiled in combination with the boot map provided by the customer, and then the compiled bios program will be written in the form of a bin file. In the flash chip, this will make it very inconvenient to change the boot image for the bios program, and it will also greatly affect the work efficiency.

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 device for flashing firmware program and startup logo
  • Method and device for flashing firmware program and startup logo
  • Method and device for flashing firmware program and startup logo

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It shows the implementation flow of a firmware program and a programming method of a boot map provided by the first embodiment of the present invention, and is described in detail as follows:

[0033] S101, redistribute the flash space for storing the basic input and output system, and solidify the space for storing the firmware program and the boot map in the flash.

[0034] First, format the flash space for storing the basic input and output system. After the formatting is completed, allocate the hardware storage space of the flash according to the hardware storage address of the flash. As the storage space for the Loongson firmware program, the next second segment of 156K hardware storage space is used as the storage space for the boot map, and then the remaining storage space is allocated in turn. Specifically, it can be allocated to the storage space for storing environment variables and the boot map. Password storage space, and then the allocated storage...

Embodiment 2

[0039] figure 2 It shows the implementation flow of a firmware program and a programming method of a boot map provided by the second embodiment of the present invention, and is described in detail as follows:

[0040] S201. Redistribute the flash space storing the basic input output system, and allocate the flash space according to hardware addresses.

[0041] First, format the flash space for storing the basic input and output system, and then perform hardware allocation on the flash space after the formatting process. The specific allocation method can be carried out according to the address segment. The address with a total size of 0xc8000 (800kB) is the hardware storage space for storing firmware programs, and the allocated address segment is 0xc8000---0xeefff, and the address with a total size of 0x27000 (156kB) is the hardware storage space for storing the boot map. The allocated address segment is 0xfd800---0xfd9f4 space, the total size is 0x001f5 (500B) address is th...

Embodiment 3

[0050] image 3 A structural diagram of a firmware program and a programming device for a boot image provided by the third embodiment of the present invention is shown. For convenience of description, only the parts related to the embodiment of the present invention are shown.

[0051] The curing unit 31 is configured to redistribute the flash space for storing the basic input and output system, and cure the space for storing the firmware program and the boot map in the flash.

[0052] The curing unit is used to firstly format the flash space for storing the basic input and output system, and then allocate the hardware storage space of the flash according to the hardware storage address of the flash after the formatting process is completed. 800K is used as the storage space of Loongson firmware program, and the next second segment of 156K hardware storage space is used as the storage space of the boot map, and then the remaining storage space is allocated in turn, which can b...

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 is suitable for the field of computers, and provides a method and a device for flashing a firmware program and a startup logo. The method comprises the following steps: redistributing a flash space where stores a basic input output system, and solidifying a space where stores the firmware program and the startup logo in the flash; and in the setup interface of the basic input output system, writing the firmware program or the startup logo into the solidified space where stores the firmware program or the solidified space where stores the startup logo. The flash space where stores the basic input output system is redistributed, the space where stores the firmware program and the startup logo in the flash space is solidified, and therefore, the firmware program and the startup logo can be upgraded only by that a specific storage space is read and written when the firmware program and the startup logo are upgraded and changed.

Description

technical field [0001] The invention belongs to the field of computers, and in particular relates to a programming method and device for a firmware program and a boot map. Background technique [0002] In computer hardware, the flash chip is usually used to store the firmware program of the basic input and output system of the bios (Basic Input Output System). The boot map is originally compiled in the bios program. When the customer needs to change the boot map, the entire bios program must be recompiled in combination with the boot map provided by the customer, and then the compiled bios program will be written in the form of a bin file. In the flash chip, this will make it extremely inconvenient to change the boot image for the bios program, and it will also greatly affect the work efficiency. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide a method and device for programming a firmware program and a boot map, ai...

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/445
Inventor 邓念勤张伟进贾兵石明傅子奇
Owner 深圳中电长城信息安全系统有限公司
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