SYSTEM BOOTING METHOD AND RELATED COMPUTER SYSTEM
20230161598 ยท 2023-05-25
Assignee
Inventors
- Yun-Hsuan Lee (New Taipei City, TW)
- Yu-Shu Kao (New Taipei City, TW)
- Chi-Chun Yuan (New Taipei City, TW)
- Huai-Li Huang (New Taipei City, TW)
Cpc classification
G06F9/441
PHYSICS
International classification
Abstract
A system booting method for a computer system having a plurality of central processing units and a booting unit is disclosed. The system booting method includes determining, by the booting unit, a booting mode of the computer system; transmitting a booting signal, which is related to the booting mode, to the plurality of CPUs of the computer system; and entering a multi-CPU booting mode or entering an independent booting mode of the plurality CPUs according to the booting signal.
Claims
1. A system booting method for a computer system having a plurality of central processing units (CPU) and a booting unit, the system booting method comprising: determining, by the booting unit, a booting mode of the computer system; transmitting a booting signal, which is related to the booting mode, to the plurality of CPUs of the computer system; and entering a multi-CPU booting mode or entering an independent booting mode of the plurality CPUs according to the booting signal.
2. The system booting method of claim 1, wherein the multi-CPU booting mode is of the plurality of CPUs entering identical operating system (OS) for processing identical thread or program; the independent booting mode is of the plurality of CPUs independently entering different operating systems for processing different threads or programs.
3. The system booting method of claim 1, wherein the booting unit is configured to determine the booting mode according to a hardware status or a firmware status of the computer system.
4. The system booting method of claim 1, wherein a first booting module of the booting unit is configured to manage a system power source of the computer system.
5. The system booting method of claim 4, wherein when the booting unit includes a plurality of booting modules, the first booting module of the booting unit is configured to determine a first amount of the booting module via Inter-Integrated Circuit (I.sup.2C).
6. The system booting method of claim 5, wherein the booting unit is configured to transit the booting signal to the plurality of CPUs via a communication interface.
7. The system booting method of claim 5, wherein the plurality of booting modules are configured to determine the first amount of the booting module via firmware or hardware.
8. The system booting method of claim 5, wherein the first booting module of the booting unit is configured to determine a first central processing unit of the plurality of CPUs as a main central processing unit.
9. The system booting method of claim 1, further comprising: when the plurality of CPUs enter the multi-CPU booting mode, the booting unit is configured to determine a first central processing unit of the plurality of CPUs as a main central processing unit; and the booting unit is configured to transmit the booting signal to the plurality of CPUs via a logic unit.
10. The system booting method of claim 1, further comprising: when the plurality of CPUs enter the independent booting mode, the booting unit is configured to determine each of the plurality of CPUs as a main central processing unit; and the booting unit is configured to transmit the booting signal to the plurality of CPUs via a logic unit.
11. A computer system, comprising: a plurality of central processing units (CPU); and a booting unit, configured to determine a booting mode of the computer system, transmit a booting signal, which is related to the booting mode, to the plurality of CPUs of the computer system; and enter a multi-CPU booting mode or enter an independent booting mode of the plurality CPUs according to the booting signal.
12. The computer system of claim 11, wherein the multi-CPU booting mode is of the plurality of CPUs entering identical operating system (OS) for processing identical thread or program; the independent booting mode is of the plurality of CPUs independently entering different operating systems for processing different threads or programs.
13. The computer system of claim 11, wherein the booting unit is configured to determine the booting mode according to a hardware status or a firmware status of the computer system.
14. The computer system of claim 11, wherein a first booting module of the booting unit is configured to manage a system power source of the computer system.
15. The computer system of claim 14, wherein when the booting unit includes a plurality of booting modules, the first booting module of the booting unit is configured to determine a first amount of the booting module via Inter-Integrated Circuit (I.sup.2C).
16. The computer system of claim 15, wherein the booting unit is configured to transit the booting signal to the plurality of CPUs via a communication interface.
17. The computer system of claim 15, wherein the plurality of booting modules are configured to determine the first amount of the booting module via firmware or hardware.
18. The computer system of claim 15, wherein the first booting module of the booting unit is configured to determine a first central processing unit of the plurality of CPUs as a main central processing unit.
19. The computer system of claim 11, wherein when the plurality of CPUs enter the multi-CPU booting mode, the booting unit is configured to determine a first central processing unit of the plurality of CPUs as a main central processing unit; and the booting unit is configured to transmit the booting signal to the plurality of CPUs via a logic unit.
20. The computer system of claim 11, wherein when the plurality of CPUs enter the independent booting mode, the booting unit is configured to determine each of the plurality of CPUs as a main central processing unit; and the booting unit is configured to transmit the booting signal to the plurality of CPUs via a logic unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
[0011]
DETAILED DESCRIPTION
[0012] Please refer to
[0013] Notably, an amount of the above CPU is not limited thereto; the computer system with other amounts of CPU is applicable to the present invention. That is, in another embodiment, the amount of CPU may be three or more, and not limited to two CPUs.
[0014] In detail, please refer to
[0015] In other words, under the multi-CPU booting mode, the CPUs CPU_1, CPU_2 . . . of the computer system 10 work together to achieve the high-speed computation.
[0016] Referring to the method of the computer system 10 determining the booting mode, in an embodiment, the booting unit BU is configured to determine the booting mode according to a hardware status or a firmware status of the computer system 10, e.g. a variation of pin connection or the booting mode is modified by a user on firmware of the computer system 10. As such, when the computer system 10 is rebooted, the booting unit BU may communicate with the CPUs CPU_1, CPU_2 via a communication interface, such as an enhanced Serial Peripheral Interface Bus (eSPI) or a quad Serial Peripheral Interface Bus (QSPI).
[0017] In an embodiment, please refer to
[0018] Notably, in another embodiment, the booting unit BU may directly transmit the booting signal to the CPUs CPU_1, CPU_2 to determine the CPU CPU_1 as the main CPU according to the booting mode, without transmitting the booting signal to the CPUs CPU_1, CPU_2 via the logic unit LU.
[0019] Moreover, when the CPUs CPU_1, CPU_2 of the computer system 40 in
[0020] Please refer to
[0021] Notably, the booting module BU_1 for managing the power source of the computer system 10 (i.e. the main booting module) may be default, or set by the user via firmware. That is, when the booting module BU_1 is broken, the booting module BU_2 may be assigned to manage the power source by default conditions of the computer system 10 or by the user.
[0022] In
[0023] A signal detection method respectively of the computer systems 40, 50 according to an embodiment of the present invention is summarized by system booting methods 60, 70, as shown in
[0024] Step 602: Start;
[0025] Step 604: The booting unit BU is powered up;
[0026] Step 606: The booting unit BU determines the booting mode of the computer system 40;
[0027] Step 608: The booting unit BU informs the logic unit LU of the booting signal related to the booting mode;
[0028] Step 610: The logic unit LU transmits the booting signal to the CPUs CPU_1, CPU_2 to change the signal status of the CPUs CPU_1, CPU_2;
[0029] Step 612: The CPUs CPU_1, CPU_2 enter the multi-CPU booting mode or the independent booting mode according to the booting signal;
[0030] Step 614: End.
[0031] The system booting method 70 corresponds to the embodiment of the computer system 50 in
[0032] Step 702: Start.
[0033] Step 704: The booting unit BU is powered up;
[0034] Step 706: Determine the first amount of the booting modules of the booting unit BU;
[0035] Step 708: Determine the booting module BU_1 of the booting unit BU for managing the power source of the computer system 50;
[0036] Step 710: The booting module BU_1 determines the booting mode of the computer system 50;
[0037] Step 712: The booting module BU_1 informs the logic unit LU of the booting signal related to the booting mode;
[0038] Step 714: The logic unit LU transmits the booting signal to the CPUs CPU_1, CPU_2 to modify the signal status of the CPUs CPU_1, CPU_2;
[0039] Step 716: The CPUs CPU_1, CPU_2 enter the multi-CPU booting mode or the independent booting mode according to the booting signal;
[0040] Step 718: End.
[0041] Refer to embodiments of the computer systems 10, 40, 50 mentioned above for a detailed description of the operation process of the system booting methods 60, 70, which will not be repeated herein for brevity.
[0042] Notably, those skilled in the art may make proper modifications to the present invention according to different requirements. For example, an amount of the CPU or the booting module, an allocation method of communication interfaces of the computer system, may be adjusted according to settings of computer systems. All these modifications belong to the scope of the present invention.
[0043] In summary, the present invention provides a system booting method and a related computer system, which operates the computer system with a multi-CPU booting mode or an independent booting mode to improve a computation ability of the computer system or server to diversify system risks.
[0044] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.