This non-provisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No(s). 201710440458.2 filed in China. On Jun. 12, 2017, the entire contents of which are hereby incorporated by reference.
The disclosure relates to a computing device and an operation method, more particularly to a computing device and an operation method using inter-integrated circuit buses.
In general, firmware data has to be programmed into a computing device (e.g. complex programmable logic device (CPLD) of a server so that the computing device would be able to operate normally based on the firmware data programmed. The firmware data is usually programmed into the computing device via programmers provided by manufacturers, simulations of JTAG interfaces performed by baseboard management controllers of a server, or peer-to-peer structures consisting of switches. However, programming the firmware data into the computing device in such ways will waste resources of baseboard management controllers, such as general-purpose input/output pins.
Furthermore, the version of the computing device and operation status information related to other system devices in a server can not be obtained directly through the computing device, so it is inconvenient to confirm whether the version of the computing device is correct or not, and to perform debugging procedures for the system devices. Therefore, how firmware data is programmed into a computing device using few resources and how version information of the computing device and the status information of system devices can be obtained through the computing device have become an important issue in this field.
According to one embodiment of the present disclosure, a computing device adapted to a server with a baseboard management controller is disclosed. The computing device comprises a first inter-integrated circuit bus, a storage unit, a second inter-integrated circuit bus and a first register. The first inter-integrated circuit bus is configured to connect to the baseboard management controller. The storage unit is connected to the first inter-integrated circuit bus and configured to store firmware data of the computing device. The second inter-integrated circuit bus is configured to connect to the baseboard management controller. The first register is connected to the second inter-integrated circuit bus and a first set of general-purpose input/output pins. The first register is configured to obtain and store a first status message related to a first system device through the first set of general-purpose input/output pins. The computing device is configured to receive a programming command from the baseboard management controller for the baseboard management controller to program the firmware data into the storage unit through the first inter-integrated circuit bus, and the computing device is configured to receive a reading command from the baseboard management controller for the baseboard management controller to read the first status message stored in the first register through the second inter-integrated circuit bus. In one embodiment, the computing device has version information stored in the first register for the baseboard management controller to read the version information stored in the first register through the second inter-integrated circuit bus.
According to another embodiment of the present disclosure, a computing device adapted to a server with a baseboard management controller is disclosed. The computing device comprises a first inter-integrated circuit bus and a storage unit. The first inter-integrated circuit bus is configured to connect to the baseboard management controller. The storage unit is connected to the first inter-integrated circuit bus and configured to store firmware data of the computing device. The baseboard management controller programs the firmware data into the storage unit according to a programming command. A second inter-integrated circuit bus is constructed and a register is defined within the computing device when the computing device starts to operate according to the firmware data stored in the storage unit, and the second inter-integrated circuit bus is respectively connected to the baseboard management controller and the register. The register is configured to obtain and store a status message related to a system device through a set of general-purpose input/output pins, and the computing device is configured to receive a reading command from the baseboard management controller for the baseboard management controller to read the status message stored in the register through the second inter-integrated circuit bus.
According to one embodiment of the present disclosure, an operation method adapted to a computing device and a server with a baseboard management controller is disclosed. The computing device comprises a first inter-integrated circuit bus connected to the baseboard management controller. The operation method comprises the following steps: programming firmware data of the computing device into a storage unit of the computing device through the first inter-integrated circuit bus according to a programming command; constructing a second inter-integrated circuit bus as well as defining a register within the computing device when the computing device starts to operate according to the firmware data programmed into the storage unit of the computing device. The register is configured to store a status message of a system device. The computing device is configured to receive a reading command from the baseboard management controller so that the baseboard management controller reads the status message stored in the register through the second inter-integrated circuit bus, and the computing device is configured to receive a control command from the baseboard management controller so that the baseboard management controller controls an electric potential of the system device through the second inter-integrated circuit bus.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
Please refer to
The second inter-integrated circuit bus 103 is configured to connect to the baseboard management controller 12. The first register 104 is connected to the second inter-integrated circuit bus 103 and a first set of general purpose input/output pins PN1. The first register 104 is configured to obtain and store a first status message ST1 related to the first system device 14 through the first set of general purpose input/output pins PN1. In one example, the first system device 14 could be a system power disposed in the server 1. However, the present disclosure is not limited to the above example.
In the embodiment of
On the other hand, the computing device 10 is further configured to receive a reading command CMD2 from the baseboard management controller 12 for the baseboard management controller 12 to read a first status message ST1 stored in the first register 104 through the second inter-integrated circuit bus 103. Specifically, when the user would like to know about the operation status (e.g. the first status message ST1) related to the first system device 14 in the server 1, the user controls the baseboard management controller 12 to give the reading command CMD2 so that the computing device 10 receives the reading command CMD2. Thereby the first register 104 obtains and stores the operation status information (e.g. the first status message ST1) related to the system device 14 through the first set of general purpose input/output pins PN1 according to the reading command CMD2. Then the baseboard management controller 12 is capable of reading the first status message ST1 of the first system device 14 through the second inter-integrated circuit bus 103. In one embodiment, the first status message ST1 could be power information or temperature status information of a system power in a server. In a practical operation, the first status message ST1 contains electric potential information. The baseboard management controller 12 may obtain the electric potential information of the first status message ST1 by accessing the first register 10 through the second inter-integrated circuit bus 103 for determining whether the first system device 14 operates normally or not. For example, if the first system device 14 operates abnormally, the electric potential information of the first status message ST1 indicates that the electric potential is low. In other words, when the electric potential information of the first status message ST1 read by the baseboard management controller 12 from the first register 10 indicates that the electric potential is low, it could be determined that the first system device 14 operate abnormally. Thereby, the convenience of debugging for the system device is raised.
In one embodiment, the computing device 10 is further configured to receive a control command CMD3 from the baseboard management controller 12 for the baseboard management controller 12 to control an electric potential of the first system device 14 through the second inter-integrated circuit bus 103. In practice, the first system device 14 has a corresponding electric potential, and the baseboard management controller 12 may give the control command CMD3 through the second inter-integrated circuit bus 103 for the first system device 14 to switch the corresponding electric potential according to the control command CMD3. In one embodiment, the computing device 10 has version information VR stored in the first register 104. The baseboard management controller 12 may read the version information VR stored in the first register 104 through the second inter-integrated circuit bus 103. In other words, by the computing device of the present disclosure, the version of the computing device 10 can be confirmed efficiently so that it is easy to process certification and upgrade of the version of the computing device.
In one embodiment, the baseboard management controller 12 of the server 1 is connected to a client 30 via an Ethernet network INT, as shown in
Please refer to
The computing device 20 is configured to receive another reading command CMD2 from the baseboard management controller 22 for the baseboard management controller 22 to read the second status message ST2 stored in the second register 206 through the third inter-integrated circuit bus 205. The computing device 20 is also configured to receive another control command CMD3 from the baseboard management controller 22 for the baseboard management controller 22 to control the electric potential of the second system device 26 through the third inter-integrated circuit bus 205. In this embodiment, the computing device 20 includes two registers, but the present disclosure is not limited to the embodiment. In fact, in another embodiment, the computing device of the present disclosure may include three or more than three registers such that a large number of system devices in the server could be controlled and their corresponding status messages could be read.
Please refer to
More specifically, the difference between the embodiment of
Please refer to
Based on the above descriptions, in the computing device and operation method of the present disclosure, the inter-integrated circuit buss are applied to the computing device, and the programming of the firmware data for the computing device in the server is achieved based transmission structure of the inter-integrated circuit buses with functions of addresses. Therefore, the waste of resources of the baseboard management controller is reduced and the programming speed is improved during the procedure of programming firmware data into the computing device. Furthermore, by inter-integrated circuit buses, the version information of the computing device as well as the status information related to the internal system devices in the server could be read so that confirmation of the version of the computing device and debugging procedures for the system devices can be achieved.
Number | Date | Country | Kind |
---|---|---|---|
201710440458.2 | Jun 2017 | CN | national |