JP2005258642A - Embedded information processor - Google Patents
Embedded information processor Download PDFInfo
- Publication number
- JP2005258642A JP2005258642A JP2004067059A JP2004067059A JP2005258642A JP 2005258642 A JP2005258642 A JP 2005258642A JP 2004067059 A JP2004067059 A JP 2004067059A JP 2004067059 A JP2004067059 A JP 2004067059A JP 2005258642 A JP2005258642 A JP 2005258642A
- Authority
- JP
- Japan
- Prior art keywords
- kernel
- rom
- information processing
- processing apparatus
- embedded information
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、家庭用電化機器などに組込型情報処理装置において、カーネル起動までの時間短縮と資源の有効利用に関する。 The present invention relates to shortening the time until kernel startup and effective use of resources in an embedded information processing apparatus in a household electrical appliance or the like.
情報処理装置が起動時に実行する制御プログラムは、ROMに格納されているのが一般的であるが、ROMへのアクセス速度はRAMへのアクセス速度と比較して遅い。このため、情報処理装置の起動時には図6に示すように、まずCPUの初期化を行い(s21)、続いてブートローダを起動する(s22)。そして、ブートローダがROMからRAMへカーネルイメージを転送し(s23)、その直後にCPUがRAMへ転送されたカーネルイメージを読み出してカーネルを起動する(s24)。情報処理装置では、この処理が終了すると起動処理が完了する。 A control program executed when the information processing apparatus is started up is generally stored in the ROM, but the access speed to the ROM is slower than the access speed to the RAM. For this reason, as shown in FIG. 6, when the information processing apparatus is activated, the CPU is first initialized (s21), and then the boot loader is activated (s22). Then, the boot loader transfers the kernel image from the ROM to the RAM (s23), and immediately after that, the CPU reads the kernel image transferred to the RAM and starts the kernel (s24). In the information processing apparatus, the startup process is completed when this process ends.
このように、従来の情報処理装置では、起動時の処理がシーケンス動作になっているので、ユーザは情報処理装置を使用するために電源を投入してから起動が完了するまで、時間がかかるという問題があった。 As described above, in the conventional information processing apparatus, since the process at the time of startup is a sequence operation, it takes time until the user completes the startup after turning on the power to use the information processing apparatus. There was a problem.
そこで、このような問題を解決するために、DMAC(Direct Memory Access Controller )を用いてシステムリセット期間にROMからRAMへデータ転送を行うことで、起 動時間を短縮できる情報処理装置が提案されている(例えば、特許文献1参照。)。
近時、情報家電に代表されるように様々な家庭用電化機器(以下、家電機器と称する。)にもコンピュータ(情報処理装置)が組み込まれている。このような家電機器では、起動時間を短縮するために、特許文献1に記載された発明のような技術が適用されているものがある。
Recently, as represented by information home appliances, computers (information processing apparatuses) are also incorporated in various household electrical appliances (hereinafter referred to as home appliances). In such home appliances, there is one in which a technique such as the invention described in
一方、家電機器では情報処理量の増加に伴い、大型の制御プログラムである例えばリナックスなどのOS(operating system)が採用されることが多くなってきている。OSは上記のようにプログラム容量が大きいので、家電機器に容量の大きなメモリを設けてカーネルイメージなどをそのまま格納する場合もあるが、機器の価格を抑えるためにカーネルイメージを圧縮して容量の小さなメモリに格納することもある。このような構成の機器では、起動時に圧縮されたカーネルイメージをメモリに展開して使用するように設定されている。しかしながら、カーネルイメージが圧縮されてメモリに格納されている場合には、図6に示した処理に加えて、圧縮されたカーネルイメージをRAMへ読み出した後に展開処理を行う必要があり、特許文献1に記載された構成を採用した場合でも、起動時間が長くなるという問題があった。 On the other hand, home appliances are increasingly adopting an OS (operating system) such as Linux, which is a large control program, as the amount of information processing increases. Since the OS has a large program capacity as described above, a large-capacity memory may be provided in a home appliance to store a kernel image or the like as it is. However, in order to reduce the price of the apparatus, the kernel image is compressed to reduce the capacity. Sometimes stored in memory. The device having such a configuration is set to use a kernel image compressed at the time of startup in a memory. However, when the kernel image is compressed and stored in the memory, in addition to the processing shown in FIG. 6, it is necessary to perform decompression processing after reading the compressed kernel image into the RAM. Even when the configuration described in the above is adopted, there is a problem that the startup time becomes long.
また、特許文献1に記載の情報処理装置では、DMACがROMからRAMへデータ転送してしまうと使用されなくなるので、資源を効果的に利用できないという問題があった。
Further, the information processing apparatus described in
そこで、本発明は、圧縮してメモリに格納された制御プログラムを起動時に展開して使用する構成であっても、短時間で起動を完了することが可能で、また、起動完了後も資源を有効利用可能な組込型情報処理装置を提供することを目的とする。 Therefore, the present invention can complete the start-up in a short time even when the control program compressed and stored in the memory is expanded and used at the start-up, and resources can be saved even after the start-up is completed. An object is to provide an embedded information processing apparatus that can be used effectively.
この発明は、上記の課題を解決するための手段として、以下の構成を備えている。 The present invention has the following configuration as means for solving the above problems.
(1)カーネルイメージを記憶するROMと、前記ROMから読み出されたカーネルイメージを記憶するRAMと、初期化後に前記RAMからカーネルイメージを読み出してカーネルを起動するCPUと、本体の起動時に自ら起動し、前記CPUの初期化と並行して、前記ROMからカーネルイメージを読み出して前記RAMへ書き込む読み出し回路と、が各々同一のバスに接続されたことを特徴とする。 (1) ROM for storing the kernel image, RAM for storing the kernel image read from the ROM, CPU for starting the kernel by reading the kernel image from the RAM after initialization, and starting itself when starting the main body In parallel with the initialization of the CPU, a read circuit for reading a kernel image from the ROM and writing it to the RAM is connected to the same bus.
この構成においては、本体の起動時に読み出し回路が自ら起動して、ROMからカーネルイメージを読み出してRAMへ書き込む処理を、CPUの初期化と並行して行う。したがって、カーネル起動までの時間を短縮できる。また、読み出し回路は、CPU・ROM・RAMが接続されているのと同じバスに接続されている。そのため、起動完了後には、アクセス頻度の高いデータやプログラムをROMからRAMへコピーすることで、これらのデータやプログラムへのアクセスを効率良く行うことができるとともに資源を有効に使用できる。さらに、このバスに他の記憶手段が接続されている場合には、起動完了後に他の記憶手段に記録されたデータやプログラムを読み出し回路で読み出してRAMへ書き込むことが可能となり、資源を有効に利用できる。 In this configuration, when the main body is activated, the read circuit is activated by itself, and the process of reading the kernel image from the ROM and writing it to the RAM is performed in parallel with the initialization of the CPU. Therefore, the time until kernel startup can be shortened. Further, the readout circuit is connected to the same bus to which the CPU, ROM, and RAM are connected. For this reason, after completion of startup, data and programs with high access frequency are copied from the ROM to the RAM, so that these data and programs can be accessed efficiently and resources can be used effectively. In addition, when other storage means are connected to this bus, it becomes possible to read data and programs recorded in other storage means after completion of startup by means of a read circuit and write them to the RAM, thereby effectively using resources. Available.
(2)前記ROMは、圧縮されたカーネルイメージを記憶しており、
前記読み出し回路は、この圧縮されたカーネルイメージを前記ROMから読み出しながら展開してRAMへ書きこむように設定された論理回路を備えたことを特徴とする。
(2) The ROM stores a compressed kernel image,
The read circuit includes a logic circuit set so that the compressed kernel image is decompressed while being read from the ROM and written to the RAM.
この構成おいては、カーネルイメージが圧縮されてROMに格納されている。したがって、カーネルイメージを圧縮せずに格納する場合よりも容量の小さなROMを使用することができる。また、読み出し回路は、圧縮されたカーネルイメージを、論理回路を用いて機械的に展開する。したがって、カーネルイメージを高速に展開することができ、カーネル起動までの時間を短縮することができる。 In this configuration, the kernel image is compressed and stored in the ROM. Therefore, it is possible to use a ROM having a smaller capacity than the case where the kernel image is stored without being compressed. The readout circuit mechanically expands the compressed kernel image using a logic circuit. Therefore, the kernel image can be expanded at a high speed, and the time until kernel startup can be shortened.
(3)前記ROMは、圧縮されたカーネルイメージを記憶しており、
前記読み出し回路は、本体の起動時に行う処理の実行プログラムを記憶する記憶手段を備え、この記憶手段から読み出した前記実行プログラムに基づいて、圧縮されたカーネルイメージを前記ROMから読み出しながら展開してRAMへ書きこむことを特徴とする。
(3) The ROM stores a compressed kernel image,
The read circuit includes a storage unit that stores an execution program for processing performed when the main body is started up. Based on the execution program read out from the storage unit, the compressed kernel image is read out from the ROM and expanded into a RAM. It is characterized by writing.
この構成においては、記憶手段から読み出した実行プログラムを用いてカーネルイメージを展開する。したがって、カーネルイメージを展開するために専用の論理回路を設ける必要が無く、回路構成を簡略化できる。 In this configuration, the kernel image is expanded using the execution program read from the storage means. Therefore, it is not necessary to provide a dedicated logic circuit for developing the kernel image, and the circuit configuration can be simplified.
(4)前記読み出し回路は、リコンフィギャラブルプロセッサであることを特徴とする。 (4) The read circuit is a reconfigurable processor.
この構成においては、前記読み出し回路は、リコンフィギャラブルプロセッサなので、実行するプログラムを書き換えることができる。したがって、本体の起動後に圧縮データの展開などをほとんど行わない場合には、本体の起動時に、圧縮されたカーネルイメージをROMから読み出しながら展開してRAMへ書きこむプログラムを書き込んで、この展開・書込み動作を実行させ、本体の起動が完了すると、前記読み出し回路の実行プログラムを前記起動時処理とは異なる使用頻度の高い処理を行うためのプログラムに書き換えて読み出し回路に実行させることで、資源を有効に利用できる。 In this configuration, since the read circuit is a reconfigurable processor, a program to be executed can be rewritten. Therefore, when decompression of compressed data is rarely performed after startup of the main unit, a program for expanding and writing the compressed kernel image while reading the compressed kernel image from the ROM is written at the time of startup of the main unit. When the operation is executed and the startup of the main body is completed, the resources are made effective by rewriting the execution program of the read circuit to a program for performing a process with a high frequency of use different from the process at the start, and causing the read circuit to execute the program. Available to:
本発明の組込型情報処理装置は、CPUの初期化と並行してカーネルイメージの読み出しを行うので、カーネル起動までの時間を短縮することができる。また、本発明の組込型情報処理装置は、カーネルイメージが圧縮されている場合には、カーネルイメージを読み出す際に展開するので、読み出し後に展開する場合に比べてカーネル起動までの時間を短縮することができる。さらに、本発明の組込型情報処理装置は、カーネル起動が完了すると、読み出し回路に実行させるプログラムをカーネル起動時のプログラムから別のプログラムに書き換え可能であるので、読み出し回路を別の用途に使用することができ、資源を有効に利用できる。 Since the embedded information processing apparatus according to the present invention reads a kernel image in parallel with the initialization of the CPU, it is possible to shorten the time until the kernel is started. In addition, when the kernel image is compressed, the embedded information processing apparatus according to the present invention expands when the kernel image is read out, so that the time required for starting the kernel is shortened compared to the case where the kernel image is expanded after reading out. be able to. Furthermore, since the embedded information processing apparatus of the present invention can rewrite the program to be executed by the reading circuit from the program at the time of starting the kernel to another program when the kernel starting is completed, the reading circuit is used for another purpose. Can use resources effectively.
以下の説明では、組込型情報処理装置のOSとしてLinuxがインストールされている場合について説明する。 In the following description, a case will be described in which Linux is installed as the OS of the embedded information processing apparatus.
[第1実施形態]
図1は、本発明の第1実施形態に係る組込型情報処理装置の構成を示したブロック図である。図1に示すように、組込型情報処理装置1は、ROM2、RAM3、DMAC4、及びCPU5がバス6に各々接続された構成である。
[First Embodiment]
FIG. 1 is a block diagram showing the configuration of the embedded information processing apparatus according to the first embodiment of the present invention. As shown in FIG. 1, the embedded
ROM2は、BIOS7及びカーネルイメージ8を記憶している。RAM3は、起動時にROM2から読み出されたカーネルイメージ8を一時的に記憶する。DMAC4は、不揮発性メモリ9を備えており、この不揮発性メモリ9には、カーネルイメージ8をROM2からRAM3へコピーするために必要な情報である転送元アドレス、転送先アドレス、コピーするデータの容量、バスへのアクセスタイミングなどを含む初期値情報10が格納されている。また、DMAC4は、電源が投入されたりOSがリセットされたりすると、自ら起動して初期値情報10を読み出し、これらの情報に基づいてカーネルイメージをROM2から読み出してRAM3へコピーする。CPU5は、初期化後にRAM3へコピーされたカーネルイメージ8を読み出してカーネルを起動する。
The
バス6には、上記のようにROM2、RAM3、DMAC4、及びCPU5が各々接続され、また、図外のハードディスク、ネットワークコントローラ、記憶装置、ディスプレイコントローラなどが接続されており、組込型情報処理装置1内でやりとりされる情報が通過する。
As described above, the ROM 6, the
次に、組込型情報処理装置1の起動時の動作を説明する。図2は、組込型情報処理装置の起動時の動作を説明するフローチャートである。図2に示すように、組込型情報処理装置1は、図外の電源スイッチが操作されて電源が投入されたり、図外のリセットスイッチが操作されてOSがリセットされたりすると、起動動作としてまずCPU5の初期化を開始する(s1)。具体的には、CPU5は、初期化の動作として、自己診断、ROM2からのBIOS7の読み出し、BIOS7の起動などを順次行う。また、このとき、DMAC4は自ら起動して、不揮発性メモリ9から初期値情報10を読み出す(s2)。そして、DMAC4は、CPU5の初期化と並行してROM2からカーネルイメージ8を読み出してRAM3にコピーする(s3)。続いて、初期化が完了したCPU5は、RAM3にコピーされたカーネルイメージ8を読み出して、カーネルを起動する(s4)。カーネルの起動が終了すると起動処理は完了する。
Next, an operation when the embedded
このように、組込型情報処理装置1は、CPU5の初期化とカーネルイメージ8のコピーとを並列に行うので、従来の装置のようにCPUの初期化が完了してからCPUがカーネルイメージをROMからRAMへコピーして、その後にカーネルを起動する場合に比べて、カーネルの起動時間を短縮することができる。
As described above, the embedded
また、組込型情報処理装置1では、起動が完了して通常動作を行っている際には、アクセス頻度の高いデータやプログラムをROM2からRAM3へコピーすることで、これらのデータやプログラムへのアクセスを効率良く行うことができるとともに資源を有効に使用できる。さらに、組込型情報処理装置1では、前記のように各手段が接続されたバス6にDMAC4が接続されているので、組込型情報処理装置1の起動が完了して通常動作を行っている際には、DMAC4がバス6に接続された別の手段(例えばハードディスクや記憶装置)からデータやプログラム読み出してRAM3へコピーすることが可能である。したがって、組込型情報処理装置1では、起動後もDMAC4を利用することができるので、CPU5がの負荷を軽減するとともに資源を有効に利用することができる。
Further, in the embedded
[第2実施形態]
次に、本発明の第2実施形態に係る組込型情報処理装置について説明する。図3は、本発明の第2実施形態に係る組込型情報処理装置の構成を示したブロック図である。図3に示すように、組込型情報処理装置11は、ROM12、RAM13、展開機能付きDMAC14、及びCPU15がバス16にそれぞれ接続された構成である。
[Second Embodiment]
Next, an embedded information processing apparatus according to the second embodiment of the present invention will be described. FIG. 3 is a block diagram showing the configuration of the embedded information processing apparatus according to the second embodiment of the present invention. As shown in FIG. 3, the embedded
ROM12は、BIOS17及び圧縮されたカーネルイメージ18aを記憶している。RAM13は、起動時にROM12から読み出されて展開されたカーネルイメージ18bを一時的に記憶する。展開機能付きDMAC14は、不揮発性メモリ19を備えており、この不揮発性メモリ19には、圧縮されたカーネルイメージ18aをROM12からRAM13へコピーするために必要な情報である転送元アドレス、転送先アドレス、コピーするデータの容量、バスへのアクセスタイミングなどを含む初期値情報20が格納されている。また、展開機能付きDMAC14は、電源が投入されたりOSがリセットされたりすると自ら起動して初期値情報20を読み出し、これらの情報に基づいてROM12に格納されている圧縮されたカーネルイメージ18aを読み出して、展開しながらRAM13にコピーする。カーネルの起動が終了すると起動処理は完了する。
The
ここで、展開機能付きDMAC14は、ROM12から読み出した圧縮されたカーネルイメージ18aを展開してRAM13へコピーする論理回路により構成するようにしても良い。この場合には、機械的にカーソルイメージを展開するので、カーネルイメージを高速に展開することができ、カーネル起動までの時間を短縮することができる。
Here, the
また、不揮発性メモリ19に、カーネルイメージ18aの展開プログラム21を格納しておき、展開機能付きDMAC14は、起動するとこの展開プログラム21を読み出し、この展開プログラム21により圧縮されたカーネルイメージ18aをROM12から読み出して展開後にRAM13へコピーするするように構成しても良い。この場合には、カーネルイメージを展開するために専用の論理回路を設ける必要が無く、回路構成を簡略化できる。
In addition, a decompression program 21 for the
CPU15は、RAM13へコピーされた展開済みのカーネルイメージ18bを読み出してカーネルを起動する。バス16には、上記のようにROM12、RAM13、展開機能付きDMAC14、及びCPU15が各々接続され、また、図外のハードディスク、ネットワークコントローラ、記憶装置、ディスプレイコントローラなどが接続されており、組込型情報処理装置11内でやりとりされる情報が通過する。
The
次に、組込型情報処理装置11の起動時の動作を説明する。図4は、組込型情報処理装置の起動時の動作を説明するフローチャートであり、展開機能付きDMAC14を論理回路で構成した場合である。図4に示すように、組込型情報処理装置1では、図外の電源スイッチが操作されて電源が投入されたり図外のリセットスイッチが操作されてOSがリセットされたりすると、起動処理としてCPU15の初期化が開始される(s11)。具体的には、CPU15は、初期化の動作として、自己診断、ROM12からのBIOS17の読み出し、BIOS17の起動などを順次行う。また、このとき、展開機能付きDMAC14は自ら起動して、不揮発性メモリ19から初期値情報20を読み出す(s12)。そして、展開機能付きDMAC14は、CPU15の初期化と並行してROM12から圧縮されたカーネルイメージ18aを読み出して、展開しながらRAM13にコピー(転送)する(s13)。続いて、初期化が完了したCPU15は、RAM13にコピーされた展開済みのカーネルイメージ18bを読み出して、カーネルを起動する(s14)。カーネルの起動が終了すると起動処理は完了する。
Next, an operation when the embedded
このように、組込型情報処理装置11は、CPU15の初期化とカーネルイメージ18の展開及びコピーとを同時に行うので、従来の装置のようにCPUの初期化が完了してからCPUが圧縮されたカーネルイメージをROMからRAMへコピーし、さらにカーネルイメージを展開してからカーネルを起動する場合に比べて、カーネルの起動時間を短縮することができる。
As described above, since the embedded
また、組込型情報処理装置11では、前記のように展開機能付きDMAC14がバス16に接続されているので、組込型情報処理装置11の起動が完了して通常動作を行っている際には、展開機能付きDMAC14がバス16に接続された別の機器(例えばハードディスクや記憶装置)からデータやプログラム読み出してRAM13へコピーすることが可能である。したがって、組込型情報処理装置11では、起動後も展開機能付きDMAC14を利用することができるので、CPU15の負荷を軽減するとともに資源を有効に利用することができる。また、ROM12には圧縮されたプログラムを格納できるので、容量の小さなものを採用することができる。さらに、組込型情報処理装置11では、起動が完了して通常動作を行っている際には、アクセス頻度の高いデータやプログラムをROM12からRAM13へコピーすることで、これらのデータやプログラムへのアクセスを効率良く行うことができるとともに資源を有効に使用できる。また、組込型情報処理装置11では、前記のように各手段が接続されたバス16に展開機能付きDMAC14が接続されているので、組込型情報処理装置11の起動が完了して通常動作を行っている際には、展開機能付きDMAC14がバス16に接続された別の手段(例えばハードディスクや記憶装置)からデータやプログラム読み出してRAM13へコピーすることが可能である。したがって、組込型情報処理装置11では、起動後もDMAC14を利用することができるので、CPU15がの負荷を軽減するとともに資源を有効に利用することができる。
Further, in the embedded
[第3実施形態]
次に、本発明の第3実施形態に係る組込型情報処理装置について説明する。図5は、本発明の第3実施形態に係る組込型情報処理装置の構成を示したブロック図である。図5に示すように、組込型情報処理装置31は、ROM32、RAM33、リコンフィギャラブルプロセッサ(以下、RCPと称する。)34、及びCPU35がバス36にそれぞれ接続された構成である。
[Third Embodiment]
Next, an embedded information processing apparatus according to the third embodiment of the present invention will be described. FIG. 5 is a block diagram showing a configuration of an embedded information processing apparatus according to the third embodiment of the present invention. As shown in FIG. 5, the embedded information processing apparatus 31 has a configuration in which a
ROM32は、BIOS37及び圧縮されたカーネルイメージ38aを記憶している。RAM33は、起動時にROM32から読み出されて展開されたカーネルイメージ38bを一時的に記憶する。
The
RCP34は、実行するプログラムを任意に設定できる論理回路であり、不揮発性メモリ39を備えている。不揮発性メモリ39には、起動時の実行プログラムとして、ROM32に圧縮されて格納されたカーネルイメージ38aを読み出して、展開してからRAM33へコピーする展開プログラム40が格納されている。また、RCP34は、電源が投入されたりOSがリセットされたりすると、自ら起動して展開プログラム40を読み出し、この展開プログラム40に基づいてROM32に格納されている圧縮されたカーネルイメージ38aを読み出して、展開しながらRAM33にコピーする。CPU35は、初期化後にRAM33へコピーされた展開済みのカーネルイメージ38bを読み出してカーネルを起動する。また、RCP34は、上記のように実行プログラムを任意に設定できるので、組込型情報処理装置31の起動が完了すると、別のプログラムを実行させることで、展開機能付きDMAC以外の動作を行うように設定できる。例えば、mp3などの音楽ファイルの展開プログラムやオーディオフィルタやエフェクタのプログラムなどを実行させることで、起動時と起動後とでRCP34に別の動作を実行させることが可能である。
The
バス36には、上記のようにROM32、RAM33、RCP34、及びCPU35が接続されるだけでなく、図外のハードディスク、ネットワークコントローラ、記憶装置、ディスプレイコントローラなどが接続されている。
Not only the
ここで、RCP34は、実行するプログラムを任意に設定できる論理回路であり、起動時には不揮発性メモリ39から初期設定として、圧縮されたカーネルイメージ38をROM34からRAM35へ展開しながらコピーする展開機能付きDMACとして動作するように設定された初期プログラムが格納されている。また、RCP34は、組込型情報処理装置31の起動が完了すると、予め格納された別のプログラムを実行させて、初期設定である展開機能付きDMAC以外の動作を行うように設定できる。例えば、mp3などの音楽ファイルの展開プログラム・オーディオフィルタ・エフェクタなどプログラムを実行させることが可能である。
Here, the
組込型情報処理装置31では、電源が投入されるとCPU35の初期化が開始される。また、このとき、RCP34では、展開機能付きDMACとして動作するプログラムが読み出されており、初期値プログラムを読み出した後に、ROM32から圧縮されたカーネルイメージ38を読み出して展開しながらRAM33にコピーする。続いて、初期化が完了したCPU35は、RAM33にコピーされた展開済みのカーネルイメージ38を読み出して、カーネルを起動する。
In the built-in information processing apparatus 31, when the power is turned on, initialization of the
組込型情報処理装置31では、カーネル起動が完了すると、RCP34のプログラムを書き換えて別の動作を行う論理回路として動作させることができる。CPU35は、ROM33や図外の記憶装置から別のプログラムとして例えばオーディオフィルタとして動作するプログラムを読み出して、RCP34にコピーする。これにより、RCP34のプログラムが書き換えられて、RCP34はオーディオフィルタとして動作する。これらのプログラムは、RCP34の不揮発性メモリ39・ROM32・図外の記憶装置のいずれかに記憶させておき、起動処理が完了すると、CPU35がRCP34のプログラムを書き換えるように設定すると良い。
In the embedded information processing apparatus 31, when the kernel activation is completed, the program of the
なお、組込型情報処理装置31の起動時の動作は、組込型情報処理装置11と同様であるため、説明を省略する。
In addition, since the operation | movement at the time of starting of the embedded information processing apparatus 31 is the same as that of the embedded
このように、組込型情報処理装置31は、CPU35の初期化を行っている際に、圧縮されたカーネルイメージを展開してコピーを行うので、従来の装置に比べて短時間でカーネルを起動することができる。また、組込型情報処理装置31では、RCP34がバス36に接続されているので、組込型情報処理装置31の起動が完了するまでは、RCP34が展開機能付きDMACとして動作して、ROM33から圧縮されたカーネルイメージを読み出してRAM3へ展開しながらコピーすることができるので、CPU35の負荷を軽減することができる。さらに、メモリには圧縮されたプログラムを格納できるので、容量の小さなメモリを採用することができる。加えて、組込型情報処理装置31では、カーネル起動が完了すると、上記のようにRCP34の実行プログラムを任意のプログラムに書き換えることができるので、資源を有効に利用することができる。
In this way, since the embedded information processing apparatus 31 expands and copies the compressed kernel image during initialization of the
以上のように、本発明の実施形態に係る組込型情報処理装置は、CPUの初期化と、カーネルイメージの転送と、を同時に行うので、カーネル起動までの時間を短縮することができる。 As described above, the embedded information processing apparatus according to the embodiment of the present invention simultaneously performs the initialization of the CPU and the transfer of the kernel image, so that the time until the kernel activation can be shortened.
1,11,31−組込型情報処理装置
2,12,32−ROM
3,13,33−RAM
4,14,34−DMAC
5,15,35−CPU
6,16,36−バス
7,17,37−BIOS
8,18,38−カーネルイメージ
9,19,39−不揮発性メモリ
1,11,31-embedded
3,13,33-RAM
4,14,34-DMAC
5,15,35-CPU
6,16,36-
8, 18, 38-
Claims (4)
前記読み出し回路は、この圧縮されたカーネルイメージを前記ROMから読み出しながら展開してRAMへ書きこむように設定された論理回路を備えた請求項1に記載の組込型情報処理装置。 The ROM stores a compressed kernel image,
2. The embedded information processing apparatus according to claim 1, wherein the read circuit includes a logic circuit configured to expand the compressed kernel image while reading it from the ROM and write it to the RAM.
前記読み出し回路は、本体の起動時に行う処理の実行プログラムを記憶する記憶手段を備え、この記憶手段から読み出した前記実行プログラムに基づいて、圧縮されたカーネルイメージを前記ROMから読み出しながら展開してRAMへ書きこむ請求項1に記載の組込型情報処理装置。 The ROM stores a compressed kernel image,
The read circuit includes a storage unit that stores an execution program for processing performed when the main body is started up. Based on the execution program read out from the storage unit, the compressed kernel image is read out from the ROM and expanded into a RAM. The embedded information processing apparatus according to claim 1, wherein the embedded information processing apparatus is written.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004067059A JP2005258642A (en) | 2004-03-10 | 2004-03-10 | Embedded information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004067059A JP2005258642A (en) | 2004-03-10 | 2004-03-10 | Embedded information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005258642A true JP2005258642A (en) | 2005-09-22 |
Family
ID=35084316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004067059A Pending JP2005258642A (en) | 2004-03-10 | 2004-03-10 | Embedded information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005258642A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007148865A (en) * | 2005-11-29 | 2007-06-14 | Naltec Inc | Apparatus controlled by processor |
JP2007264978A (en) * | 2006-03-28 | 2007-10-11 | Brother Ind Ltd | Information processor and method for starting the same |
JP2008217524A (en) * | 2007-03-06 | 2008-09-18 | Ricoh Co Ltd | Data transfer method, data transfer device, electronic equipment, and image forming device |
JP2011123802A (en) * | 2009-12-14 | 2011-06-23 | Ricoh Co Ltd | Electronic apparatus, start-up control method, start-up control program, and recording medium |
JP2012216108A (en) * | 2011-04-01 | 2012-11-08 | Nec Corp | Information processing apparatus and program transfer method |
US8438377B2 (en) | 2009-04-17 | 2013-05-07 | Ricoh Company, Limited | Information processing apparatus, method and computer-readable storage medium that encrypts and decrypts data using a value calculated from operating-state data |
JP2014085909A (en) * | 2012-10-25 | 2014-05-12 | Canon Inc | Information processor, starting method, and program |
JP2014085908A (en) * | 2012-10-25 | 2014-05-12 | Canon Inc | Information processor, starting method, and program |
JP2014085907A (en) * | 2012-10-25 | 2014-05-12 | Canon Inc | Information processor, starting method, and program |
-
2004
- 2004-03-10 JP JP2004067059A patent/JP2005258642A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007148865A (en) * | 2005-11-29 | 2007-06-14 | Naltec Inc | Apparatus controlled by processor |
JP2007264978A (en) * | 2006-03-28 | 2007-10-11 | Brother Ind Ltd | Information processor and method for starting the same |
JP2008217524A (en) * | 2007-03-06 | 2008-09-18 | Ricoh Co Ltd | Data transfer method, data transfer device, electronic equipment, and image forming device |
US8438377B2 (en) | 2009-04-17 | 2013-05-07 | Ricoh Company, Limited | Information processing apparatus, method and computer-readable storage medium that encrypts and decrypts data using a value calculated from operating-state data |
US8782388B2 (en) | 2009-04-17 | 2014-07-15 | Ricoh Company, Limited | Information processing apparatus, method, and computer-readable storage medium that encrypt data in a blob based on a hash value |
JP2011123802A (en) * | 2009-12-14 | 2011-06-23 | Ricoh Co Ltd | Electronic apparatus, start-up control method, start-up control program, and recording medium |
JP2012216108A (en) * | 2011-04-01 | 2012-11-08 | Nec Corp | Information processing apparatus and program transfer method |
JP2014085909A (en) * | 2012-10-25 | 2014-05-12 | Canon Inc | Information processor, starting method, and program |
JP2014085908A (en) * | 2012-10-25 | 2014-05-12 | Canon Inc | Information processor, starting method, and program |
JP2014085907A (en) * | 2012-10-25 | 2014-05-12 | Canon Inc | Information processor, starting method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110032403B (en) | Memory device and start program loading method of electronic device | |
JP5268363B2 (en) | Switching method of computer multi-operating system | |
JP5783809B2 (en) | Information processing apparatus, activation method, and program | |
JP6399916B2 (en) | Information processing apparatus and control method thereof | |
KR20070077463A (en) | Method of system booting with a direct memory access in a new memory architecture | |
JP5860543B2 (en) | Boot data loading | |
TW201239759A (en) | BIOS update method and computer system for using the same | |
JP2005258642A (en) | Embedded information processor | |
JP2005071303A (en) | Program starting device | |
JP2007206933A (en) | Information processor, boot loader generation method and program transfer method in information processor | |
JP5683186B2 (en) | Start-up acceleration method, information processing apparatus, and program | |
JP2013008244A (en) | Program execution device, image processing apparatus and program | |
JP2008158991A (en) | Control system for nand type flash memory | |
JP5970867B2 (en) | Information processing apparatus, image forming apparatus, and program | |
JP2012194675A (en) | Information apparatus and emergency access method for information apparatus | |
JP6080492B2 (en) | Information processing apparatus, activation method, and program | |
JP2008015725A (en) | Information processor and program activating method | |
JP2009176151A (en) | Information processing apparatus and method of starting the same | |
JP2005258967A (en) | Data processor | |
CN110647428A (en) | Method for making and recovering mirror image file, processor and embedded system | |
JP2005107938A (en) | System for starting computer and data storage device | |
JP6080490B2 (en) | Information processing apparatus, activation method, and program | |
JP6080491B2 (en) | Information processing apparatus, activation method, and program | |
JP2006243810A (en) | Microcomputer system | |
JP2007004350A (en) | Method for executing temporary use program, microprocessor system, information processor and program |