[go: up one dir, main page]

CN100442231C - Starting device and method for computer system - Google Patents

Starting device and method for computer system Download PDF

Info

Publication number
CN100442231C
CN100442231C CNB2006101542972A CN200610154297A CN100442231C CN 100442231 C CN100442231 C CN 100442231C CN B2006101542972 A CNB2006101542972 A CN B2006101542972A CN 200610154297 A CN200610154297 A CN 200610154297A CN 100442231 C CN100442231 C CN 100442231C
Authority
CN
China
Prior art keywords
processing unit
central processing
north bridge
program code
cpu
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.)
Active
Application number
CNB2006101542972A
Other languages
Chinese (zh)
Other versions
CN1924808A (en
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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006101542972A priority Critical patent/CN100442231C/en
Publication of CN1924808A publication Critical patent/CN1924808A/en
Application granted granted Critical
Publication of CN100442231C publication Critical patent/CN100442231C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a starting device and a method of a computer system, wherein the starting device comprises a basic input and output system, a processing unit, a north bridge chip and a central processing unit, wherein the basic input and output system stores a plurality of setting parameters and a starting program code. The method is that the processing unit generates a reading address signal corresponding to one of the setting parameters, so as to drive the north bridge chip to read the corresponding setting parameter for setting, and drive the central processing unit to read the boot program code of the basic input and output system through the north bridge chip. If the CPU can not read the boot program code, the processing unit sends another read address signal to let the north bridge chip read another corresponding setting parameter, and the process is repeated until the CPU can read the boot program code and execute it to stabilize the boot.

Description

计算机系统的开机装置及方法 Device and method for starting computer system

技术领域 technical field

本发明涉及一种计算机系统的开机装置及方法,特别是涉及一种计算机系统的开机装置及方法,其是利用执行至少一次读取的方式,以取得匹配中央处理单元的设定参数,藉以完成开机程序。The present invention relates to a booting device and method for a computer system, in particular to a booting device and method for a computer system, which utilizes at least one reading method to obtain setting parameters that match a central processing unit, thereby completing boot process.

背景技术 Background technique

近年来科技产业兴起,带动整个世界迈入科技应用的时代,各式各样的科技产品不断地推陈出新,其中,最为重要及更新速度最快的产品,即目前用途最为广泛的计算机系统。由于计算机系统的用途极为广泛,不但有许多公司行号皆利用计算机系统,以增加操作上的效率,亦有许多的家庭配置计算机系统以提供娱乐及在家处理事务等活动。且由于因特网发达,使得计算机系统的普及率与日俱增,也因此导致消费者对于计算机系统设备的需求亦与日俱增,众多业者无不竭其所能地利用大量的人力物力,以求研发出更符合消费者需求的计算机系统设备。In recent years, the rise of the technology industry has brought the whole world into the era of technology applications. Various technology products are constantly being introduced. Among them, the most important and fastest-updating products are currently the most widely used computer systems. Due to the wide range of uses of computer systems, not only many companies use computer systems to increase operational efficiency, but also many families configure computer systems to provide entertainment and handle affairs at home. Moreover, due to the development of the Internet, the penetration rate of computer systems is increasing day by day, which also leads to the increasing demand of consumers for computer system equipment. computer system equipment.

中央处理单元是计算机系统的核心设备,而主机板则供所有计算机系统设备设置,以连结所有计算机系统设备使计算机系统设备间可互相搭配而正常运作,因此主机板的重要性,并不亚于中央处理单元。也因如此,使得业者投入大量的资源,以期研发出性能更佳的中央处理单元及主机板。计算机系统开机时,中央处理单元会驱使北桥芯片经由南桥芯片至主机板的基本输入输出系统读取所储存的设定参数,以设定北桥芯片而与中央处理单元相搭配,使得中央处理单元可撷取基本输入输出系统所储存的开机程序代码,执行开机程序而运作。The central processing unit is the core equipment of the computer system, and the motherboard is used for all computer system equipment to connect all computer system equipment so that the computer system equipment can be matched with each other and operate normally. Therefore, the importance of the motherboard is no less than that of the computer system. central processing unit. Also because of this, the industry has invested a lot of resources in order to develop a central processing unit and a motherboard with better performance. When the computer system is turned on, the central processing unit will drive the north bridge chip to read the stored setting parameters through the south bridge chip to the basic input and output system of the motherboard, so as to set the north bridge chip and match it with the central processing unit, so that the central processing unit The boot program code stored in the basic input and output system can be retrieved, and the boot program can be executed to operate.

由于现今中央处理单元发展相当快速,使用者为了提高计算机系统的处理速度,会更换主机板上的中央处理单元,如此容易发生主机板的基本输入输出系统所储存的设定参数无法匹配于更换后的中央处理单元。如此则会发生中央处理单元无法正确撷取基本输入输出系统所储存的开机程序代码,故中央处理单元无法正确执行开机程序,所以计算机系统将无法正常开机而运作。目前大多数使用者是藉由下载更新基本输入输出系统的方式,使基本输入输出系统所储存的设定参数可匹配于中央处理单元,进而使中央处理单元能够执行开机程序。但使用者更新基本输入输出系统时常发生因更新错误,而导致基本输入输出系统无法正常运作,使得计算机系统无法正常运作,如此即造成使用者不便。Due to the rapid development of the central processing unit nowadays, in order to improve the processing speed of the computer system, users will replace the central processing unit on the motherboard, so it is easy to happen that the setting parameters stored in the basic input and output system of the motherboard cannot match the replacement central processing unit. In this way, the central processing unit cannot correctly retrieve the boot program code stored in the BIOS, so the central processing unit cannot correctly execute the boot program, so the computer system cannot be normally booted and operated. At present, most users download and update the BIOS, so that the setting parameters stored in the BIOS can match with the central processing unit, so that the central processing unit can execute the booting procedure. However, users often update the BIOS due to updating errors, which causes the BIOS to fail to operate normally, and the computer system to fail to operate normally, thus causing inconvenience to the users.

发明内容 Contents of the invention

本发明提供一种计算机系统的开机装置,其包含一基本输出输入系统,用以储存多个设定参数;一处理单元,用以相对基本输入输出系统的设定参数产生多个读取地址讯号以读取对应的设定参数;一北桥芯片,用以依据处理单元所传送的一读取地址讯号读取对应的设定参数以进行设定;以及一中央处理单元,藉由该北桥芯片读取基本输入输出系统的开机程序代码以执行开机程序,其中,当该中央处理单元执行该开机程序代码出错时,该处理单元依据从该基本输入输出系统读取的一第二索引讯号和前一次产生的第一读取地址讯号来发送一第二读取地址讯号,以使该北桥芯片读取对应的另一该设定参数。中央处理单元于确实读取开机程序代码并执行后会发送一确认值至北桥芯片。此开机装置还包含一计数单元用以计数一计数时间,北桥芯片于此计数时间内等待中央处理单元传送确认值,北桥芯片若未在此计数时间内接收到确认值则判定为该中央处理单元执行该开机程序代码出错;一储存单元用以储存设定参数。The present invention provides a booting device for a computer system, which includes a basic input and output system for storing multiple setting parameters; a processing unit for generating multiple read address signals relative to the setting parameters of the basic input and output system to read the corresponding setting parameters; a north bridge chip, used to read the corresponding setting parameters according to a read address signal sent by the processing unit for setting; and a central processing unit, through the north bridge chip to read Get the boot program code of the basic input output system to execute the boot program, wherein, when the central processing unit executes the boot program code error, the processing unit reads a second index signal from the basic input output system and the previous time The generated first read address signal is used to send a second read address signal, so that the north bridge chip reads another corresponding setting parameter. After the central processing unit reads and executes the boot program code, it will send a confirmation value to the north bridge chip. The boot device also includes a counting unit for counting a counting time. The north bridge chip waits for the central processing unit to send a confirmation value within this counting time. If the north bridge chip does not receive the confirmation value within this counting time, it is determined that the central processing An error occurs when the unit executes the boot program code; a storage unit is used for storing setting parameters.

本发明又提供一种计算机系统的开机方法,本发明的方法适用于一中央处理单元通过一北桥芯片读取一基本输入输出系统的一开机程序代码的计算机系统,本发明的基本输入输出系统包含多个设定参数,用于设定北桥芯片。本发明首先产生对应所述设定参数之一的一读取地址讯号;之后,依据读取地址讯号读取对应的设定参数,以设定北桥芯片;而后,驱使中央处理单元通过北桥芯片读取基本输入输出系统的开机程序代码以执行计算机系统的开机程序,以及当该中央处理单元执行该开机程序代码出错时,从该基本输入输出系统读取的一第二索引讯号和该第一读取地址讯号来发送一第二读取地址讯号,以使该北桥芯片读取对应的另一该设定参数。若此设定参数匹配于中央处理单元,可使中央处理单元确实撷取开机程序代码并执行,则中央处理单元发出一确认值至北桥芯片。若不相匹配,则北桥芯片接收不到确认值,则判定为该中央处理单元执行该开机程序代码出错,即产生另一该读取地址讯号而让北桥芯片读取另一对应的该设定参数以进行设定,直至中央处理单元可确实撷取开机程序代码而发出确认值至北桥芯片。The present invention provides a kind of booting method of computer system again, and method of the present invention is applicable to the computer system that a central processing unit reads a boot program code of a basic input and output system by a north bridge chip, basic input and output system of the present invention comprises A plurality of setting parameters are used to set the north bridge chip. The present invention first generates a reading address signal corresponding to one of the setting parameters; then, reads the corresponding setting parameter according to the reading address signal to set the north bridge chip; then, drives the central processing unit to read through the north bridge chip fetching the boot program code of the basic input output system to execute the boot program of the computer system, and when the central processing unit executes the boot program code error, a second index signal read from the basic input output system and the first read The address signal is taken to send a second read address signal, so that the north bridge chip reads another corresponding setting parameter. If the setting parameters are matched with the central processing unit, the central processing unit can capture and execute the boot program code, and then the central processing unit sends a confirmation value to the north bridge chip. If they do not match, the Northbridge chip cannot receive the confirmation value, and it is determined that the central processing unit executes the boot program code in error, that is, another read address signal is generated to allow the Northbridge chip to read another corresponding setting. Parameters are set until the central processing unit can actually capture the boot program code and send a confirmation value to the north bridge chip.

附图说明 Description of drawings

图1是本发明的一较佳实施例的方块图;及Figure 1 is a block diagram of a preferred embodiment of the present invention; and

图2是本发明的一较佳实施例的流程图。Fig. 2 is a flowchart of a preferred embodiment of the present invention.

附图符号说明Description of reference symbols

10中央处理单元10 central processing unit

20北桥芯片20 north bridge chips

23储存单元23 storage units

25处理单元25 processing units

27计数单元27 count units

30南桥芯片30 south bridge chip

40基本输入输出系统40 basic input output system

具体实施方式 Detailed ways

首先,请参阅图1,为本发明计算机系统的开机装置的一较佳实施例的方块图。如图所示,本发明的开机装置包含一中央处理单元10、一北桥芯片20、一储存单元23、一处理单元25、一计数单元27、一南桥芯片30与一基本输入输出系统40,其中储存单元23、处理单元25、计数单元27设置于北桥芯片20,北桥芯片20连接中央处理单元10及南桥芯片30,而南桥芯片30则连接基本输入输出系统40。First, please refer to FIG. 1 , which is a block diagram of a preferred embodiment of a boot device for a computer system according to the present invention. As shown in the figure, the boot device of the present invention includes a central processing unit 10, a north bridge chip 20, a storage unit 23, a processing unit 25, a counting unit 27, a south bridge chip 30 and a basic input output system 40, The storage unit 23 , the processing unit 25 , and the counting unit 27 are arranged on the north bridge chip 20 , the north bridge chip 20 is connected to the central processing unit 10 and the south bridge chip 30 , and the south bridge chip 30 is connected to the BIOS 40 .

处理单元25用以发送多读取地址讯号,以驱使南桥芯片30读取基本输入输出系统40的设定参数;储存单元23用以储存基本输入输出系统40的设定参数,以设定北桥芯片20,使中央处理单元10可通过北桥芯片20并经由南桥芯片30至基本输入输出系统40读取开机程序代码并执行,以执行开机程序,本发明的开机程序代码使中央处理单元10在执行时先回复一确认值至北桥芯片20,使北桥芯片20得知中央处理单元10已正确执行开机程序代码进行开机程序;计数单元27用以计数一固定时间,以等待中央处理单元10回复该确认值,藉此确认计算机系统是否可依据目前所设定的设定参数正常开机。The processing unit 25 is used to send multiple read address signals to drive the south bridge chip 30 to read the setting parameters of the basic input output system 40; the storage unit 23 is used to store the setting parameters of the basic input output system 40 to set the north bridge Chip 20, so that the central processing unit 10 can read the boot program code through the north bridge chip 20 and via the south bridge chip 30 to the basic input and output system 40 and execute it to execute the boot program. The boot program code of the present invention enables the central processing unit 10 to operate When executing, return a confirmation value to the north bridge chip 20 earlier, so that the north bridge chip 20 knows that the central processing unit 10 has correctly executed the boot program code and carries out the boot program; the counting unit 27 is used for counting a fixed time, to wait for the central processing unit 10 to reply The confirmation value is used to confirm whether the computer system can be started normally according to the currently set setting parameters.

于计算机系统开机时,中央处理单元10发出一开机讯号至北桥芯片20,北桥芯片20接收到中央处理单元10发出的开机讯号,即对应发出一地址讯号至南桥芯片30,以通过南桥芯片30依据地址讯号至基本输入输出系统40读取一索引讯号,并再将此索引讯号传送至北桥芯片20。于先前技术的计算机系统,北桥芯片20直接依据此索引讯号通过南桥芯片30至基本输入输出系统40内读取设定参数,此设定参数存放于一特定地址,若此设定参数与中央处理单元10不相匹配时,计算机系统即无法正常开机。When the computer system is turned on, the central processing unit 10 sends a starting signal to the north bridge chip 20, and the north bridge chip 20 receives the starting signal sent by the central processing unit 10, and correspondingly sends an address signal to the south bridge chip 30 to pass the south bridge chip 30 reads an index signal from the BIOS 40 according to the address signal, and then sends the index signal to the north bridge chip 20 . In the computer system of the prior art, the north bridge chip 20 directly reads the setting parameters through the south bridge chip 30 to the basic input output system 40 according to the index signal, and the setting parameters are stored in a specific address. When the processing unit 10 does not match, the computer system cannot be started normally.

然而于本实施例中,基本输入输出系统40的索引讯号传送至处理单元25,接着处理单元25即依据索引讯号产生一第一读取地址讯号并传送第一读取地址讯号至南桥芯片30,而读取基本输入输出系统40的一第一设定参数,并传输至北桥芯片20而存放至北桥芯片20的储存单元23,以设定北桥芯片20,其中处理单元25的一较佳实施例可设置于北桥芯片20。本发明的基本输入输出系统40存放多组设定参数,处理单元25则依据基本输入输出系统40所存放的设定参数数目,相对会产生多个读取地址讯号而分别对应至每组设定参数的存放地址。如此一来,计算机系统即可于开机时执行多次读取设定参数的程序,以选择与中央处理单元10相匹配的设定参数来执行开机,确保计算机系统可正常开机而运作。However, in this embodiment, the index signal of the BIOS 40 is sent to the processing unit 25, and then the processing unit 25 generates a first read address signal according to the index signal and sends the first read address signal to the south bridge chip 30 , and read a first setting parameter of the basic input output system 40, and transmit it to the north bridge chip 20 and store it in the storage unit 23 of the north bridge chip 20, to set the north bridge chip 20, wherein a preferred implementation of the processing unit 25 For example, it can be set on the north bridge chip 20 . The basic input and output system 40 of the present invention stores multiple sets of setting parameters, and the processing unit 25 generates a plurality of reading address signals corresponding to each set of setting parameters according to the number of setting parameters stored in the basic input and output system 40 The storage address of the parameter. In this way, the computer system can execute the program of reading the setting parameters multiple times when starting up, so as to select the setting parameters matching the central processing unit 10 for starting up, so as to ensure that the computer system can start up normally and operate.

北桥芯片20于第一设定参数读取完毕并设定完成后,即发出一重置讯号至中央处理单元10,驱使中央处理单元10读取基本输入输出系统40所储存的开机程序代码并加以执行。计数单元27于北桥芯片20发出重置讯号时开始计数一固定时间,若中央处理单元10可撷取正确的开机程序代码,中央处理单元10执行正确的开机程序代码后,将会于此固定时间内发出一确认值至北桥芯片20,则代表第一设定参数与中央处理单元10相匹配,即北桥芯片20所设定的第一设定参数可使中央处理单元10确实通过北桥芯片20撷取正确的开机程序代码而正常执行开机程序,之后计数单元27即结束计数并归零。After the north bridge chip 20 reads the first setting parameter and completes the setting, it sends a reset signal to the central processing unit 10 to drive the central processing unit 10 to read the boot program code stored in the basic input output system 40 and execute it. implement. The counting unit 27 starts counting for a fixed time when the north bridge chip 20 sends a reset signal. If the central processing unit 10 can retrieve the correct boot program code, the central processing unit 10 will be fixed here after executing the correct boot program code. Sending a confirmation value to the north bridge chip 20 within the time means that the first setting parameter matches the central processing unit 10, that is, the first setting parameter set by the north bridge chip 20 can make the central processing unit 10 pass through the north bridge chip 20. The correct boot program code is retrieved to execute the boot program normally, and then the counting unit 27 ends counting and resets to zero.

此固定时间的长度应足够中央处理单元10读取并执行开机程序代码,以确保中央处理单元10的确认值可被北桥芯片20接收。若此固定时间过短,则北桥芯片20可能误判此组设定参数有误,而再次读取下一组设定参数,反而会造成计算机系统仍无法正常开机。若此固定时间过长,虽可保证确认值必可被北桥芯片20接收无误,但将造成开机时间过长,亦不符合使用者的期望。因此,此固定时间的选择应以足够中央处理单元10执行开机程序代码为原则,审慎斟酌。The length of this fixed time should be enough for the CPU 10 to read and execute the boot program code, so as to ensure that the confirmation value of the CPU 10 can be received by the north bridge chip 20 . If the fixed time is too short, then the north bridge chip 20 may misjudge that this set of setting parameters is wrong, and read the next set of setting parameters again, which will cause the computer system to still fail to start normally. If the fixed time is too long, although it can be guaranteed that the confirmation value will be received by the north bridge chip 20 without error, it will cause too long boot time, which does not meet the user's expectations. Therefore, the selection of the fixed time should be based on the principle that the CPU 10 can execute the boot program code, and should be carefully considered.

若中央处理单元10撷取开机程序代码后,于计数单元27所计数的固定时间结束时,北桥芯片20仍未接收到中央处理单元10发送的确认值,即表示第一设定参数与中央处理单元10不相匹配,导致中央处理单元10未撷取到正确的开机程序代码而没有发送确认值至北桥芯片20。计数单元27于计数结束后归零,北桥芯片20则发出一重启动讯号至中央处理单元10,使中央处理单元10再度发出开机讯号至北桥芯片20,以再度重新读取设定参数。If after the central processing unit 10 captures the boot program code, when the fixed time counted by the counting unit 27 ends, the north bridge chip 20 has not yet received the confirmation value sent by the central processing unit 10, which means that the first setting parameter and the central processing The units 10 do not match, so that the CPU 10 does not capture the correct boot code and does not send a confirmation value to the north bridge chip 20 . The counting unit 27 resets to zero after counting ends, and the north bridge chip 20 then sends a restart signal to the central processing unit 10, so that the central processing unit 10 sends a boot signal to the north bridge chip 20 again to re-read the setting parameters again.

承接上述,北桥芯片20接收到开机讯号后,亦发出地址讯号至南桥芯片30而至基本输入输出系统40读取索引讯号,并传输至北桥芯片20的处理单元25。而处理单元25则依据索引讯号及前一次产生的第一读取地址讯号,产生一第二读取地址讯号并传送第二读取地址讯号至南桥芯片30,以读取基本输入输出系统40的第二设定参数,并传送至北桥芯片20而储存于储存单元23,此时原先储存的第一设定参数会被第二设定参数覆盖。而北桥芯片20亦发出重置讯号至中央处理单元10,驱使中央处理单元10撷取基本输入输出系统40的开机程序代码,以进行开机程序而完成计算机系统开机。Following the above, after receiving the power-on signal, the north bridge chip 20 also sends an address signal to the south bridge chip 30 to read the index signal from the BIOS 40 and transmits it to the processing unit 25 of the north bridge chip 20 . The processing unit 25 generates a second read address signal according to the index signal and the first read address signal generated last time and sends the second read address signal to the south bridge chip 30 to read the BIOS 40 The second setting parameter is transmitted to the north bridge chip 20 and stored in the storage unit 23. At this time, the previously stored first setting parameter will be overwritten by the second setting parameter. The north bridge chip 20 also sends a reset signal to the central processing unit 10 to drive the central processing unit 10 to retrieve the boot program code of the BIOS 40 to carry out the boot process and complete the booting of the computer system.

若于计数单元27计数的固定时间内,中央处理单元10撷取到正确的开机程序代码并执行后,发送确认值至北桥芯片20,即表示第二设定参数是匹配于中央处理单元10。若北桥芯片20依然未接收到确认值,即重复上述的相关操作,直至北桥芯片20接收到确认值,如此即可让北桥芯片20读取并设定与中央处理单元10相匹配的设定参数,使中央处理单元10可撷取并执行正确的开机程序代码而完成计算机系统开机的操作。If within the fixed time counted by the counting unit 27, the central processing unit 10 captures and executes the correct boot program code, and sends a confirmation value to the north bridge chip 20, it means that the second setting parameter matches the central processing unit 10. If the north bridge chip 20 still has not received the confirmation value, repeat the above-mentioned related operations until the north bridge chip 20 receives the confirmation value, so that the north bridge chip 20 can be read and set the setting parameters matched with the central processing unit 10 , so that the central processing unit 10 can retrieve and execute the correct boot program code to complete the computer system boot operation.

此外,北桥芯片20于接收到中央处理单元10的确认值后,可保留对应的该组设定参数于储存单元23内,并于计算机系统下次执行开机,中央处理单元10发出开机讯号时,让北桥芯片20直接发送重置讯号至中央处理单元10,驱使中央处理单元10撷取正确的开机程序代码以进行开机的程序。如此可方便使用者于往后开启计算机系统时,直接执行正确的开机程序代码。由于本发明的主机板的基本输入输出系统40储存有多组设定参数,所以使用者欲更新中央处理单元10时,不需更换主机板亦可正常执行开机的程序。In addition, after receiving the confirmation value from the central processing unit 10, the north bridge chip 20 can retain the corresponding set of parameters in the storage unit 23, and when the computer system is powered on next time, when the central processing unit 10 sends a power-on signal, Let the north bridge chip 20 directly send a reset signal to the central processing unit 10 to drive the central processing unit 10 to retrieve the correct boot program code to perform the boot process. In this way, it is convenient for the user to directly execute the correct boot program code when turning on the computer system in the future. Since the BIOS 40 of the mainboard of the present invention stores multiple sets of setting parameters, when the user wants to update the central processing unit 10, the booting procedure can be executed normally without replacing the mainboard.

本实施例的基本输出输入系统40可依据实际需求预设多组设定参数,以支持各种型式的中央处理单元10,便于使用者更换中央处理单元10。北桥芯片20的处理单元25亦依据预设设定参数的数量,而对应发送多读取地址讯号,各读取地址讯号系分别对应至各组设定参数,使主机板可搭配各种型式的中央处理单元10,以提高计算机系统的兼容性。The basic input/output system 40 of this embodiment can preset multiple sets of setting parameters according to actual needs, so as to support various types of central processing units 10 , which is convenient for users to replace the central processing units 10 . The processing unit 25 of the north bridge chip 20 also sends multiple read address signals correspondingly according to the number of preset setting parameters, and each read address signal is respectively corresponding to each set of setting parameters, so that the motherboard can be matched with various types of The central processing unit 10 is used to improve the compatibility of the computer system.

请一并参阅图2,为本发明的开机方法的一较佳实施例的流程图。如图所示,首先,如步骤S1所示,当计算机系统欲执行开机时,中央处理单元10发出一开机讯号至北桥芯片20;接着,如步骤S2所示,北桥芯片20接收开机讯号后,发送一地址讯号至南桥芯片30;然后,南桥芯片30执行步骤S3,依据地址讯号至基本输入输出系统40读取一索引讯号至北桥芯片20;接着,如步骤S4所示,处理单元25依据索引讯号产生一读取地址讯号而传送至南桥芯片30;之后,南桥芯片30如步骤S5所示,依据读取地址讯号读取基本输入输出系统40所对应的设定参数并传送至北桥芯片20的储存单元23而储存。Please also refer to FIG. 2 , which is a flowchart of a preferred embodiment of the booting method of the present invention. As shown in the figure, at first, as shown in step S1, when the computer system is about to be started, the central processing unit 10 sends a start signal to the north bridge chip 20; then, as shown in step S2, after the north bridge chip 20 receives the start signal, Send an address signal to the south bridge chip 30; then, the south bridge chip 30 executes step S3, reads an index signal to the north bridge chip 20 according to the address signal to the basic input and output system 40; then, as shown in step S4, the processing unit 25 Generate a read address signal according to the index signal and send it to the south bridge chip 30; afterward, the south bridge chip 30 reads the corresponding setting parameters of the basic input output system 40 according to the read address signal and sends it to the south bridge chip 30 as shown in step S5. stored in the storage unit 23 of the north bridge chip 20 .

之后,如步骤S6所示,北桥芯片20发出一重置讯号至中央处理单元10,使中央处理单元10藉由北桥芯片20并经由南桥芯片30读取基本输入输出系统40的开机程序代码以执行开机;然后,如步骤S7所示,若中央处理单元10可确实撷取到正确的开机程序代码并执行,而产生确认值至北桥芯片20,则如步骤S8所示,表示北桥芯片20所读取而设定的设定参数系匹配于中央处理单元10,使得中央处理单元10可正确撷取并执行开机程序代码而让计算机系统正常开机;但若中央处理单元10无发送确认值,则表示北桥芯片20所读取的设定参数与中央处理单元10不相匹配,此时北桥芯片20即驱使中央处理单元10重复执行步骤S1以发出开机讯号,而再次执行步骤S2至步骤S7,也就是使处理单元25发送一第二读取地址讯号,以读取基本输入输出系统40的一第二设定参数,依此类推直至中央处理单元10传送确认值至北桥芯片20为止。如上所述,北桥芯片20驱使中央处理单元10再次执行步骤S1的方式,系发送一重启动讯号至中央处理单元10,驱使中央处理单元10发送开机讯号。Afterwards, as shown in step S6, the north bridge chip 20 sends a reset signal to the central processing unit 10, so that the central processing unit 10 reads the boot program code of the basic input output system 40 through the north bridge chip 20 and through the south bridge chip 30 to Execute booting; then, as shown in step S7, if central processing unit 10 can capture correct boot program code and carry out indeed, and produce confirmation value to north bridge chip 20, then as shown in step S8, represent north bridge chip 20 The setting parameters set by reading are matched with the central processing unit 10, so that the central processing unit 10 can correctly retrieve and execute the boot program code to allow the computer system to start normally; but if the central processing unit 10 does not send a confirmation value, then Indicates that the set parameters read by the north bridge chip 20 do not match the central processing unit 10. At this time, the north bridge chip 20 promptly drives the central processing unit 10 to repeatedly execute step S1 to send a boot signal, and execute steps S2 to step S7 again. That is to make the processing unit 25 send a second read address signal to read a second setting parameter of the BIOS 40 , and so on until the central processing unit 10 sends a confirmation value to the north bridge chip 20 . As mentioned above, the north bridge chip 20 drives the central processing unit 10 to execute step S1 again by sending a restart signal to the central processing unit 10 to drive the central processing unit 10 to send a power-on signal.

综上所述,本发明针对现存问题而提出一种计算机系统的开机装置及方法,不仅可改善北桥芯片所设的设定参数与中央处理单元不相匹配而无法开机的缺点,又可增加使用者于更新中央处理单元的便利性。本发明计算机系统的开机装置及方法,其是藉由基本输入输出系统包含有多设定参数,以供单一主机板能够匹配多种类的中央处理单元,且于装设中央处理单元于主机板后,本发明即可自动设定与中央处理单元相匹配的设定参数,以驱使中央处理单元可撷取正确的开机程序代码而正常进行开机操作,以达到计算机系统稳定开机的目的。In summary, the present invention proposes a booting device and method for a computer system aimed at the existing problems, which can not only improve the shortcoming that the set parameters of the northbridge chip do not match the central processing unit and cannot be booted, but also increase the use of Or in the convenience of updating the central processing unit. The booting device and method of the computer system of the present invention include multi-setting parameters through the basic input and output system, so that a single motherboard can match multiple types of central processing units, and after the central processing unit is installed on the motherboard , the present invention can automatically set the setting parameters that match the central processing unit, so as to drive the central processing unit to retrieve the correct boot program code and perform normal boot operation, so as to achieve the purpose of stable booting of the computer system.

以上所述,仅为本发明的较佳实施例而已,并非用来限定本发明实施的范围,故凡依本发明的权利要求所述的形状、构造、特征及精神所做的均等变化与修饰,均应包括于本发明的权利要求范围内。The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Therefore, all equivalent changes and modifications are made according to the shape, structure, characteristics and spirit of the claims of the present invention. , should be included in the scope of the claims of the present invention.

Claims (10)

1. the opening device of a computer system comprises:
One Basic Input or Output System (BIOS) stores a plurality of setup parameters and a boot-strap program code;
One processing unit, the described setup parameter of this Basic Input or Output System (BIOS) produces corresponding a plurality of address signals that read relatively;
One north bridge chips, this read address signal and read this corresponding setup parameter according to this processing unit transmits; And
One CPU (central processing unit) reads this boot-strap program code of this Basic Input or Output System (BIOS) and also carries out by this north bridge chips,
Wherein, when this CPU (central processing unit) is carried out this boot-strap program code and is made mistakes, this processing unit is according to one second index signal that reads from this Basic Input or Output System (BIOS) and preceding first reading address signal and send one second and read address signal of once producing, so that this north bridge chips reads another corresponding this setup parameter.
2. opening device as claimed in claim 1, wherein this north bridge chips produces an address signal according to a start signal of this CPU (central processing unit), and send this address signal to one South Bridge chip, order about this South Bridge chip and read one first index signal of this Basic Input or Output System (BIOS) according to this address signal, this processing unit produces this according to this first index signal and first reads address signal.
3. opening device as claimed in claim 1 wherein behind this this boot-strap program code of CPU (central processing unit) successful execution, sends an affirmation value to this north bridge chips; When this north bridge chips does not receive this affirmation value, then be judged to be this CPU (central processing unit) and carry out this boot-strap program code and make mistakes.
4. opening device as claimed in claim 3 also comprises a counting unit, and in order to count a gate time, this north bridge chips waits for that in this gate time this CPU (central processing unit) transmits this affirmation value.
5. opening device as claimed in claim 1, wherein this opening device also comprises a storage element in order to store this setup parameter.
6. the starting-up method of a computer system, be applicable to that a CPU (central processing unit) reads the computer system of a boot-strap program code of a Basic Input or Output System (BIOS) by a north bridge chips, this Basic Input or Output System (BIOS) stores a plurality of setup parameters and a boot program, and this method comprises the following step;
Produce corresponding described setup parameter one of them one first read address signal;
First read address signal and read this corresponding setup parameter according to this, to set this north bridge chips;
Order about this CPU (central processing unit) reads this Basic Input or Output System (BIOS) by this north bridge chips this boot-strap program code and execution; And
When this CPU (central processing unit) is carried out this boot-strap program code and is made mistakes, the one second index signal that reads from this Basic Input or Output System (BIOS) and this first reads address signal and sends one second and read address signal, so that this north bridge chips reads another corresponding this setup parameter.
7. starting-up method as claimed in claim 6, before wherein producing one first of one of corresponding described setup parameter and reading the step of address signal, this CPU (central processing unit) sends a start signal to this north bridge chips, sends address signal to a South Bridge chip to order about this north bridge chips; This South Bridge chip reads one first index signal of this Basic Input or Output System (BIOS) according to this address signal, first reads address signal to produce this according to this first index signal.
8. starting-up method as claimed in claim 6, wherein order about this CPU (central processing unit) and also comprise by the step that this north bridge chips reads this boot-strap program code of this Basic Input or Output System (BIOS):
Send a replacement signal to this CPU (central processing unit), order about this CPU (central processing unit) and read this boot-strap program code;
Wherein send the step of this replacement signal, be by this north bridge chips after reading this setup parameter, send this replacement signal to this CPU (central processing unit).
9. starting-up method as claimed in claim 6 wherein behind this this boot-strap program code of CPU (central processing unit) successful execution, sends an affirmation value to this north bridge chips; This north bridge chips is waited for this affirmation value in a gate time, when this north bridge chips does not receive this affirmation value, then be judged to be this CPU (central processing unit) and carry out this boot-strap program code and make mistakes.
10 starting-up methods as claimed in claim 6, wherein this setup parameter can be stored in a storage element of this north bridge chips.
CNB2006101542972A 2006-09-20 2006-09-20 Starting device and method for computer system Active CN100442231C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101542972A CN100442231C (en) 2006-09-20 2006-09-20 Starting device and method for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101542972A CN100442231C (en) 2006-09-20 2006-09-20 Starting device and method for computer system

Publications (2)

Publication Number Publication Date
CN1924808A CN1924808A (en) 2007-03-07
CN100442231C true CN100442231C (en) 2008-12-10

Family

ID=37817463

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101542972A Active CN100442231C (en) 2006-09-20 2006-09-20 Starting device and method for computer system

Country Status (1)

Country Link
CN (1) CN100442231C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI482004B (en) 2009-01-23 2015-04-21 Asustek Comp Inc Processing device and method of system booting failure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1165347A (en) * 1997-03-26 1997-11-19 联想集团公司 Personal computer with automatic set-up CPU parameter valve
US6003130A (en) * 1996-10-28 1999-12-14 Micron Electronics, Inc. Apparatus for selecting, detecting and/or reprogramming system bios in a computer system
CN1405677A (en) * 2002-11-18 2003-03-26 威盛电子股份有限公司 Method for turning-on computer capable of debugging system and computer system thereof
CN1635472A (en) * 2003-12-31 2005-07-06 英业达股份有限公司 Power-on switching method of multi-processor computer system
CN1687920A (en) * 2005-05-30 2005-10-26 威盛电子股份有限公司 Motherboard and its control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003130A (en) * 1996-10-28 1999-12-14 Micron Electronics, Inc. Apparatus for selecting, detecting and/or reprogramming system bios in a computer system
CN1165347A (en) * 1997-03-26 1997-11-19 联想集团公司 Personal computer with automatic set-up CPU parameter valve
CN1405677A (en) * 2002-11-18 2003-03-26 威盛电子股份有限公司 Method for turning-on computer capable of debugging system and computer system thereof
CN1635472A (en) * 2003-12-31 2005-07-06 英业达股份有限公司 Power-on switching method of multi-processor computer system
CN1687920A (en) * 2005-05-30 2005-10-26 威盛电子股份有限公司 Motherboard and its control method

Also Published As

Publication number Publication date
CN1924808A (en) 2007-03-07

Similar Documents

Publication Publication Date Title
US8874953B2 (en) System and method of cloud testing and remote monitoring for integrated circuit components in system validation
US8046743B1 (en) Method and system for remote software debugging
CN103412769B (en) External card parameter configuration, equipment and system
CN104185836B (en) Method and system for verifying proper operation of computing device after system change
US9467511B2 (en) Techniques for use of vendor defined messages to execute a command to access a storage device
CN103942065B (en) For updating the method and system of firmware compatibility data
US20090198770A1 (en) System and method of updating codes in controller
CN109426613B (en) Method for retrieving debugging data in UEFI and computer system thereof
CN106201563A (en) The method and apparatus that the collocation method of start-up parameter and device, mainboard start
CN102713843A (en) Method for enumerating USB devices including detecting USB host operating system types
TWI755184B (en) Electronic apparatus and boot method thereof
US10558453B1 (en) System and method to achieve shared drive firmware version consistency via ESRT update
CN114281394A (en) Method, system, equipment and medium for fast on-line upgrading program
CN113867743B (en) Network operating system loading and burning method, device, electronic equipment and storage medium
CN110187872A (en) A BIOS development method, system, electronic equipment, and storage medium
CN100442231C (en) Starting device and method for computer system
CN113360161B (en) Resource upgrading method and related products
CN104111845A (en) Processing device and system program changing method
CN101751311B (en) Request processing device, request processing system, and access testing method
US20060080636A1 (en) Method of building intelligent platform management interface firmware architecture
JP5489278B2 (en) Information processing apparatus and activation method thereof
CN107562440B (en) A kind of eeprom version update method and device
CN113868128B (en) Method and device for testing PXE (PCI express) guide function and storage medium
CN114706605A (en) A Flash upgrade method, device, equipment and storage medium
CN102455970B (en) Multi-peripheral-equipment boot implementation method, equipment and system with reliability detection function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant