CN104572163A - UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer - Google Patents

UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer Download PDF

Info

Publication number
CN104572163A
CN104572163A CN201410112055.1A CN201410112055A CN104572163A CN 104572163 A CN104572163 A CN 104572163A CN 201410112055 A CN201410112055 A CN 201410112055A CN 104572163 A CN104572163 A CN 104572163A
Authority
CN
China
Prior art keywords
firmware
module
uefi
internal memory
initialization
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
Application number
CN201410112055.1A
Other languages
Chinese (zh)
Inventor
陈小春
张超
朱立森
王亚洲
张家定
赵丽娜
刘昊天
肖志坤
周文丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC Beijing Co
Original Assignee
CETC Beijing Co
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CETC Beijing Co filed Critical CETC Beijing Co
Priority to CN201410112055.1A priority Critical patent/CN104572163A/en
Publication of CN104572163A publication Critical patent/CN104572163A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a UEFI (Unified Extensible Firmware Interface) firmware implementation method based on a Loongson desk computer, and belongs to the technical field of computer firmware. Firmware is divided into a hardware abstraction layer, a firmware core layer, an equipment protocol layer and a firmware application layer, wherein the hardware abstraction layer is used for realizing the initialization of key hardware components such as a processor, an internal memory and a chipset, packaging and abstracting other board-level hardware and realizing the initialization, and also providing a function interface for accessing bottom-layer hardware equipment for an upper module; the firmware core layer is used for establishing a system service table in a UEFI to carry the out unified management of all modules in the firmware and the management of various resources; the equipment protocol layer is used for realizing various standard industrial specifications; the firmware application layer is used for realizing all functions of the firmware, such as interface configuration, system monitoring, file system and operating system guiding. The UEFI firmware implementation method can realize firmware products, with high expandability and perfect functions, meeting international mainstream UEFI firmware specifications on the Loongson desk computer so as to support the normal start and operation of the Loongson desk computer.

Description

A kind of UEFI firmware implementation method based on Godson desk-top computer
Technical field
The invention belongs to computer firmware technical field, relate to a kind of implementation method based on the UEFI firmware of Loongson processor desk side computer system (hereinafter referred to as Godson desktop computer).
Background technology
UEFI (Unified Extensible Firmware Interface, unified Extensible Firmware Interface) is the interface specification of a kind of computer firmware (or being called BIOS), is also the topmost industrial standard about firmware.UEFI specification is carry out formulating towards the Itanium of Intel Company and X 86 processor at first, but UEFI specification itself has nothing to do with processor architecture, is applied to the processor platforms such as X86, Itanium, ARM at present.The computer firmware (hereinafter referred to as UEFI firmware) meeting UEFI specification has lot of superiority relative to traditional firmware, and the X86 business computer system of current main flow is all have employed UEFI firmware substantially.
Godson (Loongson) calculates developed domestic general central processor by the Chinese Academy of Sciences, adopts MIPS reduced instruction set computer framework.Loongson processor has formed a series of product, can be applicable to embedded, desk-top, portable computer and server product respectively.Be applied to the Loongson processor mainly Godson 3A of desk-top computer product at present.
PMON is a firmware of increasing income, and is at first to design for LSI Logic MIPS R3000 evaluation board, becomes the generic firmware of MIPS field evaluation board and development system afterwards.The PMON firmware of official stops development, and up-to-date PMON2000 is the unofficial successive versions of PMON.Godson manufacturer adopts PMON2000 as the firmware of debug processor, and is applied in Godson desktop computer solution.But PMON exists a lot of not enough compared with the UEFI computer firmware of routine, be mainly manifested in: PMON project has just stopped upgrading very many years ago, seldom have producer use PMON or support it at computer industry circle, therefore PMON cannot carry out standardizing and being developed; Up-to-date computer technology is supported unlike UEFI firmware, PMON code is not supported a lot of technical manual, the support to some common functions cannot be realized, such as ACPI (power management techniques the most general at present), GRUB (operating system nucleus loader the most general at present) etc.; Compared with UEFI firmware, PMON does not adopt modular approach to carry out design and realizes, and extensibility is not strong, and development and maintenance is also inconvenient.
Summary of the invention
Object of the present invention, mainly in order to solve the defect of above-mentioned prior art, provides a kind of implementation method of the UEFI firmware based on Godson desktop computer.According to this method, can realize out on Godson desktop computer meeting that international mainstream UEFI firmware specification, extensibility are strong, the fastener product of perfect in shape and function, to support the normal start-up and operation of Godson desktop computer.
Based on an implementation method for the UEFI firmware of Godson desktop computer, firmware is divided into hardware abstraction layer, firmware core layer, device protocol layer and firmware application layer.
Wherein, hardware abstraction layer realizes the initialization of the key hardware components such as processor, internal memory, chipset, carries out packaging and abstract and realize initialization, simultaneously for upper layer module provides the function interface of access bottom hardware equipment to other plate level hardware.It comprises processor driver module, chipset driver module and peripheral hardware driver module, and processor driver module completes the initial work of processor, internal memory, and provides the interface of access processor and internal memory; Chipset driver module mainly completes the initial work of the Central-South north bridge chips of Godson desktop computer hardware platform, comprises initialization and the Resourse Distribute work of bridge sheet itself and each peripheral control unit, and provides the interface of access north and south bridge; The mainly driving of various peripheral hardware on mainboard of peripheral hardware driver module, as video card, hard disk, keyboard, USB device, network interface card etc., each peripheral hardware can corresponding (or multiple) driver module.
Firmware core layer is similar to the kernel of operating system, sets up the system service table in UEFI, carries out the unified management of all modules in firmware and the management of various resource.It comprises firmware core loading module, firmware nucleus module and architecture functional module, firmware core loading module is responsible for loading firmware nucleus module, and prepare running environment for it, service (Runtime Service) table when firmware nucleus module is responsible for setting up the startup service (Boot Service) in UEFI specification and runs, load, run other functional modules, what manage between each module is mutual, realize the management of internal memory, realize and safeguard tick interrupt and case mechanism, realize and safeguard the level of privilege mechanism of firmware application, realize the administrative mechanism of the Protocol defined in UEFI specification, realize other Mechanism and FunctionsDNAs that UEFI code requirement realizes, as debugging interface, compression algorithm, variable storage/process etc.Architectural Protocol in architecture Implement of Function Module UEFI specification, comprises multiple functional module, and each module realizes an Architectural Protocol.Each Architectural Protocol comprises some infrastructure service interfaces, calls for other functional modules in firmware.
Device protocol layer realizes the industrial specification of various standard, comprises bus protocol, Peripheral Interface, network protocol stack etc.It comprises bus protocol module and network protocol stack module, and bus protocol module realizes various bus protocol, as PCI/PCIE, SATA, PATA, SCSI, USB, ISA, SMBUS, LPCBUS etc.Normally a module realizes a kind of bus protocol, and passes through the interface of Protocol mechanism " issue " these buses in UEFI specification, and other modules just can use these interfaces to visit bus like this; Network protocol stack module realizes network protocol stack, and as TCP/IP, SNP, DHCP, TFTP etc., other modules can realize the relevant function of network based on these protocol stacks like this.
Firmware application layer realizes the various functions of firmware, as configuration interface, system monitoring, file system, booting operating system etc.; It comprises device scan module, man-machine interface display module, system-monitoring module, system start module, file system module, kernel loads module, module and Shell module when running, device scan module enumerates all external units in system, as the equipment in PCI/PCIE bus, for these equipment Resources allocation, and equipment and corresponding peripheral hardware driver module are carried out Connect (also namely giving this device drives to manage); Man-machine interface display module is positioned on video driver module, realizes the interface that all displays are relevant, as arranged display mode, at ad-hoc location printable character string, Show Picture, cls etc.; The real-time check processing actuator temperature of system-monitoring module, system voltage and rotation speed of the fan, adjust the rotating speed of fan according to temperature value; Allow user's design temperature threshold value, when temperature is too high, carry out automatic shutdown; System starts module provides patterned user's configuration interface, and user, by the mode of menu operation, checks system information and is configured system.Finally according to the selection of user, start the operating system from memory device; File system module realizes FAT/FAT32, EXT2/3/4 and ISO9660 file system, supports the read operation to file; The final stage that kernel loads module starts in system, kernel file is loaded in internal memory by this module from the storage mediums such as hard disk, USB flash disk, CD, and preparing necessary parameter for kernel file, the entrance then jumping to kernel performs, and has so just given operating system by control; The confession operating system that during operation, module achieves the definition of UEFI specification call in its operation phase operation time (Runtime) interface, and some interfaces that the operating system of dragon chip processor platform and firmware define, as system reboot, shutdown etc.; Shell module Shell is the command line environment that UEFI firmware provides, and based on a large amount of interface service provided in UEFI firmware, can develop the multiple firmware application programs under Shell.
The carrying out practically step of the UEFI firmware based on Godson desktop computer of the present invention is as follows:
(1) initialization processor, internal memory, sets up the Essential Environment that firmware runs;
(2) UEFI firmware code is copied to internal memory, and decompress(ion) is carried out to firmware, loading firmware nucleus module;
(3) infrastructure service of UEFI firmware is set up;
(4) load UEFI firmware functional module, comprise architecture functional module, device protocol module;
(5) scanning device is also equipment distributing system resource, loading equipemtn driver module, finishing equipment initialization;
(6) load and execution firmware application module;
(7) configuration interface is run;
(8) from memory device load operation system.
In above-mentioned steps, in step (1), perform processor driver module.Processor driver module adopts MIPS assembly language to realize, and be the module first performed after system electrification, now internal memory does not also complete initialization, so this module is directly run in FLASH chip.Processor driver module realizes the initialization such as Godson 3A processor, Cache (high-speed cache), internal memory, TLB (bypass conversion buffered), realize the initialization of MCU (Memory Controller Hub), SMBUS and internal memory, allocate memory address window, and the interface that the parts such as access CPU, Cache, internal memory are provided.Processor driver module also wants the serial port module in initialization processor, provides debugging method for follow-up firmware code.
In above-mentioned steps, in step (2), perform firmware core loading module.After step (1) is complete, Installed System Memory initialization is good, and now firmware code can run to accelerate travelling speed in internal memory; And firmware code can be realized by C language, Speeding up development speed.The functional module comprised in firmware is more, and the finite capacity of FLASH chip, generally need the firmware volume depositing functional module to compress, firmware core loading module is responsible for the firmware volume of compression being copied in internal memory from FLASH, and carries out decompress(ion); After decompress(ion) success, in internal memory, create HOB (Hand-Off Block) tables of data, deposit the system informations such as processor, internal memory, FLASH, be supplied to follow-up firmware module and use; Finally, control is given firmware nucleus module by firmware core loading module.
In above-mentioned steps, in step (3), perform firmware nucleus module.The system service of firmware nucleus module first initialization UEFI, for follow-up functional module loading, run and prepare.Mainly complete the initialization of agent list when UEFI system table, UEFI startup agent list and UEFI run, specific service comprises code debugging, memory management, the management of UEFI mirror image, HOB, UEFI clock, FLASH access, decompression, firmware volume parsing, UEFI event, task priority, UEFI Protocol management, UEFI variable access etc.System service table leaves the specific region of internal memory in, and all functions module in UEFI firmware can call these system services.
In above-mentioned steps, the functional module of firmware nucleus module loading firmware in step (4).Firmware nucleus module, by retrieval firmware volume, is searched functional module wherein successively, and is loaded in internal memory.Each functional module is compiled into the performed mirror image of a PE/ELF form, and firmware nucleus module needs analytical capabilities module mirror image, is then loaded into the particular address place of internal memory, and jumps to entrance function.After the entrance function of functional module is complete, usually can turn back to firmware nucleus module, firmware nucleus module proceeds the loading of next functional module.
The module be loaded in step (4) comprises architecture functional module, device protocol module.Wherein, architecture functional module major function is the Architectural Protocol realized in UEFI specification, mainly comprise: Boot Device Selection (BDS), CPU, Metronome, Monotonic Counter, Real TimeClock, Runtime, Security, Status Code, Timer, Variable, Variable Write, WatchdogTimer, each Architectural Protocol is realized by a module; Device protocol layer module mainly realizes the function interface of accessing the buses such as PCI/PCIE, SATA, PATA, SCSI, USB, ISA, SMBUS, LPCBUS, and be encapsulated in Protocol and call for other functional modules, normally a module realizes a kind of bus protocol.In addition, the functional module realizing TCP/IP network protocol stack is also comprised;
In above-mentioned steps, the initialization of finishing equipment in step (5).Firmware nucleus module loading equipemtn driver module, realize the initialization of peripheral hardware on mainboard and realize the function interface of access peripheral hardware, comprising north and south bridge chip, video card, SATA/IDE controller, USB controller, SMBUS controller, LPC controller, keyboard, network interface card etc.Usually a kind of device drives is realized by a module.In addition, in this stage by all peripheral hardwares in device scan module scans system, and be peripheral assignment internal memory, IO and interrupt resources, such peripheral hardware could normally work under an operating system.
In above-mentioned steps, the firmware application module in step (6) in firmware nucleus module loading firmware volume, and realize corresponding firmware function.Comprise display module, system-monitoring module, file system module, kernel loads module, run time module, Shell module, system start module.Finally, control is given system and is started module by firmware nucleus module, prepares to start the operating system.
In above-mentioned steps, in step (7), system starts the service interface that module provides by calling firmware nucleus module and other functional modules, demonstrates figure configuration interface as human-computer interaction interface.In this stage, firmware carries out next step work according to the operation of user, comprises and provides the display of system information and the configuration of systematic parameter, and the equipment that selection will start, and comprises hard disk, CD, USB flash disk, network, order line etc.User exits configuration interface by specific keys and enters into next execution step.
In above-mentioned steps, in step (8), realize the startup of operating system.According to user configured boot sequence, system starts module and to attempt operating system nucleus files loading successively from media such as hard disk, CD, USB flash disk, networks to internal memory, and prepare necessary start-up parameter for kernel, then give kernel by control, thus the startup work of completion system.After os starting completes, still can call a small amount of function that when running in firmware, module provides, comprise system reboot, shutdown etc.
Beneficial effect:
1, method of the present invention meets UEFI and the PI firmware specification of international mainstream, and the Open Source Code resource that UEFI alliance can be utilized to provide realizes firmware fast; A lot of peripheral hardware board manufacturer all provides the driving based on UEFI specification, also greatly can accelerate the progress of firmware development.In addition, the computer industry standard that the support of UEFI firmware is main, as ACPI (advanced configuration and the power-management interface) specification that current Loongson processor is not also supported, the firmware adopting the present invention to design like this can increase the support to these specifications easily.
2, the important feature of the UEFI firmware of the present invention's design is high modularization, and the function that firmware will realize is broken down into a lot of subfunction, and each subfunction is realized by independent module, and loads and manage these functional modules by a nucleus module.Therefore the function of customized firmware easily can be carried out by additions and deletions module.
Accompanying drawing explanation
Fig. 1 is the configuration diagram of the UEFI firmware based on Godson desktop computer.
Embodiment
To develop simultaneously embodiment below in conjunction with accompanying drawing, describe the present invention.
As accompanying drawing 1 represents, below for the development board that a model of section's company designs in Godson is MBLS3A-RS780E, introduce the embodiment of the UEFI firmware that the present invention describes.Mainly comprise the following steps:
(1) realize the functional module in STU stage, comprise two modules, these two modules will be placed to the starting position of FLASH chip successively after compiling, and are performed successively upon power-up of the system.Comprise:
(1.1) a Start module, i.e. processor driver module is created.The initialization such as processor, Cache (high-speed cache), internal memory, address window, TLB (bypass conversion buffered) are realized according to Godson 3A processor handbook, realize the initialization of MCU (Memory Controller Hub), SMBUS and internal memory, and the interface of the parts such as access CPU, Cache, internal memory is provided;
(1.2) a Sec module is created.The function of the realization of this module is included in internal memory and creates the data structure that some deposit processor, memory information, unzips in internal memory by the functional module in FLASH chip, last load and execution firmware nucleus module DxeCore.
(2) firmware nucleus module DxeCore is realized.The function realized mainly comprises: agent list when realizing the startup service that defines in UEFI specification and run, load, run other functional modules, what manage between each module is mutual, realize the management of internal memory, realize and safeguard tick interrupt and case mechanism, realizing and safeguard the level of privilege mechanism of firmware application, realize the administrative mechanism of the Protocol defined in UEFI specification, optimized integration function library, and debugging interface, compression algorithm, variable storage/process etc.
(3) realize Architectural Protocol, comprise Variable, Variable Write, Timer, CPU, Metronome, Monotonic Counter, Status Code, Watchdog Timer, RTC, BDS.A module realizes a kind of Architectural Protocol.
(4) peripheral hardware driver module is realized.Comprise:
(4.1) driver module of chipset is realized.Initialization to AMD RS780 north bridge chips, AMD SB710 South Bridge chip is realized according to chipset handbook, and the initialization of pci bus, USB, SATA/IDE, LPC/SMBUS bus, HD Audio controller in South Bridge chip.
(4.2) realize peripheral hardware driver module, comprise video driver, USB storage device driving, the driving of PS2 keyboard drive, USB keyboard drive, SATA device drives, IDE device drives, trawl performance, tick interrupt.
(4.3) realize peripheral hardware enumeration module, enumerate the equipment in PCI/PCIE bus, and be equipment distribution IO, internal memory and interrupt resources.
(5) realize bus driver block, comprise PCI/PCIE, SATA, PATA, SCSI, USB, ISA, SMBUS, LPCBUS, a module realizes a kind of bus protocol.
(6) firmware application layer module is realized.Mainly comprise:
(6.1) graphical interfaces module is realized.A patterned configuration interface or command line environment can be realized, support that user checks processor model and frequency, memory size and frequency, system time, boot sequence, peripheral hardware list etc., and allow user to be configured system time, boot sequence;
(6.2) realize file system module, support the read operation to FAT/FAT32, EXT2/3/4 and ISO9660 file system;
(6.3) boot kernel module is realized, the operational factor that data structure needs with deposit operation system is created in internal memory, and according to the configuration of user, from hard disk, USB flash disk, CD or network load operation system kernel file to internal memory, finally give operating system nucleus by control;
(6.4) system that realizes starts module, and its function comprises: load configuration interface, realize the loading of operating system.
(6.5) Shell module is realized, user can start to Shell command line environment by arranging boot sequence in configuration interface, and Shell provides multiple order to realize file in the checking of system information, device parameter configuration, access storage media, equipment control and test, os starting etc.
In above-mentioned steps, for the module relevant to particular hardware platform, as Godson 3A processor, AMDRS780+SB710 chipset, the general user manual according to hardware or the Open Source Code with reference to producer of needing is developed; For the general module irrelevant with hardware platform, as DxeCore module, ArchitecturalProtocol module, bus protocol, network protocol stack, SATA/IDE device drives, USB storage device driving, keyboard drive, file system, BDS module etc., the module and code that provide in EDK II can be adopted; For the functional module of firmware, as configuration interface, operating system loading etc., need to develop according to real needs; For video driver, due to OPROM (the Option ROM on video card, the driving that video card producer provides) be x86 instruction set, the Loongson processor of MIPS instruction set cannot perform, so adopt an X86 emulation module of increasing income to explain the OPROM performing video card in firmware, realize the initialization to video card.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. based on a UEFI firmware implementation method for Godson desk-top computer, it is characterized in that, described UEFI firmware is divided into hardware abstraction layer, firmware core layer, device protocol layer and firmware application layer.
Wherein, described hardware abstraction layer realizes the initialization of the key hardware components such as processor, internal memory, chipset, carries out packaging and abstract and realize initialization, simultaneously for upper layer module provides the function interface of access bottom hardware equipment to other plate level hardware; Described firmware core layer class sets up the system service table in UEFI, carries out the unified management of all modules in firmware and the management of various resource; Described device protocol layer realizes the industrial specification of various standard; Described firmware application layer realizes the function of the configuration interface of firmware, system monitoring, file system, booting operating system;
The carrying out practically step of described UEFI firmware is as follows:
(1) initialization processor, internal memory, sets up the Essential Environment that firmware runs;
(2) UEFI firmware code is copied to internal memory, and decompress(ion) is carried out to firmware, loading firmware nucleus module;
(3) infrastructure service of UEFI firmware is set up;
(4) load UEFI firmware functional module, comprise architecture functional module, device protocol module;
(5) scanning device is also equipment distributing system resource, loading equipemtn driver module, finishing equipment initialization;
(6) load and execution firmware application module;
(7) configuration interface is run;
(8) from memory device load operation system.
2. as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, in above-mentioned steps, in step (1), perform processor driver module; Processor driver module adopts MIPS assembly language to realize, and be the module first performed after system electrification, now internal memory does not also complete initialization, so this module is directly run in FLASH chip; Processor driver module realizes Godson 3A processor, high-speed cache, internal memory, the initialization such as bypass conversion buffered, realize the initialization of Memory Controller Hub, SMBUS and internal memory, allocate memory address window, and the interface that the parts such as access CPU, Cache, internal memory are provided; Processor driver module also wants the serial port module in initialization processor, provides debugging method for follow-up firmware code.
3. as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, in above-mentioned steps, in step (2), perform firmware core loading module; After step (1) is complete, Installed System Memory initialization is good, and now firmware code runs to accelerate travelling speed in internal memory; Firmware code is realized, Speeding up development speed by C language; The firmware volume depositing functional module compressed, firmware core loading module is responsible for the firmware volume of compression being copied in internal memory from FLASH, and carries out decompress(ion); After decompress(ion) success, in internal memory, create HOB (Hand-OffBlock) tables of data, deposit the system informations such as processor, internal memory, FLASH, be supplied to follow-up firmware module and use; Finally, control is given firmware nucleus module by firmware core loading module.
4. as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, in above-mentioned steps, in step (3), perform firmware nucleus module; The system service of firmware nucleus module first initialization UEFI, for follow-up functional module loading, run and prepare; Specific service comprises code debugging, memory management, the management of UEFI mirror image, HOB, UEFI clock, FLASH access, decompression, firmware volume parsing, UEFI event, task priority, UEFI Protocol management, UEFI variable access; System service table leaves the specific region of internal memory in, and all functions module in UEFI firmware can call these system services.
5., as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, in above-mentioned steps, the functional module of firmware nucleus module loading firmware in step (4); Firmware nucleus module, by retrieval firmware volume, is searched functional module wherein successively, and is loaded in internal memory.Each functional module is compiled into the performed mirror image of a PE/ELF form, and firmware nucleus module needs analytical capabilities module mirror image, is then loaded into the particular address place of internal memory, and jumps to entrance function.
6., as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, the module be loaded in step (4) comprises architecture functional module, device protocol module; Wherein, architecture functional module major function is the Architectural Protocol realized in UEFI specification, mainly comprise: Boot Device Selection (BDS), CPU, Metronome, Monotonic Counter, Real Time Clock, Runtime, Security, Status Code, Timer, Variable, Variable Write, Watchdog Timer, each Architectural Protocol is realized by a module; Device protocol layer module mainly realizes the function interface of accessing the bus such as PCI/PCIE, SATA, PATA, SCSI, USB, ISA, SMBUS, LPCBUS, and is encapsulated in Protocol and calls for other functional modules; In addition, the functional module realizing TCP/IP network protocol stack is also comprised.
7. the UEFI firmware implementation method based on Godson desk-top computer as described in claim l, is characterized in that, in above-mentioned steps, and the initialization of finishing equipment in step (5); Firmware nucleus module loading equipemtn driver module, realize the initialization of peripheral hardware on mainboard and realize the function interface of access peripheral hardware, comprising north and south bridge chip, video card, SATA/IDE controller, USB controller, SMBUS controller, LPC controller, keyboard, network interface card etc.
8. the UEFI firmware implementation method based on Godson desk-top computer as described in claim l, is characterized in that, in above-mentioned steps, and the firmware application module in step (6) in firmware nucleus module loading firmware volume, and realize corresponding firmware function; Comprise display module, system-monitoring module, file system module, kernel loads module, run time module, Shell module, system start module.Finally, control is given system and is started module by firmware nucleus module, prepares to start the operating system.
9. as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, in above-mentioned steps, in step (7), system starts the service interface that module provides by calling firmware nucleus module and other functional modules, demonstrates figure configuration interface as human-computer interaction interface; In this stage, firmware carries out next step work according to the operation of user, comprises and provides the display of system information and the configuration of systematic parameter, and the equipment that selection will start, and comprises hard disk, CD, USB flash disk, network, order line etc.User exits configuration interface by specific keys and enters into next execution step.
10., as claimed in claim 1 based on the UEFI firmware implementation method of Godson desk-top computer, it is characterized in that, in above-mentioned steps, in step (8), realize the startup of operating system.According to user configured boot sequence, system starts module and to attempt operating system nucleus files loading successively from media such as hard disk, CD, USB flash disk, networks to internal memory, and prepare necessary start-up parameter for kernel, then give kernel by control, thus the startup work of completion system; After os starting completes, still can call a small amount of function that when running in firmware, module provides, comprise system reboot and shutdown.
CN201410112055.1A 2014-03-21 2014-03-21 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer Pending CN104572163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410112055.1A CN104572163A (en) 2014-03-21 2014-03-21 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410112055.1A CN104572163A (en) 2014-03-21 2014-03-21 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer

Publications (1)

Publication Number Publication Date
CN104572163A true CN104572163A (en) 2015-04-29

Family

ID=53088325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410112055.1A Pending CN104572163A (en) 2014-03-21 2014-03-21 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer

Country Status (1)

Country Link
CN (1) CN104572163A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677412A (en) * 2016-01-06 2016-06-15 无锡中太服务器有限公司 Method for providing PCIE card configuration capacity in OpenPower CPU architecture server BOOT
CN106909345A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of UEFI firmware implementation methods based on desktop computer
CN107346162A (en) * 2016-05-05 2017-11-14 研祥智能科技股份有限公司 Method for managing power supply and device under UEFI
CN110363011A (en) * 2019-07-19 2019-10-22 腾讯科技(深圳)有限公司 Method and apparatus for verifying the safety of the BIOS based on UEFI
CN111949329A (en) * 2020-08-07 2020-11-17 苏州浪潮智能科技有限公司 AI chip task processing method and device based on x86 architecture
CN113360257A (en) * 2021-04-16 2021-09-07 山东英信计算机技术有限公司 Information operation method and device based on BIOS, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650647A (en) * 2008-08-12 2010-02-17 武汉卓华软件有限责任公司 Compatibility method for EFI platform
CN102023880A (en) * 2010-11-04 2011-04-20 天津曙光计算机产业有限公司 Basic input/output system (BIOS) for godson blade
CN102591669A (en) * 2011-01-06 2012-07-18 南京百敖软件股份有限公司 Modularized computer firmware and realizing method thereof
EP1677175B1 (en) * 2004-12-31 2013-08-28 ST-Ericsson SA Dynamic power management in system on chips (SOC)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1677175B1 (en) * 2004-12-31 2013-08-28 ST-Ericsson SA Dynamic power management in system on chips (SOC)
CN101650647A (en) * 2008-08-12 2010-02-17 武汉卓华软件有限责任公司 Compatibility method for EFI platform
CN102023880A (en) * 2010-11-04 2011-04-20 天津曙光计算机产业有限公司 Basic input/output system (BIOS) for godson blade
CN102591669A (en) * 2011-01-06 2012-07-18 南京百敖软件股份有限公司 Modularized computer firmware and realizing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜振龙 等: ""MIPS架构计算机平台的支持固件研究"", 《兰州理工大学学报》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909345A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of UEFI firmware implementation methods based on desktop computer
CN105677412A (en) * 2016-01-06 2016-06-15 无锡中太服务器有限公司 Method for providing PCIE card configuration capacity in OpenPower CPU architecture server BOOT
CN107346162A (en) * 2016-05-05 2017-11-14 研祥智能科技股份有限公司 Method for managing power supply and device under UEFI
CN107346162B (en) * 2016-05-05 2021-03-19 研祥智能科技股份有限公司 Power management method and device under UEFI (unified extensible firmware interface)
CN110363011A (en) * 2019-07-19 2019-10-22 腾讯科技(深圳)有限公司 Method and apparatus for verifying the safety of the BIOS based on UEFI
CN110363011B (en) * 2019-07-19 2024-05-07 腾讯科技(深圳)有限公司 Method and apparatus for verifying security of UEFI-based BIOS
CN111949329A (en) * 2020-08-07 2020-11-17 苏州浪潮智能科技有限公司 AI chip task processing method and device based on x86 architecture
CN111949329B (en) * 2020-08-07 2022-08-02 苏州浪潮智能科技有限公司 AI chip task processing method and device based on x86 architecture
CN113360257A (en) * 2021-04-16 2021-09-07 山东英信计算机技术有限公司 Information operation method and device based on BIOS, storage medium and equipment
CN113360257B (en) * 2021-04-16 2022-12-20 山东英信计算机技术有限公司 Information operation method and device based on BIOS, storage medium and equipment

Similar Documents

Publication Publication Date Title
CN104572165B (en) A kind of UEFI firmware implementation methods based on FT server
CN104572061A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson server
CN104572164A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng portable computer
CN104572161B (en) A kind of UEFI firmware implementation methods based on Godson portable computer
US9880867B2 (en) Method and subsystem for data exchange between a guest operating system and a virtualization layer
CN101076782B (en) Method and device for providing virtual blade server
CN104572163A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer
TWI262443B (en) Method, system and recording medium for automatically configuring data processing system
EP2705422B1 (en) Dynamically redirecting boot to another operating system
US20090265708A1 (en) Information Processing Apparatus and Method of Controlling Information Processing Apparatus
US10725770B2 (en) Hot-swapping operating systems using inter-partition application migration
CN106909399A (en) A kind of UEFI firmware implementation methods based on server computer
CN104572162A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson handheld computer
CN106909349A (en) A kind of UEFI firmware implementation methods based on server
TW201520894A (en) Platform system, method for varying supporting hardware configuration of universal extensible firmware interface basic input output system, recording medium, and computer program product
US20210334195A1 (en) Verifying a software or firmware update using a container before deploying to a client
US10303487B2 (en) System and method for booting an information handling system
CN101650647A (en) Compatibility method for EFI platform
CN101620573B (en) Virtualization method of memory management unit of X86 system structure
CN106909400A (en) A kind of UEFI firmware implementation methods based on notebook
CN106909346A (en) A kind of UEFI firmware implementation methods based on integrated computer
US20130159689A1 (en) Method and apparatus for initializing embedded device
CN104572166A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng desk computer
CN103984572A (en) Method and equipment for realizing computer installation and operating system switch without CD driver
CN100437494C (en) Method of dynamic updating resource configuration state

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Xiaochun

Inventor after: Zhao Lina

Inventor after: Liu Haotian

Inventor after: Xiao Zhikun

Inventor after: Zhou Wendan

Inventor after: Zhang Chao

Inventor after: Ren Tong

Inventor after: Lei Yang

Inventor after: Bai Hao

Inventor after: Yang Xiongjun

Inventor after: Zhu Lisen

Inventor after: Wang Yazhou

Inventor after: Zhang Jiading

Inventor before: Chen Xiaochun

Inventor before: Zhang Chao

Inventor before: Zhu Lisen

Inventor before: Wang Yazhou

Inventor before: Zhang Jiading

Inventor before: Zhao Lina

Inventor before: Liu Haotian

Inventor before: Xiao Zhikun

Inventor before: Zhou Wendan

CB03 Change of inventor or designer information
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429

WD01 Invention patent application deemed withdrawn after publication