CN101211268A - System and method for starting mainboard by loading starting program through different interfaces - Google Patents
System and method for starting mainboard by loading starting program through different interfaces Download PDFInfo
- Publication number
- CN101211268A CN101211268A CNA2006101720772A CN200610172077A CN101211268A CN 101211268 A CN101211268 A CN 101211268A CN A2006101720772 A CNA2006101720772 A CN A2006101720772A CN 200610172077 A CN200610172077 A CN 200610172077A CN 101211268 A CN101211268 A CN 101211268A
- Authority
- CN
- China
- Prior art keywords
- mentioned
- interface
- startup
- program
- mainboard
- 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.)
- Granted
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
技术领域 technical field
一种启动主板的系统及其方法,特别是指一种可自动检测不同接口来加载启动程序以启动主板的系统及其方法。A system and method for starting a mainboard, particularly a system and a method that can automatically detect different interfaces to load a startup program to start a mainboard.
背景技术 Background technique
基本输出/入系统(BIOS)是一段程序代码,通常存储在主板的电可擦写可编程只读存储器(EEPROM)或闪存(Flash)中,当主板要启动时,中央处理器(CPU)会将其加载到基本输出/入系统中并执行,使得各个外围设备得以进行工作。The basic input/output system (BIOS) is a piece of program code, which is usually stored in the electrically erasable programmable read-only memory (EEPROM) or flash memory (Flash) of the motherboard. When the motherboard is about to start, the central processing unit (CPU) will It is loaded into the basic I/O system and executed so that the various peripheral devices can work.
若基本输出/入系统损毁,则主板便无法加载完整的基本输出/入系统来进行启动,为此,有厂商研发自动更新基本输出/入系统的技术,使得当基本输出/入系统损毁时,可以由主板自动修复。目前常见的方法是将备份的基本输出/入系统存储在同一个主板中,在通常使用的基本输出/入系统损毁时,加载备份的基本输出/入系统,然后再以备份的基本输出/入系统覆盖通常使用的基本输出/入系统,从而实现自动修复的效果,但是这样却需要增加额外的存储空间而增加成本。所以,也有的厂商将备份的基本输出/入系统存储在外部的存储介质中,当主板中的基本输出/入系统损毁时,可以将存储有备份的基本输出/入系统的外部装置与主板相连接,使主板加载备份的基本输出/入系统来启动主板,如台湾专利087117360号专利案。还有厂商会使用如台湾专利093128050号专利的方式,使用存储器暂存外部存储介质中所存储的备份基本输出/入系统,并以暂存于存储器中的基本输出入系统来更新主板上的基本输出/入系统,使得主板可以加载更新后的基本输出/入系统来进行启动。If the basic I/O system is damaged, the motherboard cannot be loaded with a complete basic I/I system to start. For this reason, some manufacturers have developed a technology to automatically update the basic I/I system, so that when the basic I/I system is damaged, Can be automatically repaired by the motherboard. The current common method is to store the backup BIOS in the same motherboard, when the commonly used BIOS is damaged, load the backup BIOS, and then use the backup BIOS to The system covers the commonly used basic I/O system to achieve the effect of automatic repair, but this requires additional storage space and increases the cost. Therefore, some manufacturers store the backup basic I/O system in an external storage medium. When the main board’s basic I/O system is damaged, the external device that stores the backup basic Connect to make the mainboard load the backup basic input/input system to start the mainboard, such as Taiwan Patent No. 087117360. There are also manufacturers who will use the method of Taiwan Patent No. 093128050 to use the memory to temporarily store the backup basic input/output system stored in the external storage medium, and update the basic I/O system, so that the motherboard can load the updated basic I/O system for booting.
不过,随着中央处理器的处理速度越来越快,主板上的外围设备传送数据的速度也需要越来越高,因此不断有新的接口被用于连接中央处理器以及外围设备,使得数据传送的速度尽可能的跟上中央处理器的处理速度,但这样的情况却会让上述的两种备份方法发生问题,原因在于用于备份的外部装置与存储主板上的基本输出/入系统的存储器都使用同一种接口将基本输出/入系统传送给中央处理器并执行,因此上述使用外部装置的备份方法才被使用,一旦备份的外部装置与存储主板上的基本输出/入系统的存储器所使用的接口不同时,主板会因为无法自动的改为由不同的接口加载基本输出/入系统而造成无法启动的情况,所以目前会在主板上设置开关(switch)或跳线(jumper),让使用者切换用来加载基本输出/入系统的接口,这样的方式对于大部分不熟悉计算机的使用者而言并不方便。However, as the processing speed of the central processing unit becomes faster and faster, the data transmission speed of the peripheral devices on the motherboard needs to be higher and higher, so new interfaces are constantly being used to connect the central processing unit and peripheral devices, so that the data The speed of transmission can keep up with the processing speed of the central processing unit as much as possible, but such a situation will cause problems for the above two backup methods, because the external device used for backup and the basic input/output system on the storage motherboard The memory uses the same interface to transmit the basic input/output system to the central processing unit and execute it, so the above-mentioned backup method using an external device is used. When the interfaces used are different, the mainboard will fail to start because it cannot automatically change to a different interface to load the basic I/O system, so currently a switch or jumper is set on the mainboard to allow The user switches the interface used to load the basic I/O system, which is inconvenient for most users who are not familiar with computers.
因此,如何能提供一种自动加载不同接口中的启动程序的功能,成为使用者与厂商希望解决的问题。Therefore, how to provide a function of automatically loading startup programs in different interfaces has become a problem that users and manufacturers wish to solve.
发明内容 Contents of the invention
鉴于以上的问题,本发明的目的在于提供一种可通过不同接口加载启动程序以启动主板的系统及其方法,通过检测启动装置与主板是否电连接而自动切换接收启动程序的接口,这样不需要额外设定就可以加载不同接口的启动程序,从而解决先前技术所提到的问题。In view of the above problems, the purpose of the present invention is to provide a system and method that can load boot programs through different interfaces to start the main board, and automatically switch the interface for receiving the boot program by detecting whether the boot device is electrically connected to the main board. The extra settings can load the startup programs of different interfaces, so as to solve the problems mentioned in the prior art.
为实现上述目的,本发明可以由系统与方法两方面构成,本发明所公开的系统包括:主板及启动装置,其中主板包含存储器、连接器、检测电路及处理电路;启动装置包含存储介质。本发明所公开的方法包括下列步骤:主板预设以第一接口接收存储器中所存储的第一启动程序来进行启动;在主板启动时,判断主板是否电连接至启动装置;当判断该启动装置电连接至该主板时,以第二接口接收启动装置中所存储的第二启动程序来进行启动;当该启动装置未电连接至主板时,以第一接口接收存储器中所存储的第一启动程序来进行启动。To achieve the above object, the present invention can be composed of system and method. The system disclosed in the present invention includes: a main board and a boot device, wherein the main board includes a memory, a connector, a detection circuit and a processing circuit; the boot device includes a storage medium. The method disclosed in the present invention includes the following steps: the mainboard presets to start by receiving the first startup program stored in the memory through the first interface; when the mainboard is started, it is judged whether the mainboard is electrically connected to the starting device; When electrically connected to the motherboard, the second interface is used to receive the second startup program stored in the startup device for startup; when the startup device is not electrically connected to the motherboard, the first interface is used to receive the first startup program stored in the memory program to start.
下面结合具体实施例及其附图,对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with specific embodiments and accompanying drawings.
附图说明 Description of drawings
图1A是本发明涉及的可通过不同接口加载启动程序以启动主板的系统框图。FIG. 1A is a system block diagram of the present invention that can load startup programs through different interfaces to start the motherboard.
图1B是本发明涉及的可通过不同接口加载启动程序以启动主板的另一系统框图。FIG. 1B is another system block diagram of the present invention that can load boot programs through different interfaces to boot the motherboard.
图2是本发明涉及的可通过不同接口加载启动程序以启动主板的方法流程图。FIG. 2 is a flowchart of a method for loading a startup program through different interfaces to start a mainboard according to the present invention.
图3是本发明实施例涉及的接口选择对应表。Fig. 3 is an interface selection correspondence table related to the embodiment of the present invention.
图4是本发明的实施例涉及的检测电路的检测方式示意图。FIG. 4 is a schematic diagram of a detection method of a detection circuit according to an embodiment of the present invention.
具体实施方式 Detailed ways
以下先以图1A即本发明涉及的可通过不同接口加载启动程序以启动主板的系统框图来说明本发明的系统工作。如图所示,本发明的系统含有主板100及启动装置101,主板100包含存储器110、连接器120、检测电路130及处理电路140,启动装置101中包含有存储介质190。其中,存储器110用于存储主板100起动时所需的第一启动程序,并传送第一启动程序至处理电路140;连接器120是用于提供主板100电连接启动装置101的连接机构;检测电路130用于在主板100起动时检测启动装置101是否与连接器120电连接,若启动装置101未与连接器120电连接,则传送第一控制信号至处理电路140,若连接器120与启动装置101电连接,则传送第二控制信号至处理电路140;处理电路140包含有第一接口与第二接口,第一接口使用第一总线150与存储器110电连接,第二接口使用第二总线160与连接器120电连接,其预先设定使用第一接口接收存储器110中所存储的第一启动程序,接收由检测电路130传来的第一控制信号与第二控制信号,当接收到第一控制信号时,使用预先设定的第一接口接收第一启动程序,当接收到第二控制信号时,切换接收启动程序的默认值,改为由第二接口接收由启动装置101传送来的第二启动程序,并加载所接收的第一启动程序或第二启动程序,然后使主板100可以通过第一启动程序或第二启动程序进行启动;存储介质190用于存储第二启动程序。The system operation of the present invention will be described below with FIG. 1A , which is a system block diagram of the present invention that can load startup programs through different interfaces to start the motherboard. As shown in the figure, the system of the present invention includes a
接着以一个实施例来说明本发明的工作系统与方法,并同时参照图2即本发明涉及的可通过不同接口加载启动程序以启动主板的方法流程图。在本实施例中,第一接口与第二接口分别以串行外围接口(Serial PeripheralInterface;SPI)与固件集线器/低针脚数(Firmware Hub/Low Pin Count;FWH/LPC)接口为例,但本发明涉及的第一接口与第二接口并不以此为限,其它如外围设备连接(Peripheral Component Interconnect;PCI)接口等计算机的外围设备使用的接口均可在本发明中使用,由于第二接口在本实施例中为固件集线器/低针脚数接口,连接器120为相对应的插槽。本实施例的第一启动程序与第二启动程序以基本输出/入系统为例,同时存储器110以闪存(Flash)为例,但本发明并不以此为限,其它可存储程序代码的存储器也可为本发明涉及的存储器,例如电可擦写可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory;EEPROM)等。另外,处理电路140为启动主板的主要电路,在本实施例中也就是包含南桥芯片组(chipset)与中央处理器的处理电路。Next, an embodiment is used to illustrate the working system and method of the present invention, and at the same time refer to FIG. 2 , which is a flow chart of a method for loading a startup program through different interfaces to start a motherboard according to the present invention. In this embodiment, the first interface and the second interface take Serial Peripheral Interface (Serial Peripheral Interface; SPI) and Firmware Hub/Low Pin Count (Firmware Hub/Low Pin Count; FWH/LPC) interface as examples respectively, but this The first interface and the second interface that the invention relates to are not limited to this, and other interfaces used by peripheral equipment such as peripheral equipment connection (Peripheral Component Interconnect; PCI) interface and the like can be used in the present invention, because the second interface In this embodiment, it is a firmware hub/low pin count interface, and the
执行第一启动程序,即在本发明的主板100中,出厂时会设定检测电路130预设使用串行外围接口来接收闪存110所存储的第一启动程序(步骤210),也就是当主板100上的电源开关被使用者按下而启动时,检测电路130会判断启动装置101是否通过连接线与主板100上的连接器110(插槽)电连接(步骤220),若目前启动主板的第一启动程序没有被损毁,则使用者不需要使用启动装置101中的第二启动程序来启动主板,因此启动装置101不会与主板100电连接,也就是说,检测电路130将判断启动装置101未电连接至主板100,所以检测电路130将会传送预设的选择信号“01”给处理电路140中的南桥芯片组,如图3的接口选择对应表300所示,南桥芯片组在接收到“01”的选择信号后,使用串行外围接口接收闪存110传送到第一总线150上的第一启动程序(步骤230),并在接收到第一启动程序时,传送第一启动程序至处理电路140,处理电路140会在接收到第一启动程序后,加载并执行第一启动程序的程序代码来启动主板100(步骤250),从而完成主板100通常的启动过程。Execute the first startup program, that is, in the
若在处理电路140中加载并执行第一启动程序后,主板100无法正常的启动,则使用者可以使用连接线将启动装置101连接到主板100上的插槽120,从而使启动装置101电连接至主板100,并按下电源开关使主板101重新启动。If the
主板100重新启动时,检测电路130会判断发现启动装置101与主板100电连接(步骤220),因此会传送“11”的选择信号给处理电路140中的南桥芯片组,如图3所示,在检测电路130传送“11”的选择信号给南桥芯片组后,南桥芯片组会使用固件集线器/低针脚数接口来接收由启动装置101发送到第二总线160上的第二启动程序,也就是说,处理电路140将接收启动程序的接口由预设的串行外围接口切换为固件集线器/低针脚数接口(步骤240),而后由中央处理器执行第二启动程序来启动主板100。如此,本发明即可以解决先前技术涉及的不同接口的启动程序无法自动加载的问题。When the
接着说明检测电路130判断启动装置101是否与主板100电连接的方法,如图4所示,当启动装置101未连接至连接器120时,电源131上的电压会直接传送到处理电路140中,此电压即为第一控制信号;当启动装置101连接至连接器120时,启动装置101的第一针脚101a及第二针脚101b会分别与检测电路130的第三针脚130a及第四针脚130b电连接,若第一针脚101a与第二针脚101b相连,且因为第四针脚130b接地,所以第一针脚101a、第二针脚101b、第三针脚130a及第四针脚130b均接地,因此,电源131上发出的电压将会依序通过第三针脚130a、第二针脚101b、第一针脚101a及第四针脚130b,于是传送至处理电路140的电压为零,此为第二控制信号。本发明涉及的检测启动装置是否与主板电连接的方式并不以上述方式为限,其它可检测启动装置与主板是否电连接的方式在发明中均可使用。Next, the method for the
另外,上述的启动装置101可以不存储第二启动程序,而仅用于提供检测电路130来检测是否要控制处理电路140接收第二启动程序,即如图1B所示,原先设置于启动装置101上的存储介质190可以改为设置于存储装置102上,经由存储装置102电连接至启动装置101,这样启动装置101就可以从存储装置102中读取第二启动程序,并将其传送至主板100,使主板100得以使用第二启动程序进行开机。In addition, the above-mentioned
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610172077A CN100592257C (en) | 2006-12-29 | 2006-12-29 | System and method for starting mainboard by loading starting program through different interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610172077A CN100592257C (en) | 2006-12-29 | 2006-12-29 | System and method for starting mainboard by loading starting program through different interfaces |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101211268A true CN101211268A (en) | 2008-07-02 |
CN100592257C CN100592257C (en) | 2010-02-24 |
Family
ID=39611324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200610172077A Active CN100592257C (en) | 2006-12-29 | 2006-12-29 | System and method for starting mainboard by loading starting program through different interfaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100592257C (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010145478A1 (en) * | 2009-06-19 | 2010-12-23 | 中兴通讯股份有限公司 | Method and device for initiating system on chip |
CN107358928A (en) * | 2017-08-21 | 2017-11-17 | 武汉精测电子技术股份有限公司 | A kind of ultrahigh resolution figure signal generator and its startup, upgrade method |
CN110118925A (en) * | 2019-05-21 | 2019-08-13 | 威创集团股份有限公司 | A kind of core board measuring method and system |
CN114201431A (en) * | 2021-12-30 | 2022-03-18 | 井芯微电子技术(天津)有限公司 | PCIe interface interfacing apparatus |
CN114637544A (en) * | 2022-05-18 | 2022-06-17 | 深圳市华曦达科技股份有限公司 | Intelligent terminal start control method and device and start switching device |
CN114647500A (en) * | 2022-05-23 | 2022-06-21 | 深圳市华曦达科技股份有限公司 | Intelligent terminal start control method and device and USB equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5694600A (en) * | 1996-02-09 | 1997-12-02 | Iomega Corporation | Methods and apparatus for booting a computer having a removable media disk drive |
US6282595B1 (en) * | 1998-08-04 | 2001-08-28 | Silicon Integrated Systems Corp. | Method for testing interface card |
US6920553B1 (en) * | 2000-04-28 | 2005-07-19 | Intel Corporation | Method and apparatus for reading initial boot instructions from a bootable device connected to the USB port of a computer system |
-
2006
- 2006-12-29 CN CN200610172077A patent/CN100592257C/en active Active
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010145478A1 (en) * | 2009-06-19 | 2010-12-23 | 中兴通讯股份有限公司 | Method and device for initiating system on chip |
CN107358928A (en) * | 2017-08-21 | 2017-11-17 | 武汉精测电子技术股份有限公司 | A kind of ultrahigh resolution figure signal generator and its startup, upgrade method |
CN107358928B (en) * | 2017-08-21 | 2022-12-23 | 武汉精测电子集团股份有限公司 | Ultrahigh resolution graphics signal generator and starting and upgrading method thereof |
CN110118925A (en) * | 2019-05-21 | 2019-08-13 | 威创集团股份有限公司 | A kind of core board measuring method and system |
CN114201431A (en) * | 2021-12-30 | 2022-03-18 | 井芯微电子技术(天津)有限公司 | PCIe interface interfacing apparatus |
CN114637544A (en) * | 2022-05-18 | 2022-06-17 | 深圳市华曦达科技股份有限公司 | Intelligent terminal start control method and device and start switching device |
WO2023221497A1 (en) * | 2022-05-18 | 2023-11-23 | 深圳市华曦达科技股份有限公司 | Intelligent terminal start control method and apparatus, and start switching apparatus |
US12153931B2 (en) * | 2022-05-18 | 2024-11-26 | Shenzhen Sdmc Technology Co., Ltd. | Control method, control device and startup switching device for intelligent terminal startup |
CN114647500A (en) * | 2022-05-23 | 2022-06-21 | 深圳市华曦达科技股份有限公司 | Intelligent terminal start control method and device and USB equipment |
Also Published As
Publication number | Publication date |
---|---|
CN100592257C (en) | 2010-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8458524B2 (en) | Firmware recovery system and method | |
US9563442B2 (en) | Baseboard management controller and method of loading firmware | |
CN101281469B (en) | Embedded type system and start-up load application method | |
EP2254051B1 (en) | Computer system with damaged bios data recovering function and recovering method thereof | |
TWI710952B (en) | Firmware update method and computer system | |
US7900091B2 (en) | Method for recovering basic input output system and computer device thereof | |
US9256443B2 (en) | Electronic device having updatable bios and bios updating method thereof | |
CN101211268A (en) | System and method for starting mainboard by loading starting program through different interfaces | |
CN101295255A (en) | Firmware update system and method | |
US20090210690A1 (en) | Method of updating basic input output system and module and computer system implementing the same | |
CN102081526B (en) | Basic Input/Output System Architecture | |
TW201447758A (en) | Method, apparatus, and computer program product for booting an information handling system | |
CN113032026A (en) | Firmware management method, device, equipment and medium for server mainboard | |
CN117112059A (en) | Microcontroller starting method, device, equipment and storage medium | |
US20090265537A1 (en) | Computer system, bios structure and boot method thereof | |
US20140122024A1 (en) | Booting verification method of computer and electronic device | |
CN115129384A (en) | Electronic equipment and running method of starting program of electronic equipment | |
CN103226479B (en) | Electronic apparatus system and electronic equipment | |
CN105446903A (en) | Information processing method and electronic device | |
US11385885B2 (en) | System and method of downloading a firmware to a server | |
CN102609325B (en) | A kind of method for downloading software and terminal | |
TWI693515B (en) | Testing method for motherboard and testing system for motherboard | |
CN117271179A (en) | Starting method, device, server and system of central processing unit | |
CN101419555A (en) | Starting method of computer system | |
CN115437846A (en) | Firmware maintenance method and electronic equipment |
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 |