CN112579186A - Terminal based on Loongson platform and starting method thereof - Google Patents

Terminal based on Loongson platform and starting method thereof Download PDF

Info

Publication number
CN112579186A
CN112579186A CN202011608390.2A CN202011608390A CN112579186A CN 112579186 A CN112579186 A CN 112579186A CN 202011608390 A CN202011608390 A CN 202011608390A CN 112579186 A CN112579186 A CN 112579186A
Authority
CN
China
Prior art keywords
loongson
cpld
usb
keyboard
signal
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
CN202011608390.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.)
Hefei Zhuoyi Hengtong Information Security Co Ltd
Original Assignee
Hefei Zhuoyi Hengtong Information Security 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 Hefei Zhuoyi Hengtong Information Security Co Ltd filed Critical Hefei Zhuoyi Hengtong Information Security Co Ltd
Priority to CN202011608390.2A priority Critical patent/CN112579186A/en
Publication of CN112579186A publication Critical patent/CN112579186A/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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a terminal based on a Loongson platform and a starting method thereof. The terminal includes: a main board and a keyboard; the mainboard includes: the device comprises a Loongson bridge chip, a CPLD, at least one USB interface and a power supply, wherein the CPLD is respectively and electrically connected with the Loongson bridge chip and the power supply, and the keyboard is electrically connected with one of the at least one USB interface; a first USB wire and a second USB wire are respectively arranged corresponding to each USB interface, two ends of each first USB wire are respectively and electrically connected with the corresponding USB interface and the corresponding CPLD, and two ends of each second USB wire are respectively and electrically connected with the Loongson bridge chip and the CPLD; when the terminal is powered off, the CPLD detects a preset keyboard key signal from the USB interface electrically connected with the keyboard, and controls the Loongson bridge chip and the power supply to start the starting program when detecting the preset keyboard key signal, so that starting can be realized through the USB keyboard key, the operation flexibility of the product is improved, and the user experience of the product is improved.

Description

Terminal based on Loongson platform and starting method thereof
Technical Field
The invention relates to the technical field of computers, in particular to a terminal based on a Loongson platform and a starting method thereof.
Background
In recent years, with the rapid development of science and technology, the development of the computer field is changing day by day, and great convenience is brought to the work, study and life of people. The types of computer products are also more and more diversified, and the traditional desktop computer is developed into a notebook computer and an all-in-one computer.
Although the notebook computer and the all-in-one computer are more convenient to use than the desktop computer in some occasions, the notebook computer and the all-in-one computer are still difficult to surpass the desktop computer from the aspect of cost performance, and therefore, the desktop computer still has a large market at present.
Among the prior art, desktop computer start key generally all is located quick-witted case leading panel, if the machine case is placed subaerially, the user need bow to go to press the start key, and experience effect is not good, and the keyboard is located the desktop top, makes the machine start through pressing special combination key, very big improvement experience effect, the technological scheme mature abroad at present that uses the keyboard to start has two kinds: the first is to use PS2 interface keyboard, use desk system or American system I/O chip, such integrated single chip computer controller has PS2 interface, can directly identify key code, send the turn-on signal to the bridge chip to turn on the computer. Secondly, an embedded controller (embedded controller) of ITE or ENE is used for realizing keyboard startup by recognizing USB keyboard brevity codes and matching with a specially-defined USB port, and the mode can only support a specific group of USB ports to use the keyboard to start.
The existing computer products usually adopt chipsets of foreign platforms, and for a long time, the chipsets of the foreign platforms are completely closed in a core technology, so that the core technical principle of the chipsets cannot be deeply mastered, uncontrollable potential safety hazards of technical risks and maintenance exist in product use, the product is seriously imported depending on import, the product is seriously controlled, and the risk that the product cannot be produced due to the fact that the chipsets are out of supply at any time exists. In recent years, through the arrangement of national science and technology development plans, the software and hardware technology of home-made computers makes great breakthrough, such as more representative high-performance processors represented by loongson, feiteng, and shenwei. However, the keyboard boot is not suitable for the home platform, and therefore, a keyboard boot suitable for the home platform needs to be provided.
Disclosure of Invention
The invention aims to provide a terminal based on a Loongson platform, which can realize the startup of a USB keyboard key, improve the operation flexibility of a product and improve the user experience of the product.
The invention also aims to provide a terminal startup method based on the Loongson platform, which can realize startup of the USB keyboard keys, improve the operation flexibility of products and improve the user experience of the products.
In order to achieve the above object, the present invention provides a terminal based on a Loongson platform, including: a main board and a keyboard; the main board includes: the device comprises a Loongson bridge chip, a CPLD, at least one USB interface and a power supply, wherein the CPLD is respectively and electrically connected with the Loongson bridge chip and the power supply, and the keyboard is electrically connected with one of the at least one USB interface;
a first USB wire and a second USB wire are respectively arranged corresponding to each USB interface, two ends of each first USB wire are respectively and electrically connected with the corresponding USB interface and the corresponding CPLD, and two ends of each second USB wire are respectively and electrically connected with the Loongson bridge chip and the CPLD;
the CPLD is used for establishing a data transmission channel between each first USB wire and the corresponding second USB wire when the terminal is started, disconnecting the data transmission channel between each first USB wire and the corresponding second USB wire when the terminal is shut down, detecting a preset keyboard key signal from a USB interface electrically connected with a keyboard, and controlling the Loongson bridge chip and the power supply to start a starting program when the preset keyboard key signal is detected.
The boot program includes: the CPLD sends a starting key signal to the Loongson bridge chip;
after receiving the starting key signal, the Loongson bridge chip sends a starting signal to the CPLD;
after receiving the starting signal, the CPLD sends a power-on time sequence signal to the power supply so as to control the power supply to start to be powered on;
when the CPLD controls the power supply to be electrified, the CPLD sends an electrifying completion signal to the Loongson bridge chip;
and after receiving the power-on completion signal, the Loongson bridge chip sends a power-on completion signal to the CPLD.
The preset keyboard key signal is a key code recognized by the CPLD from the USB interface when a plurality of preset keys on the keyboard are simultaneously pressed.
The terminal based on the Loongson platform further comprises a Loongson processor electrically connected with the Loongson bridge chip.
The Loongson bridge piece is a Loongson 7A1000 bridge piece, the Loongson processor is a Loongson 3A4000 processor, and the CPLD is an Anlu ELF2L45B256B CPLD.
The invention also provides a terminal startup method based on the Loongson platform, which comprises the following steps:
step S1, providing a terminal based on the Loongson platform, including: a main board and a keyboard; the main board includes: the device comprises a Loongson bridge chip, a CPLD, at least one USB interface and a power supply, wherein the CPLD is respectively and electrically connected with the Loongson bridge chip and the power supply, and the keyboard is electrically connected with one of the at least one USB interface;
a first USB wire and a second USB wire are respectively arranged corresponding to each USB interface, two ends of each first USB wire are respectively and electrically connected with the corresponding USB interface and the corresponding CPLD, and two ends of each second USB wire are respectively and electrically connected with the Loongson bridge chip and the CPLD;
step S2, when the terminal is started, the CPLD establishes a data transmission channel between each first USB trace and the corresponding second USB trace;
step S3, when the terminal is powered off, the CPLD disconnects the data transmission channel between each first USB trace and its corresponding second USB trace, detects a predetermined keyboard key signal from the USB interface electrically connected to the keyboard, and controls the Loongson bridge chip and the power supply to start the power-on program when the predetermined keyboard key signal is detected.
In step S3, the boot program includes:
the CPLD sends a starting key signal to the Loongson bridge chip;
after receiving the starting key signal, the Loongson bridge chip sends a starting signal to the CPLD;
after receiving the starting signal, the CPLD sends a power-on time sequence signal to the power supply so as to control the power supply to start to be powered on;
when the CPLD controls the power supply to be electrified, the CPLD sends an electrifying completion signal to the Loongson bridge chip;
and after receiving the power-on completion signal, the Loongson bridge chip sends a power-on completion signal to the CPLD.
The preset keyboard key signal is a key code recognized by the CPLD from the USB interface when a plurality of preset keys on the keyboard are simultaneously pressed.
In step S1, the terminal based on the Loongson platform further includes a Loongson processor electrically connected to the Loongson bridge.
The Loongson bridge piece is a Loongson 7A1000 bridge piece, the Loongson processor is a Loongson 3A4000 processor, and the CPLD is an Anlu ELF2L45B256B CPLD.
The invention has the beneficial effects that: the invention provides a terminal based on a Loongson platform, which comprises: a main board and a keyboard; the main board includes: the device comprises a Loongson bridge chip, a CPLD, at least one USB interface and a power supply, wherein the CPLD is respectively and electrically connected with the Loongson bridge chip and the power supply, and the keyboard is electrically connected with one of the at least one USB interface; a first USB wire and a second USB wire are respectively arranged corresponding to each USB interface, two ends of each first USB wire are respectively and electrically connected with the corresponding USB interface and the corresponding CPLD, and two ends of each second USB wire are respectively and electrically connected with the Loongson bridge chip and the CPLD; the CPLD is used for establishing a data transmission channel between each first USB wire and the corresponding second USB wire when the terminal is started, disconnecting the data transmission channel between each first USB wire and the corresponding second USB wire when the terminal is shut down, detecting a preset keyboard key signal from a USB interface electrically connected with a keyboard, and controlling a Loongson bridge chip and a power supply to start a program when the preset keyboard key signal is detected, so that the USB keyboard key startup can be realized, the operation flexibility of a product is improved, and the user experience of the product is improved. The invention also provides a terminal startup method based on the Loongson platform, which can realize startup of the USB keyboard keys, improve the operation flexibility of the product and improve the user experience of the product.
Drawings
For a better understanding of the nature and technical aspects of the present invention, reference should be made to the following detailed description of the invention, taken in conjunction with the accompanying drawings, which are provided for purposes of illustration and description and are not intended to limit the invention.
In the drawings, there is shown in the drawings,
fig. 1 is a block diagram of a terminal based on a Loongson platform according to the present invention;
fig. 2 is a flowchart of a terminal booting method based on a Loongson platform according to the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Referring to fig. 1, the present invention provides a terminal based on a Loongson platform, including: a main board 1 and a keyboard 2; the main board 1 includes: a godson bridge plate 11, a Complex Programming Logic Device (CPLD) 12, at least one Universal Serial Bus (USB) interface 13 and a power supply 14, where the CPLD12 is electrically connected to the godson bridge plate 11 and the power supply 14, respectively, and the keyboard 2 is electrically connected to one of the at least one USB interface 13;
a first USB trace 131 and a second USB trace 132 are respectively disposed corresponding to each USB interface 13, two ends of each first USB trace 131 are respectively electrically connected to the corresponding USB interface 13 and CPLD12, and two ends of each second USB trace 132 are respectively electrically connected to the Loongson bridge piece 11 and the CPLD 12;
the CPLD12 is configured to establish a data transmission channel between each first USB trace 131 and the corresponding second USB trace 132 when the terminal is powered on, disconnect the data transmission channel between each first USB trace 131 and the corresponding second USB trace 132 when the terminal is powered off, detect a preset keyboard key signal from the USB interface 13 electrically connected to the keyboard 2, and control the Loongson bridge 11 and the power supply 14 to start a power-on program when the preset keyboard key signal is detected.
Specifically, the boot program includes: the CPLD12 sends a startup key signal to the Loongson bridge chip 11;
after receiving the boot key signal, the Loongson bridge chip 11 sends a boot signal to the CPLD 12;
after receiving the power-on signal, the CPLD12 sends a power-on timing signal to the power supply 14 to control the power supply 14 to start power-on;
when the CPLD12 controls the power supply 14 to be powered on, the CPLD12 sends a power-on completion signal to the Loongson bridge piece 11;
after receiving the power-on completion signal, the Loongson bridge chip 11 sends a power-on completion signal to the CPLD 12.
Further, when the terminal is powered off, the Loongson bridge chip 11 sends an off signal to the CPLD12, and when the CPLD12 recognizes the off signal, the data transmission channel between each first USB trace 131 and the corresponding second USB trace 132 is disconnected, so as to obtain the control right of each USB interface 13 again, so as to facilitate the subsequent terminal powering on through the keyboard keys.
Specifically, the preset keyboard key signal is a key code recognized by the CPLD12 from the USB interface 13 when a plurality of preset keys on the keyboard 2 are pressed simultaneously.
Specifically, the terminal based on the Loongson platform further comprises a Loongson processor 15 electrically connected with the Loongson bridge chip 11.
Specifically, the Loongson bridge piece 11 is a Loongson 7A1000 bridge piece, the Loongson processor 15 is a Loongson 3A4000 processor, and the CPLD12 is an Anlu ELF2L45B256B CPLD.
For example, in some embodiments of the present invention, the specific process of the terminal based on the loongson platform being powered on through the keyboard key is as follows:
first, the user presses a preset power-on key, for example: ctrl + Shift + ALT + B;
then, the CPLD12 recognizes the key code corresponding to the pressed key by analyzing the USB HID protocol, and when the recognized key code is consistent with the preset keyboard key signal, it simulates to send a Power _ button signal to the Loongson bridge chip 11, that is, sends a Power _ button signal to the Loongson bridge chip 11;
then, the Loongson bridge chip 11 receives the power-on key signal, and sends a power-on signal to the CPLD12, that is, sends a SLP _ S3 signal with high potential to the CPLD 12;
subsequently, the CPLD12 receives the power-on signal, and sends a power-on timing signal to the power supply 14 to control the power supply 14 to start to power on;
then, when the CPLD12 controls the power supply 14 to be powered on, the CPLD12 sends a power-on completion signal to the Loongson bridge piece 11, that is, sends a 7A _ PWOK signal to the Loongson bridge piece 11;
then, the Loongson bridge chip 11 receives the 7A _ PWOK signal, and sends a startup completion signal to the CPLD12, namely sends a PLT _ RST signal to the CPLD 12;
finally, after receiving the power-on completion signal, the CPLD establishes a data transmission channel between each first USB trace 131 and its corresponding second USB trace 132, so as to transfer the control right of each USB interface 13 to the Loongson bridge chip 11, so that each USB interface 13 can be normally used when the computer is powered on.
In addition, when the terminal is powered off, the Loongson bridge chip 11 sends a power-off signal to the CPLD12, that is, sends a SLP _ S3 signal with a low potential to the CPLD 12;
subsequently, when the CPLD12 recognizes the power-off signal, the CPLD12 disconnects the data transmission channel between each first USB trace 131 and the corresponding second USB trace 132, and regains the control right of each USB interface 13, so as to realize the terminal power-on through the keyboard keys in the following process.
It should be noted that, in the terminal based on the Loongson platform of the present invention, the keyboard key for booting can be flexibly set according to the user's needs.
Preferably, the keyboard key for starting up is a combination of a plurality of keyboard keys, for example: ctrl + Shift + ALT + B or Ctrl + Shift + ALT to avoid touch-by-touch.
It should be noted that, in the terminal based on the Loongson platform of the present invention, the keyboard 2 may be connected to any one of the USB interfaces 13 of the motherboard 1, and the keyboard can be turned on by pressing a key without specifying a specific interface, so that the terminal is more convenient and flexible to use.
Optionally, the terminal based on the Loongson platform may be a desktop computer, a notebook computer, a tablet computer, a server, an industrial personal computer, or the like.
Furthermore, the invention can realize the keyboard key startup of the terminal based on the Loongson platform, breaks through the blockade of foreign technologies, is independent and controllable in related technologies, is not limited by the international constraint, has higher safety, and has the characteristics of flexible configuration of keys for startup, no need of designating a USB interface and low standby power consumption.
Referring to fig. 2 in combination with fig. 1, the present invention further provides a terminal booting method based on a Loongson platform, including the following steps:
step S1, providing a terminal based on the Loongson platform, including: a main board 1 and a keyboard 2; the main board 1 includes: the device comprises a Loongson bridge piece 11, a CPLD12, at least one USB interface 13 and a power supply 14, wherein the CPLD12 is electrically connected with the Loongson bridge piece 11 and the power supply 14 respectively, and the keyboard 2 is electrically connected with one of the at least one USB interface 13;
a first USB trace 131 and a second USB trace 132 are respectively disposed corresponding to each USB interface 13, two ends of each first USB trace 131 are respectively electrically connected to the corresponding USB interface 13 and CPLD12, and two ends of each second USB trace 132 are respectively electrically connected to the Loongson bridge piece 11 and the CPLD 12;
step S2, when the terminal is turned on, the CPLD12 establishes a data transmission channel between each first USB trace 131 and its corresponding second USB trace 132;
step S3, when the terminal is powered off, the CPLD12 disconnects the data transmission channel between each first USB trace 131 and the corresponding second USB trace 132, detects a predetermined keyboard key signal from the USB interface 13 electrically connected to the keyboard 2, and controls the Loongson bridge 11 and the power supply 14 to start the power-on program when the predetermined keyboard key signal is detected.
Specifically, in step S3, the boot program includes:
the CPLD12 sends a startup key signal to the Loongson bridge chip 11;
after receiving the boot key signal, the Loongson bridge chip 11 sends a boot signal to the CPLD 12;
after receiving the power-on signal, the CPLD12 sends a power-on timing signal to the power supply 14 to control the power supply 14 to start power-on;
when the CPLD12 controls the power supply 14 to be powered on, the CPLD12 sends a power-on completion signal to the Loongson bridge piece 11;
after receiving the power-on completion signal, the Loongson bridge chip 11 sends a power-on completion signal to the CPLD 12.
Specifically, the preset keyboard key signal is a key code recognized by the CPLD12 from the USB interface 13 when a plurality of preset keys on the keyboard 2 are pressed simultaneously.
Specifically, in step S1, the terminal based on the Loongson platform further includes a Loongson processor 15 electrically connected to the Loongson bridge 11.
Specifically, the Loongson bridge piece 11 is a Loongson 7A1000 bridge piece, the Loongson processor 15 is a Loongson 3A4000 processor, and the CPLD12 is an Anlu ELF2L45B256B CPLD.
For example, in some embodiments of the present invention, the booting method is implemented as follows:
first, the user presses a preset power-on key, for example: ctrl + Shift + ALT + B;
then, the CPLD12 recognizes the key code corresponding to the pressed key by analyzing the USB HID protocol, and when the recognized key code is consistent with the preset keyboard key signal, it simulates to send a Power _ button signal to the Loongson bridge chip 11, that is, sends a Power _ button signal to the Loongson bridge chip 11;
then, the Loongson bridge chip 11 receives the power-on key signal, and sends a power-on signal to the CPLD12, that is, sends a SLP _ S3 signal with high potential to the CPLD 12;
subsequently, the CPLD12 receives the power-on signal, and sends a power-on timing signal to the power supply 14 to control the power supply 14 to start to power on;
then, when the CPLD12 controls the power supply 14 to be powered on, the CPLD12 sends a power-on completion signal to the Loongson bridge piece 11, that is, sends a 7A _ PWOK signal to the Loongson bridge piece 11;
then, the Loongson bridge chip 11 receives the 7A _ PWOK signal, and sends a startup completion signal to the CPLD12, namely sends a PLT _ RST signal to the CPLD 12;
finally, after receiving the power-on completion signal, the CPLD establishes a data transmission channel between each first USB trace 131 and its corresponding second USB trace 132, so as to transfer the control right of each USB interface 13 to the Loongson bridge chip 11, so that each USB interface 13 can be normally used when the computer is powered on.
In addition, when the terminal is powered off, the Loongson bridge chip 11 sends a power-off signal to the CPLD12, that is, sends a SLP _ S3 signal with a low potential to the CPLD 12;
subsequently, when the CPLD12 recognizes the power-off signal, the CPLD12 disconnects the data transmission channel between each first USB trace 131 and the corresponding second USB trace 132, and regains the control right of each USB interface 13, so as to realize the terminal power-on through the keyboard keys in the following process.
It should be noted that, in the terminal booting method based on the Loongson platform of the present invention, the keyboard key for booting can be flexibly set according to the user's needs.
Preferably, the keyboard key for starting up is a combination of a plurality of keyboard keys, for example: ctrl + Shift + ALT + B or Ctrl + Shift + ALT to avoid touch-by-touch.
It should be noted that in the terminal booting method based on the Loongson platform of the present invention, the keyboard 2 may be connected to any one of the USB interfaces 13 of the motherboard 1, and the booting of the keyboard key may be realized without specifying a specific interface, so that the terminal booting method is more convenient and flexible to use.
Optionally, the terminal based on the Loongson platform may be a desktop computer, a notebook computer, a tablet computer, a server, an industrial personal computer, or the like.
Specifically, the Loongson bridge piece 11 is a Loongson 7A1000 bridge piece, the Loongson processor 15 is a Loongson 3A4000 processor, and the CPLD12 is an Anlu ELF2L45B256B CPLD.
Furthermore, the invention can realize the keyboard key startup of the terminal based on the Loongson platform, breaks through the blockade of foreign technologies, is independent and controllable in related technologies, is not limited by the international constraint, has higher safety, and has the characteristics of flexible configuration of keys for startup, no need of designating a USB interface and low standby power consumption.
In summary, the present invention provides a terminal based on a Loongson platform, including: a main board and a keyboard; the main board includes: the device comprises a Loongson bridge chip, a CPLD, at least one USB interface and a power supply, wherein the CPLD is respectively and electrically connected with the Loongson bridge chip and the power supply, and the keyboard is electrically connected with one of the at least one USB interface; a first USB wire and a second USB wire are respectively arranged corresponding to each USB interface, two ends of each first USB wire are respectively and electrically connected with the corresponding USB interface and the corresponding CPLD, and two ends of each second USB wire are respectively and electrically connected with the Loongson bridge chip and the CPLD; the CPLD is used for establishing a data transmission channel between each first USB wire and the corresponding second USB wire when the terminal is started, disconnecting the data transmission channel between each first USB wire and the corresponding second USB wire when the terminal is shut down, detecting a preset keyboard key signal from a USB interface electrically connected with a keyboard, and controlling a Loongson bridge chip and a power supply to start a program when the preset keyboard key signal is detected, so that the USB keyboard key startup can be realized, the operation flexibility of a product is improved, and the user experience of the product is improved. The invention also provides a terminal startup method based on the Loongson platform, which can realize startup of the USB keyboard keys, improve the operation flexibility of the product and improve the user experience of the product.
As described above, it will be apparent to those skilled in the art that other various changes and modifications may be made based on the technical solution and concept of the present invention, and all such changes and modifications are intended to fall within the scope of the appended claims.

Claims (10)

1. A terminal based on a Loongson platform, comprising: a main board (1) and a keyboard (2); the main board (1) includes: the portable keyboard comprises a Loongson bridge piece (11), a CPLD (12), at least one USB interface (13) and a power supply (14), wherein the CPLD (12) is electrically connected with the Loongson bridge piece (11) and the power supply (14) respectively, and the keyboard (2) is electrically connected with one of the at least one USB interface (13);
a first USB wire (131) and a second USB wire (132) are respectively arranged corresponding to each USB interface (13), two ends of each first USB wire (131) are respectively and electrically connected with the corresponding USB interface (13) and the CPLD (12), and two ends of each second USB wire (132) are respectively and electrically connected with the Loongson bridge chip (11) and the CPLD (12);
the CPLD (12) is used for establishing a data transmission channel between each first USB wire (131) and the corresponding second USB wire (132) when the terminal is powered on, disconnecting the data transmission channel between each first USB wire (131) and the corresponding second USB wire (132) when the terminal is powered off, detecting a preset keyboard key signal from a USB interface (13) electrically connected with the keyboard (2), and controlling the Loongson bridge chip (11) and the power supply (14) to start a power-on program when detecting the preset keyboard key signal.
2. The Loongson platform-based terminal of claim 1, wherein the boot program comprises: the CPLD (12) sends a startup key signal to the Loongson bridge chip (11);
after receiving the starting key signal, the Loongson bridge chip (11) sends a starting signal to the CPLD (12);
after receiving the starting signal, the CPLD (12) sends a power-on time sequence signal to the power supply (14) to control the power supply (14) to start power-on;
when the CPLD (12) controls the power supply (14) to be powered on, the CPLD (12) sends a power-on completion signal to the Loongson bridge chip (11);
and after receiving the power-on completion signal, the Loongson bridge chip (11) sends a power-on completion signal to the CPLD (12).
3. A loongson platform-based terminal according to claim 1, characterized in that the preset keyboard key signal is a key code recognized by CPLD (12) from the USB interface (13) when a plurality of preset keys on the keyboard (2) are pressed simultaneously.
4. A loongson platform-based terminal according to claim 1, further comprising a loongson processor (15) electrically connected to the loongson bridge (11).
5. A Loongson platform-based terminal according to claim 4, wherein the Loongson bridge (11) is a Loongson 7A1000 bridge, the Loongson processor (15) is a Loongson 3A4000 processor, and the CPLD (12) is an Anlu ELF2L45B256B CPLD.
6. A terminal startup method based on a Loongson platform is characterized by comprising the following steps:
step S1, providing a terminal based on the Loongson platform, including: a main board (1) and a keyboard (2); the main board (1) includes: the portable keyboard comprises a Loongson bridge piece (11), a CPLD (12), at least one USB interface (13) and a power supply (14), wherein the CPLD (12) is electrically connected with the Loongson bridge piece (11) and the power supply (14) respectively, and the keyboard (2) is electrically connected with one of the at least one USB interface (13);
a first USB wire (131) and a second USB wire (132) are respectively arranged corresponding to each USB interface (13), two ends of each first USB wire (131) are respectively and electrically connected with the corresponding USB interface (13) and the CPLD (12), and two ends of each second USB wire (132) are respectively and electrically connected with the Loongson bridge chip (11) and the CPLD (12);
step S2, when the terminal is turned on, the CPLD (12) establishes a data transmission channel between each first USB trace (131) and the corresponding second USB trace (132);
step S3, when the terminal is powered off, the CPLD (12) disconnects the data transmission channel between each first USB trace (131) and the corresponding second USB trace (132), detects a predetermined keyboard key signal from the USB interface (13) electrically connected to the keyboard (2), and controls the Loongson bridge (11) and the power supply (14) to start the power-on program when the predetermined keyboard key signal is detected.
7. The method for booting a terminal based on a Loongson platform according to claim 6, wherein in the step S3, the booting procedure includes:
the CPLD (12) sends a startup key signal to the Loongson bridge chip (11);
after receiving the starting key signal, the Loongson bridge chip (11) sends a starting signal to the CPLD (12);
after receiving the starting signal, the CPLD (12) sends a power-on time sequence signal to the power supply (14) to control the power supply (14) to start power-on;
when the CPLD (12) controls the power supply (14) to be powered on, the CPLD (12) sends a power-on completion signal to the Loongson bridge chip (11);
and after receiving the power-on completion signal, the Loongson bridge chip (11) sends a power-on completion signal to the CPLD (12).
8. The method for booting a terminal based on a Loongson platform according to claim 6, wherein the preset keyboard key signal is a key code recognized by the CPLD (12) from the USB interface (13) when a plurality of preset keys on the keyboard (2) are pressed simultaneously.
9. The method for booting a terminal based on a Loongson platform according to claim 6, wherein in the step S1, the terminal based on a Loongson platform further includes a Loongson processor (15) electrically connected to the Loongson bridge chip (11).
10. The terminal boot method based on the Loongson platform as claimed in claim 9, wherein the Loongson bridge chip (11) is a Loongson 7A1000 bridge chip, the Loongson processor (15) is a Loongson 3A4000 processor, and the CPLD (12) is an Anlu ELF2L45B256B CPLD.
CN202011608390.2A 2020-12-29 2020-12-29 Terminal based on Loongson platform and starting method thereof Pending CN112579186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011608390.2A CN112579186A (en) 2020-12-29 2020-12-29 Terminal based on Loongson platform and starting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011608390.2A CN112579186A (en) 2020-12-29 2020-12-29 Terminal based on Loongson platform and starting method thereof

Publications (1)

Publication Number Publication Date
CN112579186A true CN112579186A (en) 2021-03-30

Family

ID=75144465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011608390.2A Pending CN112579186A (en) 2020-12-29 2020-12-29 Terminal based on Loongson platform and starting method thereof

Country Status (1)

Country Link
CN (1) CN112579186A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236398A (en) * 2011-07-21 2011-11-09 曙光信息产业(北京)有限公司 Godson blade main board cold start method
CN103793251A (en) * 2014-02-20 2014-05-14 山东超越数控电子有限公司 Implementation method for universality of computer start logic
CN104007988A (en) * 2014-05-14 2014-08-27 苏州三星电子电脑有限公司 Computer startup and shutdown method and computer
CN104063061A (en) * 2013-03-20 2014-09-24 鸿富锦精密工业(武汉)有限公司 Computer started up through keyboard
CN107861902A (en) * 2017-10-30 2018-03-30 北京北大众志微系统科技有限责任公司 A kind of computer for realizing USB keyboard start
CN214202352U (en) * 2020-12-29 2021-09-14 合肥市卓怡恒通信息安全有限公司 Terminal based on Loongson platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236398A (en) * 2011-07-21 2011-11-09 曙光信息产业(北京)有限公司 Godson blade main board cold start method
CN104063061A (en) * 2013-03-20 2014-09-24 鸿富锦精密工业(武汉)有限公司 Computer started up through keyboard
CN103793251A (en) * 2014-02-20 2014-05-14 山东超越数控电子有限公司 Implementation method for universality of computer start logic
CN104007988A (en) * 2014-05-14 2014-08-27 苏州三星电子电脑有限公司 Computer startup and shutdown method and computer
CN107861902A (en) * 2017-10-30 2018-03-30 北京北大众志微系统科技有限责任公司 A kind of computer for realizing USB keyboard start
CN214202352U (en) * 2020-12-29 2021-09-14 合肥市卓怡恒通信息安全有限公司 Terminal based on Loongson platform

Similar Documents

Publication Publication Date Title
US5742514A (en) Integrated remote asynchronous power switch
RU2676882C2 (en) Administrating power to auxiliary device
CN102749985B (en) Method and device for dynamically adjusting bus clock
US8589141B2 (en) Resource sharing apparatus which disconnects an input device when detecting a standby indication of a switching command
CN1920749B (en) Electricity-saving electronic device and electricity-saving method thereof
JPH08272497A (en) Keyboard device
CN211427195U (en) Loongson platform all-in-one machine integrating KVM mainboard
CN214202352U (en) Terminal based on Loongson platform
WO2003062973A1 (en) Electric outlet for standby power interruption and power saving, control method thereof, and power saving system
CN101539897A (en) Multi-computer switching device and operation method thereof
CN104007988A (en) Computer startup and shutdown method and computer
CN105022629B (en) Start-up control method, device and server
CN112579186A (en) Terminal based on Loongson platform and starting method thereof
KR100448274B1 (en) A power supply control device for cutting off stand-by electric power and for saving electric power, a control method thereof and a power saving system
CN103092358B (en) One realizes the conflict free system and method for full key board to keyboard
CN103164125B (en) A kind of display device utilizing touch key-press to realize digit input function
US8065452B1 (en) Multifunctional universal serial bus wireless keyboard
JP2000099215A (en) Interface for pc card
CN101788964B (en) Automatic correspondence updating computer switching device
KR101020511B1 (en) A standby power cut-off auto control system and method for same
CN2901406Y (en) Computer power controller
CN114895968B (en) Server maintenance method, device, equipment and storage medium
CN104423658A (en) Method and device for lightening touch screen and mobile terminal
CN204650528U (en) A kind of operating equipment for server security protection
CN116700461A (en) Method and system for starting up computer by utilizing keyboard

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