TW200949701A - Apparatus and method for hard drive firmware update - Google Patents

Apparatus and method for hard drive firmware update Download PDF

Info

Publication number
TW200949701A
TW200949701A TW97119926A TW97119926A TW200949701A TW 200949701 A TW200949701 A TW 200949701A TW 97119926 A TW97119926 A TW 97119926A TW 97119926 A TW97119926 A TW 97119926A TW 200949701 A TW200949701 A TW 200949701A
Authority
TW
Taiwan
Prior art keywords
disk
sas
firmware
expander
volatile memory
Prior art date
Application number
TW97119926A
Other languages
Chinese (zh)
Other versions
TWI365410B (en
Inventor
Johnson Yan
Original Assignee
Universal Scient Ind Co Ltd
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 Universal Scient Ind Co Ltd filed Critical Universal Scient Ind Co Ltd
Priority to TW097119926A priority Critical patent/TWI365410B/en
Publication of TW200949701A publication Critical patent/TW200949701A/en
Application granted granted Critical
Publication of TWI365410B publication Critical patent/TWI365410B/en

Links

Abstract

An apparatus for hard drive firmware update includes a SAS expander and a non-volatile memory. The SAS expander includes an expander connection router (ECR) and an embedded microprocessor electrically coupled with the ECR. The ECR is configured for connecting a SATA hard drive and a SAS hard drive. The embedded microprocessor has a SATA host and a SCSI initiator software installed therein. The non-volatile memory is electrically coupled to the embedded microprocessor and for saving a replacement hard drive firmware. The replacement hard drive firmware would be sent to a special hard drive for firmware update by the embedded microprocessor selectably calling one of the SATA host and the SCSI initiator and by the ECR routing the replacement firmware. The present invention also provides a method for hard drive firmware update.

Description

200949701 九、發明說明: 【發明所屬之技術領域】 本發明是有關於磁碟儲存系統技術領域’且特別是有關於 一種磁碟韌體更新裝置及更新方法。 【先前技術】200949701 IX. Description of the Invention: [Technical Field] The present invention relates to the field of disk storage systems, and in particular to a disk firmware updating device and a updating method. [Prior Art]

參見圖1’其不出一種習知之磁碟儲存系統10,包括一儲 存子系統12及一^司服器主機(Server Host)16,儲存子系统12 透過一 SAS(Serial Attached SCSI,串列連接小型電腦系統介面) 纜線14耦接至伺服器主機16。其中,伺服器主機16包括一 HBA(Host Bus Adapter,主機總線適配器)或一 RAlD(RedundantReferring to FIG. 1 ', a conventional disk storage system 10 includes a storage subsystem 12 and a server host 16, and the storage subsystem 12 is connected via a SAS (Serial Attached SCSI). The small computer system interface) is coupled to the server host 16 by a cable 14. The server host 16 includes an HBA (Host Bus Adapter) or a RAlD (Redundant).

Array of Independent Disks,獨立磁碟冗餘陣列)控制器161。儲 存子系統12包括裝設於一箱體(Enclosure)中的一 SAS擴展器 122及一儲存陣列124;儲存陣列124包括SATA(Serial Advanced Technology Attachment,串列高級技術附件)磁碟及 SAf磁碟,其透過SAS擴展器122並藉由SAS纜線14與伺 服器主機16之HBA或RAID控制器161建立通訊。 對於儲存陣列124中的SATA及SAS磁碟,其均包含支 配其運行之韌體。有時,為修正磁碟中的錯誤或希望提升磁碟 的性能,有必要對磁碟之韌體進行更新。然而,於磁碟之韌體 更新時,儲存子系統12必須通過連接HBA或RAn)控制器 並由它們向耦接至SAS擴展11 122的SATA(或 。、心送ΑΤΑ(或SCSI)命令’對磁碟之韌體進行更新,且每欠 =更個磁碟。如果要更新儲存陣列m中的N個磁碟 從要發送N次命令,相應的細體也需要傳送N次, 從而導致磁碟之韌體更新效率較低。 【發明内容】 _ 5 200949701 本發明的目的就是在提供一種磁碟韌體 較高的磁碟_更新效率。 =發明的再-目的是提供—獅雜體更新方法, 較尚的磁碟韌體更新效率。 本發明提出一種磁碟韌體更新裝置,其包括:一 sas擴 =及-非揮發性記憶體。SAS擴展器包括—擴展器連接路由 ^(Expander C〇nnection Router,ECR) ’ 用以連接 sata 磁碟及 SAS磁碟’以及—與擴展器連接路由It電性输之嵌入式微處Array of Independent Disks, Controller 161. The storage subsystem 12 includes a SAS expander 122 and a storage array 124 installed in an enclosure. The storage array 124 includes a SATA (Serial Advanced Technology Attachment) disk and a SAf disk. It communicates with the HBA or RAID controller 161 of the server host 16 via the SAS expander 122 via the SAS cable 14. For SATA and SAS disks in storage array 124, they all contain firmware that governs their operation. Sometimes it is necessary to update the firmware of the disk in order to correct errors in the disk or to improve the performance of the disk. However, when the firmware of the disk is updated, the storage subsystem 12 must pass through the HBA or RAn controller and connect them to the SATA (or SCSI) command coupled to the SAS extension 11 122. Update the firmware of the disk, and each disk = one disk. If you want to update the N disks in the storage array m to send N commands, the corresponding thin body needs to be transmitted N times, resulting in magnetic The firmware update efficiency of the disk is low. [Summary] _ 5 200949701 The object of the present invention is to provide a disk-high update efficiency of the disk firmware. = The re-invention of the invention is to provide a lion hybrid update. Method, a preferred disk firmware update efficiency. The present invention provides a disk firmware update device comprising: a sas expansion = and - non-volatile memory. The SAS expander includes - an expander connection route ^ (Expander C〇nnection Router, ECR) 'Connected to sata disk and SAS disk' and - Connected to the expander to route it to the embedded micro-integration

❹ 理器(Embedded Microprocessor);嵌入式微處理器内裝載有一 SATf主機控制器驅動程式及一 8(^啟動器驅動程式。非揮 發性記憶體電性祕至以式微處理^,用以儲存欲更新之磁 碟韌體;此磁碟韌體,由嵌入式微處理器選擇性地調用sata 主機控制器驅動程式及8(:81啟動器驅動程式之一者,並透過 擴展器連接路由器發送至一特定磁碟進行勤體更新。 在本發明的一實施例中,上述之非揮發性記憶體係一快閃 記憶體。 在本發明的一實施例中,上述之SAS擴展器更包括一 SAS 連接埠,其電性耦接至擴展器連接路由器。 在本發明的一實施例中,上述之磁碟韌體更新裝置更包括 了伺服器主機,其包含一 HBA或RAID控制器,伺服器主機 藉由一 SAS纜線與SAS擴展器之SAS連接埠相連接。 在本發明的一實施例中,上述之SAS擴展器更包括一串 列埠’其與嵌入式微處理器電性耦接。 在本發明的一實施例中’上述之磁碟韌體更新裝置更包括 個人電服主機,其藉由一串列匯流排(Seriai bus)魔線與sas 擴展器之串列埠相連接。 6 200949701 本發明再&出一種磁碟勒體费 二=之磁伽至-非揮發性記憶體:獲取= ▲ f妹式⑽啟動11軸程式之- 勒躺命令,以輯下餘麵發性記憶 體的磁碟韌體對此特定磁碟進行韌體更新。 發明的-實施例卜上述之下載步驟,係由一包含 HBA或RAID㈣器之飼服器主機透過其一㈣連接琿,發 送 scsi 箱體服務(SCSIEnclosureService SEs)之 碼控制診斷頁面來下載磁碟韌體。 在本發明的-實施例中,上述之下載步驟,係由一個人電 腦主機透過其一串列埠來下載磁碟韌體。 ❿ 本發明藉由配置一非揮發性記憶體來儲存磁碟韌體,並於 SAS擴展器之嵌入式微處理器内裝載SATA主機控制器驅動 程式及SCSI啟動器驅動程式,因此對連接至SAS擴展器之同 一型號的多個SATA磁碟或多個SAS磁碟進行韌體更新時, 只需下載一次磁碟韌體,大大縮短了韌體更新時間,提高了韌 體更新效率。此外,本發明提供之磁碟韌體更新方法,可通过 scsi箱體服務功能来更新磁碟韌體’弭補了先前不能由scsi 箱體服務功能来更新磁碟韌體的空缺,完善并统一了箱體中各 設備的管理。 本發明提供之磁碟韌體更新方法,亦可以在没有HBA和 RAID控制器之情况下,使用普通個人電腦主機的串列瑋来实 现磁碟韌體的更新’無需伺服器主機這樣的龐大設備,降低了 升級的複雜度。 為讓本發明之上述和其他目的、特徵和優點能更明顯易 7 200949701 懂’下文特舉較佳實施例,並配合所附圖式’作詳細說明如下。 【實施方式】 參見圖2,本發明實施例提出的一種磁碟勃體更新裝置 20,其包括一 SAS擴展器22及一非揮發性記憶體23。SAS 擴展器22包括一嵌入式微處理器(Embedded Micropr〇cessor)221、一擴展器連接路由器(Expander Connection Router,ECR)223、一 SAS 連接埠 225 及一串列埠 227。擴展器連接路由器223係用以連接SATA磁碟及SAS磁Embedded Microprocessor; embedded microprocessor with a SATf host controller driver and an 8 (^ starter driver. Non-volatile memory to the micro-processing ^ for storage) Disk firmware; this disk firmware is optionally invoked by the embedded microprocessor to the sata host controller driver and one of the 8 (81 starter drivers) and sent to the specific router via the expander connection router. The disk is subjected to the physical update. In an embodiment of the invention, the non-volatile memory system is a flash memory. In an embodiment of the invention, the SAS expander further includes a SAS port. In an embodiment of the invention, the disk firmware update device further includes a server host, which includes an HBA or a RAID controller, and the server host The SAS cable is connected to the SAS port of the SAS expander. In an embodiment of the invention, the SAS expander further includes a serial port that is electrically coupled to the embedded microprocessor. In an embodiment of the invention, the disk firmware updating device further includes a personal electric service host connected to the serial port of the sas expander by a serial bus (Seriai bus). 6 200949701 Invented again & a disk with a magnetic charge II = magnetic gamma - non-volatile memory: get = ▲ f sister (10) start 11-axis program - the reclining command to collect the remaining facial memory The disk firmware is firmware-updated for the specific disk. Inventive-Embodiment The above-mentioned downloading step is performed by a feeder host including an HBA or a RAID device, and the scsi box is sent through one (four) port. The code of the SCSI Enclosure Service SEs controls the diagnostic page to download the disk firmware. In the embodiment of the present invention, the downloading step is performed by a human computer host through a series of files to download the disk firmware. The present invention stores a disk firmware by configuring a non-volatile memory, and loads the SATA host controller driver and the SCSI initiator driver in the embedded microprocessor of the SAS expander, so the pair is connected to the SAS expander. Same When multiple SATA disks or multiple SAS disks are used for firmware update, only one disk firmware is downloaded, which greatly shortens the firmware update time and improves the firmware update efficiency. In addition, the magnetic field provided by the present invention is provided. The disk firmware update method can update the disk firmware through the scsi box service function to supplement the vacancy of the disk firmware that cannot be updated by the scsi box service function, and perfect and unify the devices in the box. The present invention provides a disk firmware update method, which can also use a serial port of a general personal computer host to implement disk firmware update without an HBA and a RAID controller. Large equipment reduces the complexity of the upgrade. The above and other objects, features and advantages of the present invention will become more apparent. [Embodiment] Referring to FIG. 2, a disk body renewal device 20 according to an embodiment of the present invention includes a SAS expander 22 and a non-volatile memory 23. The SAS expander 22 includes an embedded microprocessor (221), an expander connection router (ECR) 223, a SAS port 225, and a serial port 227. Expander connection router 223 is used to connect SATA disk and SAS magnetic

碟;嵌入式微處理器221係與擴展器連接路由器223電性轉 接,其内裝載有一 SATA主機控制器(SATA Host)驅動程式及 一 SCSI啟動器(SCSI Initiator)驅動程式;SAS連接埠225與擴 展器連接路由器223相連接,其可透過一 SAS纜線24與一包 含HBA或RAID控制器的伺服器主機26相耦接(請參閱圖3 所示);串列埠227與嵌入式微處理器221相連接,其可透過 一 1列匯流排(Serial BUS)纜線34與一個人電腦主機%相耦接 (請參,圖4所示)。非揮發性記憶體23電性_接至喪入式 微處理器22卜其可為一快閃記憶體。非揮發性記憶體23,係 用以儲存欲更新之磁碟勃體;此磁碟勒體由嵌人式微處理器 221選擇性地調用SATA主機控制器驅動程式及㈣啟動器 驅動程式之-者’並透過擴展器連接路由器223發送至一特定 磁碟進行韌體更新。 下面將/、體把述採用磁碟勤體更新裝置對連接至Μ 擴展器22之擴展器遠接 減於Γ 接由器223上的从丁八磁碟,及(或) SAS磁碟進仃磁碟韌體更新之方法。 »月併參考圖3,在一實施例中藉一 將SAS擴展器22無接』精田規線 耦接至一伺服器主機26。具體的表現是伺服 8 200949701 器主機26包含:一 HBA或rajd控制器261及一電性耦接至 HBA或RAID控制器261的SAS連接埠263,又SAS 器 22之SAS連接埠225與飼服器主機%之SAS連接埠263二 者間係藉一 SAS纜線24耦接。本實施例之磁碟韌體更新方法 可包括以下步驟: (1)由HBA或RAID控制器261透過其SAS連接埠263發 送scsn目體服務(SCSI Enclosure Service,SES)之下載微代碼 I ©(Download Microcode Control Diagnostic Page) » ⑩將s欲更新之磁碟勒體下載至非揮發性記憶體23 ;具體的表 現疋·ΗΒΑ或MD控制器261通過發送診斷(Send Diagnostic) 命令,將包含有磁碟滅之下紐代碼控制賴f面傳送至後 ^式微處理器22卜再由嵌人式微處理221將接收到的磁碟勃 儲存至非揮發性記憶體23。其中,下賴代碼控制診斷頁 面之各字節的定義可參見表^。The embedded microprocessor 221 is electrically connected to the expander connection router 223, and has a SATA host controller (SATA Host) driver and a SCSI Initiator driver; the SAS port 225 and The expander connection router 223 is connected, and can be coupled to a server host 26 including an HBA or a RAID controller via a SAS cable 24 (see FIG. 3); the serial port 227 and the embedded microprocessor The 221 is connected, which can be coupled to a personal computer host through a 1 row of bus BUS cable 34 (see, Figure 4). The non-volatile memory 23 is electrically connected to the immersive microprocessor 22, which can be a flash memory. The non-volatile memory 23 is used to store the disk body to be updated; the disk body is selectively invoked by the embedded microprocessor 221 to selectively call the SATA host controller driver and (4) the initiator driver. 'And send it to a specific disk for firmware update via the expander connection router 223. In the following, the disk extension device is connected to the extender connected to the Μ expander 22 to be reduced from the D8 disk and/or the SAS disk. The method of disk firmware update. Referring to Fig. 3, in an embodiment, the SAS expander 22 is coupled to a server host 26 by means of a non-connected SAS regulator. The specific performance is that the servo 8 200949701 host 26 includes: an HBA or rajd controller 261 and a SAS port 263 electrically coupled to the HBA or RAID controller 261, and a SAS port 225 of the SAS device 22 and the feeding device. The SAS port 263 of the host % is coupled by a SAS cable 24. The disk firmware updating method of this embodiment may include the following steps: (1) Sending a download microcode I © by the HBA or RAID controller 261 through its SAS port 263 to the scsn SCSI Enclosure Service (SES) Download Microcode Control Diagnostic Page) » 10 Download the disk to be updated to non-volatile memory 23; the specific performance 疋·ΗΒΑ or MD controller 261 will contain the magnetic by sending a diagnostic (Send Diagnostic) command The disc code is transferred to the rear microprocessor 22 and then stored by the embedded microprocessor 221 to the non-volatile memory 23. The definition of each byte of the diagnostic code page can be found in Table 2.

傳送長廑 影像數據 保留 互?識別#Γ 次緩存的偏移量 羞個磁碟韌體的影後县唐 I 次傳送的影傻县唐 表 -數據頭後的影像數據 1中的η表不整個頁面的長度,槽位識別號指明要進行韌體 新的磁碟於箱體中的槽位,例如,當xxh=05h時,則表示更 〇 9 200949701 新箱體中之槽位為5 新箱體中之所有磁‘體’ # xxh=FFh時,則表示更 磁碟之槽位來設定xxh之雜射根據需要進飾體更新的 微處理器221藉由擴展 1八體的表現疋,嵌入式Transfer Long Image Data Retained Mutual? Identification #Γ The cache offset is ashamed of the disk firmware of the shadow of the county Tang I transmission of the shadow silly county Tang table - the data in the data head after the data table 1 is not the length of the entire page, the slot identification The number indicates that the new disk of the firmware is to be in the slot in the box. For example, when xxh=05h, it means that the slot in the new box is 5 new boxes in the new box. ' # xxh=FFh, it means that the slot of the disk is set to set the xxh miscellaneous. According to the performance of the microprocessor 221 that needs to be updated, it is embedded by expanding the performance of the one-eighth body.

的特定磁碟建連接由15 223與需要進行勒體更新 還是訊’傾取此特定磁碟之磁碟_是SATAThe specific disk is connected by 15 223 and needs to be refreshed or the message 'draws the disk of this particular disk _ is SATA

G ❹ (3),據所獲取之磁碟類型,選擇性地調用s 發送相應科令,赌特定磁碟 根據下載至非揮發性記憶體23之磁碟韌 體’對此特定磁碟進行_更新。 ㈣ '、體的表現是,⑻當此特定磁碟之磁碟類型為SATA時, :入式微處理器221則調用SATA主機控制器驅動程式,向磁 、類型為SATA之此特定磁碟發送下載微代碼吻遍⑽ MlCr〇C〇de)命令,以根據下載至非揮發性記憶體23之磁碟韌 體’對此特定磁碟進行勒體更新。其中,T載微代碼命令之各 個字的定義可參見表2。G ❹ (3), according to the type of disk obtained, selectively invokes s to send the corresponding command, betting that the specific disk is based on the disk firmware downloaded to the non-volatile memory 23 for this particular disk _ Update. (4) ', the performance of the body is, (8) When the disk type of this particular disk is SATA, the input microprocessor 221 calls the SATA host controller driver to send the download to the specific disk of the magnetic type SATA. The microcode kisses (10) MlCr〇C〇de) commands to perform a lookup update of this particular disk based on the disk firmware downloaded to non-volatile memory 23. The definition of each word of the T-loaded microcode command can be found in Table 2.

保留 廢棄 保留 可選的具偏移量下載及存儲微代 瑪,用於即時及將來使用 保留 下載及存儲微代碼,用於即時及將 來使用 04h-06h 07hReserved Obsolete Reserved Optional offset download and storage micro-maze for immediate and future use Reserved Download and store microcode for immediate and future use 04h-06h 07h

Olh 1F5 ^ 位元 W宙 說明 15:8 保留 200949701 7:0 塊計數(低階) 02h-04h 邀輯塊尋址 位元 說明 47:24 保留 23:8 緩存偏移量(僅用於特性=〇3h,否則 此字段為保留) 7:〇 塊計數(高階) 05h 設備 位元 說明 15 廢棄 14 空 13 廢棄 12 傳輸依賴-見6.1.9 11:8 保留 下載微代碼命令為一種ΑΤΑ命令,可用於實現SATA磁碟之 韌體更新;當特性設為〇3h時,表示磁碟韌體的传输需要多個 下載微代碼命令来完成;當特性設為〇7h時,表示磁碟韌體的 传输只需要一個下載微代碼命令就可以完成。 (b)當此特定磁碟之磁碟類型為SAS時,嵌入式微處理器 ^1、則調用scsi啟動器驅動程式,向磁碟類型為SAS之此特 ,磁碟發送寫緩存(WriteBuffer)命令,以根據下載至非揮發性 2體23之磁雜體,對此特定磁碟進行㈣更新。其中, 冩緩存命令之各字節的定義可參見表3。Olh 1F5 ^ Bits W Zhou Description 15:8 Reserved 200949701 7:0 Block Count (Low Order) 02h-04h Invitation Block Addressing Bit Description 47:24 Reserved 23:8 Cache Offset (only for feature = 〇3h, otherwise this field is reserved) 7: 〇 block count (higher order) 05h device bit description 15 discarded 14 empty 13 discarded 12 transmission dependent - see 6.1.9 11:8 reserved download microcode command as a ΑΤΑ command, available To achieve firmware update of SATA disk; when the feature is set to 〇3h, it means that the transmission of the disk firmware requires multiple download microcode commands to complete; when the feature is set to 〇7h, it indicates the transmission of the disk firmware. It only needs one download microcode command to complete. (b) When the disk type of this particular disk is SAS, the embedded microprocessor ^1 calls the scsi initiator driver to send a write buffer (WriteBuffer) command to the disk type SAS. According to the magnetic hybrid downloaded to the non-volatile 2 body 23, (4) is updated for this particular disk. The definition of each byte of the cache command can be found in Table 3.

200949701200949701

8 (最高位) 9 參數列表長度8 (highest digit) 9 parameter list length

^緩存命令為-種SCSI命令,可用於實現SAS磁碟之幢更 鬱 ❹ 八當模式設為5時’表示剌㈣的傳輸只需要—個寫緩存 -P令=可以完成;當模式設為7時,表示磁碟_ 多個寫緩存命令來完成。 ,-併參考圖4,在另—實施财,可藉由—串列匯流排 齡34,將SAS擴展器22麵接至一個人電腦(pers〇nai^ Cache command is a kind of SCSI command, which can be used to realize the more sturdy structure of SAS disk. When the mode is set to 5, 'represents the transmission of 剌 (4) only needs to be - write cache - P command = can be completed; when the mode is set At 7 o'clock, it indicates that the disk_multiple write cache command is completed. And - referring to FIG. 4, in another implementation, the SAS expander 22 can be connected to a personal computer by means of the serial bus age 34 (pers〇nai

Copnto,PQ主機36。具體的表現是,個人電腦主機%具有 1埠363 ’ SAS擴展器22之串列槔227與個人電腦主機 之串列埠363二者間係藉一串列匯流排镜線%轉接。本實 施例之磁碟韌體更新方法可包括以下步驟: 之人電腦主機36 ’透過其串列埠363發送一欲更新 體,以將此磁碟勤體下載至非揮發性記憶體幻;具 Πί ’個人電腦主機36透過其串列物將此幾 式微處理器221,再由嵌入式微處理器221將此 磁碟勒體儲存於非揮發性記憶體。 挪走(11)獲取—特定刺之__ ;具_表現是,嵌入式Copnto, PQ host 36. The specific performance is that the personal computer host % has a serial port 227 of 1 363 ’ SAS expander 22 and a serial port 363 of the personal computer host are transferred by a series of bus bar mirror lines %. The disk firmware updating method of the embodiment may include the following steps: the human computer host 36' sends a desired update body through the serial port 363 to download the disk body to the non-volatile memory phantom;个人 ' 'The personal computer host 36 stores the disk in the non-volatile memory by the microprocessor 221 through its serial device and then by the embedded microprocessor 221. Move away (11) to get - specific thorn __; with _ performance is, embedded

微處理器221藉由擴展薄遠垃牧山gg A 減“、展器連接路由15與需要進行勒體更新The microprocessor 221 is reduced by expanding the thin far grazing mountain gg A, and the expander is connected to the route 15 and needs to be updated.

请β ' 軌,以獲取此特定磁碟之磁翻型是SATA 還是SAS。 所觀之磁翻型,選雜地_s纽主機控 制減動程式及奶1啟動器驅動程式之-者,向此特定磁碟 12 200949701 碟的磁碟類型為SATA時’嵌入式微處理器則:用==: 控制器驅動程式,向此特定磁碟發送下载 以非憶:23之磁雜體,對此特定;碟 器===的磁碟類型為SAS時,嵌入式微處理 ^調用SCSI啟動_驅動程式’向此特Please use the β' track to get the magnetic flip type for this particular disk is SATA or SAS. The view of the magnetic flip type, the choice of the _s new host control mitigation program and the milk 1 starter driver - to this specific disk 12 200949701 disk type is SATA when the 'embedded microprocessor : Use the ==: controller driver to send a download to this particular disk to a non-recall: 23 magnetic body, which is specific; when the disk type === disk type is SAS, embedded micro processing ^ call SCSI Start _driver' to this special

❹ ::=r-_23之磁』= 此外,將磁碟勒體下載至非揮發性記憶體23巾,並不限 於上述實施例之,透過伺服器主機26之SAS連接埠263及個 2腦主機36之㈣埠363,將磁碟勒體發送至嵌入式微處 理器221 ’再由嵌入式微處理器221儲存至非 之方式;亦可絲過-電子設備(可為個人電腦主機):將磁 碟勤體直接下載至非揮發性記憶體23,再將此非揮發性記憶 體23麵接至SAS擴展器22之散入式微處理器221。 综上所述,本發明實施例藉由配置一非揮發性記憶體來儲 存磁碟韌體’並於SAS擴展器之嵌入式微處理器内裝載SATA 主機控制器驅動程式及SCSI啟動器驅動程式,因此對連接至 SAS擴展器之同一型號的多個SATA磁碟或多個sas磁碟進 行勒體更新時’只需下載一次磁碟韌體,大大縮短了韌體更新 時間’提高了動體更新效率。此外,本發明實施例提供之磁 碟物體更新方法’可通过SCSI箱體服務功能来更新磁碟韌 體’坪補了先前不能由SCSI箱體服務功能来更新磁碟韌體的 空缺’完善并统一了箱體中各設備的管理。本發明實施例提供 之磁碟韌體更新方法,亦可以在没有HBA和RAID控制器之 13 200949701 情况下’使用普通個人電腦主機的串列埠來實現磁碟韌體的更 新’無需伺服器主機这样的龐大設備,降低了升级的複雜度。 雖然本發明已經以較佳實施例揭露如上,然其並非用以限 定本發明,任何熟習此技藝者’在不脫離本發明之技術範圍 内,當可作些許之更動與潤飾,因此本發明之保護範圍當視後 附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖1為習知磁碟儲存系統之結構示意圖。 ❹構示^ ®2。為本發明實施例提出之—種磁碟幢更新裝置之結 結構=圖2所示磁獅更新裝纖至-舰器主機之 之結=:2所示磁•想更新装顺至-個人電腦主機 【主要元件符號說明】 10:磁碟儲存系統 12 :儲存子系統 ® 122:SAS擴展器 124 :儲存陣列 14 : SAS纜線 16 :伺服器主機 161 : HBA或raid控制器 20 :磁碟韌體更新裝置 22 I SAS擴展器 221 :嵌入式微處理器 223 ·擴展器連接路由器 200949701 225 : SAS連接埠 227 :串列埠 23 :非揮發性記憶體 24 : SAS纜線 26 :伺服器主機 261 : HBA或RAID控制器 263 : SAS連接埠 34 :串列匯流排纜線 φ 36:個人電腦主機 363 :串列埠❹ ::=r-_23的磁』= In addition, downloading the disk to the non-volatile memory 23 is not limited to the above embodiment, and the SAS connection via the server host 26 is 263 and 2 brains. (4) 363 of the host 36, the disk is sent to the embedded microprocessor 221 'and then stored by the embedded microprocessor 221 to the other way; can also be passed - electronic device (can be a personal computer host): magnetic The disk body is directly downloaded to the non-volatile memory 23, and the non-volatile memory 23 is connected to the floating microprocessor 221 of the SAS expander 22. In summary, the embodiment of the present invention stores a disk firmware by configuring a non-volatile memory and loads a SATA host controller driver and a SCSI initiator driver in an embedded microprocessor of the SAS expander. Therefore, when performing a zoom update on multiple SATA disks or multiple sas disks of the same model connected to the SAS expander, 'just download the disk firmware once, which greatly shortens the firmware update time' and improves the dynamic update. effectiveness. In addition, the method for updating a disk object provided by the embodiment of the present invention can update the disk firmware through the SCSI box service function to ping up the vacancy of the disk firmware that cannot be updated by the SCSI box service function. Unified management of each device in the cabinet. The method for updating the disk firmware provided by the embodiment of the present invention can also implement the update of the disk firmware by using the serial port of the ordinary personal computer host without the HBA and the RAID controller 13 200949701. Such a large device reduces the complexity of the upgrade. Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the invention, and the skilled in the art can make some modifications and retouchings without departing from the technical scope of the present invention. The scope of protection is subject to the definition of the scope of the patent application attached. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural view of a conventional disk storage system. ❹ Structure ^ ®2. The structure of the magnetic disk building updating device proposed in the embodiment of the present invention is as follows: Figure 2 shows the magnetic lion update fiber loading to the ship's host node =: 2 shows the magnetic wave; want to update the device to the personal computer Host [Main component symbol description] 10: Disk storage system 12: Storage subsystem® 122: SAS expander 124: Storage array 14: SAS cable 16: Server host 161: HBA or raid controller 20: Disk toughness Body update device 22 I SAS expander 221: embedded microprocessor 223 · expander connection router 200949701 225 : SAS port 227 : serial port 23 : non-volatile memory 24 : SAS cable 26 : server host 261 : HBA or RAID controller 263: SAS connection 埠34: tandem bus cable φ 36: PC host 363: serial port 埠

1515

Claims (1)

200949701 十、申請專利範圍: 1. 一種磁碟韌體更新裝置,其包括有一 SAS擴展器及一 •非揮發性記憶體,其中該: SAS擴展器’其包括有一擴展器連接路由器及一嵌入式微 處理器;其中該: 擴展器連接路由器,用以連接SATA磁碟及SAS磁碟; 嵌入式微處理器,與該擴展器連接路由器電性耦接,且該 嵌入式微處理器内裝載有一 SATA主機控制器驅動程式及一 ❹ SCSI啟動器驅動程式; 非揮發性記憶體,電性耦接至該嵌入式微處理器,該非揮 發性記憶體用以儲存欲更新之磁碟韌體,該磁碟韌體由該嵌入 式微處理器,選擇性地調用該SATA主機控制器驅動程式及該 SCSI啟動器驅動程式之一者,並透過該擴展器連接路由器發 送至一特定磁碟進行動體更新。 2. 如申請專利範圍第1項所述之磁碟韌體更新裝置,該非 揮發性記憶體係一快閃記憶體。 3. 如申請專利範圍第丨項所述之磁碟韌體更新裝置,該 SAS擴展器更包括一 SAS連接蟑,其電性輕接至鋪展器連 接路由器。 4·如申請專利範圍第3項所述之磁碟韌體更新裝置,更包 括一伺服器主機,其包含一 HBA或RAID控制器,該伺服器 主機藉由一 SAS '纜線與該SAS擴展器之該SAS連接埠相連 接。 5.如申請專利範圍第1項所述之磁碟韌體更新裝置,其中 該SAS擴展器更包括一串列槔,其與該喪入式微處理器電性 耦接。 16 200949701 6·如申請專利範圍第5項所述之磁碟韌體更新裝置,更包 括一個人電腦主機,其藉由一串列匯流排纜線與該SAS擴展 器之該串列埠相連接。 、 7. —種磁碟韌體更新方法,其包括步驟: 下載一欲更新之磁碟韌體至一非揮發性記憶體; 獲取一特定磁碟之磁碟類型;以及 器驅獲取之磁碟類型,選擇性地調用- SATA主機控制 器驅動料及—SCSI啟脑驅動程式之—者,向 ^送命令,以根據下載至該非揮發性記憶體的該磁· 體’對該特定磁碟進行韌體更新。 ’ 該下料職圍第7項所叙猶幢更财法,其中 :過其1=;==『广制器之器主機 斷頁面來下_磁^= 務之下賴代碼控制診 馨 該下請範圍第7項所叙_幢更财法,其中 _體 個人電腦域透過其—串辨來下载該磁 中兮專利範圍第7項所述之磁碟_更新方法,其 以非揮發性記麵係—快閃記鐘。 、 17200949701 X. Patent application scope: 1. A disk firmware updating device, comprising a SAS expander and a non-volatile memory, wherein: the SAS expander includes an expander connection router and an embedded micro a processor; wherein: the expander is connected to the router for connecting the SATA disk and the SAS disk; the embedded microprocessor is electrically coupled to the expander connection router, and the embedded microprocessor is loaded with a SATA host control And a SCSI initiator driver; the non-volatile memory is electrically coupled to the embedded microprocessor, and the non-volatile memory is used to store the disk firmware to be updated, the disk firmware The DRAM host controller driver and one of the SCSI initiator drivers are selectively invoked by the embedded microprocessor, and are sent to a specific disk through the expander connection router for dynamic update. 2. The disk firmware updating device according to claim 1, wherein the non-volatile memory system is a flash memory. 3. The disk firmware update device as claimed in claim 3, wherein the SAS expander further comprises a SAS port, which is electrically connected to the spreader connection router. 4. The disk firmware update device of claim 3, further comprising a server host comprising an HBA or a RAID controller, the server host being extended by the SAS cable and the SAS The SAS port of the device is connected. 5. The disk firmware update device of claim 1, wherein the SAS expander further comprises a serial port electrically coupled to the die-in microprocessor. The disk firmware updating device of claim 5, further comprising a personal computer host connected to the serial port of the SAS expander by a serial bus bar. 7. A method for updating a disk firmware, comprising the steps of: downloading a disk firmware to be updated to a non-volatile memory; acquiring a disk type of a specific disk; and acquiring a disk of the disk drive Type, selectively invoked - SATA host controller driver and - SCSI brain driver - to send a command to toughen the particular disk based on the magnetic body downloaded to the non-volatile memory Body update. 'The seventh section of the blanking division is a more financial method, in which: 1 =; == "The controller of the wide-scale device is broken down. _Magnetic ^= In the scope of the seventh paragraph, the _ block of the financial method is described, in which the _ body PC domain downloads the disk_update method described in item 7 of the magnetic patent, which is non-volatile. Facial system - flashing clock. , 17
TW097119926A 2008-05-29 2008-05-29 Apparatus and method for hard drive firmware update TWI365410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW097119926A TWI365410B (en) 2008-05-29 2008-05-29 Apparatus and method for hard drive firmware update

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097119926A TWI365410B (en) 2008-05-29 2008-05-29 Apparatus and method for hard drive firmware update

Publications (2)

Publication Number Publication Date
TW200949701A true TW200949701A (en) 2009-12-01
TWI365410B TWI365410B (en) 2012-06-01

Family

ID=44871061

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097119926A TWI365410B (en) 2008-05-29 2008-05-29 Apparatus and method for hard drive firmware update

Country Status (1)

Country Link
TW (1) TWI365410B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI562070B (en) * 2015-08-12 2016-12-11 Quanta Comp Inc Updating method, server system and non-transitory computer readable medium
TWI595415B (en) * 2016-05-30 2017-08-11 神雲科技股份有限公司 Firmware updating control method
TWI657374B (en) * 2017-05-02 2019-04-21 廣達電腦股份有限公司 Sas hard disk drive update via management controller and system using the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI562070B (en) * 2015-08-12 2016-12-11 Quanta Comp Inc Updating method, server system and non-transitory computer readable medium
TWI595415B (en) * 2016-05-30 2017-08-11 神雲科技股份有限公司 Firmware updating control method
TWI657374B (en) * 2017-05-02 2019-04-21 廣達電腦股份有限公司 Sas hard disk drive update via management controller and system using the same
US10747437B2 (en) 2017-05-02 2020-08-18 Quanta Computer Inc. SAS hard disk drive update via management controller
US10884624B2 (en) 2017-05-02 2021-01-05 Quanta Computer Inc. SAS/SATA hard disk drive update via management controller

Also Published As

Publication number Publication date
TWI365410B (en) 2012-06-01

Similar Documents

Publication Publication Date Title
TWI444833B (en) Data prefetch in sas expanders
JP5284905B2 (en) Data migration method and program
US10339079B2 (en) System and method of interleaving data retrieved from first and second buffers
JP2019105873A (en) Memory system and control method
JP2007156667A (en) Storage device and its capacity management method
CN104838365A (en) Methods and systems for provisioning bootable image on to external drive
TW201104439A (en) Suspension of memory operations for reduced write latency in memory arrays
KR20200078382A (en) Solid-state drive with initiator mode
TW201025114A (en) File system for storage device which uses different cluster sizes
US20050144421A1 (en) Data management device and method for flash memory
JP2005258804A (en) Memory card apparatus and memory card control method
CN109471812B (en) Memory device and control method of nonvolatile memory
CN109067523A (en) A kind of data ciphering method of encrypted card
TW201409475A (en) High performance persistent memory
KR20190054448A (en) Storage device sharing attribute information with host device to use host memory buffer and electronic device including the same
US11379155B2 (en) System and method for flash storage management using multiple open page stripes
US11132291B2 (en) System and method of FPGA-executed flash translation layer in multiple solid state drives
CN104461777A (en) Data mirroring method in storage array and storage array
CN101031898B (en) Implementing bufferless dma controllers using split transactions
TW200949701A (en) Apparatus and method for hard drive firmware update
US20140297596A1 (en) Home appliance storage virtualization method and apparatus
JP2009032305A (en) Information recording device and control method therefor
JP2008016024A (en) Dynamic adaptive flushing of cached data
US20120210027A1 (en) Speculative read-ahead for improving system throughput
WO2018119662A1 (en) Kernel update method and apparatus, and computer device