TW200837632A - Boot-switching apparatus and method for multiprocessor and multi-memory system - Google Patents

Boot-switching apparatus and method for multiprocessor and multi-memory system Download PDF

Info

Publication number
TW200837632A
TW200837632A TW96108929A TW96108929A TW200837632A TW 200837632 A TW200837632 A TW 200837632A TW 96108929 A TW96108929 A TW 96108929A TW 96108929 A TW96108929 A TW 96108929A TW 200837632 A TW200837632 A TW 200837632A
Authority
TW
Taiwan
Prior art keywords
memory
processor
signal
enable
pins
Prior art date
Application number
TW96108929A
Other languages
Chinese (zh)
Other versions
TWI327711B (en
Inventor
Ying-Chih Lu
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW96108929A priority Critical patent/TWI327711B/en
Publication of TW200837632A publication Critical patent/TW200837632A/en
Application granted granted Critical
Publication of TWI327711B publication Critical patent/TWI327711B/en

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A boot-switching apparatus and method for a multiprocessor and multi-memory system are provided. The apparatus and the method are used in a system having a plurality of processors and a plurality of memories. When booting a system, a single timer is used for counting down a time-out and it is determined whether a disabling signal sent by a Basic Input/Output System (BIOS) is received when counting down. If the disabling signal is not received and the time-out is up, whether the processors can operate normally is detected so as to obtain a plurality of detecting signals. Next, each of the detecting signals and its corresponding enabling signal is determined whether they are matched. If not matched, the corresponding processor is disabled. If all of them are matched, the memory is switched. Accordingly, the situation of misjudgment in the prior art can be resolved and the system can be led to select normal processor and memory for executing booting.

Description

Γ o 200837632 χλ / v/vr x x TW 23277twf.doc/n 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種開機裝置及方法,且特別是有關 :機計時器執行多處理器及多記憶體之切換的 【先前技術】 。過去4年來’ P迎著育訊科技的進步,處理器的速度也 呈倍數成長,為了取得領導的地位,處理器大廠英代爾 (Intel)及超微(AMD)莫不致力開發更高頻率的處理器。 B守至今日’處理㈣時脈週期已經從⑽百萬赫兹(丽z) 進化到了 1 :兆赫兹(GHz)以上。然而,隨著處理器時 脈週期的提高,硬體的複雜也隨之增加,而處理器薇商 在追求速度之餘’也意_ 了處理器的速度仍有其極限: 不可月b如此無限制地發展下去,此時便需要採用其他的辦 法0 據此,多處理器(Multiprocessor)架構則發展成為最 新一代的處理器技術,利用將多個處理器串接在一起,而 達到多工處理的理想境界。此多處理!I系統在開機時,必 須選擇其中一個處理器做為啟動(B〇〇tstrap)處理器,用 以執行系統開機的程序,而其餘的處理器則被視為應用 (Application)處理器,以做為啟動處理器的辅助之用。 其中,當系統開機時,各個處理器均會執行一個内建的自 我測試功能,假如有任何一個處理器因為某種因素發生開 機錯誤時,則會送出一個狀態旗標(Statusflag)以告知系 5 200837632 xx / v/w x A TW 23277twf.doc/n 統此狀況,而由系統做後續處理。然而,若是原本的啟動 處理器發生開機錯誤時,則必須改用其它的應用處理器取 代其任務,才能正常地執行開機功能。 在此情況下,習知的作法是採用一種錯誤回復開機Γ o 200837632 χλ / v/vr xx TW 23277twf.doc/n IX. Description of the invention: [Technical field of the invention] The present invention relates to a booting device and method, and in particular to: the machine timer performs multiprocessing [Prior Art] for switching between devices and multiple memories. In the past 4 years, P has been advancing with the advancement of the technology, and the speed of the processor has also multiplied. In order to achieve leadership status, processor manufacturers Intel and AMD are not working to develop higher frequencies. Processor. B. Today's processing (four) clock cycle has evolved from (10) megahertz (Liz) to 1: megahertz (GHz) or more. However, as the processor clock cycle increases, the complexity of the hardware also increases, and the processor Weishang is in the pursuit of speed 'also means that the speed of the processor still has its limits: Restricted development, other methods are needed at this time. According to this, the multiprocessor architecture has evolved into the latest generation of processor technology, which uses multiple processors in series to achieve multiplex processing. The ideal realm. This multi-processing! When the system is powered on, one of the processors must be selected as the boot (B〇〇tstrap) processor to execute the system boot process, and the rest of the processor is regarded as the application processor to do For the purpose of starting the processor. Among them, when the system is powered on, each processor will perform a built-in self-test function. If any processor has a boot error due to some factor, it will send a status flag to inform the system 5 200837632 xx / v/wx A TW 23277twf.doc/n This situation is handled by the system for subsequent processing. However, if the original boot processor has a boot error, it must use another application processor to replace its task in order to perform the boot function normally. In this case, the conventional practice is to use a false reply to boot

Fault Resilient Booting,FRB )技術,藉由基本輸入輸出 系統(Basic Input/Output System,BIOS)、基板管理控制 斋(Baseboard Management Controller,BMC)或是其他硬 () 體執打開機回復的動作。以下即以包括兩個處理器的系統 為例,介紹習知的FRB技術。圖1所繪示為習知雙處理器 系統使用BMC進行FRB的架構圖,而圖2所繪示為習知 雙處理器系統使用BMC進行FRB的方法流程圖。請先參 照圖1,在此雙處理器系統1〇〇中,處理器11〇及處理器 120分別與BMC130的致能針腳131及致能針腳132相連 接,其中,處理器110係做為開機用的處理器。此外, BMC130中則内建一個FRB計時器133,並與BIOS系統 的一個通用輸入輸出(General Purpose Input/Output,GPI0 ) 〇 針腳140相連接。 請同時參照圖1及圖2,在系統100開機之前,即先 在BMC130中設定處理器執行frb的功能(步驟S2i〇), 包括設置一個暫停時間(Time-out),並將BMC130的致 能針腳131及致能針腳132設置為丨,使得處理器11〇及 處理120在開機後均會被致能(Enable)。每當系統i〇Q 開機(Power on)或是重新啟動(Reset)(步驟S22〇)時, BMC130的FRB計時器133即會被啟動而開始倒數暫停時 6 23277twfdoc/n 200837632Fault Resilient Booting (FRB) technology, through the Basic Input/Output System (BIOS), Baseboard Management Controller (BMC) or other hard () physical open machine reply action. The following is an introduction to the conventional FRB technology by taking a system including two processors as an example. FIG. 1 is a block diagram of a conventional dual processor system using a BMC for FRB, and FIG. 2 is a flow chart of a conventional dual processor system using a BMC for FRB. Referring to FIG. 1 , in the dual processor system 1 , the processor 11 and the processor 120 are respectively connected to the enable pin 131 and the enable pin 132 of the BMC 130 , wherein the processor 110 is used as a boot. The processor used. In addition, a FRB timer 133 is built in the BMC 130 and is connected to a general purpose input/output (GPI0) pin 140 of the BIOS system. Referring to FIG. 1 and FIG. 2 simultaneously, before the system 100 is powered on, the function of executing the frb by the processor (step S2i〇) is set in the BMC 130, including setting a pause time (Time-out), and enabling the BMC 130. The pin 131 and the enable pin 132 are set to be enabled so that the processor 11 and the process 120 are enabled after being turned on. Whenever the system i〇Q is powered on or reset (step S22〇), the BMC130's FRB timer 133 will be started and the countdown pause will be started. 6 23277twfdoc/n 200837632

Vf ί W X Λ. fW^ 間(步驟S230) ’同時也會判斷是否接收到計時器禁能訊 號(步驟S240)。其中,當BI0S系統成功執行開:自&我 測試(Power On Self Test,POST)時,即可藉由通用輸入 輸出針腳140發出禁能訊號通知BMC130將FRB計時器 133禁能(Disable),此時系統1〇〇的處理器11〇及處理 器120則可繼續進行正常的開機程序(步驟S25〇)。然而, 若是開機用的處理器110在開機時即發生錯誤,則代表系 統100無法正常開機,此時FRB計時器133即不會被BIOS 糸統禁能,因此當判斷FRB計時器133的暫停時間倒數結 束(步驟S260)時’ BMC130則會藉由將致能針腳131設 置為0而關閉處理器11〇的功能(步驟S270),並將系統 100重新啟動,而改由處理器12〇取代處理器110進行開 機(步驟S280)。 上述原理也同樣運用在雙BI〇S唯讀記憶體(ReadBetween Vf ί W X Λ. fW^ (step S230) ', it is also judged whether or not the timer disable signal is received (step S240). When the BI0S system successfully performs the power on self test (Power On Self Test, POST), the BMC 130 can be disabled by the general input/output pin 140 to disable the FDB timer 133. At this time, the processor 11 and the processor 120 of the system 1 can continue the normal booting process (step S25). However, if the processor 110 for booting fails when booting, the system 100 cannot be powered on normally, and the FRB timer 133 is not disabled by the BIOS, so when determining the pause time of the FRB timer 133 When the countdown ends (step S260), the BMC 130 turns off the function of the processor 11A by setting the enable pin 131 to 0 (step S270), and restarts the system 100, instead of replacing it by the processor 12〇. The device 110 is turned on (step S280). The above principle is also applied to the double BI〇S read-only memory (Read

Only Memory,ROM)的技術上,雙BIOS ROM技術顧名 思義即是在主機板上配置兩個BIOS ROM以存放BIOS系 統的資料,採用雙BI 〇 S R 〇 Μ的系統即可避免在升級BIΟ S 時,因為發生BIOS文件與主機板不匹配、BIOS文件被修 改或是升級過程中斷電等情況,而造成BIOS升級失敗進 而導致糸統無法開機的窘境。 圖3所繪示為習知雙Bl〇s R〇M系統的架構圖,而圖 4則繪示為習知雙BIOS ROM系統的運作流程圖。請先參 照圖3,此BIOS ROM系統300包括一個輸入輸出控制 (Super 1/0, SIO)晶片310,此SIO晶片310即透過位址/ 7 200837632TW , TW 23277twf.doc/nOnly Memory, ROM) technology, dual BIOS ROM technology as the name suggests is to configure two BIOS ROM on the motherboard to store the BIOS system data, using a dual BI 〇 SR 〇Μ system can avoid upgrading BI Ο S, Because the BIOS file does not match the motherboard, the BIOS file is modified, or the upgrade process is interrupted, the BIOS upgrade fails and the system fails to boot. FIG. 3 is a block diagram of a conventional dual Blss R〇M system, and FIG. 4 is a flow chart showing the operation of a conventional dual BIOS ROM system. Referring first to Figure 3, the BIOS ROM system 300 includes an input/output control (Super 1/0, SIO) die 310, which is transmitted through the address / 7 200837632TW, TW 23277twf.doc/n

資料(Address/Data)線與唯讀記憶體320及唯讀記憶體 330相連接,並藉由一個選擇針腳311分別與唯讀記憶體 320及唯讀記憶體33〇相連接,其中,在此假設唯讀記憶 體320係做為主要開機之用,而唯讀記憶體33〇則為備用, 此時選擇針腳311送出的訊號為1,而將唯讀記憶體320 致能,此訊號經由反向器340轉換後,則送到唯讀記憶體 33〇而將其禁能。此外,SIO晶片310中則配置有一個R〇M f) 什時器312,用以做為選擇由唯讀記憶體320及唯讀記憶 體330讀取Bi〇s之用。 請同時參照圖3及圖4,在將系統3〇〇開機或重新啟 動(步驟S410)後,即啟動R〇M計時器312開始倒數暫 停時間(步驟S420),並判斷是否接收到計時器禁能訊號 (步驟S430),若BIOS系統可正常執行P〇ST,則可同 樣藉由一個通用輸入輸出針腳350發送禁能訊號通知SI〇 晶片310將R0M計時器312禁能。此時即不會影響到選 擇針腳3H輸出的訊號,仍然沿用唯讀記憶體32〇進行開 〇 機(步驟S440)。然而,若唯讀記憶體320在開機時發生 錯誤,此時BIOS系統即無法正常開機,也就無法禁*rX〇m °十日守杰312 ’而當判斷ROM计時器312的暫停時間倒數完 畢(步驟S450)時,即會進行唯讀記憶體的切換(步^ S460),將選擇針腳311送出的訊號設為〇,此時唯^記 憶體320即會被禁能,並改為致能唯讀記憶體33〇。^後 則將系統重新啟動,而由唯讀記憶體330進行開機動作(牛 驟 S470 )。 200837632 ituu/uunTW 23277twfdoc/n 〇 C) 沾交f=述内4可知’多處理11系統及雙腦s R0M系統 田一木用個5十時态做為切換處理器或BI0S R0M之 兩者所設㈣暫停時間不統—,而系統開機 ,則有可能會因為某一方(例如是處理器) ::= 成’在沒有確定錯誤是否為另-方(例 系:莩偏所造成時’即將系統重新啟動,而造成 於biD〇sro=能t°舉例來說’假設處理器的暫停時間小 作θ 3 M的暫停_ ’若在關時處理ϋ均能正常工 I?的匕,,聰R〇M發生開機錯誤時,則由於處理 而會倒數完畢’系統將會誤判是處理器發生錯誤 而重新開機。在此情況下,最終會導致純 曰二 =換處理器或BI〇S ROM,也無法成功地啟㈣統進行開 【發明内容】 換裝ί發ί ί及多記憶㈣統之開機切 狀態,僅的偵測針腳债測處理器的開機 僅利用早一個计柃态來判斷發生錯誤 十思體太並選擇功能正常的處理器及記憶體進行開機:或兄 本發明提供-種多處理器及多記憶體系統, 誤或因二:換掉發生錯 開機動作。 -u L、體而此夠正常的執行 错由在糸、.充開機之初倒數一暫停時間,並在倒數 9 200837632 iruKjfuunrW 23277twfdoc/n =生==是否發生錯誤,然後再―^ 本發明提出一種多M的_。 換裝置,此裝㈣配置么^^記憶體系統之開機切 系統,其包括多個處理理器及多個記憶體之 多個記情η他 "b針腳、多個處理器制針腳、 夕個。己|思體廷擇針腳及—個計時 ΓThe data (Address/Data) line is connected to the read-only memory 320 and the read-only memory 330, and is connected to the read-only memory 320 and the read-only memory 33 by a selection pin 311, wherein It is assumed that the read-only memory 320 is used as the main boot, and the read-only memory 33 is reserved. At this time, the signal sent by the selected pin 311 is 1, and the read-only memory 320 is enabled. After the converter 340 is converted, it is sent to the read-only memory 33 and disabled. In addition, the SIO chip 310 is provided with a R 〇 M f) chronograph 312 for selectively reading Bi 〇 s from the read only memory 320 and the read only memory 330. Referring to FIG. 3 and FIG. 4 simultaneously, after the system 3 is turned on or restarted (step S410), the R〇M timer 312 is started to start the countdown pause time (step S420), and it is determined whether the timer is disabled. The signal can be signaled (step S430). If the BIOS system can normally execute P〇ST, the disable signal can be sent to the SI chip 310 to disable the ROM timer 312 by a common input/output pin 350. At this time, the signal for selecting the output of the pin 3H is not affected, and the drive is still operated by the read-only memory 32 (step S440). However, if the read-only memory 320 has an error during booting, the BIOS system cannot be turned on normally, and the *rX〇m ° ten-day Shoujie 312' cannot be disabled. When the pause time of the ROM timer 312 is judged to be countdown When the process is completed (step S450), the read-only memory is switched (step S460), and the signal sent by the selection pin 311 is set to 〇. At this time, the memory 320 is disabled and is changed to Can read only memory 33〇. After that, the system is restarted, and the boot-only memory 330 is turned on (S470). 200837632 ituu/uunTW 23277twfdoc/n 〇C) ff=说内4 knows 'multi-processing 11 system and double brain s R0M system Tian Yimu uses a 5 tenth state as a switching processor or BI0S R0M If the system is powered on, it may be because one party (for example, the processor) ::= becomes 'when it is not determined whether the error is another party (example: when the deviation is caused) The system restarts, and the result is biD〇sro= can t°, for example, 'assuming that the pause time of the processor is small θ 3 M pause _ 'If it is processed at the time of closing, it can work normally? When 开机M has a boot error, it will be counted down due to processing. 'The system will misjudge the processor and restart it. In this case, it will eventually lead to pure === processor or BI〇S ROM. Unable to successfully start (four) unified open [invention content] change ί ί ί and multi-memory (four) unified boot state, only the detection of the pin debt test processor boot only use the early one to determine the error Ten think too and choose a functioning processor and memory Line boot: or brother's invention provides a multi-processor and multi-memory system, error or cause 2: replace the wrong boot action. -u L, body and this normal execution error is caused by At the beginning of the countdown one pause time, and in the countdown 9 200837632 iruKjfuunrW 23277twfdoc / n = raw == whether an error occurred, and then - ^ The invention proposes a multi-M _. Change device, this device (four) configuration? ^^ memory The system booting and cutting system includes a plurality of processing algorithms and a plurality of memories, a plurality of stats, a "b stitch, a plurality of processor pins, and a eve; a body; a body and a pin and a Timing

Cj 聊係分_接至處理*,而二;射處理益致能針 有一致能訊號,轉處_致& 針腳上均設置 里:’而這些處理器娜十腳適用酬對 並獲得—_測訊號。記憶體選 以nq 之記憶體,適於設置—個獅訊號, 問_。科11 +包括紋有—個暫停時 倒激,’*適於在系統開機時’從此暫停時間開始 暫代間舰完料’躺各個處理器致能針 ,上的致能訊號及各個處理器_針腳的_訊號是否相 ^其中若致能訊號與偵測訊號不符,則透過對應之處理 =能針腳將處理H禁能;若所㈣致能訊號與仙訊號 句相符’則透過記憶體選擇針腳切換所使用的記憶體。 ^在本發明之一貫施例中,上述之多處理器及多記憶體 系統之開機娜裝置,更包括—個警示裝置,其適於在所 有记憶體均被切換過而系統仍無法正常開機時,發出一則 警示訊息。 x 、 在本發明之一實施例中,上述之記憶體為儲存基本輸 入輪出系統(Basic Input/Output System,BIOS)之唯讀記 200837632 iri^u /uui 1FW 23277twf.doc/n 憶體(Read Only Memory,ROM)。上述之開機切換裝置 包括配置於基板管理控制(Baseb〇ard Management Control, BMC)裝置中。此外,上述之計時器包括錯誤回復開機 (Fault Resilient Booting,FRB )計時器。 〇Cj chat is divided into _ to the processing *, and two; shooting treatment benefits can have a consistent signal, the transfer _ to the & pin are set: 'and these processors Nine feet apply for compensation and get - _ test signal. The memory is selected as the memory of nq, which is suitable for setting up a lion signal, asking _. Section 11 + includes the pattern - a pause when paused, '* is suitable for the system to start up from the time of the pause time, the temporary generation of the ship is completed, the individual processor enable pins, the enable signal and the various processors If the signal of the _ pin is not the same as the detection signal, then the corresponding processing = the pin can handle the H ban; if the (4) enable signal matches the semaphore', then the memory is selected. The memory used for the stitch switching. In the consistent embodiment of the present invention, the multi-processor and multi-memory system booting device further includes a warning device adapted to be switched on all the memories and the system still cannot be turned on normally. At the time, a warning message is sent. x In one embodiment of the present invention, the memory is a memory input (Basic Input/Output System, BIOS), only read 200837632 iri^u /uui 1FW 23277twf.doc/n memory ( Read Only Memory, ROM). The above-mentioned power-on switching device includes a device configured in a Baseboard Management Control (BMC) device. In addition, the above timer includes a Fault Resilient Booting (FRB) timer. 〇

O 在本發明之一實施例中,上述之處理器致能針腳之致 能訊號包括均預先設置為致能狀態。另一方面,上述之記 憶體選擇針腳之選擇訊號包括將上述記憶體其中之一預先 設置為致能狀態,而其餘記憶體則設置為禁能狀態,而當 ▲需要切換記憶體時,則包括將另—個記賴設置為致能狀 恶,而其餘記憶體則設置為禁能狀態。 本發明提出-種多處理器及多;;憶體系統,其中包括 二:處=、多個記憶體,以及開機切換裝置。此開機換 多個處理器致能針腳、多個處理器,測針腳、 夕個极體選擇針腳及一個計時器。 腳係分_接至處理器,而各個處:1 致月匕針 有—致能訊號,以將處理器致^^:致f十腳上均設置 亦分別耗接處理器,而這=『處理器侧針腳 應之處理器的工作狀離,貞測針腳適用於债測對 擇針腳則迦上述:記憶::侍適==記憶體選 以在這些記舰巾娜。計時 ^ 鱗如虎, 仏虎不符,則透過對應之處理 在本發明之-實施例中,更包括一_測模組,其係 配置於處理㈣測針腳及處理器之間,適於_處理器是 否運作正# ’並將對應之彳貞測訊號發送給處理器彳貞測針腳。 本發明提出-種多處理器及多記憶體系統之開機切 換方法,適用於包括多個處理器及多個記憶體之系統,此 ΓIn an embodiment of the invention, the enabling signals of the processor enable pins described above are all preset to an enabled state. On the other hand, the selection signal of the memory selection pin includes presetting one of the memories into an enabled state, and the remaining memory is set to a disabled state, and when the ▲ needs to switch the memory, the Set another record to enable the evil, while the rest of the memory is set to disable. The present invention proposes a multi-processor and multi-recovery system, which includes two: at =, a plurality of memories, and a power-on switching device. This is turned on to replace multiple processor enable pins, multiple processors, stylus pins, epoch pole selection pins, and a timer. The foot is divided into _ to the processor, and each place: 1 to the moon 匕 pin has a - enable signal, to the processor to ^ ^: to f on the foot are also set to consume the processor, and this = " The processor side pin should be the working of the processor, and the pin is suitable for the debt measurement. The above is the above: Memory:: Served == Memory is selected in these records. In the embodiment of the present invention, the timing is as follows: in the embodiment of the present invention, the method further includes a measurement module disposed between the processing (4) measuring pin and the processor, and is adapted to the processor. Whether to operate positive # ' and send the corresponding test signal to the processor to test the pin. The present invention proposes a booting and switching method for a multiprocessor and a multi-memory system, which is applicable to a system including a plurality of processors and a plurality of memories.

L 200837632 ax / w 11 fW 23277twf.doc/n 器致能針麟處理n禁能·,若所有的致能 均相符,則透過記憶體選擇針腳切換所使用的:己=仏 在本發明之-實施例中,更包括一個多工器:其係配 置於記憶體麵_及記適於將 至對應的記憶體。 方法包括下列步驟:首先,在系統開機時,開始倒數一個 暫停時間’在倒數中判斷是否接故到計時器禁能訊號,若 未接收到計時器禁能訊號而倒數完畢時,則進一步偵測處 理裔是否正常運作,並取得對應之多個偵測訊號。接著則 判斷各個偵測訊號是否與對應之致能訊號相符,若偵測訊 號與對應之致能訊號不符,則將致能訊號設置為禁能狀 悲,以將對應之處理裔禁能;反之,若所有之偵測訊號均 與對應之致能訊號相符,則調整發送給記憶體之選擇訊 號,以切換用以開機的記憶體。 在本發明之一貫施例中,在判斷是否接收到計時器禁 能訊號的步驟之後,若接收到計時器禁能訊號,則以目前 設定之處理器及記憶體執行開機動作。 在本發明之一實施例中,上述取消暫停時間之倒數的 方式包括在基本輸入輸出系統正常執行開機動作時,透過 12 200837632 IFDUVUUIITW 23277twf.doc/n 基本輸入輸出系統取消暫停時間的倒數。 在本發明之一實施例中,在將對應之處理器禁能,以 及切換記憶體的步驟之後,更包括將系統重新啟動,並以 切換後的處理器及記憶體執行開機動作。 在本發明之一實施例中,在將系統開機之前,更包括 將所有的致能職設置纽缺態,以及麟—個記憶體 ,為開機記憶體,並將其對應之選擇訊賴置紐能狀 恶,而其餘記憶體之選擇訊號則設置為禁能狀態。 在本發明之一實施例中,切換記憶體的步驟包括將原 本=之記㈣的選擇職設置為禁能狀態,以及在剩餘 之兄憶體中選擇-個做為開機記憶體 訊號設置為致能狀態。 了^之1擇 在本發明之—實施财,在所有記憶體均被選擇過, 而糸統仍無法正常開機時,包括發出一則警示訊息。 o ㈣料—個計時㈣斷㈣的處^器或記 L體疋否在開機發生錯誤,並藉由 理器是否正常運作,赫$ βU 禮口個處 換記憶體,而能夠找出 心取用其他的處理11或記㈣ =缺=_決緒技财,無法料觸錯誤發生來: 2树明之上述概和㈣能更卿錢,下 牛%^貫關,並配合_圖式,作詳 文寺 【實施方式】 13 200837632 ir^/^iifW 23277twf.doc/n 麵生錯誤時,由於FRB計時器及 置上可w林同,而造成在選擇代用裝 ,τ犯存在的風險,較佳的做法即是將兩個計時哭L 200837632 ax / w 11 fW 23277twf.doc/n The device enables the treatment of the needle nucleus. If all the abilities are consistent, then the memory is used to select the stitch switching: 仏 = 仏 in the present invention - In an embodiment, a multiplexer is further included: it is disposed on the memory surface _ and is adapted to be connected to the corresponding memory. The method includes the following steps: First, when the system is powered on, it starts to count down a pause time. In the countdown, it is judged whether the timer is disabled or not. If the timer disable signal is not received and the countdown is completed, the detection is further detected. The processing person is functioning normally and obtains multiple corresponding detection signals. Then, it is determined whether each detection signal is consistent with the corresponding enable signal. If the detection signal does not match the corresponding enable signal, the enable signal is set to disable the sorrow to disable the corresponding treatment; If all the detection signals match the corresponding enable signals, adjust the selection signal sent to the memory to switch the memory for booting. In the consistent embodiment of the present invention, after the step of determining whether the timer disable signal is received, if the timer disable signal is received, the power-on operation is performed with the currently set processor and memory. In an embodiment of the present invention, the manner of canceling the reciprocal of the pause time includes: when the basic input/output system normally performs the power-on action, the reciprocal of the pause time is canceled by the basic input/output system of the 2008 ICDUVUUIITW 23277twf.doc/n. In an embodiment of the present invention, after the step of disabling the corresponding processor and switching the memory, the system further includes restarting the system and performing the booting operation with the switched processor and the memory. In an embodiment of the present invention, before the system is powered on, it is further included that all the enabling positions are set to be blank, and the memory is the boot memory, and the corresponding selection is selected. It can be evil, and the selection signal of the remaining memory is set to the disabled state. In an embodiment of the present invention, the step of switching the memory includes setting the selected job of the original = (4) to the disabled state, and selecting the selected one of the remaining brothers as the boot memory signal. Can state. The choice of ^ In the invention - the implementation of the money, after all the memory has been selected, and the system still can not boot normally, including issuing a warning message. o (4) Material - a timing (four) break (four) of the device or the L body 疋 发生 发生 发生 发生 发生 疋 发生 发生 发生 发生 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Other treatments 11 or remember (four) = lack = _ ruling skills, can not be expected to happen wrong: 2 Shuming's above sum (4) can be more clear money Wensi Temple [Implementation] 13 200837632 ir^/^iifW 23277twf.doc/n When the face error occurs, the FRB timer and the set-up can be used to select the substitute device, and the risk of the existence of the τ is better. The practice is to cry two timings

並ΐ發現開機錯誤時,分別判斷是處理器還ΐίί意 -二問題,以正確的釐清錯誤發生的原因,讓系统能夠 適當地選擇替代的處理n或記憶體來啟動。本發明即是基 於上逸概麵發展出來的_套多處理器及多記憶體系統ς 開機切換裝置及方法。為了使本發明之内容更為明瞭,以 下特舉實_作為本發明確實能夠據以實施的範例。 立圖5疋依照本發明一實施例所繪示的多處理器及多記 ,體系統的方塊目。請參照圖5,本實_之多處理器及 多記憶體系統500包括基板管理控制器(]Baseb〇ard Management Controller,BMC) 510、偵測模組 520、多工 口口 530、輸入輸出控制(sUper inpUt/〇utpUt,siq )晶片 54〇、 η個處理器CPU0、CPU1.....CPUn-Ι與m個唯讀記憶 體11〇]\40、11〇]\41、."、&〇]^111-1。其中,唯讀記憶體110]^〇、 R〇Ml.....ROM01-1例如是用以儲存基本輸入輸出系統 (Basic Input/Output System,BIOS )資料之唯讀記憶體。 基板管理控制器510中則包括致能針腳512〜514、偵 測針腳515〜517、選擇針腳518及計時器511。致能針腳 512、513、514 分別與處理器 CPU0、CPU1、CPUn_l 耦接, 適於提供基板管理控制器510設置一個致能訊號,以將處 理器CPU0、CPm、…、CPUn-Ι致能或禁能。其中,這 些致能針腳之致能訊號一般均先設置為致能狀態,也就是 14 200837632 iJKJJU/uuiiiW 23277twf.doc/n 說,原先是假設每個處理器CPUO、CPU1、…、cPUn 1 均能正常工作,因此在系統開機時即先將這些處理哭 CPU0、CPU1、…、CPUn-Ι 致能。 如 偵測針腳515、516、517則透過偵測模組520分別與 處理器CPUO、CPUl、CPUn_l相連接,而用以偵測處理 器CPU0、CPU1、CPUn-Ι的工作狀態,並獲得一個對應 的偵測訊號。其中,偵測模組520係用以偵測各個處理器 (' CPU0、CPU1.....CPUn-1的運作是否正常,並發送對應 之偵測訊號給偵測針腳515〜517。 〜 ^此外,選擇針腳518則透過多工器530分別耦接至唯 ⑻己憶體ROMO、ROM1、···、R〇Mm_l,而適於提供基 板管理控制器510設置一個選擇訊號,以在唯讀記憶體 ROMO、ROM1、…、R〇Mm-l中切換。其中,由於^統 500只需要從一個唯讀記憶體中讀取BI〇s資料即可進行 開機動作,因此在這些由選擇針腳傳送到唯讀記憶體 ROMO、ROM1.....R〇Mm-l的選擇訊號中,例如僅先 設置一個唯讀記憶體為致能狀態,而將其餘記憶體設置為 禁能狀態。然而,若在開機時發現此預設的唯讀記憶體發 ^錯誤,而需切換到別的唯讀記憶體時,則可將此預設唯 =記憶體禁能,而選擇將另一個唯讀記憶體設置為致能狀 恶,除此之外,其餘記憶體則仍保持原先設置的禁能狀態, 如此即能夠達到本發明切換記憶體的功效。 再者,基板管理控制器510中亦包括有一個計時器 511,此计時器511例如是一個錯誤回復開機(Fault 15 200837632 iruu/υυιι TW 23277twf.doc/nAnd when the boot error is found, it is judged that the processor is still ί ίί - two problems, in order to correctly clarify the cause of the error, so that the system can properly select the alternative processing n or memory to start. The present invention is a multi-processor and multi-memory system (start-up switching device and method) developed based on the upper profile. In order to make the content of the present invention clearer, the following is an example of the actual implementation of the present invention. Figure 5 is a block diagram of a multiprocessor and multi-record system according to an embodiment of the invention. Referring to FIG. 5, the multi-processor and multi-memory system 500 includes a baseboard management controller (BMC) 510, a detection module 520, a multiplex port 530, and input/output control. (sUper inpUt/〇utpUt, siq) wafer 54〇, n processor CPU0, CPU1.....CPUn-Ι and m read-only memory 11〇]\40,11〇]\41,." , &〇]^111-1. The read-only memory 110], R〇Ml.....ROM01-1 is, for example, a read-only memory for storing basic input/output system (BIOS) data. The substrate management controller 510 includes enable pins 512 to 514, detection pins 515 to 517, selection pins 518, and a timer 511. The enable pins 512, 513, and 514 are coupled to the processors CPU0, CPU1, and CPUn_1, respectively, and are adapted to provide the substrate management controller 510 with an enable signal to enable the processors CPU0, CPm, ..., CPUn-Ι or Disabled. Among them, the enable signals of these enable pins are generally set to the enable state, that is, 14 200837632 iJKJJU/uuiiiW 23277twf.doc/n said that it is assumed that each processor CPUO, CPU1, ..., cPUn 1 can Normal operation, so when the system is turned on, these processes are first cried CPU0, CPU1, ..., CPUn-Ι enabled. The detection pins 515, 516, and 517 are respectively connected to the processors CPU0, CPU1, and CPUn_1 through the detection module 520, and are used to detect the working states of the CPU0, CPU1, and CPUn-Ι, and obtain a corresponding correspondence. Detection signal. The detection module 520 is configured to detect whether each CPU (CPU0, CPU1, . . . CPUn-1 is operating normally, and send a corresponding detection signal to the detection pins 515-517. In addition, the selection pin 518 is coupled to the only (8) memory ROMO, ROM1, . . . , R〇Mm_l through the multiplexer 530, and is adapted to provide the substrate management controller 510 to set a selection signal for read-only The memory ROMO, ROM1, ..., R〇Mm-1 are switched. Among them, since the system 500 only needs to read the BI〇s data from a read-only memory, the boot operation can be performed, and therefore these are transmitted by the selected pins. In the selection signal of the read-only memory ROMO, ROM1.....R〇Mm-1, for example, only one read-only memory is set to the enabled state, and the remaining memory is set to the disabled state. If the default read-only memory is found to be wrong when booting, and you need to switch to another read-only memory, you can disable this preset only = memory and select another read-only memory. The body is set to enable the evil, in addition, the remaining memory remains in the previously disabled state. Therefore, the function of the switching memory of the present invention can be achieved. Further, the baseboard management controller 510 also includes a timer 511, which is, for example, an error recovery boot (Fault 15 200837632 iruu/υυιι TW 23277twf .doc/n

Resilient Booting,FRB)計時器。由於基板管理控制器51〇 的電源為獨立供應,因此使用者可以在開啟系統5〇〇之 知’即開啟基板管理控制510的電源,據以設定計時器 511的暫停時間(Time_〇ut),而在系統5〇〇的電源開啟的 同時,計時器511則會開始倒數暫停時間。 輸入輸出控制晶片540係透過位址/資料線分別與唯 讀記憶體ROMO、ROM1.....R〇Mm_l相連接,而&系 〇 統50〇實際開機時,則會根據這些唯讀記憶體R0M(/、' R〇Ml.....ROM111—1的致能狀態,從被致能的唯讀記憶 體上讀取BIOS系統資料。 “ 值得一提的是,本實施例之多處理器及多記憶體系統 5〇〇遂包括一個警示裝置(未繪示),此警示裝置會在唯 ,記憶體ROMO、ROM1、…、ROMm-1均切換過,而系 j 500仍無法正常開機時,發出警示訊息,以告知使用^ 窝要將唯讀記憶體ROMO、R0M1.....R0Mm_l m。 〇 本發明還包括基於上述多處理器及多記憶體系統、5〇〇 曰、架構發展一套開機切換方法,以下則另舉一個實施例說 ^上述夕處理為及多記憶體系統中各個元件之間訊號與資 =傳遞2詳細步驟。圖6是依照本刺—實闕所緣示的 二處理态及多記憶體系統之開機切換方法的流程圖。請參 =圖6’在本實施例中,假設所有的處理器均可正常運作, 此將所有致能針腳上的致能訊號均設置為致能狀態。此 ,亦:先選定一個唯讀記憶體做為開機記憶體,並將其 、應之選擇訊號設置為致能狀態,而其餘唯讀記憶體之選 16 200837632 1Γ jljvj / yj\j x x rW 23277twf.doc/n 擇訊號則設置為禁能狀態。在上述的環境均 即可進行下列的步驟: 取俊 1*先,由使用者將系統500開機,或是由系統 新啟動(步驟S61〇),而在系、统5〇〇開機的同日夺,則^ 計時器511開始倒數一暫停時間(步驟S62〇)。 θ ( 而在倒數期間,基板管理控制器51〇會债測是否 到由BIOS系統之通用輸人輸出針腳(未纟會示)傳送而 的計時禁能訊號,以蚊是否取消暫停時間的倒數(步驟 S630)。其中’若接收到計時禁能訊號,則代表系統_ I正常開機’此時即會將計時器511禁能,停止倒數暫停 時間’並以目前設定之處理器及唯讀記憶體執行開 (步驟 S640)。 反之,若未接收到汁時禁能訊號,而在暫停時間的倒 數完畢時,則會進-步比較並躺各個侧針腳(例如偵 測針腳515)職㈣的侧訊號是否與姆應之各個致 能針腳(例如致能針腳512)的致能訊號相符(步驟S65〇)。 +其中,若判斷出偵測訊號與對應之致能訊號不符,則 可藉由基板管理控制器510將致能針腳上的致能訊號設置 為禁能狀態,以將對應之處理器禁能(步驟S68〇);反之, 若判斷出偵測訊號與對應之致能訊號相符,則代表處理器 的運作狀態與預設相符,因此也無需對此處理器執行任^ 動作。 值得注意的是,若在比較所有之偵測訊號與致能訊號 之後,發現兩者均相符,則可判定所有處理器的運作狀態 17 200837632 lifUO/uuuTW 23277twf.doc/n 均與預設相符,料代表處理H均可正常運作,因此可推 論出造成系統無法開機的原因是從唯讀域體而來。此時 即可調整發送給唯讀記憶體之選擇訊號,切換至另一個吃 憶體(步驟謂)。其中,此步驟例如先將原本選擇之記 =體的選擇tfl號設置域能狀態,然後再從剩餘之記憶體 中選擇-個做為開機記憶體’而將其對應之選擇訊號設置 為致能狀態。 在執行完步驟S680的處理器禁能或是步驟S69〇的記 憶體切換後,則_步驟關,重新啟㈣統,並以切換 後=處理ϋ及記憶體執行賴動作,如此重複執行檢查處 =及記賴,並在必要時禁能處理^或切換記憶體,最 ί m ::以:=一組運作正常的處理器及唯讀記憶體執行 作。d ’萬-在執行上述步_最後發現,所有 的處理或是财的記㈣均無法正常u 也沒有用,此時即可發出—則警示訊息,以告知使Resilient Booting, FRB) timer. Since the power supply of the substrate management controller 51 is independently supplied, the user can turn on the power of the substrate management control 510 by turning on the system, thereby setting the pause time of the timer 511 (Time_〇ut). While the power of the system 5 开启 is turned on, the timer 511 starts the countdown pause time. The input/output control chip 540 is connected to the read-only memory ROMO, ROM1.....R〇Mm_1 through the address/data line, respectively, and the & system system 50 is actually turned on according to these read-only memories. Memory R0M (/, 'R〇Ml.....ROM111-1 enabled state, read BIOS system data from the enabled read-only memory. "It is worth mentioning that this embodiment The multi-processor and multi-memory system 5〇〇遂 includes a warning device (not shown), and the warning device is switched in the memory ROMO, ROM1, ..., ROMm-1, and the j 500 is still unable to When the power is turned on normally, a warning message is sent to inform the use of the read only memory ROMO, R0M1.....R0Mm_l m. The present invention also includes the above multiprocessor and multi-memory system, 5〇〇曰The architecture develops a set of power-on switching methods. The following is another embodiment. The above-mentioned processing is a detailed step of signal and resource transfer between the various components in the multi-memory system. Figure 6 is in accordance with the thorn-solid A flow chart of the two processing states and the booting method of the multi-memory system. = Fig. 6' In this embodiment, it is assumed that all the processors can operate normally, which sets the enable signals on all enable pins to the enable state. Also, first select a read only memory to do It is the boot memory, and the selection signal should be set to the enable state, and the remaining read-only memory selections are set to the disabled state. In the above environment, the following steps can be performed: Take the 1* first, the system 500 is turned on by the user, or the system is newly started (step S61〇), and the system and the system are turned on the same day. Then, the timer 511 starts the countdown pause time (step S62〇). θ (When the countdown period, the baseboard management controller 51 will check whether the output pin is output by the BIOS system (the future output will be shown) The transmitted timed disable signal, whether the mosquitoes cancel the reciprocal of the pause time (step S630). Wherein, if the timed disable signal is received, the system _I is normally turned on, and the timer 511 is disabled. , stop the countdown pause time' and The currently set processor and the read-only memory are turned on (step S640). Conversely, if the juice is not received when the juice is not received, and the countdown of the pause time is completed, the side stitches are compared and placed on each side ( For example, it is detected whether the side signal of the pin 515) (4) matches the enable signal of each of the enable pins (for example, the enable pin 512) of the mouse (step S65 〇). + wherein, if the detection signal and the corresponding signal are judged If the enable signal does not match, the substrate management controller 510 can set the enable signal on the enable pin to the disabled state to disable the corresponding processor (step S68〇); otherwise, if the detection is determined If the signal matches the corresponding enable signal, it means that the operating state of the processor matches the preset, so there is no need to perform any action on the processor. It is worth noting that if all the detection signals and enable signals are compared and it is found that the two match, it can be determined that the operating states of all processors 17 200837632 lifUO/uuuTW 23277twf.doc/n are consistent with the presets. It is expected that the processing H can operate normally, so it can be inferred that the reason why the system cannot be turned on is from the read-only domain. At this point, you can adjust the selection signal sent to the read-only memory and switch to another memory (step). In this step, for example, the selected tfl number of the original selected body is set to the domain energy state, and then the selected memory is selected as the boot memory from the remaining memory, and the corresponding selection signal is set to enable. status. After the execution of the processor in step S680 is disabled or the memory switching in step S69 is performed, then the step _step is turned off, the system is restarted, and the processing is performed after the switching = processing and memory execution, so that the inspection is repeated. = and remember, and if necessary, can not handle ^ or switch memory, most: :: with: = a set of normal operating processors and read-only memory implementation. d ’ million--in the above steps _ finally found that all the processing or financial records (four) are not normal u can not be used, then you can send out - then a warning message to inform

Cj 用者替換損壞的處理器或是記憶體。The Cj user replaces the damaged processor or memory.

為:更清楚地描述上述方法實際運作的情形,以下再 明。ΐ實施例假設致能針腳512原先設置 的工二ΐΓ;,而右@測权組520在侧處理器CPUO 11 ίΓ 5 仙^^ 較之下,則可確定處理器咖0的運 1ί狀恶與預設相符,而無需將處理器〇>!;0禁能;然而, 右偵測模組520在貞測處理哭…、 苴鱗w $ CPUG的工作狀態後,觸 〜、法正以作,因此發送的_訊號變為0。此即代表 18To: more clearly describe the actual operation of the above method, the following is clear. The embodiment assumes that the enable pin 512 is originally set to work; and the right @ test right group 520 is below the side processor CPUO 11 Γ 5 centimeters ^^, then the processor 0 can be determined. Consistent with the preset, without the processor 〇>!;0 disabled; however, the right detection module 520 touches the working state of the c... Therefore, the transmitted _ signal becomes 0. This represents 18

200837632 i^u/uunfW 23277twf.doc/n 是造成織無法曝的相,據此即將致能 為〇,而將處理器CPU〇 ·能。此外,若依照上述 處理器CPUG、CPU1、...、CPUn]後發現, 其運作皆為正常。此即代耗統義錯 憶體’此時即可進行記憶體的切換動作。复中 定的開機記題為職〇,财切換成由峨丨開機^ 返可★藉由本發明之開機切換方法,即可找出問題發 的原因’亚對應做出補救的動作,最終能使系統正常開 機0 最後,可芩妝圖7及圖8所繪示之本發明與習知技術 的比車乂表,此比較表是基於在一個採用雙處理器(Cpu〇 ^ cpui—)及雙唯讀記憶體(R〇M〇及r〇mi )的系統上, 二別進行本發明與習知技術所獲得的結果。其中,圖7中 習=技術的部分是麟R〇M暫停_大於frb暫停時間 的N况,而圖8中習知技術的部分則是假設R〇M暫停時 間小於FRB料時間的情況。此外,圖式中打勾的部分代 ^運作正$,打X的部分則代表運作異常或無法運作。比 乂兩邊2結果可發現,制習知的技術仍會造成許多判斷 心的^況此即會造成系統永遠無法正常開機;相對地, 採用本案的結果均可正確顺出錯誤發生的原因,並在發 現兩個處理器或_記憶體均為異常的狀況下,提示警示 减&amp;以告知制者賴,明顯地比習知麟更為可靠。 綜上所述,本發明之多處理器及多記憶體系統之開機 切換裝置及方法至少具有下列優點: 19 200837632 lrj^v/vun TW 23277twf.doc/n 1·使用單-個計時器麟系統是否發生職錯誤,可 避免分別使用兩個計時器所造成之錯誤判斷的情況,並能 夠導引线選擇運作正常的處理器或記憶體執行開機動 作。 2·刀別透過偵測針腳及致能針腳與處理器連接,而能 ,在發生μ錯誤的情況下’即時發現發生錯誤的處理 器’並將其禁能而改用其他的處㈣開機,達到正常啟動 糸統的目的。 η ϋ偵測處理态均運行無誤的狀態下,即可判斷錯誤 疋由°己=體產生,而利用將開機的記憶體切換到另一個替 代的義體上’讓系統在下次開機時能夠制正確的開機 資料。 —雖然本發明已啸佳實關減如上,然其並非用以 限疋本發明’任何所屬技術領域中具有通常知識者,在不 脫離本發明之精神和範圍内,當可作些許之更動與潤飾, $本發明之保護範圍當視後附之巾請專利範圍所界定者 【圖式簡單說明】 〇 斤9示為習知雙處理器系統使用BMC進行frjb 的架構圖。 圖2所繪示為習知雙處理器系統使用BMC進行FRB 的方法流程圖。 圖3所繪示為習知雙BIOS ROM系統的架構圖。 圖4所繪示為習知雙BIOS ROM系統的運作流程圖。 20 23277twf.doc/n 200837632200837632 i^u/uunfW 23277twf.doc/n is the phase that can't be exposed, so it will be enabled, and the processor CPU will be able to. In addition, if it is found after the above-mentioned processors CPUG, CPU1, ..., CPUn], its operation is normal. This means that the memory is switched at this time. The default start-up problem is the job title, and the money is switched to the start-up ^ return. ★ With the power-on switching method of the present invention, the cause of the problem can be found. The system is normally turned on. Finally, the comparison between the present invention and the conventional technology shown in FIG. 7 and FIG. 8 can be applied. The comparison table is based on a dual processor (Cpu〇^ cpui-) and a dual On the system of read-only memory (R〇M〇 and r〇mi), the results obtained by the present invention and the prior art are performed. Among them, the part of the technique = Fig. 7 is the N state of the column R 〇 M pause _ greater than the frb pause time, and the part of the prior art of Fig. 8 assumes that the R 〇 M pause time is less than the FRB material time. In addition, the part of the figure ticked ^ is operating positive $, and the part playing X is abnormal or inoperable. Comparing the results on both sides, it can be found that the technique of knowing the system still causes a lot of judgments. This will cause the system to never start up normally; relatively, the results of this case can correctly correct the cause of the error, and In the case that two processors or _memory are found to be abnormal, prompting the warning minus &amp; to inform the makers is obviously more reliable than Xizhilin. In summary, the multi-processor and multi-memory system boot switching apparatus and method of the present invention have at least the following advantages: 19 200837632 lrj^v/vun TW 23277twf.doc/n 1·Using a single-timer system Whether or not a job error occurs can avoid the use of the error judgment caused by the two timers separately, and can guide the line to select a functioning processor or memory to perform the power-on action. 2. The knife is connected to the processor through the detection pin and the enable pin. However, in the case of a μ error, 'immediately find the processor that has the error' and disable it and use the other device (4) to boot. Achieve the purpose of normal startup. When the η ϋ detection processing state is running smoothly, the error can be judged to be generated by the body, and the memory that is turned on can be switched to another alternative body to enable the system to be enabled at the next startup. The correct boot data. </ RTI> </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; Retouching, $ The scope of protection of the invention is defined by the patent scope defined by the patent scope [Simple description of the drawing] 〇 9 9 shows the architecture diagram of frjb using BMC for the conventional dual processor system. 2 is a flow chart of a method for a conventional dual processor system to perform FRB using a BMC. FIG. 3 is a block diagram of a conventional dual BIOS ROM system. FIG. 4 is a flow chart showing the operation of a conventional dual BIOS ROM system. 20 23277twf.doc/n 200837632

Λ.Λ. V/ 9 V V A A JL W 圖5是依照本發明一實施例所繪示的多處理器及多#己 憶體系統的方塊圖。 圖6是依照本發明一實施例所繪示的多處理器及多記 憶體系統之開機切換方法的流程圖。 圖7所繪示為本發明與習知技術的比較表。 圖8所繪示為本發明與習知技術的比較表。 【主要元件符號說明】 ρ 100 :雙處理器系統 110、120 :處理器 130 :基板管理控制器 131、132 :致能針腳 133 :錯誤回復開機計時器 140 ··通用輸入輸出針腳 300 ·· BIOS ROM 系統 310 :輸入輸出控制晶片 311 :選擇針腳 CJ 312 :唯讀記憶體計時器 320、330 ··唯讀記憶體 340 :反向器 350 :通用輸入輸出針腳 500:多處理器及多記憶體系統 510 :基板管理控制器 511 :計時器 512、513、514 :致能針腳 200837632 ,rw 23277twf.doc/n 515、516、517 :偵測針腳 518 :選擇針腳 520 :偵測模組 530 :多工器 540 :輸入輸出控制晶片 CPU0、CPU1.....CPUn-1 :處理器 ROMO、ROM1、…、ROMm-1 :唯讀記憶體 S210〜S280 :習知雙處理器系統使用BMC進行FRB 的方法之各步驟 8410〜8470:習知雙別〇3!1〇]\4系統運作之各步驟 S610〜S690 :本發明一實施例之多處理器及多記情 系統的開機切換方法之各步驟 ~ _ Ο 22/.Λ. V/9 V V A A JL W FIG. 5 is a block diagram of a multiprocessor and multi-resonant system according to an embodiment of the invention. FIG. 6 is a flow chart of a method for powering on and off of a multiprocessor and multi-memory system according to an embodiment of the invention. FIG. 7 is a comparison table of the present invention and the prior art. FIG. 8 is a comparison table of the present invention and the prior art. [Main component symbol description] ρ 100 : Dual processor system 110, 120 : Processor 130 : Baseboard management controller 131 , 132 : Enable pin 133 : Error recovery power-on timer 140 · General-purpose input/output pin 300 · BIOS ROM system 310: input/output control chip 311: selection pin CJ 312: read only memory timer 320, 330 · read only memory 340: inverter 350: general purpose input/output pin 500: multiprocessor and multi-memory System 510: Baseboard Management Controller 511: Timers 512, 513, 514: Enable Pins 200837632, rw 23277twf.doc/n 515, 516, 517: Detection Pin 518: Select Pin 520: Detection Module 530: Multiple Worker 540: input/output control chip CPU0, CPU1.....CPUn-1: processor ROMO, ROM1, ..., ROMm-1: read-only memory S210~S280: conventional dual processor system uses BMC for FRB Each of the steps 8410 to 8470 of the method: the conventional steps S610 to S690 of the system operation: each of the multi-processor and multi-symbol system startup switching methods according to an embodiment of the present invention Steps ~ _ Ο 22

Claims (1)

200837632 23277twf.doc/n JLX JL^\J / \J\J x x 十、申請專利範圍: L一種多處理器及多記憶體系統之開機切換裴置,配 置於包括多個處理器及多個記憶體之一系統,包括·· 夕個處理為致能針腳,分別輕接至該些處理器,各該 些處理器致能針腳適於設置一致能訊號,以致能^孥能該 些處理器; 不 〇 多個處理器偵測針腳,分別耦接至該些處理器,各該 些處理為债測針腳適於偵測對應之該處理器的工作狀態, 而獲得一偵測訊號; 夕個#憶體選擇針腳,耗接至該些記憶體,適於設置 一選擇訊號,以切換該些記憶體;以及 一計時器,包括設定有一暫停時間(Time_out),適 於在該系統開機時,開始倒數該暫停時間,其中 在該暫停時間倒數完畢時,判斷各該些處理器致能針 腳之該致能訊號及各該些處理器偵測針腳的該偵測訊號是 U 否相符, 若該致能訊號與該偵測訊號不符時,則透過對應之處 理器致能針腳將該處理器禁能, 右所有致成訊號與彳貞測訊號均相符時,則透過該些記 憶體選擇針_換該些記憶體。 ^ 2·如申請專利範圍第1項所述之多處理器及多記憶體 系統之開機切換裝置,更包括: 一警不裝置,適於在該些記憶體均切換後仍無法正常 23 23277twf.doc/n 200837632 XX Vf / V \/ X X TW 開機時,發出一警示訊息。 3·如申請專利範圍第1項所述之多處理器及多記憶體 系統之開機切換裝置,其中該些記憶體為儲存一基本輸入 輸出系統(Basic Input/Output System, BIOS)之唯讀記憶 體(Read Only Memory,ROM )。 4·如申請專利範圍第1項所述之多處理器及多記憶體 系統之開機切換裝置,其中該開機切換裝置包括配置於一 O 〇 基板管理控制(Baseboard Management Control,BMC)裝 置中。 、 5.如申請專利範圍第1項所述之多處理器及多記憶體 系統之開機切換裝置,其中該計時器包括錯誤回復開機 (Fault Resilient Booting,FRB )計時器。 ^ 6·如申請專利範圍第1項所述之多處理器及多記憶體 系統之開機城裝置,其巾該些處理驗能針腳之該些致 能訊號包括均預先設置為致能狀態。 一 7.如巾請翻翻第i項所叙多纽 糸統之開機切縣置,其中該些記憶體選擇針腳包括= ,選擇㈣包括預纽置該些記憶體其中之—為致^ 態,而其餘記憶體則設置為禁能狀態。 〜b / 8.如申請專利範圍第7項所述之多處理器 糸統之開機切換裝置,其中當需要切換該些記憶㈣士, 括將該些記憶體其巾之另—設置為致⑫〜甘守匕 體則設置為禁能狀態。 4心,而其餘記憶 9·一種多處理器及多記憶體系統,包括 24 200837632 AjL j-xv/ / w j. jl IW 23277twf.doc/n 多個處理器; 多個記憶體;以及 一開機切換裝置,包括: 多個處理器致能針腳,分 各該些處理器致能針腳適於設置二別,接至該些處理器, 能該些處理器; 致此訊號’以致能或禁 多個處理器偵測針腳,200837632 23277twf.doc/n JLX JL^\J / \J\J xx X. Patent application scope: L A multi-processor and multi-memory system boot switch, configured to include multiple processors and multiple memories One of the systems, including the night processing, is an enable pin, which is respectively connected to the processors, and each of the processor enable pins is adapted to set a uniform energy signal so that the processors can be enabled; The plurality of processor detection pins are respectively coupled to the processors, and each of the processing pins is adapted to detect a working state of the corresponding processor to obtain a detection signal; The memory selection pin is connected to the memory, and is adapted to set a selection signal to switch the memory; and a timer, including setting a pause time (Time_out), suitable for starting when the system is powered on Counting the timeout period, wherein when the countdown time is completed, it is determined whether the enable signal of each of the processor enable pins and the detection signal of each of the processor detection pins are U or not, if so Signal and If the detection signal does not match, the processor is disabled by the corresponding processor enable pin. When all the right signals and the test signal match, the memory is selected through the memory. . ^ 2 · The multi-processor and multi-memory system boot switching device described in claim 1 further includes: a police device, which is not suitable for the 23 23277 twf after the memory is switched. Doc/n 200837632 XX Vf / V \/ XX TW A warning message is issued when the power is turned on. 3. The power-on switching device of the multi-processor and multi-memory system according to claim 1, wherein the memory is a read-only memory for storing a basic input/output system (BIOS). Read Only Memory (ROM). 4. The power-on switching device of the multi-processor and multi-memory system of claim 1, wherein the power-on switching device is disposed in an O-Baseboard Management Control (BMC) device. 5. The power-on switching device of the multi-processor and multi-memory system of claim 1, wherein the timer comprises a Fault Resilient Booting (FRB) timer. ^6. The multi-processor and multi-memory system booting device of claim 1, wherein the enabling signals of the processing inspecting pins are pre-set to an enabled state. 1. 7. For the towel, please turn over the turn-on county of the multi-nucleus mentioned in item i. The memory selection pins include =, and the selection (4) includes pre-setting the memory. And the rest of the memory is set to disabled. ~b / 8. The multi-processor system boot switching device according to claim 7, wherein when the memory (four) is required to be switched, the memory is set to be 12 ~ Gan Shou 则 is set to disable state. 4 hearts, while the rest of the memory 9 · a multi-processor and multi-memory system, including 24 200837632 AjL j-xv / / w j. jl IW 23277twf.doc / n multiple processors; multiple memory; The switching device includes: a plurality of processor-enabled pins, each of the processor-enabled pins being adapted to be set up, and connected to the processors, capable of being capable of causing the signals to enable or disable Processors detect stitches, o 適於_如=的處: 設置一選擇訊號’二 記=至=_ ’適於 你y J計時器’包括設定有—暫停時間(Time-om), 適於在该糸統開機時,開始倒數該暫停時間,其中 在該暫停時間倒數完畢時,判斷各該些處理器致能針 腳之該致能訊號及各該祕理!!侧針_軸測訊號是 否相符, ^ 若該致此亂號與該彳貞測訊號不符時,則透過對應之處 理器致能針腳將該處理器禁能, 心地 若所有致能訊號與偵測訊號均相符時,則透過該此記 十思體選擇針腳切換該些記憶體。 10·如申請專利範圍第1項所述之多處理器及多記憶 體糸統,更包括: 一警示裝置,適於在該些記憶體均切換後仍無法正常 開機時,發出一警示訊息。 25 項所述之多處理器及多記憶 Ο ο 200837632 iruviKjyjii fW 23277twf doc/n ιι·如申請專利範圍第 體系統,更包括: 叫一:二二Γ置於該些記憶體選擇針腳及該些記憶體 之間,適於將該麵擇訊賴遞至對應的記憶體。 體系翻制第^之多纽肢多記憶 -痛配置於該些處理器偵測針腳及該些處理 器之間’適於偵測該些處理器是否運作正 ; 之該些偵測訊號給該些處理器偵測針腳 、心 13H專利範圍第1項所述之多處理器及多記憶 體系統,更包括· 一輸入輸出控制晶片,適於诱 記情體連接,吨據糾記,㈣tti雜線與該些 ^』 體的致能狀態,選摞由該此 記憶體其中之一接收基本輪入輪出系统的 一 H.如申請專利範圍第i項所述之2機_貝料。&amp; 體系統,其中該些記憶體為儲存一美本二及多汜憶 讀記憶體。 i本輪入輸出祕之唯 15.如二專1項所述之多處理器及多記憶 體系統,其錢切換裝置包括配置於-基板管理控制 裝置中。 1賴狀及多記憶 體系統,,、汁蚪态包括錯誤回復開機計時器。 π·如^^第1項所述之多處理器及多記憶 體系統^禮器致能針腳之該些致能訊號包括均 26 200837632 iruu /υυι 1 fW 23277twf.doc/n 預先設置為致能狀態。 18·如申請專利範圍第 體系統,其中該些記憶體選:所述之多處理器及多記憶 括預先設置該些記憶體其巾,包括之該麵擇訊號包 體則設置為S錄態。’、1致能狀態,而其餘記憶 體f统,18項所述之多處理器及多記憶 體糸統,其中當需要切換兮to Suitable for _ such as =: Set a selection signal 'two times = to = _ 'suitable for you y J timer' including setting - time-om, suitable for when the system is turned on, Starting to count down the pause time, wherein when the countdown is completed, it is determined whether the enable signal of each of the processor enable pins and each of the secrets!! The side pin_axis test signal matches, ^ If so If the chaotic number does not match the test signal, the processor is disabled by the corresponding processor enable pin. If all the enable signals and the detection signals match, then the choice is made through the note. The pins switch the memories. 10. The multi-processor and multi-memory system as described in claim 1 further includes: a warning device adapted to issue a warning message when the memory is still not turned on normally after the memory is switched. Multi-processor and multi-memory 25 described in 25 items ο 200837632 iruviKjyjii fW 23277twf doc/n ιι·If you apply for the patent range body system, it also includes: Call one: two two Γ placed in the memory selection pins and these Between the memories, it is suitable to transfer the face selection to the corresponding memory. The system is configured to detect the presence or absence of the processor between the processor detection pins and the processors; the detection signals are The processor detects the pin, the multi-processor and multi-memory system described in the first aspect of the patent range 13H, and further includes an input/output control chip, which is suitable for gesturing emotional connection, ton according to remarks, (4) tti miscellaneous The line and the enabling state of the body are selected to receive one of the basic wheel-in and turn-out systems by one of the memories. The two-machine_bee material as described in claim i. &amp; body system, wherein the memory is a memory of one and two memories. i. This is a multi-processor and multi-memory system as described in the second item, and the money switching device includes a configuration in the substrate management control device. 1 Lay and multi-memory systems, and juices include an error-return boot timer. π·^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ status. 18. The method as claimed in claim 1 , wherein the plurality of processors and the plurality of memories comprise a pre-set memory of the memory, wherein the surface selection signal package is set to an S recording state. . ', 1 enable state, and the rest of the memory, 18 of the multi-processor and multi-memory system, where when you need to switch 兮t Lj 體其中之另-設置為致能,包括將該些記憶 能狀離。 巧此版怨,而其餘記憶體則設置為禁 20·,夕處理益及多記憶體系統之開 機切換方法,適 用^括夕個處理器及多個記憶體之, 下列步驟: 在忒系統開機時,開始倒數一暫停時間·, =斷是否接計時器禁能訊號; 二右未接收到該計時器禁能訊號而倒數完畢時 ,則偵測 該些處是否正常運作,並取得對應之辣彳貞測訊號; 判畊各该些偵測訊號是否與對應之一致能訊號相符; 若該偵測訊號與對應之該致能訊號不符,則將該 致能訊號設置為禁能狀態,以輯應之該處理H禁能;以 及 咏若所有之該些彳貞測訊號均與對應之該些致能訊 號相符,則瓣發送給該些記紐之多個選擇訊號,以切 換該些記憶體。 21·如申請專利範圍第20項所述之多處理器及多記憶 27 200837632 ………rW 23277twf.doc/n 法更=在判斷是否接收,時器 口口右接收到該計時器禁能訊號,則以目前設定 理器及該些記憶體執行p錢動作。 〜處 22·如申請專利範圍第2〇項所述之多處理器 =在—基本輸人輪出系統正常執行開機動作時,读方 μ土本輸入輸出系統取消該暫停時間的倒數。 過 μ Γ·如:r專利乾圍第2G項所述之多處理器及多記怜 體糸統之_娜方法,其中在將職 ^ 以及切換該些記憶體的步歡後,更包括:σ。不月匕 重新啟動違系統,並以切換後的該些處理器及該些記 十思體執行開機動作。 Ο / 24·如申凊專利範圍第2〇項所述之多處理器及多記憶 體系統之開機切換方法,其中在該系統開機之前,更包括: 將所有該些致能訊號設置為致能狀態。 25·如申請專利範圍第20項所述之多處理器及多記憶 體系統之開機切換方法,其中在該系統開機之前,更包括·· 選擇該些記憶體其中之一做為一開機記憶體,並將其 對應之該選擇訊號設置為致能狀態,而其餘記憶體之該些 選擇訊號則設置為禁能狀態。 26·如申請專利範圍第25項所述之多處理器及多記憶 體系統之開機切換方法,其中切換該些記憶體的步驟包括·· 將原本選擇之該記憶體的該選擇訊號設置為禁能狀 28 200837632TW 23277twf.doc/n 態;以及 選擇剩餘之該些記憶體其中之一做為該開機記憶 體,並將其對應之該選擇訊號設置為致能狀態。 27.如申請專利範圍第26項所述之多處理器及多記憶 體系統之開機切換方法,其中在該些記憶體均被選擇過, 而該系統仍無法正常開機時,包括發出一警示訊息。The other of the Lj bodies is set to enable, including the separation of these memory energies. This version of the complaint, and the rest of the memory is set to ban 20 ·, the processing of the benefits and multi-memory system boot switching method, for the application of a processor and multiple memory, the following steps: When the countdown pause time is started, = is the timer disable signal; if the timer does not receive the timer disable signal and the countdown is completed, it detects whether the location is working properly and obtains the corresponding Sampling test signal; whether each of the detection signals is consistent with the corresponding consistent signal; if the detection signal does not match the corresponding enable signal, the enable signal is set to the disabled state, The processing of the H ban can be performed; and if all of the stimuli signals are consistent with the corresponding enable signals, the lobes are sent to the plurality of selection signals of the ticks to switch the memories. body. 21·Multi-processor and multi-memory as described in claim 20 of the patent scope 27 200837632 .........rW 23277twf.doc/n method==When judging whether to receive or not, the timer port right receives the timer disable signal , the current setting device and the memory to perform the p money action. ~ Department 22 · Multi-processor as described in the second paragraph of the patent application. = When the basic input wheel-out system performs the power-on action normally, the reading area μ input-output system cancels the reciprocal of the pause time. The method of multi-processor and multi-command _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ σ. Not restarting the system, restarting the system, and performing the booting action with the switches and the counters. Ο / 24· The method for switching the multi-processor and multi-memory system according to the second aspect of the application, wherein before the system is powered on, the method further comprises: setting all the enabling signals to enable status. 25) The method for switching the multiprocessor and multi-memory system according to claim 20, wherein before the system is powered on, the method further comprises: selecting one of the memories as a boot memory. And setting the corresponding selection signal to the enabled state, and the selection signals of the remaining memories are set to the disabled state. 26. The method of switching between the multiprocessor and the multi-memory system of claim 25, wherein the step of switching the memory comprises: setting the selected signal of the memory selected to be prohibited The energy state 28 200837632TW 23277twf.doc/n state; and select one of the remaining memories as the boot memory, and set the corresponding selection signal to the enable state. 27. The method for switching the multiprocessor and multi-memory system according to claim 26, wherein the memory is selected, and the system still fails to boot normally, including issuing a warning message . ί) 29ί) 29
TW96108929A 2007-03-15 2007-03-15 Boot-switching apparatus and method for multiprocessor and multi-memory system TWI327711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96108929A TWI327711B (en) 2007-03-15 2007-03-15 Boot-switching apparatus and method for multiprocessor and multi-memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96108929A TWI327711B (en) 2007-03-15 2007-03-15 Boot-switching apparatus and method for multiprocessor and multi-memory system

Publications (2)

Publication Number Publication Date
TW200837632A true TW200837632A (en) 2008-09-16
TWI327711B TWI327711B (en) 2010-07-21

Family

ID=44820275

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96108929A TWI327711B (en) 2007-03-15 2007-03-15 Boot-switching apparatus and method for multiprocessor and multi-memory system

Country Status (1)

Country Link
TW (1) TWI327711B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI489287B (en) * 2013-06-26 2015-06-21 Inventec Corp Multiplexer device and switching method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI489287B (en) * 2013-06-26 2015-06-21 Inventec Corp Multiplexer device and switching method therefor

Also Published As

Publication number Publication date
TWI327711B (en) 2010-07-21

Similar Documents

Publication Publication Date Title
TWI637316B (en) Dynamic reconfiguration of multi-core processor
TWI613588B (en) Method, microprocessor and computer program for synchronizing operations among cores
US7783877B2 (en) Boot-switching apparatus and method for multiprocessor and multi-memory system
US5317752A (en) Fault-tolerant computer system with auto-restart after power-fall
US7251746B2 (en) Autonomous fail-over to hot-spare processor using SMI
EP0433979A2 (en) Fault-tolerant computer system with/config filesystem
TW201508643A (en) Propagation of microcode patches to multiple cores in multicore microprocessor
CN101213523A (en) Debug support device, and program for directing computer to perform debugging method
JP2004038529A (en) Information processor
US20100174892A1 (en) Multiprocessor system and method for synchronizing a debugging process of a multiprocessor system
TW200944996A (en) Overclocking module and computer system and method thereof
TWI352281B (en) Method for judging a rebooting action of a compute
CN108984464B (en) Microprocessor and method for synchronizing processing cores of microprocessor
JP2007323631A (en) Cpu runaway determination circuit
US6925556B2 (en) Method and system to determine the bootstrap processor from a plurality of operable processors
CN100568189C (en) The power-on switching mechanism of multiprocessor and multi-memory system and method
TW200837632A (en) Boot-switching apparatus and method for multiprocessor and multi-memory system
JP2004302731A (en) Information processor and method for trouble diagnosis
WO2004003714A2 (en) Circuit for detection of internal microprocessor watchdog device execution and method for resetting microprocessor system
CN101872233B (en) Automatic on-off schedule control method and system thereof
CA2607435A1 (en) Software process monitor
JP2001198329A (en) Game machine
CN109240481B (en) Multi-core microprocessor and power saving method using same
JP2001198271A (en) Playing machine
JP2003256240A (en) Information processor and its failure recovering method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees