JP2019159415A - Update processing device, update processing method, and program - Google Patents
Update processing device, update processing method, and program Download PDFInfo
- Publication number
- JP2019159415A JP2019159415A JP2018041160A JP2018041160A JP2019159415A JP 2019159415 A JP2019159415 A JP 2019159415A JP 2018041160 A JP2018041160 A JP 2018041160A JP 2018041160 A JP2018041160 A JP 2018041160A JP 2019159415 A JP2019159415 A JP 2019159415A
- Authority
- JP
- Japan
- Prior art keywords
- processor
- firmware
- updated
- update
- designated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、マルチプロセッサを搭載したシステムにおいてファームウェアを更新するための、更新処理装置、及び更新処理方法に関し、更には、これらを実現するためのプログラムに関する。 The present invention relates to an update processing apparatus and update processing method for updating firmware in a system equipped with a multiprocessor, and further relates to a program for realizing these.
近年、シングルプロセッサの処理性能の限界から、組み込みシステムを含むコンピュータシステムにおいては、マルチプロセッサを搭載する場合が増加している。このようなマルチプロセッサを搭載したシステム(以下「マルチプロセッサシステム」と表記する。)によれば、大量のデータ及び命令を並列に処理できるため、システム全体の処理能力が飛躍的に向上することになる(例えば、特許文献1〜3参照)。 In recent years, due to limitations in processing performance of single processors, computer systems including embedded systems are increasingly equipped with multiprocessors. According to a system equipped with such a multiprocessor (hereinafter referred to as “multiprocessor system”), a large amount of data and instructions can be processed in parallel, so that the processing capacity of the entire system is dramatically improved. (For example, see Patent Documents 1 to 3).
また、このようなマルチプロセッサシステムには、対称型マルチプロセッシング(SMP:Symmetric Multiprocessing)と呼ばれる方式と、非対称型マルチプロセッシング(AMP:Asymmetric Multiprocessing)と呼ばれる方式とがある。このうち、SMPは、プロセッサ間に特別な役割及び主従関係等がなく、各プロセッサは対等であり、処理要求が全てのプロセッサに均等に割り当てられる方式である。一方、AMPは、プロセッサ間に特別な役割及び主従関係等があり、プロセッサ毎に異なる処理が割り当てられる方式である。 Such multiprocessor systems include a method called symmetric multiprocessing (SMP) and a method called asymmetric multiprocessing (AMP). Among these, SMP is a method in which there is no special role, master-slave relationship, etc. between processors, each processor is equal, and processing requests are equally allocated to all processors. On the other hand, AMP has a special role, master-slave relationship, and the like between processors, and a different process is assigned to each processor.
ところで、上述したマルチプロセッサシステムであっても、シングルプロセッサで構成されたシステム(以下「シングルプロセッサシステム」と表記する。)と同様に、ファームウェアをアップデートする場合は、システムを一旦停止し、その後、再起動を行う必要がある。 By the way, even in the above-described multiprocessor system, as in the case of a system configured with a single processor (hereinafter referred to as “single processor system”), when updating firmware, the system is temporarily stopped, A restart is required.
しかしながら、マルチプロセッサシステムは、シングルプロセッサシステムに比べて処理性能が高く、高い業務処理能力が求められる場面に採用されている。このため、マルチプロセッサシステムにおいては、システムを停止することなく、ファームウェアをアップデートすることが強く求められている。 However, the multiprocessor system is employed in a scene where processing performance is higher than that of a single processor system and high business processing capability is required. For this reason, in a multiprocessor system, it is strongly required to update the firmware without stopping the system.
本発明の目的の一例は、上記問題を解消し、マルチプロセッサシステムにおいて、再起動を行うことなく、ファームウェアをアップデートし得る、更新処理装置、更新処理方法、及びプログラムを提供することにある。 An object of the present invention is to provide an update processing apparatus, an update processing method, and a program capable of solving the above problems and updating firmware without restarting in a multiprocessor system.
上記目的を達成するため、本発明の一側面における更新処理装置は、複数のプロセッサを備えたマルチプロセッサシステムにおいて、前記複数のプロセッサのうちのいずれか又は全部のファームウェアを更新するための装置であって、
前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以
外のプロセッサを指定し、その動作を停止させる、プロセッサ指定部と、
指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、代替処理実行部と、
前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ファームウェア更新部と、
を備えている、ことを特徴とする。
In order to achieve the above object, an update processing apparatus according to an aspect of the present invention is an apparatus for updating any or all of the plurality of processors in a multiprocessor system including a plurality of processors. And
A processor designation unit that designates a processor other than the processor that is the target of firmware update from the plurality of processors, and stops the operation; and
The specified firmware is written in the memory area of the specified processor, and the specified processor is specified so that the data stored in the memory area of the processor to be updated can be accessed. An alternative processing execution unit that modifies the memory map setting of the processor and causes the designated processor to perform the processing of the processor that is the update target;
A firmware update unit that writes the updated firmware to the memory area of the processor to be updated and updates the firmware of the processor to be updated;
It is characterized by having.
また、上記目的を達成するため、本発明の一側面における更新処理方法は、複数のプロセッサを備えたマルチプロセッサシステムにおいて、前記複数のプロセッサのうちのいずれか又は全部のファームウェアを更新するための方法であって、
(a)前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、ステップと、
(b)指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、ステップと、
(c)前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ステップと、
を有する、ことを特徴とする。
In order to achieve the above object, an update processing method according to an aspect of the present invention is a method for updating any or all of the plurality of processors in a multiprocessor system including a plurality of processors. Because
(A) designating a processor other than the processor whose firmware is to be updated from the plurality of processors, and stopping the operation; and
(B) The updated firmware is written in the memory area of the designated processor, and further, the designated processor can access the data stored in the memory area of the processor to be updated. Modifying the memory map setting of the designated processor and causing the designated processor to perform the processing of the processor to be updated; and
(C) writing the updated firmware in the memory area of the processor to be updated, and updating the firmware of the processor to be updated;
It is characterized by having.
更に、上記目的を達成するため、本発明の一側面におけるプログラムは、複数のプロセッサを備えたマルチプロセッサシステムにおいて、前記複数のプロセッサのうちのいずれか又は全部のファームウェアを更新するためのプログラムであって、
前記複数のプロセッサのいずれかに、
(a)前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、ステップと、
(b)指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、ステップと、
(c)前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ステップと、
を実行させる、ことを特徴とする。
Furthermore, in order to achieve the above object, a program according to one aspect of the present invention is a program for updating any or all of the firmware of a plurality of processors in a multiprocessor system including a plurality of processors. And
Any one of the plurality of processors,
(A) designating a processor other than the processor whose firmware is to be updated from the plurality of processors, and stopping the operation; and
(B) The updated firmware is written in the memory area of the designated processor, and further, the designated processor can access the data stored in the memory area of the processor to be updated. Modifying the memory map setting of the designated processor and causing the designated processor to perform the processing of the processor to be updated; and
(C) writing the updated firmware in the memory area of the processor to be updated, and updating the firmware of the processor to be updated;
Is executed.
以上のように本発明によれば、マルチプロセッサシステムにおいて、再起動を行うことなく、ファームウェアをアップデートすることができる。 As described above, according to the present invention, firmware can be updated in a multiprocessor system without restarting.
(実施の形態)
以下、本発明の実施の形態における、更新処理装置、更新処理方法、及びプログラムについて、図1〜図5を参照しながら説明する。
(Embodiment)
Hereinafter, an update processing device, an update processing method, and a program according to an embodiment of the present invention will be described with reference to FIGS.
[装置構成]
最初に、図1を用いて、本発明の実施の形態における更新処理装置の概略構成について説明する。図1は、本発明の実施の形態における更新処理装置の概略構成を示すブロック図である。
[Device configuration]
First, the schematic configuration of the update processing apparatus according to the embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a schematic configuration of an update processing apparatus according to an embodiment of the present invention.
図1に示す本実施の形態における更新処理装置10は、複数のプロセッサを備えたマルチプロセッサシステム100において、複数のプロセッサのうちの、いずれか又は全部のプロセッサのファームウェアを更新するための装置である。
An
図1に示すように、更新処理装置10は、プロセッサ指定部11と、代替処理実行部12と、ファームウェア更新部13とを備えている。プロセッサ指定部15は、複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる。
As illustrated in FIG. 1, the
代替処理実行部12は、まず、指定されたプロセッサのメモリ領域に、更新後のファームウェアを書き込む。次いで、代替処理実行部12は、指定されたプロセッサが、更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正する。そして、代替処理実行部12は、指定されたプロセッサに、更新対象となっているプロセッサの処理を行わせる。
First, the alternative
ファームウェア更新部13は、更新対象となっているプロセッサのメモリ領域に、更新後のファームウェアを書き込み、更新対象となっているプロセッサのファームウェアを更新する。
The
このように、本実施の形態では、マルチプロセッサシステムを構成するプロセッサのファームウェアを更新しないといけない場面において、更新対象となるプロセッサの処理を、別のプロセッサによって肩代わりすることができる。このため、本実施の形態によれば、マルチプロセッサシステムにおいて、再起動を行うことなく、ファームウェアをアップデートすることができる。 As described above, in the present embodiment, the processing of the processor to be updated can be taken over by another processor when the firmware of the processor constituting the multiprocessor system must be updated. Therefore, according to the present embodiment, the firmware can be updated without restarting in the multiprocessor system.
続いて、図2を用いて、本実施の形態における更新処理装置10の構成をより具体的に説明する。図2は、本発明の実施の形態における更新処理装置の具体的構成を示すブロック図である。
Next, the configuration of the
図2の例では、マルチプロセッサシステム100は、単一のメインプロセッサ20と、メインプロセッサ20の指示に応じて動作する2つ以上のサブプロセッサ30とを備えている。メインプロセッサ20と、サブプロセッサ30とは、バス40によって接続されている。なお、メインプロセッサ20と、サブプロセッサ30とは、相手のメモリを読み書
き可能な環境にあれば良く、バス40以外の手段によって接続されていても良い。
In the example of FIG. 2, the
また、マルチプロセッサシステム100において、メインプロセッサ20は、専用のRAM(Random Access Memory)21と、ファームウェアを格納したフラッシュROM(Read Only Memory)22と、専用のI/Oコントローラ23とを備えている。メインプロセッサ20は、起動時において、フラッシュROMからファームウェアを読み出し、これをRAM21に展開する。また、各サブプロセッサ30も、専用のRAM31を備えている。なお、本実施の形態において、サブプロセッサ30の個数は特に限定されるものではない。
In the
このようなマルチプロセッサシステム100において、通常、サブプロセッサ30のファームウェアを更新する場合は、システム自体を停止しなくても良いが、メインプロセッサ20のファームウェアを更新する場合は、システム自体を停止する必要性がある。これに対して、更新処理装置10によれば、システム自体を停止することなく、メインプロセッサ20のファームウェアの更新が可能となる。
In such a
また、本実施の形態では、更新処理装置10は、メインプロセッサ20によって構築されている。具体的には、後述する本実施の形態におけるプログラムが、メインプロセッサ20のRAM21のメモリ領域に展開されると、メインプロセッサ20はプログラムのコードを実行する。これにより、更新処理装置10が構築されることになる。
In the present embodiment, the
本実施の形態では、更新処理装置10において、プロセッサ指定部11は、メインプロセッサがファームウェアの更新対象である場合に、いずれかのサブプロセッサ30を指定し、その動作を停止させる。
In the present embodiment, in the
また、本実施の形態では、代替処理実行部12は、まず、指定されたサブプロセッサ30のRAM31のメモリ領域に、更新後のファームウェアを書き込む。更に、代替処理実行部12は、指定されたサブプロセッサ30が、メインプロセッサ20のRAM21のメモリ領域に格納されたデータにアクセスできるように、指定されたサブプロセッサ30のメモリマップ設定を修正する。そして、代替処理実行部12は、指定されたサブプロセッサ30に、メインプロセッサ20の処理を行わせる。
In the present embodiment, the alternative
その後、ファームウェア更新部13は、指定されたサブプロセッサ30が、メインプロセッサ20の処理を行っている間に、メインプロセッサ20のRAM21のメモリ領域に、更新後のファームウェアを書き込み、メインプロセッサ20のファームウェアを更新する。
Thereafter, the
ここで、図2に加えて、図3を用いて、更新処理装置10の機能についてより具体的に説明する。図3は、本発明の実施の形態において、ファームウェアが有している、データのアクセス先のアドレスを示すテーブルの一例を示す図である。
Here, in addition to FIG. 2, the function of the
まず、本実施の形態では、ファームウェアは、データのアクセス先のアドレスを示すテーブル(以下「データアクセス箇所テーブル」と表記する)を有している。図3において、上段は、更新前のファームウェアのデータアクセス箇所テーブルを示し、中段は、更新後のファームウェアのデータアクセス箇所テーブルを示している。また、図3上段及び中段に示すように、データアクセス箇所テーブルは、シンボル毎に、アドレス及びオフセット(オフセットアドレス)を登録している。 First, in the present embodiment, the firmware has a table (hereinafter referred to as “data access location table”) indicating the address of the data access destination. In FIG. 3, the upper part shows the data access location table of the firmware before the update, and the middle part shows the data access location table of the firmware after the update. Also, as shown in the upper and middle stages of FIG. 3, the data access location table registers an address and an offset (offset address) for each symbol.
更に、図2に示すように、更新処理装置10は、本実施の形態では、上述したプロセッサ指定部11、代替処理実行部12、及びファームウェア更新部13に加えて、ファーム
ウェア変換部14を備えている。
Further, as shown in FIG. 2, the
ファームウェア変換部14は、更新前のファームウェアのテーブルと、更新後のファームウェアのテーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブル(図3の下段参照)を作成する。
The
具体的には、ファームウェア変換部14は、まず、更新前及び更新後のファームウェアそれぞれの「データアクセス箇所テーブル」を比較し、シンボルが同一で、アドレスが異なるエントリを特定する。次に、ファームウェア変換部14は、更新後のファームウェアにおいて、特定したエントリにおけるアドレスが更新前のファームウェアのアドレスとなるように、変換テーブルを作成する。
Specifically, the
また、変換テーブルには、「初期化」の欄が設定されており、この欄において、ファームウェア変換部14は、更新前のファームウェアからデータを引き継ぐエントリについては、「×」と設定する。一方、ファームウェア変換部14は、更新後のファームウェアにのみ存在するエントリについては、「○」と設定する。
In the conversion table, an “initialization” column is set. In this column, the
また、ファームウェア変換部14は、この変換テーブルを用いて、更新後のファームウェアにおけるアクセス先を変換する。この場合、代替処理実行部12は、アクセス先が変換された、更新後のファームウェアを、指定されたサブプロセッサ30のRAM31のメモリ領域に書き込み、指定されたサブプロセッサに、メインプロセッサ20の処理を肩代わりさせる。
Also, the
また、ファームウェア更新部13は、メインプロセッサ20のフラッシュROM22のメモリ領域に、アクセス先が変換された、更新後のファームウェアを書き込む。これにより、メインプロセッサ20において、ファームウェアが更新させる。その後、ファームウェア更新部13は、メインプロセッサ20に再起動を行わせる。再起動後、メインプロセッサ20は、更新されたファームウェアによって動作する。
Further, the
また、ファームウェア更新部13は、メインプロセッサ20のファームウェアを更新した後に、サブプロセッサ30それぞれ毎に、各サブプロセッサ30のRAM31のメモリ領域に、サブプロセッサ30の新たなファームウェアを書き込むことができる。この場合、ファームウェア更新部13は、書き込んだ新たなファームウェアを用いて、各サブプロセッサ30のファームウェアを更新する。
In addition, after updating the firmware of the
[装置動作]
次に、本発明の実施の形態1における更新処理装置10の動作について図4及び図5を用いて説明する。図4は、本発明の実施の形態1における更新処理装置の動作を示すフロー図である。図5は、図4に示す更新処理の際のサブプロセッサの動作を示す図である。以下の説明においては、適宜図1〜図3を参酌する。また、本実施の形態では、更新処理装置10を動作させることによって、更新処理方法が実施される。よって、本実施の形態における更新処理方法の説明は、以下の更新処理装置10の動作説明に代える。
[Device operation]
Next, the operation of the
図4に示すように、最初に、更新処理装置10は、マルチプロセッサシステム100の上位システム等から、メインプロセッサ20のファームウェアの更新通知と更新後のファームウェアとを受信する(ステップA1)。
As shown in FIG. 4, first, the
次に、更新処理装置10において、プロセッサ指定部11は、サブプロセッサ30のうちの1つを指定し、指定したサブプロセッサ30に対して、動作の停止を指示する(ステップA2)。具体的には、プロセッサ指定部11は、例えば、サブプロセッサ30のうち
、処理を行っていないサブプロセッサ30が存在している場合は、このサブプロセッサを指定する。
Next, in the
次に、ファームウェア変換部14は、フラッシュROM22に格納されている更新前のファームウェアのテーブルと、ステップA1で受信した更新後のファームウェアのテーブルとを対比する。そして、ファームウェア変換部14は、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブル(図3の下段参照)を作成する(ステップA3)。
Next, the
次に、ファームウェア変換部14は、ステップA3で作成した変換テーブルを用いて、更新後のファームウェアにおけるアクセス先を変換する(ステップA4)。
Next, the
次に、代替処理実行部12は、ステップA4によってアクセス先が変換された、更新後のファームウェアを、ステップA2で指定されたサブプロセッサ30のRAM31のメモリ領域に書き込む(ステップA5)。
Next, the alternative
次に、代替処理実行部12は、ステップA2で指定されたプロセッサが、更新対象となっているメインプロセッサ20のRAM21のメモリ領域に格納されたデータにアクセスできるように、指定されたサブプロセッサのメモリマップ設定を修正する(ステップA6)。
Next, the alternative
また、ステップA6においては、代替処理実行部12は、I/Oコントローラ23のデータ転送先を、指定されたサブプロセッサに変更する。これにより、図5に示すように、指定されたサブプロセッサは、メインプロセッサ20のRAM21のメモリ領域にアクセスして、処理を開始する。図5において、指定されたサブプロセッサ30には、ハッチングが施されている。
In step A6, the alternative
次に、ファームウェア更新部13は、更新対象となっているメインプロセッサ20のフラッシュROM22のメモリ領域に、更新後のファームウェアを書き込み、メインプロセッサ20のファームウェアを更新する(ステップA7)。
Next, the
その後、ファームウェア更新部13は、メインプロセッサ20に再起動を行わせる(ステップA8)。再起動後、メインプロセッサ20は、更新されたファームウェアによって動作する。また、ファームウェア更新部13は、再起動が行われる前に、メインプロセッサ20は、ファームウェアが更新中であることを示すフラグを立てる。
Thereafter, the
そして、フラグが立っている場合は、ファームウェア更新部13は、RAM21のメモリ領域の初期化の禁止、I/Oコントローラ23のデータ転送先のメインプロセッサ20への変更を実行する。
When the flag is set, the
加えて、ファームウェア更新部13は、フラグが立っている場合は、各サブプロセッサ30のRAM31のメモリ領域に、サブプロセッサ30の新たなファームウェアを書き込むことができる。また、ファームウェア更新部13は、書き込んだ新たなファームウェアを用いて、各サブプロセッサ30のファームウェアを更新する。
In addition, the
[実施の形態による効果]
以上のように、本実施の形態では、メインプロセッサ20の処理をサブプロセッサ30に肩代わりさせることができる。このため、本実施の形態によれば、メインプロセッサ20のファームウェアを更新する場合であっても、マルチプロセッサシステム100を停止させることなく、継続して稼働させることができる。
[Effects of the embodiment]
As described above, in the present embodiment, the processing of the
[プログラム]
本実施の形態におけるプログラムは、コンピュータに、図5に示すステップA1〜A8を実行させるプログラムであれば良い。このプログラムをコンピュータにインストールし、実行することによって、本実施の形態における更新処理装置10と更新処理方法とを実現することができる。この場合、コンピュータのプロセッサは、プロセッサ指定部11、代替処理実行部12、ファームウェア更新部13、及びファームウェア変換部14として機能し、処理を行なう。
[program]
The program in the present embodiment may be a program that causes a computer to execute steps A1 to A8 shown in FIG. By installing and executing this program on a computer, the
また、本実施の形態におけるプログラムを実行するコンピュータとしては、図2に示したマルチプロセッサシステムが挙げられる。この場合、更新処理装置10の各部として機能するプロセッサは、メインプロセッサ20であるのが良いが、本実施の形態はこれに限定されず、いずれかのサブプロセッサ30であっても良い。また、コンピュータは、マルチプロセッサシステムに接続された外部のコンピュータであっても良い。
A computer that executes the program in the present embodiment includes the multiprocessor system shown in FIG. In this case, the processor that functions as each unit of the
また、本実施の形態において、プロセッサは、CPU(Central Processing Unit)であっても良いし、GPU(Graphics Processing Unit)、又はFPGA(Field-Programmable Gate Array)であっても良い。 In the present embodiment, the processor may be a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an FPGA (Field-Programmable Gate Array).
また、本実施の形態におけるプログラムは、コンピュータ読み取り可能な記録媒体に格納された状態で提供される。更に、本実施の形態におけるプログラムは、通信インターフェイス117を介して接続されたインターネット上で流通するものであっても良い。 The program in the present embodiment is provided in a state stored in a computer-readable recording medium. Furthermore, the program in the present embodiment may be distributed on the Internet connected via the communication interface 117.
また、記録媒体120の具体例としては、CF(Compact Flash(登録商標))及びSD(Secure Digital)等の汎用的な半導体記憶デバイス、フレキシブルディスク(Flexible Disk)等の磁気記録媒体、又はCD−ROM(Compact Disk Read Only Memory)などの光学記録媒体が挙げられる。 Specific examples of the recording medium 120 include general-purpose semiconductor storage devices such as CF (Compact Flash (registered trademark)) and SD (Secure Digital), magnetic recording media such as a flexible disk, or CD- An optical recording medium such as ROM (Compact Disk Read Only Memory) can be used.
上述した実施の形態の一部又は全部は、以下に記載する(付記1)〜(付記12)によって表現することができるが、以下の記載に限定されるものではない。 Part or all of the above-described embodiments can be expressed by (Appendix 1) to (Appendix 12) described below, but is not limited to the following description.
(付記1)
複数のプロセッサを備えたマルチプロセッサシステムにおいて、前記複数のプロセッサのうちのいずれか又は全部のファームウェアを更新するための装置であって、
前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、プロセッサ指定部と、
指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、代替処理実行部と、
前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ファームウェア更新部と、
を備えている、ことを特徴とする、更新処理装置。
(Appendix 1)
In a multiprocessor system comprising a plurality of processors, an apparatus for updating firmware of any or all of the plurality of processors,
A processor designation unit that designates a processor other than the processor that is the target of firmware update from the plurality of processors, and stops the operation; and
The specified firmware is written in the memory area of the specified processor, and the specified processor is specified so that the data stored in the memory area of the processor to be updated can be accessed. An alternative processing execution unit that modifies the memory map setting of the processor and causes the designated processor to perform the processing of the processor that is the update target;
A firmware update unit that writes the updated firmware to the memory area of the processor to be updated and updates the firmware of the processor to be updated;
An update processing apparatus comprising:
(付記2)
付記1に記載の更新処理装置であって、
前記マルチプロセッサシステムは、単一の第1のプロセッサと、前記第1のプロセッサの指示に応じて動作する2つ以上の第2のプロセッサとを備え、
前記プロセッサ指定部は、前記第1のプロセッサがファームウェアの更新対象である場
合に、いずれかの前記第2のプロセッサを指定し、その動作を停止させ、
前記代替処理実行部は、指定された前記第2のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定された前記第2のプロセッサが、前記第1のプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定された前記第2のプロセッサのメモリマップ設定を修正し、それによって、指定された前記第2のプロセッサに、前記第1のプロセッサの処理を行わせ、
前記ファームウェア更新部は、前記第1のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記第1のプロセッサの前記ファームウェアを更新する、
ことを特徴とする、更新処理装置。
(Appendix 2)
The update processing device according to attachment 1, wherein
The multiprocessor system includes a single first processor and two or more second processors that operate in accordance with instructions from the first processor,
When the first processor is a firmware update target, the processor designating unit designates any of the second processors, stops the operation,
The alternative process execution unit writes the updated firmware in the memory area of the designated second processor, and the designated second processor stores the firmware in the memory area of the first processor. Modifying the memory map setting of the designated second processor so that the designated data can be accessed, thereby causing the designated second processor to perform the processing of the first processor;
The firmware update unit writes the updated firmware in the memory area of the first processor, and updates the firmware of the first processor.
An update processing apparatus characterized by that.
(付記3)
付記2に記載の更新処理装置であって、
前記ファームウェアが、データのアクセス先のアドレスを示すテーブルを有しており、
当該更新処理装置が、更新前のファームウェアの前記テーブルと、更新後のファームウェアの前記テーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブルを作成し、前記変換テーブルを用いて、更新後の前記ファームウェアにおけるアクセス先を変換する、ファームウェア変換部を更に備え、
前記代替処理実行部は、アクセス先が変換された、更新後の前記ファームウェアを、指定された前記第2のプロセッサのメモリ領域に書き込み、
前記ファームウェア更新部は、前記第1のプロセッサのメモリ領域に、アクセス先が変換された、更新後の前記ファームウェアを書き込む、
ことを特徴とする、更新処理装置。
(Appendix 3)
The update processing device according to attachment 2, wherein
The firmware has a table indicating data access destination addresses;
The update processing device compares the table of firmware before update with the table of firmware after update, creates a conversion table indicating conversion locations of access destinations before and after update, and converts the conversion Using a table, further comprising a firmware conversion unit for converting the access destination in the updated firmware;
The alternative process execution unit writes the updated firmware whose access destination is converted to the memory area of the designated second processor,
The firmware update unit writes the updated firmware whose access destination is converted into the memory area of the first processor.
An update processing apparatus characterized by that.
(付記4)
付記2または3に記載の更新処理装置であって、
前記ファームウェア更新部は、前記第1のプロセッサの前記ファームウェアを更新した後に、前記第2のプロセッサそれぞれ毎に、当該第2のプロセッサのメモリ領域に、前記第2のプロセッサの新たなファームウェアを書き込み、書き込んだ前記新たなファームウェアを用いて、当該第2のプロセッサのファームウェアを更新する、
ことを特徴とする、更新処理装置。
(Appendix 4)
The update processing device according to attachment 2 or 3, wherein
The firmware update unit writes the new firmware of the second processor into the memory area of the second processor for each of the second processors after updating the firmware of the first processor, Update the firmware of the second processor using the written new firmware.
An update processing apparatus characterized by that.
(付記5)
複数のプロセッサを備えたマルチプロセッサシステムにおいて、前記複数のプロセッサのうちのいずれか又は全部のファームウェアを更新するための方法であって、
(a)前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、ステップと、
(b)指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、ステップと、
(c)前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ステップと、
を有する、ことを特徴とする、更新処理方法。
(Appendix 5)
In a multiprocessor system comprising a plurality of processors, a method for updating any or all of the plurality of processors, comprising:
(A) designating a processor other than the processor whose firmware is to be updated from the plurality of processors, and stopping the operation; and
(B) The updated firmware is written in the memory area of the designated processor, and further, the designated processor can access the data stored in the memory area of the processor to be updated. Modifying the memory map setting of the designated processor and causing the designated processor to perform the processing of the processor to be updated; and
(C) writing the updated firmware in the memory area of the processor to be updated, and updating the firmware of the processor to be updated;
An update processing method characterized by comprising:
(付記6)
付記5に記載の更新処理方法であって、
前記マルチプロセッサシステムは、単一の第1のプロセッサと、前記第1のプロセッサの指示に応じて動作する2つ以上の第2のプロセッサとを備え、
前記(a)のステップにおいて、前記第1のプロセッサがファームウェアの更新対象である場合に、いずれかの前記第2のプロセッサを指定し、その動作を停止させ、
前記(b)のステップにおいて、指定された前記第2のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定された前記第2のプロセッサが、前記第1のプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定された前記第2のプロセッサのメモリマップ設定を修正し、それによって、指定された前記第2のプロセッサに、前記第1のプロセッサの処理を行わせ、
前記(b)のステップにおいて、前記第1のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記第1のプロセッサの前記ファームウェアを更新する、
ことを特徴とする、更新処理方法。
(Appendix 6)
The update processing method according to attachment 5, wherein
The multiprocessor system includes a single first processor and two or more second processors that operate in accordance with instructions from the first processor,
In the step (a), when the first processor is a firmware update target, one of the second processors is designated, and the operation is stopped.
In the step (b), the updated firmware is written in the memory area of the designated second processor, and the designated second processor is further written in the memory area of the first processor. Modify the memory map setting of the designated second processor so that stored data can be accessed, thereby causing the designated second processor to perform the processing of the first processor;
In the step (b), the updated firmware is written in the memory area of the first processor, and the firmware of the first processor is updated.
An update processing method characterized by the above.
(付記7)
付記6に記載の更新処理方法であって、
前記ファームウェアが、データのアクセス先のアドレスを示すテーブルを有しており、当該更新処理方法が、更に、
(d)更新前のファームウェアの前記テーブルと、更新後のファームウェアの前記テーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブルを作成し、前記変換テーブルを用いて、更新後の前記ファームウェアにおけるアクセス先を変換する、ステップを有し、
前記(b)のステップにおいて、アクセス先が変換された、更新後の前記ファームウェアを、指定された前記第2のプロセッサのメモリ領域に書き込み、
前記(c)のステップにおいて、前記第1のプロセッサのメモリ領域に、アクセス先が変換された、更新後の前記ファームウェアを書き込む、
ことを特徴とする、更新処理方法。
(Appendix 7)
The update processing method according to attachment 6, wherein
The firmware has a table indicating data access destination addresses, and the update processing method further includes:
(D) Compare the table of firmware before update with the table of firmware after update to create a conversion table indicating the conversion location of the access destination before and after update, and use the conversion table And converting the access destination in the firmware after the update,
In the step (b), the updated firmware whose access destination is converted is written in the memory area of the designated second processor,
In the step (c), the updated firmware whose access destination is converted is written in the memory area of the first processor.
An update processing method characterized by the above.
(付記8)
付記6または7に記載の更新処理方法であって、
当該更新処理方法が、更に、
(e)前記第1のプロセッサの前記ファームウェアを更新した後に、前記第2のプロセッサそれぞれ毎に、当該第2のプロセッサのメモリ領域に、前記第2のプロセッサの新たなファームウェアを書き込み、書き込んだ前記新たなファームウェアを用いて、当該第2のプロセッサのファームウェアを更新する、ステップを有する、
ことを特徴とする、更新処理方法。
(Appendix 8)
The update processing method according to appendix 6 or 7, wherein
The update processing method is further
(E) After updating the firmware of the first processor, the new firmware of the second processor is written and written in the memory area of the second processor for each of the second processors Updating the firmware of the second processor with new firmware, comprising the steps of:
An update processing method characterized by the above.
(付記9)
複数のプロセッサを備えたマルチプロセッサシステムにおいて、前記複数のプロセッサのうちのいずれか又は全部のファームウェアを更新するためのプログラムであって、
前記複数のプロセッサのいずれかに、
(a)前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、ステップと、
(b)指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、ステップと、
(c)前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ステップと、
を実行させる、ことを特徴とする、プログラム。
(Appendix 9)
In a multiprocessor system including a plurality of processors, a program for updating any or all of the plurality of processors,
Any one of the plurality of processors,
(A) designating a processor other than the processor whose firmware is to be updated from the plurality of processors, and stopping the operation; and
(B) The updated firmware is written in the memory area of the designated processor, and further, the designated processor can access the data stored in the memory area of the processor to be updated. Modifying the memory map setting of the designated processor and causing the designated processor to perform the processing of the processor to be updated; and
(C) writing the updated firmware in the memory area of the processor to be updated, and updating the firmware of the processor to be updated;
A program characterized by having executed.
(付記10)
付記9に記載のプログラムであって、
前記マルチプロセッサシステムは、単一の第1のプロセッサと、前記第1のプロセッサの指示に応じて動作する2つ以上の第2のプロセッサとを備え、
前記(a)のステップにおいて、前記第1のプロセッサがファームウェアの更新対象である場合に、いずれかの前記第2のプロセッサを指定し、その動作を停止させ、
前記(b)のステップにおいて、指定された前記第2のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定された前記第2のプロセッサが、前記第1のプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定された前記第2のプロセッサのメモリマップ設定を修正し、それによって、指定された前記第2のプロセッサに、前記第1のプロセッサの処理を行わせ、
前記(b)のステップにおいて、前記第1のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記第1のプロセッサの前記ファームウェアを更新する、
ことを特徴とする、プログラム。
(Appendix 10)
The program according to appendix 9, wherein
The multiprocessor system includes a single first processor and two or more second processors that operate in accordance with instructions from the first processor,
In the step (a), when the first processor is a firmware update target, one of the second processors is designated, and the operation is stopped.
In the step (b), the updated firmware is written in the memory area of the designated second processor, and the designated second processor is further written in the memory area of the first processor. Modify the memory map setting of the designated second processor so that stored data can be accessed, thereby causing the designated second processor to perform the processing of the first processor;
In the step (b), the updated firmware is written in the memory area of the first processor, and the firmware of the first processor is updated.
A program characterized by that.
(付記11)
付記10に記載のプログラムであって、
前記ファームウェアが、データのアクセス先のアドレスを示すテーブルを有しており、前記複数のプロセッサのいずれかに、更に、
(d)更新前のファームウェアの前記テーブルと、更新後のファームウェアの前記テーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブルを作成し、前記変換テーブルを用いて、更新後の前記ファームウェアにおけるアクセス先を変換する、ステップを実行させ、
前記(b)のステップにおいて、アクセス先が変換された、更新後の前記ファームウェアを、指定された前記第2のプロセッサのメモリ領域に書き込み、
前記(c)のステップにおいて、前記第1のプロセッサのメモリ領域に、アクセス先が変換された、更新後の前記ファームウェアを書き込む、
ことを特徴とする、プログラム。
(Appendix 11)
The program according to
The firmware has a table indicating an address to which data is accessed, and in any of the plurality of processors,
(D) Compare the table of firmware before update with the table of firmware after update to create a conversion table indicating the conversion location of the access destination before and after update, and use the conversion table And converting the access destination in the firmware after the update,
In the step (b), the updated firmware whose access destination is converted is written in the memory area of the designated second processor,
In the step (c), the updated firmware whose access destination is converted is written in the memory area of the first processor.
A program characterized by that.
(付記12)
付記10または11に記載のプログラムであって、
前記複数のプロセッサのいずれかに、更に、
(e)前記第1のプロセッサの前記ファームウェアを更新した後に、前記第2のプロセッサそれぞれ毎に、当該第2のプロセッサのメモリ領域に、前記第2のプロセッサの新たなファームウェアを書き込み、書き込んだ前記新たなファームウェアを用いて、当該第2のプロセッサのファームウェアを更新する、ステップを実行させる、
ことを特徴とする、プログラム。
(Appendix 12)
The program according to
Any one of the plurality of processors,
(E) After updating the firmware of the first processor, the new firmware of the second processor is written and written in the memory area of the second processor for each of the second processors Update the firmware of the second processor with the new firmware, execute the step,
A program characterized by that.
以上のように本発明によれば、マルチプロセッサシステムにおいて、再起動を行うことなく、ファームウェアをアップデートすることができる。本発明は、種々のマルチプロセッサシステムに有効である。 As described above, according to the present invention, firmware can be updated in a multiprocessor system without restarting. The present invention is effective for various multiprocessor systems.
10 更新処理装置
11 プロセッサ指定部
12 代替処理実行部
13 ファームウェア更新部
14 ファームウェア変換部
20 メインプロセッサ
21 RAM
22 フラッシュROM
23 I/Oコントローラ
30 サブプロセッサ
31 RAM
40 バス
100 マルチプロセッサシステム
DESCRIPTION OF
22 Flash ROM
23 I /
40
Claims (12)
前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、プロセッサ指定部と、
指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、代替処理実行部と、
前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ファームウェア更新部と、
を備えている、ことを特徴とする、更新処理装置。 In a multiprocessor system comprising a plurality of processors, an apparatus for updating firmware of any or all of the plurality of processors,
A processor designation unit that designates a processor other than the processor that is the target of firmware update from the plurality of processors, and stops the operation; and
The specified firmware is written in the memory area of the specified processor, and the specified processor is specified so that the data stored in the memory area of the processor to be updated can be accessed. An alternative processing execution unit that modifies the memory map setting of the processor and causes the designated processor to perform the processing of the processor that is the update target;
A firmware update unit that writes the updated firmware to the memory area of the processor to be updated and updates the firmware of the processor to be updated;
An update processing apparatus comprising:
前記マルチプロセッサシステムは、単一の第1のプロセッサと、前記第1のプロセッサの指示に応じて動作する2つ以上の第2のプロセッサとを備え、
前記プロセッサ指定部は、前記第1のプロセッサがファームウェアの更新対象である場合に、いずれかの前記第2のプロセッサを指定し、その動作を停止させ、
前記代替処理実行部は、指定された前記第2のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定された前記第2のプロセッサが、前記第1のプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定された前記第2のプロセッサのメモリマップ設定を修正し、それによって、指定された前記第2のプロセッサに、前記第1のプロセッサの処理を行わせ、
前記ファームウェア更新部は、前記第1のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記第1のプロセッサの前記ファームウェアを更新する、
ことを特徴とする、更新処理装置。 The update processing device according to claim 1,
The multiprocessor system includes a single first processor and two or more second processors that operate in accordance with instructions from the first processor,
When the first processor is a firmware update target, the processor designating unit designates any of the second processors, stops the operation,
The alternative process execution unit writes the updated firmware in the memory area of the designated second processor, and the designated second processor stores the firmware in the memory area of the first processor. Modifying the memory map setting of the designated second processor so that the designated data can be accessed, thereby causing the designated second processor to perform the processing of the first processor;
The firmware update unit writes the updated firmware in the memory area of the first processor, and updates the firmware of the first processor.
An update processing apparatus characterized by that.
前記ファームウェアが、データのアクセス先のアドレスを示すテーブルを有しており、
当該更新処理装置が、更新前のファームウェアの前記テーブルと、更新後のファームウェアの前記テーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブルを作成し、前記変換テーブルを用いて、更新後の前記ファームウェアにおけるアクセス先を変換する、ファームウェア変換部を更に備え、
前記代替処理実行部は、アクセス先が変換された、更新後の前記ファームウェアを、指定された前記第2のプロセッサのメモリ領域に書き込み、
前記ファームウェア更新部は、前記第1のプロセッサのメモリ領域に、アクセス先が変換された、更新後の前記ファームウェアを書き込む、
ことを特徴とする、更新処理装置。 The update processing device according to claim 2,
The firmware has a table indicating data access destination addresses;
The update processing device compares the table of firmware before update with the table of firmware after update, creates a conversion table indicating conversion locations of access destinations before and after update, and converts the conversion Using a table, further comprising a firmware conversion unit for converting the access destination in the updated firmware;
The alternative process execution unit writes the updated firmware whose access destination is converted to the memory area of the designated second processor,
The firmware update unit writes the updated firmware whose access destination is converted into the memory area of the first processor.
An update processing apparatus characterized by that.
前記ファームウェア更新部は、前記第1のプロセッサの前記ファームウェアを更新した後に、前記第2のプロセッサそれぞれ毎に、当該第2のプロセッサのメモリ領域に、前記第2のプロセッサの新たなファームウェアを書き込み、書き込んだ前記新たなファームウェアを用いて、当該第2のプロセッサのファームウェアを更新する、
ことを特徴とする、更新処理装置。 The update processing device according to claim 2, wherein:
The firmware update unit writes the new firmware of the second processor into the memory area of the second processor for each of the second processors after updating the firmware of the first processor, Update the firmware of the second processor using the written new firmware.
An update processing apparatus characterized by that.
のうちのいずれか又は全部のファームウェアを更新するための方法であって、
(a)前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、ステップと、
(b)指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、ステップと、
(c)前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ステップと、
を有する、ことを特徴とする、更新処理方法。 In a multiprocessor system comprising a plurality of processors, a method for updating any or all of the plurality of processors, comprising:
(A) designating a processor other than the processor whose firmware is to be updated from the plurality of processors, and stopping the operation; and
(B) The updated firmware is written in the memory area of the designated processor, and further, the designated processor can access the data stored in the memory area of the processor to be updated. Modifying the memory map setting of the designated processor and causing the designated processor to perform the processing of the processor to be updated; and
(C) writing the updated firmware in the memory area of the processor to be updated, and updating the firmware of the processor to be updated;
An update processing method characterized by comprising:
前記マルチプロセッサシステムは、単一の第1のプロセッサと、前記第1のプロセッサの指示に応じて動作する2つ以上の第2のプロセッサとを備え、
前記(a)のステップにおいて、前記第1のプロセッサがファームウェアの更新対象である場合に、いずれかの前記第2のプロセッサを指定し、その動作を停止させ、
前記(b)のステップにおいて、指定された前記第2のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定された前記第2のプロセッサが、前記第1のプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定された前記第2のプロセッサのメモリマップ設定を修正し、それによって、指定された前記第2のプロセッサに、前記第1のプロセッサの処理を行わせ、
前記(b)のステップにおいて、前記第1のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記第1のプロセッサの前記ファームウェアを更新する、
ことを特徴とする、更新処理方法。 The update processing method according to claim 5, wherein
The multiprocessor system includes a single first processor and two or more second processors that operate in accordance with instructions from the first processor,
In the step (a), when the first processor is a firmware update target, one of the second processors is designated, and the operation is stopped.
In the step (b), the updated firmware is written in the memory area of the designated second processor, and the designated second processor is further written in the memory area of the first processor. Modify the memory map setting of the designated second processor so that stored data can be accessed, thereby causing the designated second processor to perform the processing of the first processor;
In the step (b), the updated firmware is written in the memory area of the first processor, and the firmware of the first processor is updated.
An update processing method characterized by the above.
前記ファームウェアが、データのアクセス先のアドレスを示すテーブルを有しており、当該更新処理方法が、更に、
(d)更新前のファームウェアの前記テーブルと、更新後のファームウェアの前記テーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブルを作成し、前記変換テーブルを用いて、更新後の前記ファームウェアにおけるアクセス先を変換する、ステップを有し、
前記(b)のステップにおいて、アクセス先が変換された、更新後の前記ファームウェアを、指定された前記第2のプロセッサのメモリ領域に書き込み、
前記(c)のステップにおいて、前記第1のプロセッサのメモリ領域に、アクセス先が変換された、更新後の前記ファームウェアを書き込む、
ことを特徴とする、更新処理方法。 The update processing method according to claim 6,
The firmware has a table indicating data access destination addresses, and the update processing method further includes:
(D) Compare the table of firmware before update with the table of firmware after update to create a conversion table indicating the conversion location of the access destination before and after update, and use the conversion table And converting the access destination in the firmware after the update,
In the step (b), the updated firmware whose access destination is converted is written in the memory area of the designated second processor,
In the step (c), the updated firmware whose access destination is converted is written in the memory area of the first processor.
An update processing method characterized by the above.
当該更新処理方法が、更に、
(e)前記第1のプロセッサの前記ファームウェアを更新した後に、前記第2のプロセッサそれぞれ毎に、当該第2のプロセッサのメモリ領域に、前記第2のプロセッサの新たなファームウェアを書き込み、書き込んだ前記新たなファームウェアを用いて、当該第2のプロセッサのファームウェアを更新する、ステップを有する、
ことを特徴とする、更新処理方法。 The update processing method according to claim 6, wherein:
The update processing method is further
(E) After updating the firmware of the first processor, the new firmware of the second processor is written and written in the memory area of the second processor for each of the second processors Updating the firmware of the second processor with new firmware, comprising the steps of:
An update processing method characterized by the above.
前記複数のプロセッサのいずれかに、
(a)前記複数のプロセッサの中から、ファームウェアの更新対象となっているプロセッサ以外のプロセッサを指定し、その動作を停止させる、ステップと、
(b)指定されたプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定されたプロセッサが、前記更新対象となっているプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定されたプロセッサのメモリマップ設定を修正し、指定されたプロセッサに、前記更新対象となっているプロセッサの処理を行わせる、ステップと、
(c)前記更新対象となっているプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記更新対象となっているプロセッサの前記ファームウェアを更新する、ステップと、
を実行させる、ことを特徴とする、プログラム。 In a multiprocessor system including a plurality of processors, a program for updating any or all of the plurality of processors,
Any one of the plurality of processors,
(A) designating a processor other than the processor whose firmware is to be updated from the plurality of processors, and stopping the operation; and
(B) The updated firmware is written in the memory area of the designated processor, and further, the designated processor can access the data stored in the memory area of the processor to be updated. Modifying the memory map setting of the designated processor and causing the designated processor to perform the processing of the processor to be updated; and
(C) writing the updated firmware in the memory area of the processor to be updated, and updating the firmware of the processor to be updated;
A program characterized by having executed.
前記マルチプロセッサシステムは、単一の第1のプロセッサと、前記第1のプロセッサの指示に応じて動作する2つ以上の第2のプロセッサとを備え、
前記(a)のステップにおいて、前記第1のプロセッサがファームウェアの更新対象である場合に、いずれかの前記第2のプロセッサを指定し、その動作を停止させ、
前記(b)のステップにおいて、指定された前記第2のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、更に、指定された前記第2のプロセッサが、前記第1のプロセッサのメモリ領域に格納されたデータにアクセスできるように、指定された前記第2のプロセッサのメモリマップ設定を修正し、それによって、指定された前記第2のプロセッサに、前記第1のプロセッサの処理を行わせ、
前記(b)のステップにおいて、前記第1のプロセッサのメモリ領域に、更新後の前記ファームウェアを書き込み、前記第1のプロセッサの前記ファームウェアを更新する、
ことを特徴とする、プログラム。 The program according to claim 9, wherein
The multiprocessor system includes a single first processor and two or more second processors that operate in accordance with instructions from the first processor,
In the step (a), when the first processor is a firmware update target, one of the second processors is designated, and the operation is stopped.
In the step (b), the updated firmware is written in the memory area of the designated second processor, and the designated second processor is further written in the memory area of the first processor. Modify the memory map setting of the designated second processor so that stored data can be accessed, thereby causing the designated second processor to perform the processing of the first processor;
In the step (b), the updated firmware is written in the memory area of the first processor, and the firmware of the first processor is updated.
A program characterized by that.
前記ファームウェアが、データのアクセス先のアドレスを示すテーブルを有しており、前記複数のプロセッサのいずれかに、更に、
(d)更新前のファームウェアの前記テーブルと、更新後のファームウェアの前記テーブルとを対比して、更新前と更新後とにおけるアクセス先の変換箇所を示す変換テーブルを作成し、前記変換テーブルを用いて、更新後の前記ファームウェアにおけるアクセス先を変換する、ステップを実行させ、
前記(b)のステップにおいて、アクセス先が変換された、更新後の前記ファームウェアを、指定された前記第2のプロセッサのメモリ領域に書き込み、
前記(c)のステップにおいて、前記第1のプロセッサのメモリ領域に、アクセス先が変換された、更新後の前記ファームウェアを書き込む、
ことを特徴とする、プログラム。 The program according to claim 10,
The firmware has a table indicating an address to which data is accessed, and in any of the plurality of processors,
(D) Compare the table of firmware before update with the table of firmware after update to create a conversion table indicating the conversion location of the access destination before and after update, and use the conversion table And converting the access destination in the firmware after the update,
In the step (b), the updated firmware whose access destination is converted is written in the memory area of the designated second processor,
In the step (c), the updated firmware whose access destination is converted is written in the memory area of the first processor.
A program characterized by that.
前記複数のプロセッサのいずれかに、更に、
(e)前記第1のプロセッサの前記ファームウェアを更新した後に、前記第2のプロセッサそれぞれ毎に、当該第2のプロセッサのメモリ領域に、前記第2のプロセッサの新たなファームウェアを書き込み、書き込んだ前記新たなファームウェアを用いて、当該第2のプロセッサのファームウェアを更新する、ステップを実行させる、
ことを特徴とする、プログラム。 The program according to claim 10 or 11,
Any one of the plurality of processors,
(E) After updating the firmware of the first processor, the new firmware of the second processor is written and written in the memory area of the second processor for each of the second processors Update the firmware of the second processor with the new firmware, execute the step,
A program characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018041160A JP7184424B2 (en) | 2018-03-07 | 2018-03-07 | Update processing device, update processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018041160A JP7184424B2 (en) | 2018-03-07 | 2018-03-07 | Update processing device, update processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019159415A true JP2019159415A (en) | 2019-09-19 |
JP7184424B2 JP7184424B2 (en) | 2022-12-06 |
Family
ID=67996247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018041160A Active JP7184424B2 (en) | 2018-03-07 | 2018-03-07 | Update processing device, update processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7184424B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023107012A1 (en) * | 2021-12-10 | 2023-06-15 | Aes Global Holdings Pte Ltd. | Microcontroller bank-swapping transition |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0799674A (en) * | 1993-09-27 | 1995-04-11 | Fujitsu Ltd | Partial file updating system for information processor |
JPH07319717A (en) * | 1994-05-26 | 1995-12-08 | Nippon Telegr & Teleph Corp <Ntt> | Program switching method for information processor |
JPH10260845A (en) * | 1997-03-19 | 1998-09-29 | Fujitsu Ltd | Multi-cpu system having update processing function of firmware |
JP2002034102A (en) * | 2000-07-14 | 2002-01-31 | Fuji Electric Co Ltd | Fuel cell vehicle and method of stopping reformer therefor |
JP2012146234A (en) * | 2011-01-14 | 2012-08-02 | Nec Corp | Control device, and firmware update method and program thereof |
US20170139698A1 (en) * | 2015-11-18 | 2017-05-18 | Fujitsu Limited | Information processing apparatus and program update control method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002342102A (en) | 2001-05-16 | 2002-11-29 | Nec Corp | Method and system for updating program |
-
2018
- 2018-03-07 JP JP2018041160A patent/JP7184424B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0799674A (en) * | 1993-09-27 | 1995-04-11 | Fujitsu Ltd | Partial file updating system for information processor |
JPH07319717A (en) * | 1994-05-26 | 1995-12-08 | Nippon Telegr & Teleph Corp <Ntt> | Program switching method for information processor |
JPH10260845A (en) * | 1997-03-19 | 1998-09-29 | Fujitsu Ltd | Multi-cpu system having update processing function of firmware |
JP2002034102A (en) * | 2000-07-14 | 2002-01-31 | Fuji Electric Co Ltd | Fuel cell vehicle and method of stopping reformer therefor |
JP2012146234A (en) * | 2011-01-14 | 2012-08-02 | Nec Corp | Control device, and firmware update method and program thereof |
US20170139698A1 (en) * | 2015-11-18 | 2017-05-18 | Fujitsu Limited | Information processing apparatus and program update control method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023107012A1 (en) * | 2021-12-10 | 2023-06-15 | Aes Global Holdings Pte Ltd. | Microcontroller bank-swapping transition |
Also Published As
Publication number | Publication date |
---|---|
JP7184424B2 (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10191852B2 (en) | Methods and apparatus for locking at least a portion of a shared memory resource | |
JP5724477B2 (en) | Migration program, information processing apparatus, migration method, and information processing system | |
JP5655677B2 (en) | Hypervisor replacement method and information processing apparatus | |
JP5366802B2 (en) | Global overflow method for virtualized transactional memory | |
US9417899B2 (en) | Memory page de-duplication in a computer system that includes a plurality of virtual machines | |
US10379745B2 (en) | Simultaneous kernel mode and user mode access to a device using the NVMe interface | |
JP5161696B2 (en) | Virtual computer system, error recovery method in virtual computer system, and virtual computer control program | |
US7500072B2 (en) | Migrating data that is subject to access by input/output devices | |
US9058197B2 (en) | Method for sharing memory of virtual machine and computer system using the same | |
JP5333579B2 (en) | Management server, boot server, network boot system, and network boot method | |
US8954707B2 (en) | Automatic use of large pages | |
JP2011170477A (en) | Hypervisor and server apparatus | |
US11435958B2 (en) | Shared memory mechanism to support fast transport of SQ/CQ pair communication between SSD device driver in virtualization environment and physical SSD | |
JP6194764B2 (en) | Information processing apparatus, control method, and control program | |
US20120226832A1 (en) | Data transfer device, ft server and data transfer method | |
JP2014203405A (en) | Information processing device, memory control device, data transfer control method, and data transfer control program | |
US10642782B2 (en) | Multi-core processor and operation method thereof | |
JP7184424B2 (en) | Update processing device, update processing method, and program | |
US20140372742A1 (en) | Computer system and startup method | |
JP4594889B2 (en) | Method for tracing program executed on a system including a plurality of processing devices, and system including a plurality of processing devices | |
JP5870043B2 (en) | Start control device, information device, and start control method | |
US11055813B2 (en) | Method, electronic device and computer program product for expanding memory of GPU | |
US8850443B2 (en) | Asynchronous input/output (I/O) using alternate stack switching in kernel space | |
JP2016042243A (en) | Allocation control program, allocation control method, and allocation control device | |
US10838635B2 (en) | Deferred disclaim of memory pages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210204 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220301 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220517 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220713 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20221025 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221117 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7184424 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |