TWI273482B - Driver loading method for extensible firmware interface - Google Patents

Driver loading method for extensible firmware interface Download PDF

Info

Publication number
TWI273482B
TWI273482B TW94114104A TW94114104A TWI273482B TW I273482 B TWI273482 B TW I273482B TW 94114104 A TW94114104 A TW 94114104A TW 94114104 A TW94114104 A TW 94114104A TW I273482 B TWI273482 B TW I273482B
Authority
TW
Taiwan
Prior art keywords
computer
firmware interface
driver
extendable
program
Prior art date
Application number
TW94114104A
Other languages
Chinese (zh)
Other versions
TW200639697A (en
Inventor
Shang-Fu Guo
Original Assignee
Insyde Software 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 Insyde Software Corp filed Critical Insyde Software Corp
Priority to TW94114104A priority Critical patent/TWI273482B/en
Publication of TW200639697A publication Critical patent/TW200639697A/en
Application granted granted Critical
Publication of TWI273482B publication Critical patent/TWI273482B/en

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A driver loading method for an extensible firmware interface is disclosed, wherein a host computer loads a driver of the extensible firmware interface into a random access memory of a test computer via a transmission line. The driver loading method of the extensible firmware interface firstly turns on the test computer, executes a communication program of the extensible firmware interface; then determines whether the host computer executes a terminal receiving program; transmits the driver of the extensible firmware interface to the random access memory of the test computer if the host computer executes the terminal receiving program; next, executes the driver within the random access memory; and, activates an operating system.

Description

1273482 九、發明說明: [發日月所屬之技術領域】 本發明是有關於一種程式之載入方法,且特別是有關於 一種可延伸式韌體介面之驅動程式的載入方法。 【先前技術】 在電腦系統中是具有一韌體,一般熟知的是基本輸出入 系統(BIOS,Basic Input/Output System),其是伴隨電腦 主機而來的,並且是存放於唯讀記憶體(ROM,Read Only ® Memory)上面的一段程式,其中包含了許多電腦輸出入的基 本副程式。而在電腦電源開啟之後,會先執行基本輸出入 系統以進行初值設定及開機自我測試(即POST,Power -on Self Test),並且,讀寫互補式金屬氧化物半導體(CMOS, Complementary Metal-Oxide Semiconductor)中的資料(記 憶體大小、是否有軟碟機及硬碟機、系統時間等資訊)。 由於電腦科技進步相當快速,隨著電腦系統發展之傳統 ^ 的基本輸出入系統(L e g a c y B I 0 S )也發展到達極限。因此, 為了克服傳統的基本輸出入系統在發展上的瓶頸,英特爾 公司(Intel Corporation)已發展出一種可延伸式韋刃體介 面(即 EFI , Extensible Firmware Interface)之規格’ 可免除基本輸出入系統的先天限制。而且,此種可延伸式 韌體介面容許使用標準的程式語言工具加入新元件’具有 更佳的擴充性,並且其係以C語言編寫,程式容易維護、 閱讀等優點。 電腦在開啟電源後,CPU(Central Processing Unit’ 5 326\專利說明書(補件)\94-〇4\TF944510 1273482 中央處理單元)會從儲存在唯讀記憶體(例如FL AS HP ART) 中之可延伸式韌體介面讀取所需要的驅動程式來進行自我 測試及輸出入介面搜尋、設定等工作,因此可延伸式韌體 介面在發展的階段中,要確認所發展的可延伸式韌體介面 可以正常的動作。1273482 IX. Description of the invention: [Technical field to which the sun and the moon belong] The present invention relates to a method of loading a program, and more particularly to a method for loading a driver of an extendable firmware interface. [Prior Art] In a computer system, there is a firmware, which is generally known as a BIOS (Basic Input/Output System), which is accompanied by a host computer and is stored in a read-only memory ( ROM, Read Only ® Memory) is a program that contains a number of basic sub-programs for computer input and output. After the computer power is turned on, the basic input and output system is executed to perform initial value setting and power-on self test (POST, Power-on Self Test), and read and write complementary metal oxide semiconductor (CMOS, Complementary Metal- Data in Oxide Semiconductor (memory size, whether there is a floppy disk drive and hard drive, system time, etc.). Due to the rapid advancement of computer technology, the basic output system (L e g a c y B I 0 S ) with the development of computer systems has also reached its limit. Therefore, in order to overcome the bottleneck in the development of the traditional basic input and output system, Intel Corporation has developed a specification of the EFI (Extensible Firmware Interface), which eliminates the basic input and output system. Innate limitations. Moreover, this extensible firmware interface allows the use of standard programming language tools to add new components' with better scalability, and is written in C language, the program is easy to maintain, read and so on. After the computer is powered on, the CPU (Central Processing Unit' 5 326\patent specification (supplement)\94-〇4\TF944510 1273482 central processing unit) is stored in read-only memory (such as FL AS HP ART). The extendable firmware interface reads the required drivers for self-testing and import-input interface search and setup. Therefore, the extended firmware interface needs to confirm the developed extendable firmware during the development phase. The interface can operate normally.

目前發展可延伸式韌體介面的方法係依靠一 ROM模擬器 (R 0 Μ E m u 1 a t 〇 r )的幫助,其確認所發展的可延伸式勒體介 面是否正常工作,如圖1為先前技術之方塊圖所示。在圖 1中,R 0 Μ模擬器1 0的插頭1 2插在受測電腦1 4中安置一 快閃記憶體(未繪示)的插槽1 6上,外部之一主電腦1 5將 發展中的可延伸式韌體介面傳送至R 0 Μ模擬器1 0中,在受 測電腦1 4開啟電源後,受測電腦1 4中的C P U 1 8便讀取儲 存在R 0 Μ模擬器1 0中的可延伸式韌體介面,以進行開機後 之自我測試及輸出入介面(未繪示)搜尋、設定等工作。 然而,上述在使用R 0 Μ模擬器1 0有下列的限制: (1 ) ROM模擬器僅方便使用在公板(主機板廠商依據公定 規格所製造出來的主機板)的發展,如果其使用在代工廠商 的裸板(與公板類似,但多非依據公定規格所製造的主機板) 上,常會因裸板上的工作電壓與ROM模擬器的工作電壓不 同,而造成誤動作,甚至無法使用ROM模擬器來進行模擬 的工作。 (2 )在代工的產品做到某一階段時,都必定是進行裝機 測試,而不再提供裸板給測試可延伸式韌體介面的工程 師,此時除非拆機,否則受測電腦無法使用ROM模擬器。 6 326\專利說明書(補件)\94-04\TF944510The current method of developing an extendable firmware interface relies on the help of a ROM simulator (R 0 Μ E mu 1 at 〇r ), which confirms whether the developed extensible interface is working properly, as shown in Figure 1. The block diagram of the technology is shown. In Fig. 1, the plug 1 2 of the R 0 Μ simulator 10 is inserted into the slot 16 of a computer (1) in which a flash memory (not shown) is placed, and one of the external host computers 15 will be The developing extendable firmware interface is transferred to the R 0 Μ simulator 10, and after the computer 14 under test is powered on, the CPU 1 8 of the computer under test 14 is read and stored in the R 0 Μ simulator. The extendable firmware interface in 10 is used for self-test and input/output interface (not shown) for searching and setting. However, the above limitation in using the R 0 Μ simulator 10 is as follows: (1) The ROM simulator is only convenient to use the development of the motherboard (the motherboard manufactured by the motherboard manufacturer according to the specified specifications), if it is used in The bare board of the foundry manufacturer (similar to the public board, but not the motherboard manufactured according to the specified specifications), often caused by the operating voltage of the bare board and the working voltage of the ROM simulator, causing malfunction or even failure to use. The ROM simulator is used to perform the simulation work. (2) When the OEM product is at a certain stage, it must be installed and tested, and the bare board is no longer provided to the engineer who tests the extendable firmware interface. Unless the machine is disassembled, the computer under test cannot. Use the ROM emulator. 6 326\ patent specification (supplement)\94-04\TF944510

1273482 (3 )如果遇到裸板安裝快閃記憶體 用非插槽式的方式時(如直接焊在主相 插槽並不支援ROM模擬器所提供的插 插槽出來,如此費時且所焊的線易遭 (4 )現行之快閃記憶體的容量已有 大,甚至更大,但ROM模擬器通常只7 為了將就ROM模擬器的容量,則必須 分選項驅動程式(Option DRIVER)暫時 動程式無法使用ROM模擬器來確認, 體來做確認的工作。 (5 )目前好一點的R 0 Μ模擬器大約 點的也要數千元,對一個以研發Β I 0S 果要配到每人一台ROM模擬器,將會1273482 (3) If you encounter a non-slot type of flash memory for bare board installation (such as direct soldering in the main phase slot does not support the plug slot provided by the ROM emulator, this is time consuming and soldered The line is vulnerable to (4) the current flash memory capacity is large or even larger, but the ROM emulator is usually only 7 in order to increase the capacity of the ROM emulator, then the option driver (Option DRIVER) must be temporarily The program can't use the ROM emulator to confirm, and the body does the work of confirming. (5) The current R 0 Μ simulator is about a few thousand dollars, and for a research and development Β I 0S a ROM emulator, will

(6 )以燒錄唯讀記憶體的方式,必 體至燒錄機以燒錄程式碼,這亦造成 公司的燒錄機不多,所以若多人同時 成排隊等待以使用燒錄機的情形;再 故障,造成不易燒錄的情形,對公司 得沒有效率。 【發明内容】 如上所述,本發明之目的在於提供 面之驅動程式的載入方法,其不需要 擬,而減少測試時的硬體成本,可適 326\專利說明書(補件)\94-04\TF944510 (如 FLASHPART)是使 I板上),或其所用的 頭,則必須特別焊個 損害。 1 Μ位元組(B y t e )之 Γ用到5 1 2 K位元組, 將快閃記憶體中的部 拿掉,將造成一些驅 只能燒錄一唯讀記憶 需要一萬多元,差一 為主的公司而言,如 造成公司一項不小的 須常要拔除快閃記憶 許多不便,通常一家 做燒錄的工作,會造 者,燒錄機的插槽易 或個人而言,都會顯 一種可延伸式韌體介 ROM模擬器進行模 用於任何包裝型態及 1273482 容量大小的快閃記憶體,並可在公板、裸板、甚至裝機後 進行可延伸式韌體介面的模擬,使發展之可延伸式韌體介 面在任何階段中都可輕易地完成測試。(6) In the way of burning read-only memory, it is necessary to burn the program code to the burner, which also causes the company to have fewer burners, so if many people are waiting in line to use the burner. Situation; failure, resulting in a situation that is not easy to burn, is inefficient for the company. SUMMARY OF THE INVENTION As described above, the object of the present invention is to provide a method for loading a driver of a surface, which does not need to be simulated, and reduces the hardware cost during testing, and can be adapted to 326\patent specification (supplement)\94- 04\TF944510 (such as FLASHPART) is to make the I board), or the head used there, must be specially welded to damage. 1 Μ Μ Μ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ For a company with a poor focus, if the company is not small, it is often inconvenient to remove the flash memory. Usually, a job for burning, the maker, the slot of the burner is easy or personal. An extendable firmware-based ROM emulator is used for any package type and 1271482 size flash memory, and the extendable firmware interface can be implemented on the public board, bare board or even after installation. The simulation allows the development of an extendable firmware interface to be easily tested at any stage.

本發明在於提供一種可延伸式韌體介面之驅動程式的 載入方法,由一主電腦藉由一傳輸線將該可延伸式韌體介 面之一驅動程式載入該受測電腦之一隨機存取記憶體中, 該可延伸式韌體介面之驅動程式的載入方法包含下列步 驟:首先,將一受測電腦開機,執行其該可延伸式韌體介 面之一構通程式;接著,判斷該主電腦是否有執行一終端 接收程式,當該主電腦有執行該終端接收程式時,則傳送 該可延伸式韌體介面之該驅動程式至該受測電腦之該隨機 存取記憶體中;其次,執行該隨機存取記憶體中之該驅動 程式;以及,啟動操作系統。 本發明在於提供一種電腦可讀取之記錄媒體,係用於具 有一可延伸式韌體介面之電腦系統,由一主電腦藉由一傳 輸線將該可延伸式韌體介面之一驅動程式載入該受測電腦 之一隨機存取記憶體中,該電腦可讀取之記錄媒體可使電 腦執行下列步驟:首先,將一受測電腦開機,執行其該可 延伸式韌體介面之一構通程式;接著,判斷該主電腦是否 有執行一終端接收程式,當該主電腦有執行該終端接收程 式時,則傳送該可延伸式韌體介面之該驅動程式至該受測 電腦之該隨機存取記憶體中;其次,執行該隨機存取記憶 體中之該驅動程式;以及,啟動操作系統。 本發明之其他目的及優點將由隨後之詳細說明及隨附 8 326\專利說明書(補件)\94-(M\TF944510The invention provides a loading method of a driver of an extendable firmware interface, wherein a host computer loads a driver of the extendable firmware interface into one of the tested computers by a transmission line. In the memory, the loading method of the driver of the extendable firmware interface comprises the following steps: first, booting a computer under test and executing a constructing program of the extendable firmware interface; and then determining the Whether the host computer executes a terminal receiving program, and when the host computer executes the terminal receiving program, transmitting the driver of the extendable firmware interface to the random access memory of the tested computer; Executing the driver in the random access memory; and starting the operating system. The present invention provides a computer readable recording medium for a computer system having an extendable firmware interface, wherein a host computer loads a driver of the extendable firmware interface by a transmission line. In one of the tested computers, the readable medium of the computer can cause the computer to perform the following steps: first, booting a computer under test and performing one of the extendable firmware interfaces. And determining whether the host computer executes a terminal receiving program, and when the host computer executes the terminal receiving program, transmitting the driver of the extendable firmware interface to the random memory of the tested computer Taking the memory; secondly, executing the driver in the random access memory; and starting the operating system. Other objects and advantages of the present invention will be apparent from the following detailed description and accompanying 8 326\patent specification (supplement)\94-(M\TF944510)

1273482 之申請專利範圍當可更加明白。 【實施方式】 受測電腦在發展可延伸式韌體介面的階段中,當開 測電腦的電源後,則受測電腦進行自我測試及輸出入 搜尋、設定等工作。若執行可延伸式韌體介面發生錯 使受測電腦無法開機,或對受測電腦進行可延伸式韌 面的更新,可藉由外部之電腦來提供可延伸式韌體介 各項選項之驅動程式給受測電腦,以測試可延伸式韌 面在受測電腦中的各項工作,其架構如圖2為本發明 塊圖所示。 在圖2中,在受測電腦2 2開啟電源之後,C P U 2 4 · 行所燒錄於唯讀記憶體(如F L A S Η P A R T ) 2 6中之可延伸 體介面的各個驅動程式,並將唯讀記憶體2 6中之可延 韌體介面的各個驅動程式依需要搬至RAM28中。當受 腦2 2需要由外部的主電腦3 2傳送所需的驅動程式時 主電腦32之CPU 34藉由傳輸介面36、傳輸線為LL3 40(亦可使用一 COMPORT、一 LAN、一 USB 或一 1394) 輸介面30將存放在RAM 38中之驅動程式存放至RAM 中 〇 現行的可延伸式韌體介面將各個驅動程式解搬移到 2 8中時,都會呼叫到可延伸式韌體介面中同一個找尋 移之副程式,此副程式會從一指定位址(此位址通常指 讀記憶體2 6找尋所需的驅動程式並搬至R A Μ 2 8中), 利用此特性在此副程式之前加上一小段的構通主電腦 326\專利說明書(補件)\94-04\TF944510 9 啟受 介面 誤而 體介 面中 體介 之方 t執 式韌 伸式 測電 ,則 線 、傳 28 RAM 及搬 向唯 因此 32 1273482 與受測電腦2 2之間的驅動程式(以下稱為構通程式),其來 構通主電腦3 2是否要傳送一驅動程式至受測電腦2 2,將 此構通程式燒錄於唯讀記憶體2 6中,並在主電腦3 2端執 行一終端接收程式。為了方便說明前述之方法,以可延伸 式韌體介面中之一 VGA驅動程式為例來說明其流程,而可 延伸式韌體介面中之其餘的驅動程式亦有相同之處理流 程,其流程如圖3為本發明之流程圖所示。The scope of patent application of 1273482 can be more clearly understood. [Embodiment] In the stage of developing the extendable firmware interface, when the computer is powered on, the computer under test performs self-test and input and search, setting, and the like. If the implementation of the extendable firmware interface fails to enable the computer under test, or the extension of the extendable tough surface of the computer under test, the external computer can be used to provide the extended firmware interface. The program is given to the computer under test to test the work of the extendable tough surface in the computer under test. The structure is shown in Figure 2 of the block diagram of the present invention. In FIG. 2, after the computer 2 2 is powered on, the CPU 24 4 is programmed into each driver of the extensible interface in the read-only memory (such as FLAS Η PART) 26 and will only The respective drivers of the scalable firmware interface in the read memory 26 are moved to the RAM 28 as needed. When the brain 2 2 needs to transmit the required driver from the external host computer 32, the CPU 34 of the host computer 32 transmits the interface 36 and the transmission line to the LL3 40 (you can also use a COMPORT, a LAN, a USB or a 1394) The interface 30 stores the drivers stored in the RAM 38 in the RAM. When the current extendable firmware interface moves the drivers to 28, they will call the extended firmware interface. A subroutine for finding a shift, this subroutine will use this feature from a specified address (this address usually refers to the memory 2 to find the required driver and move it to RA Μ 2 8). Before adding a small section of the main computer 326\patent specification (supplement)\94-04\TF944510 9 the interface is wrong and the interface is in the middle of the body t-type toughness type test, then the line, pass 28 RAM and the driver between the 32 1273482 and the computer under test 2 (hereinafter referred to as the build program), to construct the host computer 3 2 whether to send a driver to the computer 2 2 under test, Burn this configuration program into the read-only memory 26, and in the main Brain 32 receives the terminal end of a program execution. In order to illustrate the foregoing method, one of the VGA drivers in the extendable firmware interface is used as an example to illustrate the flow, and the remaining drivers in the extendable firmware interface have the same processing flow. Figure 3 is a flow chart of the present invention.

在圖3中(並參考圖2之圖式),當受測電腦2 2開機(即 開啟電源)後(步驟S 5 0 ),系統因需要該可延伸式韌體介面 呼叫一找尋搬移程式,在進入此程式會先執行該構通程 式,使受測電腦2 2開始與主電腦3 2做雙向溝通。接著, 判斷主電腦3 2是否有執行一終端接收程式(步驟S 5 2 ),當 主電腦3 2有執行此終端接收程式時,則C P U 2 4藉由傳輸 介面30、LL3線40與傳輸介面36向CPU 34發出傳送一 V G A驅動程式之請求,此時,C P U 3 4會檢查可延伸式韌體 介面此V G A驅動程式的資料來判斷是否可傳送經修改後之 V G A驅動程式至受測電腦2 2,當主電腦3 2可傳送經修改後 之V G A驅動程式時,則由主電腦3 2藉由傳輸介面3 6、L L 3 線4 0與傳輸介面3 0傳送該V G A驅動程式至受測電腦2 2 的R A Μ 2 8中(步驟S 5 4 ),並且主電腦3 2等待受測電腦2 2 下一次執行構通程式時,由受測電腦2 2對電腦3 2發出傳 送經修改後之另一驅動程式的請求。此時,C P U 2 4執行存 放在R A Μ 2 8中經修改後的V G Α驅動程式(步驟S 5 6 ),直到 執行完該可延伸式韌體介面之所有的驅動程式。其後,該 10 326\專利說明書(補件)\94-04\TF944510 1273482In FIG. 3 (and referring to FIG. 2), when the computer 2 under test is powered on (ie, the power is turned on) (step S50), the system needs the extension firmware interface call to find a moving program. When entering this program, the configuration program will be executed first, so that the computer under test 2 2 starts to communicate with the host computer 32 in two directions. Next, it is determined whether the host computer 3 2 executes a terminal receiving program (step S 5 2 ). When the host computer 32 has executed the terminal receiving program, the CPU 24 transmits the interface 30, the LL3 line 40, and the transmission interface. 36 sends a request to the CPU 34 to transmit a VGA driver. At this time, the CPU 34 checks the data of the VGA driver in the extendable firmware interface to determine whether the modified VGA driver can be transmitted to the computer under test 2 2. When the host computer 32 can transmit the modified VGA driver, the host computer 3 2 transmits the VGA driver to the computer under test through the transmission interface 36, the LL 3 line 40 and the transmission interface 30. 2 2 of RA Μ 2 8 (step S 5 4 ), and the host computer 3 2 waits for the computer under test 2 2 to execute the configuration program next time, the transmitted computer 2 2 sends a modified copy to the computer 3 2 Another driver request. At this time, C P U 2 4 executes the modified V G Α driver stored in R A Μ 2 8 (step S 5 6 ) until all the drivers of the extendable firmware interface are executed. Thereafter, the 10 326\patent specification (supplement)\94-04\TF944510 1273482

可延伸式韌體介面之最後的驅動程式會執行以進入一操作 系統啟動階段(0 S Β ο 〇 t P h a s e ),而使受測電腦2 2啟動操 作系統(步驟S 6 0 )。當電腦3 2沒有執行終端接收程式時, 或者當主電腦3 2不可傳送V G A驅動程式時,則主電腦3 2 等待受測電腦2 2下一次執行構通程式時,而受測電腦2 2 對電腦3 2發出傳送經修改後另一驅動程式的請求失敗 後。此時,C P U 2 4執行該找尋搬移程式,將燒錄於唯讀記 憶體2 6中可延伸式韌體介面之原本且未修改的V G A驅動程 式找出並搬至RAM 28中,繼而CPU 24執行存放在RAM 28 中的V G A驅動程式(步驟S 5 8 )。同樣地,該可延伸式韌體 介面之最後的驅動程式會執行以進入該操作系統啟動階 段,而使受測電腦2 2啟動操作系統(步驟S 6 0 )。 如上所述,使用者可以方便驗證修改可延伸式韌體介面 之前與後的差別,因外部的主電腦3 2不傳送經修改後之驅 動程式至受測電腦2 2時,受測電腦2 2會取用在唯讀記憶 體2 6中未修改的驅動程式;若外部的主電腦3 2傳送經修 改後之驅動程式至受測電腦2 2時,則受測電腦2 2會取用 電腦3 2所提供之已修改的驅動程式,如此,使用者便可立 刻觀察或對照其變化結果。 若藉由外部的主電腦3 2傳送經修改之驅動程式至受測 電腦2 2,且各個經修改之驅動程式經測試後可使受測電腦 2 2正常開機及工作,可將這些修改程式碼後的驅動程式重 新組譯編碼後並燒錄於唯讀記憶體2 6中,如此便完成系統 之可延伸式韌體介面的開發及測試。 11 326\專利說明書(補件)\94-04\TF944510 1273482 上述之方法及電路結構及構成一可延伸式韌 構載入器(EFI Framework-LOADER),其除了傳 的功能之外,另外提供了傳送字串、1 0進制/ 值及程式執行之訊息等等,其中傳送程式執行 能是幫助使用者偵錯(Debug)之使用,使發展可 介面的階段中可以快速找出需要修正之處。甚 之ASLC0DE内,力。入可延伸式韌體介面架構載 定的ASLC0DE,可不透過SMI的方式,而傳送戶; 來簡單驗證所作之ASL CODE的動作是否正常。 再加上一些測試的驅動程式,在覺得該可延伸 的程式碼有問題的地方直接載入測試的該驅動 行,不用開機(Boot)到DOS或 EFIShell下才 可增加效率。 本發明之優點係在硬體上不需使用一 ROM模 一 L L 3傳輸線或前面所提的其他傳輸線及裸板 FLASHPART,大大地減少在測試時所需的硬體^ 本發明之另一優點係可在裸板或已裝機進行 韌體介面的測試,不受裸板之工作電壓的限制 就的FLASHPART包裝型態,而可使用MASKR0M 記憶體。又,因為是純軟體的關係,不佔實體 唯讀記憶體之容量的限制,只要RAM正常可用 以傳送任何的程式碼,所以即使是裝機後仍可 本發明之再一優點係韌體工程師可以方便驗 延伸式韌體介面之驅動程式前與後的差別,因 326\專利說明書(補件)\94-04\TF944510 12 體介面架 送驅動程式 1 6進制之數 之訊息的功 延伸式韌體 至,在ACPI 入器傳輸協 f需的訊息, 如有需要可 式韌體介面 程式並執 測試,如此 擬器,只需 上的 έ本。 可延伸式 ,亦不用遷 、EEPR0M 等 空間,沒有 ,隨時都可 進行測試。 證更改可 主電腦不執 1273482 行可延伸式韌體介面架構載入器時,會取用原來 FLASHPART上未更改前的程式碼,主電腦執行可延伸式韌 體介面架構載入器時,就會取用原來主電腦所提供新的程 式碼來取代,使用者可馬上觀察或對照修改前後之可延伸 式韌體介面的變化結果。The final driver of the extendable firmware interface is executed to enter an operating system startup phase (0 S Β ο 〇 t P h a s e ), causing the computer under test 2 2 to start the operating system (step S 60 ). When the computer 32 does not execute the terminal receiving program, or when the host computer 32 cannot transmit the VGA driver, the host computer 3 2 waits for the computer to be tested 2 2 to execute the configuration program next time, and the computer to be tested 2 2 pairs The computer 3 2 sends a request to transfer another modified driver after the failure. At this time, the CPU 24 executes the search and transfer program, and finds and moves the original and unmodified VGA driver programmed in the extensible firmware interface of the read-only memory 26 to the RAM 28, and then the CPU 24 The VGA driver stored in the RAM 28 is executed (step S 5 8). Similarly, the last driver of the extendable firmware interface is executed to enter the operating system boot phase, causing the computer under test 2 2 to boot the operating system (step S 60). As described above, the user can easily verify the difference between before and after the modified extendable firmware interface, because the external host computer 3 2 does not transmit the modified driver to the computer under test 2 2, the computer under test 2 2 The driver that is not modified in the read-only memory 26 will be used; if the external host computer 3 2 transmits the modified driver to the computer 2 under test, the computer 2 to be tested will access the computer 3 2 The modified driver provided so that the user can immediately observe or compare the results of the change. If the modified driver is transferred to the computer 2 to be tested by the external host computer 32, and the modified driver is tested, the tested computer can be turned on and working normally, and the modified code can be modified. The latter driver re-codes the code and burns it into the read-only memory 26, thus completing the development and testing of the extendable firmware interface of the system. 11 326\patent specification (supplement)\94-04\TF944510 1273482 The above method and circuit structure and composition of an extendable toughness loader (EFI Framework-LOADER), in addition to the function of transmission, additionally provided The transfer string, the decimal/value and the program execution message, etc., wherein the transfer program execution can help the user to use the Debug, so that the development interface can quickly find out the need for correction. At the office. Even within ASLC0DE, force. The ASLC0DE carried in the extendable firmware interface architecture can be transmitted without the SMI method; it is simple to verify whether the ASL CODE is normal. Coupled with some of the tested drivers, load the test driver directly where you feel the problem with the extendable code. You don't need to boot to DOS or EFIShell to increase efficiency. The advantage of the present invention is that it does not require the use of a ROM die-LL 3 transmission line or other transmission lines and the bare board FLASHPART on the hardware, which greatly reduces the hardware required for testing. The firmware interface can be tested on bare boards or installed, and the FLASHPART package type is not limited by the operating voltage of the bare board. MASKR0M memory can be used. Moreover, because it is a pure software relationship, it does not occupy the limitation of the capacity of the physical read-only memory. As long as the RAM is normally available to transmit any code, even if it is installed, another advantage of the present invention is that the firmware engineer can Convenient to check the difference between the front and back of the driver of the extended firmware interface, due to the work extension of the message of the hexadecimal number of the 326\patent specification (supplement)\94-04\TF944510 Firmware to, in the ACPI in the transmission of the information required by the f, if necessary, the firmware interface program and test, so the only transcript. Extensible, no need to move, EEPR0M and other spaces, no, can be tested at any time. If the host computer does not implement the 1273482 line of extendable firmware interface architecture loader, it will use the code before the original FLASHPART is changed. When the host computer executes the extendable firmware interface architecture loader, It will be replaced by the new code provided by the original host computer. The user can immediately observe or compare the changes of the extendable firmware interface before and after the modification.

本發明之又一優點係因可延伸式韌體介面架構載入器 可傳送任何程式碼,所以亦可傳送燒錄唯讀記憶體的程 式,以及要燒錄的程式碼,進而更新FLASHPART上的程式 碼,不需要常常拔FLASHPART來更新。 本發明可在不離開本發明之精神及基本特徵下作成各 種特定之例示。本發明之範圍為由隨附之申請專利範圍所 限定,而並非由上述說明所限制,所有與申請專利範圍意 義相等之變化均應包含於本發明中。 【圖式之簡單說明】 圖1為先前技術用以載入驅動程式之系統方塊圖; 圖2為本發明用以載入驅動程式之系統方塊圖;以及 圖3為本發明用以載入驅動程式之流程圖。 【主要元件符號說明】 1 0 : R Ο Μ模擬器 1 2 :插頭 1 4、2 2 :受測電腦 1 5、3 2 :主電腦 1 6 :插槽Another advantage of the present invention is that the extendable firmware interface loader can transmit any code, so that the program for burning the read-only memory and the code to be burned can be transmitted to update the FLASHPART. The code does not need to be updated frequently by FLASHPART. The invention may be embodied in various specific forms without departing from the spirit and scope of the invention. The scope of the present invention is defined by the scope of the appended claims, and is not limited by the description, and all changes equivalent to the meaning of the claims are intended to be included in the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a system for loading a driver in the prior art; FIG. 2 is a block diagram of a system for loading a driver according to the present invention; and FIG. 3 is a diagram for loading a driver according to the present invention. Flow chart of the program. [Main component symbol description] 1 0 : R Ο Μ simulator 1 2 : Plug 1 4, 2 2 : Computer under test 1 5, 3 2 : Main computer 1 6 : Slot

18' 24 、 34 : CPU 13 326\專利說明書(補件)\94-04\TF944510 1273482 26 :唯讀 28 : RAM 30 > 36 : 40 : LL3 記憶體 傳輸介面 線18' 24 , 34 : CPU 13 326\Patent Specification (Replenishment)\94-04\TF944510 1273482 26 : Read only 28 : RAM 30 > 36 : 40 : LL3 Memory Transfer Interface Line

326\專利說明書(補件)\94-04\TF944510 14326\ patent specification (supplement)\94-04\TF944510 14

Claims (1)

1273482 十、申請專利範圍: 1 . 一種可延伸式韌體介面之驅動程式的載入方法, 主電腦藉由一傳輸線將該可延伸式韌體介面之一驅動 載入該受測電腦之一隨機存取記憶體中,該可延伸式 介面之驅動程式的載入方法包含下列步驟: 將一受測電腦開機,執行其該可延伸式韌體介面之 通程式; 判斷該主電腦是否有執行一終端接收程式; 當該主電腦有執行該終端接收程式時,則傳送該可 式韌體介面之該驅動程式至該受測電腦之該隨機存取 體中; 執行該隨機存取記憶體中之該驅動程式;以及 啟動操作系統。 2 .如申請專利範圍第1項所述之可延伸式韌體介面 動程式的載入方法,其中,當該主電腦沒有執行該終 收程式時,則從該受測電腦之一唯讀記憶體傳送該可 式韌體介面之該驅動程式至該隨機存取記憶體中,並 該驅動程式。 3. 如申請專利範圍第1項所述之可延伸式韌體介面 動程式的載入方法,其中,該傳輸線係為一 LL3線、一 PORT、一 LAN、一 USB 與一 1 3 9 4 中擇其一。 4. 如申請專利範圍第1項所述之可延伸式韌體介面 動程式的載入方法,其中,在需要修改該可延伸式韌 面時,可將需修改之該可延伸式韌體介面燒錄於該受 326\專利說明書(補件)\94-04\TF944510 15 由一 程式 韌體 一構 延伸 記憶 之驅 端接 延伸 執行 之驅 COM 之驅 體介 測電 1273482 腦之該唯讀記憶體。 5 .如申請專利範圍第1項所述之可延伸式韌體介面之驅 動程式的載入方法,其中,該構通程式係燒錄於該受測電 腦之該唯讀記憶體中。1273482 X. Patent application scope: 1. A loading method of a driver of an extendable firmware interface, the host computer drives one of the extendable firmware interfaces into one of the tested computers by a transmission line. In the access memory, the loading method of the extendable interface driver includes the following steps: booting a computer under test and executing a program of the extendable firmware interface; determining whether the host computer has an execution function The terminal receiving program; when the host computer executes the terminal receiving program, transmitting the driver of the flexible firmware interface to the random access body of the tested computer; executing the random access memory The driver; and boot the operating system. 2. The loading method of the extendable firmware interface program according to claim 1, wherein when the main computer does not execute the final program, the memory is read only from one of the tested computers. Transmitting the driver of the flexible firmware interface to the random access memory and the driver. 3. The loading method of the extendable firmware interface program according to claim 1, wherein the transmission line is an LL3 line, a PORT, a LAN, a USB and a 1 3 9 4 Choose one. 4. The loading method of the extendable firmware interface program according to claim 1, wherein the extendable firmware interface to be modified may be modified when the extendable tough surface needs to be modified. Burned in the 326\patent specification (supplement)\94-04\TF944510 15 by a program firmware extension memory drive termination extension implementation of the drive of the drive body of the dielectric test 1273482 brain read only read Memory. 5. The loading method of the executable program of the extendable firmware interface according to claim 1, wherein the constructing program is burned in the read-only memory of the computer under test. 6 . —種電腦可讀取之記錄媒體,係用於具有一可延伸式 韌體介面之電腦系統,由一主電腦藉由一傳輸線將該可延 伸式韌體介面之一驅動程式載入該受測電腦之一隨機存取 記憶體中,該電腦可讀取之記錄媒體可使電腦執行下列步 驟: 將一受測電腦開機,執行其該可延伸式韌體介面之一構 通程式; 判斷該主電腦是否有執行一終端接收程式; 當該主電腦有執行該終端接收程式時,則傳送該可延伸 式韌體介面之該驅動程式至該受測電腦之該隨機存取記憶 體中; 執行該隨機存取記憶體中之該驅動程式;以及 啟動操作系統。 7 .如申請專利範圍第6項所述之電腦可讀取之記錄媒 體,其中,當該主電腦沒有執行該終端接收程式時,則從 該受測電腦之一唯讀記憶體傳送該可延伸式韌體介面之該 驅動程式至該隨機存取記憶體中,並執行該驅動程式。 8 .如申請專利範圍第6項所述之電腦可讀取之記錄媒 體,其中,由數個該驅動程式組成該可延伸式韌體介面。 9 .如申請專利範圍第6項所述之電腦可讀取之記錄媒 16 326\專利說明書(補件)\94-04\TF944510 1273482 體,其中,該傳輸線係為一 L L 3線、一 C Ο Μ P 0 R Τ、一 一 USB與一 1 3 9 4中擇其一。 1 0 .如申請專利範圍第6項所述之電腦可讀取之記 體,其中,在需要修改該可延伸式韌體介面時,可ί 改之該可延伸式韌體介面燒錄於該受測電腦之該唯i 體。 1 1 .如申請專利範圍第7項所述之電腦可讀取之記 體,其中,該構通程式係燒錄於該受測電腦之該唯1 修體中。 LAN、 錄媒 F需修 I記憶 錄媒 i記憶6. A computer readable recording medium for a computer system having an extendable firmware interface, wherein a host computer loads the driver of the extendable firmware interface by a transmission line In a random access memory of the computer under test, the computer readable recording medium can cause the computer to perform the following steps: booting a computer under test and executing one of the extendable firmware interfaces; Whether the host computer executes a terminal receiving program; when the host computer executes the terminal receiving program, transmitting the driver of the extendable firmware interface to the random access memory of the tested computer; Executing the driver in the random access memory; and booting the operating system. 7. The computer readable recording medium according to claim 6, wherein when the host computer does not execute the terminal receiving program, the one of the tested computers transmits the extendable memory. The driver of the firmware interface is in the random access memory and executes the driver. 8. The computer readable recording medium of claim 6, wherein the extendable firmware interface is composed of a plurality of the drivers. 9. The computer readable recording medium 16 326\patent specification (supplement)\94-04\TF944510 1273482 according to claim 6, wherein the transmission line is an LL 3 line, a C Ο Μ P 0 R Τ, one USB and one 1 3 9 4 choose one. 10. The computer readable record according to claim 6, wherein the extendable firmware interface can be edited when the extendable firmware interface needs to be modified. The only part of the computer under test. 1 1. The computer readable record of claim 7, wherein the composition program is burned in the only one of the computer to be tested. LAN, recording media F need to repair I memory recording media i memory 17 326\專利說明書(補件)\94-04\TF94451017 326\Patent specification (supplement)\94-04\TF944510
TW94114104A 2005-05-02 2005-05-02 Driver loading method for extensible firmware interface TWI273482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW94114104A TWI273482B (en) 2005-05-02 2005-05-02 Driver loading method for extensible firmware interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW94114104A TWI273482B (en) 2005-05-02 2005-05-02 Driver loading method for extensible firmware interface

Publications (2)

Publication Number Publication Date
TW200639697A TW200639697A (en) 2006-11-16
TWI273482B true TWI273482B (en) 2007-02-11

Family

ID=38621553

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94114104A TWI273482B (en) 2005-05-02 2005-05-02 Driver loading method for extensible firmware interface

Country Status (1)

Country Link
TW (1) TWI273482B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI601072B (en) * 2017-02-21 2017-10-01 Thundersoft Taiwan Co Ltd A New Way to Create Unified Extensible Firmware Interfaces

Also Published As

Publication number Publication date
TW200639697A (en) 2006-11-16

Similar Documents

Publication Publication Date Title
TWI335534B (en) Mass storage device with boot code
US7430662B2 (en) Techniques for initializing a device on an expansion card
US20170337069A1 (en) Concurrent testing of pci express devices on a server platform
JPH0812651B2 (en) Data processing system and method of operating data processing system
TWI724415B (en) A multi-node storage system and method for updating firmware thereof
JP4945186B2 (en) Storage device and memory system including the same
TW201525858A (en) Baseboard management controller and method of load firmware thereof
JP4597459B2 (en) Virtual ROM for device enumeration
JP2007115286A (en) Bus interface system and method
US7631112B2 (en) Determining storage device connection information for serial and parallel computer interfaces to storage devices
US7996667B2 (en) System with at least two BIOS memories for starting the system
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
CN105677429A (en) Program burning method, processor and electronic circuit
TWI273482B (en) Driver loading method for extensible firmware interface
KR102116096B1 (en) Multisystem, and method of booting the same
US7080243B2 (en) Method and system for comparing firmware images
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
TWI480801B (en) Method of installing the instant-on operation system
JP5107601B2 (en) Peripheral component interconnect device extended read-only memory data caching method, system and program
US20050125611A1 (en) Control procedure selection
CN113867835B (en) Device and method for dynamic loading of DSP
JP2014021540A (en) Digital signal processing system, digital signal processing system booting device and booting method of digital signal processing system
JP2008059522A (en) Information processor, information processing module, control method, and program
US20030188061A1 (en) Device discovery and dynamic configuration of control application
JP2521020B2 (en) Information processing system