TW201525688A - Electronic apparatus and operational methods thereof - Google Patents

Electronic apparatus and operational methods thereof Download PDF

Info

Publication number
TW201525688A
TW201525688A TW102146606A TW102146606A TW201525688A TW 201525688 A TW201525688 A TW 201525688A TW 102146606 A TW102146606 A TW 102146606A TW 102146606 A TW102146606 A TW 102146606A TW 201525688 A TW201525688 A TW 201525688A
Authority
TW
Taiwan
Prior art keywords
signal
controller
sharing space
received
space
Prior art date
Application number
TW102146606A
Other languages
Chinese (zh)
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 TW102146606A priority Critical patent/TW201525688A/en
Publication of TW201525688A publication Critical patent/TW201525688A/en

Links

Abstract

An electronic apparatus includes a memory, a baseboard management controller (BMC), a processor and a controller. When a power-on self test is started, the controller initializes the memory, set functions of a shared memory in the memory, and disables the shared memory. Then, the controller generates an initialization command. The BMC obtains a size of the shared memory and establishes a initialization set for the shared memory. The controller generates a loading command to the BMC. The BMC stores an executive file into the shared memory through the controller according to the initialization command. The controller enables the shared memory and generates a first access signal. The processor performs the executive file and generates the complete signal. The controller disables the shared memory and the processor stops the power-on self test according the complete signal.

Description

電子裝置及其操作方法 Electronic device and method of operating same

一種電子裝置及其操作方法,特別有關於一種適於大量資料交換傳輸的電子裝置及其操作方法。 An electronic device and method of operating the same, and more particularly to an electronic device suitable for mass data exchange transmission and an operating method thereof.

一般來說,在電腦系統中會配置有主機端(Host)及基板管理控制器(Baseboard Management Controller,BMC)。並且,基板管理控制器與主機端之間會需要進行大量資料的交換,而前述大量資料通常會透過低腳位數(Low Pin Count,LPC)、通用序列匯流排(Universal Serial Bus,以下簡稱USB)或內部整合電路(Inter-Integrated Circuit,I2C)來進行交換。但是,低腳位數及內部整合電路的傳輸速度太慢,而通用序列匯流排無法與中斷指令(SMI Handler)共用。 Generally, a host device and a baseboard management controller (BMC) are configured in the computer system. Moreover, a large amount of data exchange is required between the baseboard management controller and the host terminal, and the above-mentioned large amount of data usually passes through a low pin count (LPC) and a universal serial bus (Universal Serial Bus, hereinafter referred to as USB). ) or an Inter-Integrated Circuit (I2C) for switching. However, the low pin count and the internal integrated circuit transfer speed are too slow, and the general sequence bus cannot be shared with the interrupt command (SMI Handler).

另外,雖然可以在基板管理控制器內使用USB虛擬儲存空間,但是在作業系統下會看到此虛擬儲存空間,而使得資料的安全性不足。因此,主機端及基板管理控制器之間的資料交換仍有改善的空間。 In addition, although the USB virtual storage space can be used in the baseboard management controller, the virtual storage space is seen under the operating system, and the security of the data is insufficient. Therefore, there is still room for improvement in data exchange between the host side and the baseboard management controller.

本發明在於提供一種電子裝置及其操作方法,藉以可大量進行資料的交換,並增加資料傳輸的安全性及效率。 The present invention provides an electronic device and an operating method thereof, whereby a large amount of data can be exchanged, and the security and efficiency of data transmission are increased.

本發明提供一種電子裝置,包括記憶體、基板管理控制器、處理器與控制器。記憶體儲存有基本輸入輸出系統,並定義有分享空間。處理器用以執行基本輸入輸出系統,以進行開機自我測試。控制器耦接記憶體、基板管理控制器與處理器,用以當執行開機自我測試時,初始化記憶體,並設定分享空間的多個參數以及禁能分享空間,且產生初始化指令至基板管理控制器,而基板管理控制器依據初始化指令得知分享空間之大小,並對分享空間建立隨機存取記憶體磁碟及檔案系統的初始化設定,控制器產生載入指令至基板管理控制器,而基板管理控制器依據載入指令,透過控制器將執行檔儲存至分享空間,則控制器產生第一存取信號並致能分享空間,而處理器依據第一存取信號,執行前述執行檔並產生執行完成信號,依據執行完成信號,控制器禁能分享空間,且處理器結束開機自我測試。 The invention provides an electronic device comprising a memory, a substrate management controller, a processor and a controller. The memory is stored with a basic input and output system and defines a shared space. The processor is configured to perform a basic input and output system for boot self-testing. The controller is coupled to the memory, the substrate management controller and the processor, is configured to initialize the memory when performing the boot self-test, set a plurality of parameters of the sharing space, and disable the sharing space, and generate an initialization command to the substrate management control. And the baseboard management controller knows the size of the shared space according to the initialization command, and establishes an initial setting of the random access memory disk and the file system for the shared space, and the controller generates a load command to the baseboard management controller, and the substrate The management controller stores the execution file to the sharing space through the controller according to the loading instruction, the controller generates a first access signal and enables the sharing space, and the processor executes the foregoing execution file according to the first access signal and generates Execution completion signal, according to the execution completion signal, the controller disables the sharing space, and the processor ends the startup self-test.

在一實施例中,前述當控制器接收到一第一更新韌體信號時,控制器依據基板管理控制器的一控制信號,而據以致能分享空間及刪除分享空間的檔案,以將對應第一更新韌體信號的一第一更新韌體儲存至分享空間,且禁能分享空間及產生一第二存取信號至基板管理控制器,使基板管理控制器依據第二存取信號,以更新韌體進行更新。 In an embodiment, when the controller receives a first updated firmware signal, the controller, according to a control signal of the substrate management controller, can share the space and delete the file of the shared space to correspond to the first A first updated firmware of the updated firmware signal is stored in the sharing space, and the sharing space is disabled and a second access signal is generated to the substrate management controller, so that the substrate management controller updates according to the second access signal. The firmware is updated.

在一實施例中,前述當控制器接收到一傳送指令信號時,控制器依據基板管理控制器的一控制信號,而據以致能分享空間及刪除分享空間的檔案,以將對應傳送指令信號的一指令檔儲存至分享空間,並發出一第三存取信號至基板管理控器,使基板管理控制器執行指令檔,並產生一執行結果至控制器,控制器將執行結果儲存至分享空間以及禁能分享空間。 In an embodiment, when the controller receives a transmission instruction signal, the controller, according to a control signal of the substrate management controller, can share the space and delete the file of the shared space to transmit the corresponding command signal. A command file is stored in the sharing space, and a third access signal is sent to the substrate management controller, so that the substrate management controller executes the command file, and generates an execution result to the controller, and the controller stores the execution result to the sharing space and Disable sharing space.

在一實施例中,前述當基板管理控制器接收到一中斷指令置換 信號時,基板管理控制器透過控制器,將對應中斷指令置換信號的一置換執行檔儲存至分享空間,以及產生一中斷指令與一控制信號至控制器,使控制器產生一第四存取信號至處理器且致能分享空間,則處理器依據第四存取信號,執行置換執行檔並產生一執行完成信號,而控制器依據執行完成信號,禁能分享空間。 In an embodiment, the foregoing substrate management controller receives an interrupt instruction replacement During the signal, the substrate management controller stores a replacement execution file corresponding to the interrupt instruction replacement signal to the sharing space through the controller, and generates an interrupt command and a control signal to the controller, so that the controller generates a fourth access signal. To the processor and enabling the sharing space, the processor executes the replacement execution file according to the fourth access signal and generates an execution completion signal, and the controller disables the sharing space according to the execution completion signal.

在一實施例中,前述當基板管理控制器接收到一第二更新韌體信號時,基板管理控制器透過控制器,將對應第二更新韌體信號的一第二更新韌體儲存至分享空間以及產生一儲存完成信號與一控制信號置控制器,使控制器致能分享空間且產生一第五存取信號至處理器,則處理器依據第五存取信號,執行第二更新韌體,以對基本輸入輸出系統進行更新,並產生一更新完成信號,而控制器依據更新完成信號,禁能分享空間。 In an embodiment, when the substrate management controller receives a second updated firmware signal, the substrate management controller stores a second updated firmware corresponding to the second updated firmware signal to the sharing space through the controller. And generating a storage completion signal and a control signal controller to enable the controller to share the space and generate a fifth access signal to the processor, the processor executing the second update firmware according to the fifth access signal, The basic input/output system is updated, and an update completion signal is generated, and the controller disables the sharing space according to the update completion signal.

一種電子裝置的操作方法,包括下列步驟。透過一處理器,執行一基本輸入輸出系統的一開機自我測試。透過一控制器,初始化記憶體,並定義一分享空間,且設定分享空間的多個參數以及禁能分享空間。控制器產生一初始化指令至基板管理控制器。基板管理控制器依據初始化指令得知分享空間之大小,並對分享空間建立隨機存取記憶體磁碟(RAM Disk)及檔案系統的初始化設定。控制器產生載入指令至基板管理控制器。基板管理控制器依據載入指令,透過控制器將一執行檔儲存至分享空間。控制器產生一第一存取信號並致能分享空間。處理器依據第一存取信號,執行前述執行檔,並產生一執行完成信號。依據執行完成信號,控制器禁能分享空間,且處理器結束開機自我測試。 A method of operating an electronic device includes the following steps. Performing a self-test of a basic input/output system through a processor. Through a controller, initialize the memory, define a sharing space, and set multiple parameters of the sharing space and disable the sharing space. The controller generates an initialization command to the baseboard management controller. The baseboard management controller knows the size of the shared space according to the initialization command, and establishes an initial setting of the random access memory disk (RAM Disk) and the file system for the shared space. The controller generates a load command to the baseboard management controller. The substrate management controller stores an execution file to the sharing space through the controller according to the loading instruction. The controller generates a first access signal and enables sharing of space. The processor executes the foregoing execution file according to the first access signal and generates an execution completion signal. According to the execution completion signal, the controller disables the sharing space, and the processor ends the boot self-test.

在一實施例中,前述電子裝置的操作方法更包括下列步驟。透 過控制器,判斷是否接收到一第一更新韌體信號。當判斷未接收到第一更新韌體信號時,則回到判斷是否接收到第一更新韌體信號的步驟。當判斷接收到第一更新韌體信號時,控制器判斷是否接收到基板管理控制器的一控制信號。當接收到控制信號時,控制器致能分享空間及刪除分享空間的檔案,以將對應第一更新韌體信號的一第一更新韌體儲存至分享空間,且禁能分享空間及產生一第二存取信號至基板管理控制器。基板管理控制器依據第二存取信號,以更新韌體進行更新。 In an embodiment, the operating method of the foregoing electronic device further includes the following steps. through Passing the controller to determine whether a first updated firmware signal is received. When it is judged that the first updated firmware signal is not received, it returns to the step of determining whether the first updated firmware signal is received. When it is determined that the first updated firmware signal is received, the controller determines whether a control signal of the baseboard management controller is received. When receiving the control signal, the controller enables sharing of the space and deleting the file of the shared space, so as to store a first updated firmware corresponding to the first updated firmware signal to the sharing space, and disable the sharing space and generate a first Two access signals to the baseboard management controller. The baseboard management controller updates the firmware according to the second access signal.

在一實施例中,前述電子裝置的操作方法更包括下列步驟。透過控制器,判斷是否接收到一傳送指令信號。當判斷未接收到傳送指令信號時,則回到判斷是否接收到傳送指令信號的步驟。當判斷接收到傳送指令信號時,控制器判斷是否接收到基板管理控制器的一控制信號。當判斷接收到控制信號時,控制器致能分享空間及刪除分享空間的檔案,以將對應傳送指令信號的一指令檔儲存至分享空間,並發出一第三存取信號至基板管理控器。基板管理控制器執行指令檔,並產生一執行結果至控制器。控制器將執行結果儲存至分享空間以及禁能分享空間。 In an embodiment, the operating method of the foregoing electronic device further includes the following steps. Through the controller, it is judged whether a transmission instruction signal is received. When it is judged that the transfer instruction signal is not received, it returns to the step of judging whether or not the transfer instruction signal is received. When it is judged that the transfer instruction signal is received, the controller determines whether a control signal of the substrate management controller is received. When it is determined that the control signal is received, the controller enables the shared space and deletes the file of the shared space to store a command file corresponding to the transfer command signal to the sharing space, and sends a third access signal to the substrate management controller. The baseboard management controller executes the command file and generates an execution result to the controller. The controller saves the execution results to the sharing space and disables the sharing space.

在一實施例中,前述電子裝置的操作方法更包括下列步驟。透過基板管理控制器,判斷是否接收到一中斷指令置換信號。當判斷未接收到中斷指令置換信號時,則回到判斷是否接收到中斷指令置換信號。當判斷接收到中斷指令置換信號時,基板管理控制器透過控制器,將對應中斷指令置換信號的一置換執行檔儲存至分享空間,以及產生一中斷指令與一控制信號至控制器。控制器產生一第四存取信號至處理器且致能分享空間。處理器依據第四存取信號,執行置換執行檔並產生一執行完成信號。控制器依據執行完成信號, 禁能分享空間。 In an embodiment, the operating method of the foregoing electronic device further includes the following steps. Through the substrate management controller, it is determined whether an interrupt command replacement signal is received. When it is judged that the interrupt instruction replacement signal is not received, it returns to judge whether or not the interrupt instruction replacement signal is received. When it is determined that the interrupt instruction replacement signal is received, the baseboard management controller stores a replacement execution file corresponding to the interrupt instruction replacement signal to the sharing space through the controller, and generates an interrupt command and a control signal to the controller. The controller generates a fourth access signal to the processor and enables sharing of space. The processor executes the replacement execution file and generates an execution completion signal according to the fourth access signal. The controller is based on the execution completion signal. Disable sharing space.

在一實施例中,前述電子裝置的操作方法更包括下列步驟。透過基板管理控制器,判斷是否接收到一第二更新韌體信號。當判斷未接收到第二更新韌體信號時,回到判斷是否接收到第二更新韌體信號的步驟。當判斷接收到第二更新韌體信號時,基板管理控制器透過控制器,將對應第二更新韌體信號的一第二更新韌體儲存至分享空間,以及產生一儲存完成信號與一控制信號至控制器。控制器致能分享空間且產生一第五存取信號至處理器。處理器依據第五存取信號,執行第二更新韌體,以對基本輸入輸出系統進行更新,並產生一更新完成信號。控制器依據更新完成信號,禁能分享空間。 In an embodiment, the operating method of the foregoing electronic device further includes the following steps. The base management controller determines whether a second updated firmware signal is received. When it is judged that the second updated firmware signal is not received, it returns to the step of determining whether the second updated firmware signal is received. When it is determined that the second updated firmware signal is received, the baseboard management controller stores, by the controller, a second updated firmware corresponding to the second updated firmware signal to the sharing space, and generates a storage completion signal and a control signal. To the controller. The controller enables sharing of space and generates a fifth access signal to the processor. The processor executes the second update firmware according to the fifth access signal to update the basic input output system and generate an update completion signal. The controller disables the sharing space according to the update completion signal.

本發明所揭露之電子裝置及其操作方法,藉由於記憶體定義出一分享空間,使得基板管理控制器與處理器之間的資料可透過前述分享空間進行交換,例如執行檔、對應第一更新韌體信號的第一更新韌體、對應傳送指令信號的指令檔、對應中斷指令置換信號的置換執行檔、對應第二更新韌體信號的第二更新韌體。另外,控制器還可依據基板管理控制器的控制訊號,以決定致能或禁能分享空間。如此一來,可大量進行資料的交換,並增加資料傳輸的安全性及效率。 The electronic device and the operating method thereof are disclosed, wherein a memory is defined by the memory, so that data between the substrate management controller and the processor can be exchanged through the shared space, for example, an executable file, and a corresponding first update. The first update firmware of the firmware signal, the command file corresponding to the transfer command signal, the replacement execution file corresponding to the interrupt command replacement signal, and the second update firmware corresponding to the second update firmware signal. In addition, the controller can also determine the enabling or disabling sharing space according to the control signal of the baseboard management controller. In this way, the exchange of data can be carried out in a large amount, and the security and efficiency of data transmission can be increased.

有關本發明的特徵與實作,茲配合圖式作實施例詳細說明如下。 The features and implementations of the present invention are described in detail below with reference to the drawings.

100‧‧‧電子裝置 100‧‧‧Electronic devices

110‧‧‧記憶體 110‧‧‧ memory

111‧‧‧分享空間 111‧‧‧Share space

120‧‧‧基板管理控制器 120‧‧‧Baseboard management controller

130‧‧‧處理器 130‧‧‧Processor

140‧‧‧控制器 140‧‧‧ Controller

第1圖為本發明之電子裝置的示意圖。 Figure 1 is a schematic view of an electronic device of the present invention.

第2圖為本發明之電子裝置的操作方法的流程圖。 2 is a flow chart of a method of operating an electronic device of the present invention.

第3圖為接續第2圖步驟S290之第一實施例的流程圖。 Fig. 3 is a flow chart showing the first embodiment of the step S290 of Fig. 2;

第4圖為接續第2圖步驟S290之第二實施例的流程圖。 Fig. 4 is a flow chart showing the second embodiment of the step S290 of Fig. 2;

第5圖為接續第2圖步驟S290之第三實施例的流程圖。 Fig. 5 is a flow chart showing a third embodiment of the step S290 of Fig. 2;

第6圖為接續第2圖步驟S290之第四實施例的流程圖。 Fig. 6 is a flow chart showing the fourth embodiment of the step S290 of Fig. 2;

請參考「第1圖」所示,其為本發明之電子裝置的示意圖。本實施例之電子裝置100例如電腦系統,且電子裝置100包括記憶體110、基板管理控制器(Baseboard Management Controller,BMC)120、處理器130與控制器140。記憶體110定義有分享空間(Shared Memory)111,其中分享空間111用儲存特定的資料。 Please refer to FIG. 1 , which is a schematic diagram of an electronic device of the present invention. The electronic device 100 of the embodiment is, for example, a computer system, and the electronic device 100 includes a memory 110, a Baseboard Management Controller (BMC) 120, a processor 130, and a controller 140. The memory 110 defines a shared memory 111 in which the shared space 111 stores specific data.

處理器130例如為中央處理器(Central Processing Unit,CPU)用以執行基本輸入輸出系統(Basic Input Output System,BIOS),以進行開機自我測試(Power-On Self Test,POST)。 The processor 130 is, for example, a Central Processing Unit (CPU) for executing a Basic Input Output System (BIOS) for performing a Power-On Self Test (POST).

控制器140耦接記憶體110、基板管理控制器120與處理器130。控制器140用以當執行開機自我測試時,初始化記憶體110,並設定分享空間111的多個參數。其中,前述的參數例如為分享空間111的基底位址(Base Address)以及分享空間111的容量大小。在本實施例中,前述基底位址例如為“E000 000”,而容量大小例如為16MB。 The controller 140 is coupled to the memory 110, the substrate management controller 120, and the processor 130. The controller 140 is configured to initialize the memory 110 when the boot self test is performed, and set a plurality of parameters of the sharing space 111. The foregoing parameters are, for example, a base address of the sharing space 111 and a capacity size of the sharing space 111. In the present embodiment, the aforementioned base address is, for example, "E000 000", and the capacity is, for example, 16 MB.

當控制器140完成初始化記憶體110時,會禁能分享空間111,亦即處理器130不能對分享空間111的資料進行存取。並且,控制器140例如可調整一旗標,並依據此旗標致能或禁能分享空間111。舉例來說,假設旗標為“1”,則控制器140致能分享空間111;假設旗標為“0”,則控制器140禁能分享空間111。 When the controller 140 finishes initializing the memory 110, the sharing space 111 is disabled, that is, the processor 130 cannot access the data of the sharing space 111. Moreover, the controller 140 can adjust, for example, a flag and enable or disable the sharing space 111 according to the flag. For example, if the flag is "1", the controller 140 enables the space 111; if the flag is "0", the controller 140 disables the space 111.

另外,當控制器140完成初始化記憶體110時,還會產生初始化之原始設備製造智慧平台管理介面(Original Equipment Manufacturer Intelligent Platform Management Interface,以下簡稱OEM IPMI)指令至基板管理控制器120,以告知基板管理控制器120分享空間111之大小,並對分享空間111建立隨機存取記憶體磁碟(RAM Disk)及簡單之檔案系統等初始化之設定。接著,控制器140產生載入之OEM IPMI指令至基板管理控制器120,告知其準備好相關之執行檔案,並將其複製至分享空間111。當基板管理控制器120收到載入指令時,其透過控制器140將執行檔儲存至分享空間111。其中,前述執行檔例如為統一可延伸韌體介面驅動程式(Unified Extensible Firmware Interface Driver,UEFI Diver)、統一可延伸韌體介面應用程式(UEFI Application)、統一延伸韌體介面診斷工具程式(UEFI Diagnostic Tool)、服務管理工具程式(Service Management Tool)等。 In addition, when the controller 140 completes the initialization of the memory 110, an initial device manufacturing intelligent platform management interface (OEM IPMI) command is generated to the substrate management controller 120 to notify the substrate. The management controller 120 shares the size of the space 111 and establishes initialization settings for the random access memory disk (RAM Disk) and the simple file system for the shared space 111. Next, the controller 140 generates the loaded OEM IPMI command to the baseboard management controller 120, informing it that the relevant execution file is prepared and copying it to the sharing space 111. When the substrate management controller 120 receives the load instruction, it stores the execution file to the sharing space 111 through the controller 140. The foregoing executable file is, for example, a Unified Extensible Firmware Interface Driver (UEFI Diver), a Unified Extensible Firmware Interface Application (UEFI Application), and a Unified Extended Firmware Interface Diagnostic Tool (UEFI Diagnostic). Tool), Service Management Tool, etc.

當前述執行檔完成儲存後,控制器140會產生第一存取信號,並例如將旗標調整為“1”,以致能分享空間111,且第一存取信號會傳送至處理器130。之後,處理器130便會依據第一存取信號,執行前述執行檔,並於執行完成後產生執行完成信號。接著,依據執行完成信號,控制器140例如旗標調整為“0”,以禁能分享空間111,並且處理器130會結束開機自我測試。如此一來,電子裝置100便可透過分享空間111,以進行基板管理控制器120與處理器130之間之大量資料的交換,以增加電子裝置100之資料交換的效率。 After the execution of the aforementioned executable file is completed, the controller 140 generates a first access signal and adjusts the flag to "1", for example, so that the space 111 can be shared, and the first access signal is transmitted to the processor 130. Thereafter, the processor 130 executes the foregoing execution file according to the first access signal, and generates an execution completion signal after the execution is completed. Then, according to the execution completion signal, the controller 140, for example, the flag is adjusted to "0" to disable the sharing space 111, and the processor 130 ends the power-on self-test. In this way, the electronic device 100 can exchange the large amount of data between the substrate management controller 120 and the processor 130 through the sharing space 111 to increase the efficiency of data exchange of the electronic device 100.

在處理器130結束自我開機測試之後,在一實施例中,控制器140會判斷是否接收到第一更新韌體信號,其中此第一更新韌體信號例如用以對基板管理控制器120進行韌體更新的通知。當判斷未接收到第一更新韌體信號 時,控制器140會持續判斷是否接收到第一更新韌體信號,直到判斷接收到第一更新韌體信號。 After the processor 130 ends the self-boot test, in an embodiment, the controller 140 determines whether the first updated firmware signal is received, wherein the first updated firmware signal is used, for example, to perform the toughness of the substrate management controller 120. Notification of the body update. When it is judged that the first updated firmware signal is not received At the same time, the controller 140 continues to determine whether the first updated firmware signal is received until it is determined that the first updated firmware signal is received.

另一方面,當判斷接收到第一更新韌體信號時,控制器140會進一步判斷是否接收到基板管理控制器120的控制信號,其中此控制信號例如用以指示控制器140致能分享空間111。當判斷未接收到控制信號時,則控制器140會持續判斷是否接收到前述控制信號,直到接收到控制信號。 On the other hand, when it is determined that the first updated firmware signal is received, the controller 140 further determines whether a control signal of the substrate management controller 120 is received, wherein the control signal is used to instruct the controller 140 to enable the sharing space 111, for example. . When it is judged that the control signal is not received, the controller 140 continues to judge whether the aforementioned control signal is received until the control signal is received.

當判斷接收到控制信號時,控制器140例如會調整旗標為“1”,以致能分享空間111,並且刪除分享空間111內的檔案,亦即刪除原先儲存分享空間111內的所有檔案。接著,控制器140會將對應更新韌體信號的第一更新韌體儲存至分享空間111。並且,當儲存完成後,控制器140例如會調整旗標為“0”以禁能分享空間111,以及產生第二存取信號至基板管理控制器120。接著,基板管理控制器120便可依據第二存取信號,以更新韌體進行對基板管理控制器120內的韌體進行更新。 When it is judged that the control signal is received, the controller 140 adjusts the flag to "1", for example, so that the space 111 can be shared, and the file in the sharing space 111 is deleted, that is, all the files in the original storage space 111 are deleted. Next, the controller 140 stores the first updated firmware corresponding to the updated firmware signal to the sharing space 111. Moreover, when the storage is completed, the controller 140 adjusts the flag to “0” to disable the sharing space 111, and generates a second access signal to the substrate management controller 120. Then, the substrate management controller 120 can update the firmware in the substrate management controller 120 by updating the firmware according to the second access signal.

在處理器130結束自我開機測試之後,在一實施例中,控制器140會判斷是否接收到傳送指令信號,其中此傳送指令信號例如用以指示基板管理控制器120執行大量指令的通知。當判斷未接收到第一更新韌體信號時,控制器140會持續判斷是否接收到傳送指令信號,直到判斷接收到傳送指令信號。 After the processor 130 ends the self-boot test, in an embodiment, the controller 140 determines whether a transfer instruction signal is received, wherein the transfer instruction signal is, for example, used to instruct the baseboard management controller 120 to execute a notification of a large number of instructions. When it is determined that the first update firmware signal is not received, the controller 140 continues to determine whether the transfer command signal is received until it is determined that the transfer command signal is received.

另一方面,當判斷接收到傳送指令信號時,控制器140會進一步判斷是否接收到基板管理控制器120的控制信號,其中此控制信號例如用以指示控制器140致能分享空間111。當判斷未接收到控制信號時,則控制器140會持續判斷是否接收到前述控制信號,直到接收到控制信號。 On the other hand, when it is judged that the transmission instruction signal is received, the controller 140 further determines whether the control signal of the substrate management controller 120 is received, wherein the control signal is used to instruct the controller 140 to enable the sharing space 111, for example. When it is judged that the control signal is not received, the controller 140 continues to judge whether the aforementioned control signal is received until the control signal is received.

當判斷接收到前述控制信號時,控制器140例如會調整旗標為 “1”,以致能分享空間111,並且刪除分享空間111內的檔案,亦即刪除原先儲存分享空間111內的所有檔案。接著,控制器140會將對應傳送指令信號的指令檔儲存至分享空間111,並發出第三存取信號至基板管理控器120。其中,前述指令檔例如包括大量的智慧平台管理介面(Intelligent Platform Management Interface,IPMI)指令。 When it is judged that the aforementioned control signal is received, the controller 140 adjusts, for example, the flag to "1", so that the space 111 can be shared, and the files in the sharing space 111 are deleted, that is, all the files in the original sharing space 111 are deleted. Next, the controller 140 stores the command file corresponding to the transfer instruction signal to the sharing space 111, and issues a third access signal to the substrate management controller 120. The foregoing command file includes, for example, a large number of Intelligent Platform Management Interface (IPMI) instructions.

之後,基板管理控制器120會依據第三存取信號,執行前述指令檔,並且於執行完成前述指令檔後,產生一執行結果至控制器140。接著,控制器140會將執行結果儲存至分享空間111,並例如調整旗標為“0”,以禁能分享空間111。 Thereafter, the baseboard management controller 120 executes the foregoing command file according to the third access signal, and after executing the foregoing command file, generates an execution result to the controller 140. Next, the controller 140 stores the execution result to the sharing space 111, and adjusts the flag to "0", for example, to disable the sharing space 111.

在處理器130結束自我開機測試之後,在一實施例中,基板管理控制器120會判斷是否接收到中斷指令置換信號,而此中斷指令置換信號例如由一遠端裝置產生。其中此中斷指令置換信號例如用以指示處理器140需要對某一些子中斷指令進行置換的通知。當判斷未接收到中斷指令置換信號時,基板管理控制器120會持續判斷是否接收到中斷指令置換信號,直到判斷接收到中斷指令置換信號。 After the processor 130 ends the self-boot test, in an embodiment, the substrate management controller 120 determines whether an interrupt command replacement signal is received, and the interrupt command replacement signal is generated, for example, by a remote device. The interrupt instruction replacement signal is used, for example, to instruct the processor 140 to notify the replacement of some of the sub-interrupt instructions. When it is determined that the interrupt instruction replacement signal is not received, the baseboard management controller 120 continues to determine whether the interrupt command replacement signal is received until it is determined that the interrupt instruction replacement signal is received.

另一方面,當判斷接收到中斷指令置換信號時,基板管理控制器120透過控制器140,將對應中斷指令置換信號的一置換執行檔儲存至分享空間111,並且產生一中斷指令及一控制信號至控制器140。控制器140對應中斷指令產生一第四存取信號(例如系統管理中斷(System Management Interrupt,以下簡稱SMI))至處理器130,並且依據控制信號,例如將調整旗標為“1”,以致能分享空間111。接著,處理器130依據第四存取信號,至中斷程式(例如SMI處理程式)內執行置換執行檔,以對某些子中斷指令進行置換的操作,並 且於執行完成後,產生執行完成信號。之後,控制器140依據執行完成信號,例如調整旗標為“0”,以禁能分享空間111。 On the other hand, when it is determined that the interrupt instruction replacement signal is received, the substrate management controller 120 stores a replacement execution file corresponding to the interrupt instruction replacement signal to the sharing space 111 through the controller 140, and generates an interrupt command and a control signal. To controller 140. The controller 140 generates a fourth access signal (such as a System Management Interrupt (SMI)) to the processor 130 corresponding to the interrupt instruction, and according to the control signal, for example, the adjustment flag is "1", so as to enable Share space 111. Then, the processor 130 executes a replacement execution file in an interrupt program (for example, an SMI processing program) according to the fourth access signal to perform a replacement operation on some sub-interrupt instructions, and And after the execution is completed, an execution completion signal is generated. Thereafter, the controller 140 disables the sharing space 111 according to the execution completion signal, for example, the adjustment flag is "0".

在處理器130結束自我開機測試之後,在一實施例中,基板管理控制器120會判斷是否接收到第二更新韌體信號,而此第二更新韌體信號例如由一遠端裝置產生。其中此第二更新韌體信號例如用以指示處理器130需要對基本輸入輸出系統的韌體進行更新的通知。當判斷未接收到第二更新韌體信號時,基板管理控制器120會持續判斷是否接收到第二更新韌體信號,直到判斷接收到第二更新韌體信號。 After the processor 130 ends the self-boot test, in an embodiment, the substrate management controller 120 determines whether a second updated firmware signal is received, and the second updated firmware signal is generated, for example, by a remote device. The second update firmware signal is used, for example, to indicate that the processor 130 needs to update the firmware of the basic input output system. When it is determined that the second updated firmware signal is not received, the baseboard management controller 120 continues to determine whether the second updated firmware signal is received until it is determined that the second updated firmware signal is received.

當判斷接收到第二更新韌體信號時,基板管理控制器120透過控制器140,將對應第二更新韌體信號的第二更新韌體儲存至分享空間111,並於儲存完成後,產生一儲存完成信號及一控制信號至控制器140。控制器140依據儲存完成信號,產生第五存取信號至處理器130,並依據控制信號,例如調整旗標為“1”,以致能分享空間111。接著,處理器130依據第五存取信號,執行第二更新韌體,以對基本輸入輸出系統進行更新,且於更新完成後,產生一更新完成信號。之後,控制器140再依據更新完成信號,禁能分享空間111。 When it is determined that the second updated firmware signal is received, the substrate management controller 120 stores the second updated firmware corresponding to the second updated firmware signal to the sharing space 111 through the controller 140, and after the storage is completed, generates a The completion signal and a control signal are stored to the controller 140. The controller 140 generates a fifth access signal to the processor 130 according to the storage completion signal, and adjusts the flag to "1" according to the control signal to enable the space 111 to be shared. Next, the processor 130 executes the second update firmware according to the fifth access signal to update the basic input/output system, and after the update is completed, generates an update completion signal. Thereafter, the controller 140 disables the sharing space 111 according to the update completion signal.

如此一來,本實施例之電子裝置100可透過分享空間111,以於基板管理控制器120與處理器130之間進行大量資料的交換,且控制器140可依據基板管理控制器120的控制信號,而決定是否致能或禁能分享空間111,將可增加資料傳輸時的安全性以及效率。 In this way, the electronic device 100 of the embodiment can pass through the sharing space 111 to exchange a large amount of data between the substrate management controller 120 and the processor 130, and the controller 140 can be based on the control signal of the substrate management controller 120. And deciding whether to enable or disable the sharing of space 111 will increase the security and efficiency of data transmission.

藉由上述實施例的說明,可以歸納出一種電子裝置的操作方法。請參考「第2圖」所示,其為本發明之電子裝置的操作方法的流程圖。在步驟S210中,透過處理器,執行基本輸入輸出系統的開機自我測試。在步驟S220 中,透過控制器,初始化記憶體,並定義分享空間,且設定分享空間的多個參數以及禁能分享空間。在步驟S230中,控制器產生初始化指令至基板管理控制器。在步驟S240中,基板管理控制器依據初始化指令得知分享空間之大小,並對分享空間建立隨機存取記憶體磁碟(RAM Disk)及簡單之檔案系統的初始化設定。 Through the description of the above embodiments, an operation method of an electronic device can be summarized. Please refer to FIG. 2, which is a flowchart of a method of operating an electronic device of the present invention. In step S210, a boot self-test of the basic input/output system is performed through the processor. At step S220 In the controller, initialize the memory, define the sharing space, and set multiple parameters of the sharing space and disable the sharing space. In step S230, the controller generates an initialization command to the baseboard management controller. In step S240, the baseboard management controller knows the size of the shared space according to the initialization command, and establishes an initialization setting of the random access memory disk (RAM Disk) and the simple file system for the shared space.

在步驟S250中,控制器產生載入指令至基板管理控制器,告知其準備好相關之執行檔案。在步驟S260中,基板管理控制器依據載入指令,透過控制器將執行檔儲存至分享空間。在步驟S270中,控制器產生第一存取信號並致能分享空間。在步驟S280中,處理器依據第一存取信號,執行前述執行檔,並產生執行完成信號。在步驟S290中,依據執行完成信號,控制器禁能分享空間,且處理器結束開機自我測試。 In step S250, the controller generates a load command to the baseboard management controller to inform it that the relevant execution file is ready. In step S260, the substrate management controller stores the execution file to the sharing space through the controller according to the loading instruction. In step S270, the controller generates a first access signal and enables the sharing space. In step S280, the processor executes the foregoing execution file according to the first access signal, and generates an execution completion signal. In step S290, according to the execution completion signal, the controller disables the sharing space, and the processor ends the power-on self-test.

請參考「第3圖」所示,其為接續「第2圖」步驟S290之第一實施例的流程圖。在步驟S310中,透過控制器,判斷是否接收到第一更新韌體信號。當判斷未接收到第一更新韌體信號時,則回到步驟S310,以持序判斷是否接收到第一更新韌體信號。 Please refer to the "Fig. 3", which is a flowchart of the first embodiment of the step S290 following the "Fig. 2". In step S310, it is determined by the controller whether the first updated firmware signal is received. When it is determined that the first updated firmware signal is not received, then returning to step S310, it is determined in order to receive the first updated firmware signal.

另一方面,當判斷接收到第一更新韌體信號時,進入步驟S320,控制器判斷是否接收到基板管理控制器的控制信號。當判斷未接收到控制信號時,則回到步驟S320,以持續判斷是否接收到控制信號。 On the other hand, when it is determined that the first updated firmware signal is received, the process proceeds to step S320, and the controller determines whether a control signal of the baseboard management controller is received. When it is judged that the control signal is not received, it returns to step S320 to continuously judge whether or not the control signal is received.

當判斷接收到控制信號時,則進入步驟S330,控制器致能分享空間及刪除分享空間的檔案,以將對應第一更新韌體信號的第一更新韌體儲存至分享空間,且禁能分享空間及產生第二存取信號至基板管理控制器。在步驟S340中,基板管理控制器依據第二存取信號,以更新韌體進行更新。 When it is determined that the control signal is received, the process proceeds to step S330, and the controller enables the space to be shared and the file of the shared space to be deleted, so that the first updated firmware corresponding to the first updated firmware signal is stored in the sharing space, and the sharing is disabled. Space and generate a second access signal to the substrate management controller. In step S340, the baseboard management controller updates the firmware according to the second access signal.

請參考「第4圖」所示,其為接續「第2圖」步驟S290之第二實施例的流程圖。在步驟S410中,透過控制器,判斷是否接收到傳送指令信號。當判斷未接收到傳送指令信號時,則回到步驟S410,以持續判斷是否接收到傳送指令信號。 Please refer to FIG. 4, which is a flowchart of the second embodiment of the step S290 following the second drawing. In step S410, it is determined by the controller whether or not a transfer instruction signal is received. When it is judged that the transfer instruction signal is not received, it returns to step S410 to continuously judge whether or not the transfer instruction signal is received.

當判斷接收到傳送指令信號時,則進入步驟S420,控制器判斷是否接收到基板管理控制器的控制信號。當判斷未接收到傳送指令信號時,則回到步驟S420,以持續判斷是否接收到控制信號。 When it is judged that the transfer instruction signal is received, the process proceeds to step S420, and the controller determines whether the control signal of the substrate management controller is received. When it is judged that the transfer instruction signal is not received, it returns to step S420 to continuously judge whether or not the control signal is received.

當判斷接收到控制信號時,則進入步驟S430,控制器致能分享空間及刪除分享空間的檔案,以將對應傳送指令信號的指令檔儲存至分享空間,並發出第三存取信號至基板管理控器。在步驟S440中,基板管理控制器執行指令檔,並產生執行結果至控制器。在步驟S450中,控制器將執行結果儲存至分享空間以及禁能分享空間。 When it is determined that the control signal is received, the process proceeds to step S430, and the controller enables the space to be shared and deletes the file of the shared space to store the command file corresponding to the transfer instruction signal to the sharing space, and issues a third access signal to the substrate management. Controller. In step S440, the baseboard management controller executes the command file and generates an execution result to the controller. In step S450, the controller stores the execution result to the sharing space and disables the sharing space.

請參考「第5圖」所示,其為接續「第2圖」步驟S290之第三實施例的流程圖。在步驟S510中,透過基板管理控制器,判斷是否接收到中斷指令置換信號。當判斷未接收到中斷指令置換信號時,則回到步驟S510,以持續判斷是否接收到中斷指令置換信號。 Please refer to FIG. 5, which is a flowchart of the third embodiment of the step S290 following the second drawing. In step S510, it is determined whether or not the interrupt command replacement signal is received by the substrate management controller. When it is judged that the interrupt instruction replacement signal is not received, the flow returns to step S510 to continuously judge whether or not the interrupt instruction replacement signal is received.

另一方面,當判斷接收到中斷指令置換信號時,則進入步驟S520,基板管理控制器透過控制器,將對應中斷指令置換信號的置換執行檔儲存至分享空間,以及產生中斷指令與控制信號至控制器。在步驟S530中,控制器產生第四存取信號至處理器且致能分享空間。在步驟S540中,處理器依據第四存取信號,執行置換執行檔並產生執行完成信號。在步驟S550中,控制器依據執行完成信號,禁能分享空間。 On the other hand, when it is determined that the interrupt instruction replacement signal is received, the process proceeds to step S520, and the substrate management controller transmits the replacement execution file corresponding to the interrupt instruction replacement signal to the sharing space through the controller, and generates an interrupt command and a control signal to Controller. In step S530, the controller generates a fourth access signal to the processor and enables the sharing space. In step S540, the processor executes the replacement execution file according to the fourth access signal and generates an execution completion signal. In step S550, the controller disables the sharing space according to the execution completion signal.

請參考「第6圖」所示,其為接續「第2圖」步驟S290之第四實施例的流程圖。在步驟S610中,透過基板管理控制器,判斷是否接收到第二更新韌體信號。當判斷未接收到第二更新韌體信號時,回到步驟S610,以持續判斷是否接收到第二更新韌體信號。 Please refer to FIG. 6 , which is a flowchart of the fourth embodiment of step S290 following the second drawing. In step S610, it is determined whether the second update firmware signal is received through the substrate management controller. When it is determined that the second updated firmware signal is not received, the process returns to step S610 to continuously determine whether the second updated firmware signal is received.

另一方面,當判斷接收到第二更新韌體信號時,則進入步驟S620,基板管理控制器透過控制器,將對應第二更新韌體信號的第二更新韌體儲存至分享空間,以及產生儲存完成信號與控制信號至控制器。在步驟S630中,控制器致能分享空間且產生第五存取信號至處理器。在步驟S640中,處理器依據第五存取信號,執行第二更新韌體,以對基本輸入輸出系統進行更新,並產生更新完成信號。在步驟S650中,控制器依據更新完成信號,禁能分享空間。 On the other hand, when it is determined that the second updated firmware signal is received, the process proceeds to step S620, and the baseboard management controller stores the second updated firmware corresponding to the second updated firmware signal to the sharing space through the controller, and generates Store the completion signal and control signal to the controller. In step S630, the controller enables sharing of the space and generates a fifth access signal to the processor. In step S640, the processor executes the second update firmware according to the fifth access signal to update the basic input output system and generate an update completion signal. In step S650, the controller disables the sharing space according to the update completion signal.

本發明之實施例所提出的電子裝置及其操作方法,其藉由於記憶體定義出一分享空間,使得基板管理控制器與處理器之間的資料可透過前述分享空間進行交換,例如執行檔、對應第一更新韌體信號的第一更新韌體、對應傳送指令信號的指令檔、對應中斷指令置換信號的置換執行檔、對應第二更新韌體信號的第二更新韌體。另外,控制器還可依據基板管理控制器的控制訊號,以決定致能或禁能分享空間。如此一來,可大量進行資料的交換,並增加資料傳輸的安全性及效率。 An electronic device and an operation method thereof according to an embodiment of the present invention, wherein a memory is defined by a memory, so that data between the substrate management controller and the processor can be exchanged through the shared space, for example, executing files, a first update firmware corresponding to the first updated firmware signal, a command file corresponding to the transfer command signal, a replacement execution file corresponding to the interrupt instruction replacement signal, and a second update firmware corresponding to the second update firmware signal. In addition, the controller can also determine the enabling or disabling sharing space according to the control signal of the baseboard management controller. In this way, the exchange of data can be carried out in a large amount, and the security and efficiency of data transmission can be increased.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

100‧‧‧電子裝置 100‧‧‧Electronic devices

110‧‧‧記憶體 110‧‧‧ memory

111‧‧‧分享空間 111‧‧‧Share space

120‧‧‧基板管理控制器 120‧‧‧Baseboard management controller

130‧‧‧處理器 130‧‧‧Processor

140‧‧‧控制器 140‧‧‧ Controller

Claims (10)

一種電子裝置,包括:一記憶體,並定義有一分享空間;一基板管理控制器;一處理器,用以執行一基本輸入輸出系統,以進行一開機自我測試;以及一控制器,耦接該記憶體、該基板管理控制器與該處理器,用以當執行該開機自我測試時,初始化該記憶體,並設定該分享空間的多個參數以及禁能該分享空間,且產生一初始化指令至該基板管理控制器,而該基板管理控制器依據該初始化指令,得知該分享空間之大小,並對該分享空間建立一隨機存取記憶體磁碟及一檔案系統的一初始化設定,該控制器產生一載入指令至該基板管理控制器,而該基板管理控制器依據該載入指令,透過該控制器將一執行檔儲存至該分享空間,則該控制器產生一第一存取信號並致能該分享空間,而該處理器依據該第一存取信號,執行該執行檔並產生一執行完成信號,依據該執行完成信號,該控制器禁能該分享空間,且該處理器結束該開機自我測試。 An electronic device comprising: a memory and defining a sharing space; a substrate management controller; a processor for performing a basic input/output system for performing a boot self test; and a controller coupled to the The memory, the substrate management controller and the processor are configured to initialize the memory when the boot self-test is performed, set a plurality of parameters of the sharing space, disable the sharing space, and generate an initialization command to The substrate management controller, the substrate management controller knows the size of the sharing space according to the initialization instruction, and establishes an initial setting of a random access memory disk and a file system for the sharing space, the control The device generates a load command to the baseboard management controller, and the baseboard management controller stores an execution file to the shared space through the controller according to the load command, and the controller generates a first access signal. And enabling the sharing space, and the processor executes the execution file according to the first access signal and generates an execution completion signal, according to Execution completion signal, the controller disables the shared space, and the processor end of the power-on self test. 如請求項1所述之電子裝置,其中當該控制器接收到一第一更新韌體信號時,該控制器依據該基板管理控制器的一控制信號,而據以致能該分享空間及刪除該分享空間的該些檔案,以將對應該第一更新體信號的一第一更新韌體儲存至該分享空間,且禁能該分享空間及產生一第二存取信號至該基板管理控制器,使該基板管理控制器依據該第二存取信號,以該第一更新韌體進行更新。 The electronic device of claim 1, wherein when the controller receives a first updated firmware signal, the controller is configured to enable the sharing space and delete the control signal according to a control signal of the substrate management controller. Sharing the files of the space to store a first update firmware corresponding to the first update body signal to the sharing space, and disabling the sharing space and generating a second access signal to the baseboard management controller, And causing the baseboard management controller to update with the first updated firmware according to the second access signal. 如請求項1所述之電子裝置,其中當該控制器接收到一傳送指令信號時,該控制器依據該基板管理控制器的一控制信號,而據以致能該分享空間及刪除該分享空間的該些檔案,以將對應該傳送指令信號的一指令檔儲存至該分享空間,並發出一第三存取信號至該基板管理控器,使該基板管理控制器執行該指令檔,並產生一執行結果至該控制器,該控制器將該執行結果儲存至該分享空間以及禁能該分享空間。 The electronic device of claim 1, wherein when the controller receives a transmission instruction signal, the controller is configured to enable the sharing space and delete the sharing space according to a control signal of the substrate management controller. The file is configured to store a command file corresponding to the command signal to the sharing space, and send a third access signal to the substrate management controller, so that the substrate management controller executes the command file, and generates a file. Execution results are sent to the controller, and the controller stores the execution result to the sharing space and disables the sharing space. 如請求項1所述之電子裝置,其中當該基板管理控制器接收到一中斷指令置換信號時,該基板管理控制器透過該控制器,將對應該中斷指令置換信號的一置換執行檔儲存至該分享空間,以及產生一中斷指令及一控制信號至該控制器,使該控制器產生一第四存取信號至該處理器且致能該分享空間,則該處理器依據該第四存取信號,執行該置換執行檔並產生一執行完成信號,而該控制器依據該執行完成信號,禁能該分享空間。 The electronic device of claim 1, wherein when the substrate management controller receives an interrupt instruction replacement signal, the substrate management controller stores, by the controller, a replacement execution file corresponding to the interrupt instruction replacement signal to The sharing space, and generating an interrupt command and a control signal to the controller, causing the controller to generate a fourth access signal to the processor and enabling the sharing space, and the processor is configured according to the fourth access The signal, the replacement executable file is executed and an execution completion signal is generated, and the controller disables the sharing space according to the execution completion signal. 如請求項1所述之電子裝置,其中當該基板管理控制器接收到一第二更新韌體信號時,該基板管理控制器透過該控制器,將對應該第二更新韌體信號的一第二更新韌體儲存至該分享空間以及產生一儲存完成信號與一控制信號至該控制器,使該控制器致能該分享空間且產生一第五存取信號至該處理器,則該處理器依據該第五存取信號,執行該第二更新韌體,以對該基本輸入輸出系統進行更新,並產生一更新完成信號,而該控制器依據該更新完成信號,禁能該分享空間。 The electronic device of claim 1, wherein when the substrate management controller receives a second updated firmware signal, the baseboard management controller transmits a second corresponding firmware signal through the controller. And updating the firmware to the sharing space and generating a storage completion signal and a control signal to the controller, so that the controller enables the sharing space and generates a fifth access signal to the processor, then the processor And performing, according to the fifth access signal, the second update firmware to update the basic input/output system and generate an update completion signal, and the controller disables the sharing space according to the update completion signal. 一種電子裝置的操作方法,包括:透過一處理器,執行一基本輸入輸出系統的一開機自我測試;透過一控制器,初始化一記憶體,並定義一分享空間,且設定該分享空 間的多個參數以及禁能該分享空間;該控制器產生一初始化指令至一基板管理控制器;該基板管理控制器依據該初始化指令得知該分享空間之大小,並對該分享空間建立一隨機存取記憶體磁碟及一檔案系統的一初始化設定;該控制器產生一載入指令至該基板管理控制器;該基板管理控制器依據該載入指令,透過該控制器將一執行檔儲存至該分享空間;該控制器產生一第一存取信號並致能該分享空間;該處理器依據該第一存取信號,執行該執行檔,並產生一執行完成信號;以及依據該執行完成信號,該控制器禁能該分享空間,且該處理器結束該開機自我測試。 An operating method of an electronic device includes: performing a boot self-test of a basic input/output system through a processor; initializing a memory through a controller, defining a sharing space, and setting the sharing space a plurality of parameters and a disable sharing space; the controller generates an initialization command to a baseboard management controller; the baseboard management controller learns the size of the shared space according to the initialization command, and establishes a shared space An initialization setting of the random access memory disk and a file system; the controller generates a load command to the baseboard management controller; and the baseboard management controller transmits an executable file through the controller according to the load command Storing to the sharing space; the controller generates a first access signal and enables the sharing space; the processor executes the execution file according to the first access signal, and generates an execution completion signal; and according to the execution Upon completion of the signal, the controller disables the shared space and the processor ends the boot self test. 如請求項6所述之電子裝置的操作方法,更包括:透過該控制器,判斷是否接收到一第一更新韌體信號;當判斷未接收到該第一更新韌體信號時,則回到判斷是否接收到該第一更新韌體信號的步驟;當判斷接收到該第一更新韌體信號時,該控制器判斷是否接收到該基板管理控制器的一控制信號;當接收到該控制信號時,該控制器致能該分享空間及刪除該分享空間的該些檔案,以將對應該第一更新韌體信號的一第一更新韌體儲存至該分享空間,且禁能該分享空間及產生一第二存取信號至該基板管理控制器;以及該基板管理控制器依據該第二存取信號,以該更新韌體進行更新。 The operating method of the electronic device of claim 6, further comprising: determining, by the controller, whether a first updated firmware signal is received; and when determining that the first updated firmware signal is not received, returning Determining whether the first update firmware signal is received; when determining that the first update firmware signal is received, the controller determines whether a control signal of the baseboard management controller is received; when the control signal is received The controller enables the sharing space and deletes the files of the sharing space to store a first updated firmware corresponding to the first updated firmware signal to the sharing space, and disable the sharing space and Generating a second access signal to the baseboard management controller; and the baseboard management controller updates with the updated firmware according to the second access signal. 如請求項6所述之電子裝置的操作方法,更包括:透過該控制器,判斷是否接收到一傳送指令信號;當判斷未接收到該傳送指令信號時,則回到判斷是否接收到該傳送指令信號的步驟;當判斷接收到該傳送指令信號時,該控制器判斷是否接收到該基板管理控制器的一控制信號;當判斷接收到該控制信號時,該控制器致能該分享空間及刪除該分享空間的該些檔案,以將對應該傳送指令信號的一指令檔儲存至該分享空間,並發出一第三存取信號至該基板管理控器;該基板管理控制器執行該指令檔,並產生一執行結果至該控制器;以及該控制器將該執行結果儲存至該分享空間以及禁能該分享空間。 The operating method of the electronic device of claim 6, further comprising: determining, by the controller, whether a transmission instruction signal is received; when determining that the transmission instruction signal is not received, returning to determining whether the transmission is received a step of commanding a signal; when determining that the transfer command signal is received, the controller determines whether a control signal of the baseboard management controller is received; and when determining that the control signal is received, the controller enables the shared space and Deleting the files of the sharing space to store a command file corresponding to the command signal to the sharing space, and issuing a third access signal to the baseboard management controller; the baseboard management controller executes the command file And generating an execution result to the controller; and the controller stores the execution result to the sharing space and disabling the sharing space. 如請求項6所述之電子裝置的操作方法,更包括:透過該基板管理控制器,判斷是否接收到一中斷指令置換信號;當判斷未接收到該中斷指令置換信號時,則回到判斷是否接收到該中斷指令置換信號的步驟;當判斷接收到該中斷指令置換信號時,該基板管理控制器透過該控制器,將對應該中斷指令置換信號的一置換執行檔儲存至該分享空間,以及產生一中斷指令與一控制信號至該控制器;該控制器產生一第四存取信號至該處理器且致能該分享空間;該處理器依據該第四存取信號,執行該置換執行檔並產生一執行完成信號;以及該控制器依據該執行完成信號,禁能該分享空間。 The operating method of the electronic device of claim 6, further comprising: determining, by the baseboard management controller, whether an interrupt command replacement signal is received; and when determining that the interrupt command replacement signal is not received, returning to determining whether Receiving the interrupt instruction replacement signal; when determining that the interrupt instruction replacement signal is received, the baseboard management controller stores, through the controller, a replacement execution file corresponding to the interrupt instruction replacement signal to the sharing space, and Generating an interrupt command and a control signal to the controller; the controller generates a fourth access signal to the processor and enables the sharing space; and the processor executes the replacement executable file according to the fourth access signal And generating an execution completion signal; and the controller disables the sharing space according to the execution completion signal. 如請求項6所述之電子裝置的操作方法,更包括:透過該基板管理控制器,判斷是否接收到一第二更新韌體信號;當判斷未接收到該第二更新韌體信號時,回到判斷是否接收到該第二更新韌體信號的步驟;當判斷接收到該第二更新韌體信號時,該基板管理控制器透過該控制器,將對應該第二更新韌體信號的一第二更新韌體儲存至該分享空間,以及產生一儲存完成信號與一控制信號至該控制器;該控制器致能該分享空間且產生一第五存取信號至該處理器;該處理器依據該第五存取信號,執行該第二更新韌體,以對該基本輸入輸出系統進行更新,並產生一更新完成信號;以及該控制器依據該更新完成信號,禁能該分享空間。 The operating method of the electronic device of claim 6, further comprising: determining, by the baseboard management controller, whether a second updated firmware signal is received; and when determining that the second updated firmware signal is not received, a step of determining whether the second updated firmware signal is received; when determining that the second updated firmware signal is received, the baseboard management controller transmits a second corresponding firmware signal through the controller And updating the firmware to the sharing space, and generating a storage completion signal and a control signal to the controller; the controller enabling the sharing space and generating a fifth access signal to the processor; The fifth access signal executes the second update firmware to update the basic input/output system and generate an update completion signal; and the controller disables the shared space according to the update completion signal.
TW102146606A 2013-12-17 2013-12-17 Electronic apparatus and operational methods thereof TW201525688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102146606A TW201525688A (en) 2013-12-17 2013-12-17 Electronic apparatus and operational methods thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102146606A TW201525688A (en) 2013-12-17 2013-12-17 Electronic apparatus and operational methods thereof

Publications (1)

Publication Number Publication Date
TW201525688A true TW201525688A (en) 2015-07-01

Family

ID=54197639

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102146606A TW201525688A (en) 2013-12-17 2013-12-17 Electronic apparatus and operational methods thereof

Country Status (1)

Country Link
TW (1) TW201525688A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11126518B1 (en) 2020-03-16 2021-09-21 Quanta Computer Inc. Method and system for optimal boot path for a network device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11126518B1 (en) 2020-03-16 2021-09-21 Quanta Computer Inc. Method and system for optimal boot path for a network device
TWI754317B (en) * 2020-03-16 2022-02-01 廣達電腦股份有限公司 Method and system for optimal boot path for a network device

Similar Documents

Publication Publication Date Title
JP6790325B2 (en) Target devices, methods, programs, and non-temporary computer-readable storage media
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
US10019253B2 (en) Systems and methods of updating hot-pluggable devices
US10404538B1 (en) Remote platform configuration
US20170052854A1 (en) Method and system for performing automatic system recovery
US10198332B2 (en) System on chip integrity verification method and system
US8972754B2 (en) Computer device and frequency adjusting method for central processing unit
WO2018054060A1 (en) Processor and bootloader program update method, and storage medium
US10990680B2 (en) Method and apparatus for securing add-in cards from firmware and configuration changes
US10037170B2 (en) Motherboard and a method for boot-up
US10802916B2 (en) System and method to enable rapid recovery of an operating system image of an information handling system after a malicious attack
US10140231B2 (en) Flexible port configuration based on interface coupling
US20180210783A1 (en) Information processing apparatus, control method of the same, and storage medium
KR102461044B1 (en) Application installation/uninstallation across multiple systems
CN104679543A (en) Electronic device and operating method thereof
US9594899B2 (en) Apparatus and method for managing operation of a mobile device
US10459742B2 (en) System and method for operating system initiated firmware update via UEFI applications
US11789718B2 (en) System and method for subscription based solution modification implementation
US20230221784A1 (en) System and method for power state enforced subscription management
US11907153B2 (en) System and method for distributed subscription management
US20210048863A1 (en) System and Method for Controlling a Power-On Sequence and Power Throttling using Power Brake
WO2018166322A1 (en) Repairing method and device for system partition
US20150178094A1 (en) Multisystem and method of booting the same
US20190042755A1 (en) System and Method to Isolate Host and System Management in an Information Handling System
US11822927B2 (en) Boot times in an information processing device with externally connected devices