CN111190749A - Server and method for data exchange between BMC and BIOS - Google Patents

Server and method for data exchange between BMC and BIOS Download PDF

Info

Publication number
CN111190749A
CN111190749A CN201911342010.2A CN201911342010A CN111190749A CN 111190749 A CN111190749 A CN 111190749A CN 201911342010 A CN201911342010 A CN 201911342010A CN 111190749 A CN111190749 A CN 111190749A
Authority
CN
China
Prior art keywords
bmc
bios
memory space
reserved memory
server
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
CN201911342010.2A
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.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing Co Ltd
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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201911342010.2A priority Critical patent/CN111190749A/en
Publication of CN111190749A publication Critical patent/CN111190749A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Abstract

The invention discloses a server and a method for data exchange between BMC and BIOS, wherein the method comprises the following steps: allocating a section of reserved memory space in the memory space of the BMC of the server; and the BMC and the BIOS carry out data exchange by sharing the reserved memory space. Through the technical scheme, the invention can realize efficient and reliable big data exchange between the BMC and the BIOS.

Description

Server and method for data exchange between BMC and BIOS
Technical Field
The invention relates to the technical field of servers, in particular to a server and a method for data exchange between BMC and BIOS.
Background
At present, clients increasingly need to customize the server, and the BMC, as a health monitoring module of the server, not only needs to monitor various health states of the server, but also serves as a remote interface to display various software and hardware asset information and the like of the server. Due to the limitation of hardware design, a large amount of related information needs to be acquired by the BMC or the BIOS from the BMC, so that a large amount of data exchange exists between the BMC and the BIOS in the BIOS starting process. The KCS interface is used as a main bridge for communication between the current BMC and the BIOS, and the IPMI of the KCS interface and the BMC is quite busy due to a large amount of data transmission, so that the problem that the BIOS Hang is caused by errors caused by the fact that the KCS or the IPMI is busy in the BIOS starting process often occurs.
The currently used communication interface KCS between the BMC and the BIOS is limited by an ipmi protocol mode, a bottleneck exists in data transmission speed, efficiency and stability are not very reliable in a large data transmission process, data exchange between the BIOS and the BMC is wrong, and therefore a retry mechanism has to be added to the BIOS to transmit data, and accordingly starting time of the BIOS is affected. A more efficient and reliable method is needed to solve the problem of large data exchanges between the BMC and the BIOS.
Disclosure of Invention
In view of the above problems in the related art, the present invention provides a server and a method for data exchange between a BMC and a BIOS, which can implement efficient and reliable big data exchange between the BMC and the BIOS.
The technical scheme of the invention is realized as follows:
according to one aspect of the invention, a method for data exchange between a BMC and a BIOS is provided, which comprises the following steps:
allocating a section of reserved memory space in the memory space of the BMC of the server;
the BMC and the BIOS perform data exchange by sharing the reserved memory space.
According to an embodiment of the invention, the BMC is anticipated 2500 having a P2A bridge interface, wherein the BIOS accesses the BMC's reserved memory space through the P2A bridge interface.
According to the embodiment of the invention, when the BMC and the BIOS exchange data, the BIOS directly reads and writes to access the reserved memory space.
According to another aspect of the present invention, a server is provided, which includes a BMC having a reserved memory space in a memory space of the BMC, wherein the BMC and the BIOS perform data exchange by sharing the reserved memory space.
According to an embodiment of the invention, the BMC is anticipated 2500 having a P2A bridge interface, wherein the BIOS accesses the BMC's reserved memory space through the P2A bridge interface.
According to the embodiment of the invention, when the BMC and the BIOS exchange data, the BIOS directly reads and writes to access the reserved memory space.
The invention realizes the data exchange between the BMC and the BIOS by utilizing the memory address space reserved by the BMC and sharing the memory. Therefore, the BIOS is not limited by the mode of KCS and ipmi protocol, and the problems of the BIOS starting process Hang and the overlong BIOS starting time caused by the bottleneck of the data transmission speed are avoided, so that the BIOS is started more smoothly, and the starting speed is increased.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow diagram of a method of data exchange between a BMC and a BIOS in accordance with an embodiment of the invention;
FIG. 2 is a flow diagram of a method for data exchange between a BMC and a BIOS in accordance with another embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
FIG. 1 is a flow diagram of a method for data exchange between a BMC and a BIOS in accordance with an embodiment of the invention. As shown in fig. 1, the method provided by the present invention may include the following steps:
s11, allocating a reserved memory space in the memory space of the BMC (baseboard controller) of the server. The allocated reserved memory may be used for BIOS read and write access.
S12, the BMC and the BIOS (Basic Input Output System) exchange data by sharing the reserved memory space.
According to the technical scheme, the data exchange between the BMC and the BIOS is realized by utilizing the memory address space reserved by the BMC and sharing the memory. Therefore, the BIOS is not limited by the mode of KCS and ipmi protocol, and the problems of the BIOS starting process Hang and the overlong BIOS starting time caused by the bottleneck of the data transmission speed are avoided, so that the BIOS is started more smoothly, and the starting speed is increased.
More specifically, referring to FIG. 2, existing downloaded 2500 (and later versions) provides an interface P2A bridge that BIOS can use to access the BMC's internal resource space. In the memory space of the BMC, like BMC VGA (Video Graphics Array ) Video memory reservation, a section of memory can be allocated for BIOS read-write access. The data exchange between the BMC and the BIOS is more efficient and reliable than the KCS transmission by using a shared memory mode. The invention utilizes the reserved memory address space of the BMC VGA to realize the large data exchange between the BMC and the BIOS in a memory sharing mode. As shown in fig. 2, a fixed memory space accessible by the BIOS and a predefined data structure are allocated for the BMC and the BIOS to access, so as to exchange data between the BMC and the BIOS.
According to an embodiment of the present invention, there is also provided a server, including a BMC, where a memory space of the BMC has a reserved memory space, and the BMC and the BIOS perform data exchange by sharing the reserved memory space.
According to an embodiment of the invention, the BMC is anticipated 2500 having a P2A bridge interface, wherein the BIOS accesses the BMC's reserved memory space through the P2A bridge interface.
According to the embodiment of the invention, when the BMC and the BIOS exchange data, the BIOS directly reads and writes to access the reserved memory space.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A method for data exchange between a BMC and a BIOS, comprising:
allocating a section of reserved memory space in the memory space of the BMC of the server;
and the BMC and the BIOS carry out data exchange by sharing the reserved memory space.
2. The method of data exchange between the BMC and the BIOS of claim 1,
the BMC is anticipated 2500 having a P2A bridge interface, wherein the BIOS accesses the reserved memory space of the BMC through the P2A bridge interface.
3. The method of claim 1, wherein the BIOS directly accesses the reserved memory space by reading and writing when the BMC exchanges data with the BIOS.
4. A server is characterized by comprising a BMC, wherein a reserved memory space is arranged in the memory space of the BMC,
and the BMC and the BIOS exchange data by sharing the reserved memory space.
5. The server of claim 4, wherein the BMC is anticipated 2500 having a P2A bridge interface, wherein the BIOS accesses the reserved memory space of the BMC through the P2A bridge interface.
6. The server of claim 4, wherein the BIOS has direct read-write access to the reserved memory space when the BMC exchanges data with the BIOS.
CN201911342010.2A 2019-12-24 2019-12-24 Server and method for data exchange between BMC and BIOS Pending CN111190749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911342010.2A CN111190749A (en) 2019-12-24 2019-12-24 Server and method for data exchange between BMC and BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911342010.2A CN111190749A (en) 2019-12-24 2019-12-24 Server and method for data exchange between BMC and BIOS

Publications (1)

Publication Number Publication Date
CN111190749A true CN111190749A (en) 2020-05-22

Family

ID=70707502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911342010.2A Pending CN111190749A (en) 2019-12-24 2019-12-24 Server and method for data exchange between BMC and BIOS

Country Status (1)

Country Link
CN (1) CN111190749A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666236A (en) * 2020-06-13 2020-09-15 曙光信息产业(北京)有限公司 Server and communication method
CN113626214A (en) * 2021-07-16 2021-11-09 浪潮电子信息产业股份有限公司 Information transmission method, system, electronic equipment and storage medium
CN114253749A (en) * 2022-02-25 2022-03-29 苏州浪潮智能科技有限公司 Interaction method and device, electronic equipment and storage medium
JP2022104857A (en) * 2020-12-30 2022-07-12 技嘉科技股▲ふん▼有限公司 Server firmware data transfer method and device via http/https
CN114765604A (en) * 2020-12-30 2022-07-19 技嘉科技股份有限公司 Data transmission method and device of server firmware through HTTP/HTTPS

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850485A (en) * 2015-05-25 2015-08-19 深圳国鑫恒宇技术有限公司 BMC based method and system for remote diagnosis of server startup failure
CN108021518A (en) * 2017-11-17 2018-05-11 华为技术有限公司 A kind of data interactive method and computing device
CN108459918A (en) * 2018-03-26 2018-08-28 曙光信息产业(北京)有限公司 data sharing method and device
CN109976816A (en) * 2019-03-25 2019-07-05 联想(北京)有限公司 Computer system configurations method and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850485A (en) * 2015-05-25 2015-08-19 深圳国鑫恒宇技术有限公司 BMC based method and system for remote diagnosis of server startup failure
CN108021518A (en) * 2017-11-17 2018-05-11 华为技术有限公司 A kind of data interactive method and computing device
CN108459918A (en) * 2018-03-26 2018-08-28 曙光信息产业(北京)有限公司 data sharing method and device
CN109976816A (en) * 2019-03-25 2019-07-05 联想(北京)有限公司 Computer system configurations method and server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666236A (en) * 2020-06-13 2020-09-15 曙光信息产业(北京)有限公司 Server and communication method
CN111666236B (en) * 2020-06-13 2022-04-22 曙光信息产业(北京)有限公司 Server and communication method
JP2022104857A (en) * 2020-12-30 2022-07-12 技嘉科技股▲ふん▼有限公司 Server firmware data transfer method and device via http/https
CN114765604A (en) * 2020-12-30 2022-07-19 技嘉科技股份有限公司 Data transmission method and device of server firmware through HTTP/HTTPS
CN114765604B (en) * 2020-12-30 2024-03-01 技钢科技股份有限公司 Data transmission method and device of server firmware through HTTP/HTTPS
CN113626214A (en) * 2021-07-16 2021-11-09 浪潮电子信息产业股份有限公司 Information transmission method, system, electronic equipment and storage medium
CN113626214B (en) * 2021-07-16 2024-02-09 浪潮电子信息产业股份有限公司 Information transmission method, system, electronic equipment and storage medium
CN114253749A (en) * 2022-02-25 2022-03-29 苏州浪潮智能科技有限公司 Interaction method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111190749A (en) Server and method for data exchange between BMC and BIOS
US9678918B2 (en) Data processing system and data processing method
US10241951B1 (en) Device full memory access through standard PCI express bus
US6073205A (en) System and method of write posting in a universal serial bus system
CN101477511B (en) Method and apparatus for sharing memory medium between multiple operating systems
US20190196989A1 (en) Method, Apparatus, and System for Accessing Memory Device
US20130166849A1 (en) Physically Remote Shared Computer Memory
US20140075079A1 (en) Data storage device connected to a host system via a peripheral component interconnect express (pcie) interface
CN110858188A (en) Multiprocessor system with distributed mailbox structure and communication method thereof
US8065401B2 (en) Systems and methods for frame ordering in wide port SAS connections
US20150326684A1 (en) System and method of accessing and controlling a co-processor and/or input/output device via remote direct memory access
US10853255B2 (en) Apparatus and method of optimizing memory transactions to persistent memory using an architectural data mover
US6704823B1 (en) Method and apparatus for dynamic allocation of interrupt lines through interrupt sharing
US7024494B1 (en) Method and system for configuring a peripheral card in a communications environment
KR100814436B1 (en) Web-based Monitoring Module, Hardware System including the same and Monitoring Method of Web-based Monitoring Module
US7716397B2 (en) Methods and systems for interprocessor message exchange between devices using only write bus transactions
CN113242322B (en) Mapping method and system of mobile storage device
US20190339875A9 (en) Method, electronic device and computer program product for data processing
CN115964229B (en) Cooperative work method and equipment for multiprocessor equipment and storage medium
CN113127399B (en) Universal serial bus device and access method
US20090089468A1 (en) Coherent input output device
CN114020665A (en) Information transmission method, device and transmission system
CN117762836A (en) Acceleration unit, special data processor, host and read-write signal transmission method
KR100298287B1 (en) Apparatus and Method of Managing Messages in a System Bus
JP5699626B2 (en) Management board

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