System and method for switching use of serial port
AssigneesHONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD., Hon Hai Precision Industry Co., Ltd.
InventorsJi-Zhi Yin, Wen-Chong Tu
Life of this patent
Estimating the term…
Abstract
A baseboard management controller (BMC) of a server includes a general purpose input output (GPIO) pin. An voltage level of the GPIO level determines if a BIOS of the server or the BMC uses a serial port of the server. If the BMC wants to use the serial port and the voltage level of the GPIO pin is at a high level, the serial port can be used by the BMC. If the BMC wants to use the serial port but the voltage level of the GPIO pin is not at the high level, the serial port is be used by the BIOS. If the BIOS has been initialized, the voltage level of the GPIO pin is pulled up.
Claims9
A baseboard management controller (BMC) for a server, comprising:
- a storage system;
- at least one processor;
- and
- one or more programs being stored in the storage system and executable by the at least one processor, the one or more programs comprising:
- a setting module operable to set an voltage level of a general purpose input output (GPIO) pin of the BMC to a high level if the server is powered on;
- an initialization module operable to initialize a BIOS of the server, and pull down the voltage level of the GPIO pin to a low level, wherein a serial port of the server is used by the BIOS;
- a control module operable to control the BMC to use the serial port if the BMC requests to use the serial port and the voltage level of the GPIO pin is at a high level;
- and
- the control module further operable to pull up the voltage level of the GPIO pin to the high level if the BMC does not request to use the serial port and the BIOS has been initialized.
A method for switching use of a serial port of a server, comprising:
- setting an voltage level of a general purpose input output (GPIO) pin of a baseboard management controller (BMC) of the server to a high level if the server is powered on;
- initializing a BIOS of the server, and pulling down the voltage level of the GPIO pin to a low level, wherein the serial port is used by the BIOS;
- controlling the BMC to use the serial port if the BMC requests to use the serial port and the voltage level of the GPIO pin is at a high level;
- and
- pulling up the voltage level of the GPIO pin to the high level if the BMC does not request to use the serial port and the BIOS has been initialized.
A non-transitory storage medium having stored thereon instructions that, when executed by a processor, cause the processor to perform a method for switching use of a serial port of a server, the method comprising:
- setting an voltage level of a general purpose input output (GPIO) pin of a baseboard management controller (BMC) to a high level if the server is powered on;
- initializing a BIOS of the server, and pulling down the voltage level of the GPIO pin to a low level, wherein the serial port is used by the BIOS;
- controlling the BMC to use the serial port if the BMC requests to use the serial port and the voltage level of the GPIO pin is at a high level;
- and
- pulling up the voltage level of the GPIO pin to the high level if the BMC does not request to use the serial port and the BIOS has been initialized.
Dependencies are inferred from the claim text.