CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル (第 3 版) Copyright (C)2014 (株)コンピューテックス ご使用になる前に CKB-RZ/A1H 組込み Linux をご使用になる前にマニュアルをよくお読みいただき、正しくお使いください。 本製品を輸出する(日本国外への持出含む)場合、またはソフトウェアを国内非居住者に提供する場合は外国為替及び外国貿易法 に従って必要な手続きをお取りください。 本製品および付属のマニュアル、回路図、ソフトウェア等の一部、または全部を無断で使用することや、複製することはできません。 本製品の内容、および仕様に関しては製品の信頼性、機能、設計の改良により将来予告なしに変更することがあります。 CSIDE に関する著作権は(株)コンピューテックスに帰属します。 CSIDE、PALMiCE および COMPUTEX は、(株)コンピューテックスの登録商標です。 Microsoft および Windows は、米国 Microsoft Corporation の、米国、日本およびその他の国における登録商標または商標です。 Linux は、Linus Torvalds 氏の日本およびその他の国における登録商標または商標です。 その他本書で取り上げる会社名および製品名などは、一般に各メーカーの商標、または登録商標です。 あわせて当社 WEB サイトに掲載されている「保証規定」も必ずご確認ください。 http://www.computex.co.jp/support/guarantee/index.htm 目 次 第 1 章 はじめに ......................................................................................................1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 はじめに ....................................................................................................................................................................1 コマンド表記について............................................................................................................................................2 CKB-RZ/A1H ボードについて ...........................................................................................................................3 対応ドライバについて ...........................................................................................................................................5 準備するもの ..........................................................................................................................................................6 動作環境 ................................................................................................................................................................7 Linux クロス開発環境 ..........................................................................................................................................7 第 2 章 メモリ・マップ ...............................................................................................8 2.1 はじめに ....................................................................................................................................................................8 2.2 メモリ・デバイス........................................................................................................................................................8 2.2.1 SPI フラッシュ・メモリ ................................................................................................................................8 予備の領域を使用する場合 ........................................................................................................................................................................... 9 MTD ブロックの配置を変更する場合 ............................................................................................................................................................ 9 2.2.2 SDRAM メモリ...........................................................................................................................................9 2.2.3 EEPROM ................................................................................................................................................ 10 2.3 microSD カード .................................................................................................................................................... 11 2.3.1 microSD カードを/usr フォルダとして使用する場合 .................................................................. 11 第 3 章 ブート仕様 .............................................................................................. 12 3.1 3.2 3.3 3.4 はじめに ................................................................................................................................................................. 12 CPU ブート・モード .............................................................................................................................................. 12 イメージ・ファイル ................................................................................................................................................. 12 ブート手順............................................................................................................................................................ 13 第 4 章 SPI フラッシュ・メモリへの書き込み .................................................... 14 4.1 はじめに ................................................................................................................................................................. 14 4.2 イメージ・ファイルの書き込み ........................................................................................................................... 14 4.2.1 eSD ブート・モードを使って Linux ホストから書き込む場合.................................................... 14 4.2.2 Windows ホスト・パソコンから書き込む場合 ................................................................................ 16 4.2.3 PALMiCE3 から書き込む場合 ........................................................................................................ 16 4.2.4 USB メモリから uImage.bin を書き換える場合 ........................................................................... 17 U-Boot コマンドを使って USB メモリのバイナリを SPI フラッシュに書き込む .................................................................................... 17 Linux から USB メモリを使って書き換える.................................................................................................................................................. 17 4.3 U-Boot の設定 ................................................................................................................................................... 18 4.3.1 U-Boot 環境変数の確認と設定 ................................................................................................... 18 第 5 章 サンプル・プログラム ............................................................................... 19 5.1 はじめに ................................................................................................................................................................. 19 5.2 HTTP サーバ&CGI サンプル ............................................................................................................................ 20 5.2.1 概要 ........................................................................................................................................................ 20 5.2.2 ソース・ファイル ...................................................................................................................................... 21 5.2.3 コンパイル ............................................................................................................................................... 21 5.2.4 Web サーバの起動 ............................................................................................................................... 21 5.2.5 各操作の説明 ..................................................................................................................................... 22 LED 制御 ............................................................................................................................................................................................................. 22 有線 LAN(eth0)の設定 .................................................................................................................................................................................. 22 無線 LAN(wlan0)の設定................................................................................................................................................................................ 23 設定内容をフラッシュ・メモリに保存 ............................................................................................................................................................. 24 CKB-RZ/A1H 再起動 ................................................................................................................................................................................... 24 5.3 タッチパネル、LCD、LED 用サンプル ............................................................................................................ 25 ライセンス表示 .................................................................................................................................................................................................... 26 5.4 拡張コネクタ(EXT1_CN)用サンプル ............................................................................................................. 27 5.4.1 メモリバス(/CS2 空間)アクセスサンプル........................................................................................ 27 5.4.2 GPIO クラス ............................................................................................................................................ 28 GPIO 番号表 ..................................................................................................................................................................................................... 28 EXT1_CN 信号表 ............................................................................................................................................................................................. 29 Linux の GPIO クラスを使って EXT1_CN の GPIO ピンを操作する ................................................................................................... 30 GPIO クラスを使ったアプリケーション例 ........................................................................................................................................................ 30 5.4.3 ADC コンバータ ..................................................................................................................................... 31 EXT2_CN 信号表 ............................................................................................................................................................................................. 31 デバイス・ファイル................................................................................................................................................................................................. 31 5.4.4 SPI2 ......................................................................................................................................................... 32 EXT2_CN 信号表 ............................................................................................................................................................................................. 32 デバイス・ファイル................................................................................................................................................................................................. 32 サンプル・ソース ................................................................................................................................................................................................... 32 5.4.5 RIIC3(I2C) .............................................................................................................................................. 33 EXT1_CN 信号表 ............................................................................................................................................................................................. 33 第 6 章 使用例 .................................................................................................... 34 6.1 はじめに ................................................................................................................................................................. 34 6.2 マスストレージ(USB/microSD)をマウントする ........................................................................................... 34 6.2.1 USB メモリ/USB ハードディスクのフォーマット .............................................................................. 34 vFAT でフォーマットする ................................................................................................................................................................................... 34 ext2 でフォーマットする ..................................................................................................................................................................................... 34 6.2.2 USB メモリ/USB ハードディスクのマウント .................................................................................... 35 6.2.3 USB メモリ/USB ハードディスクのアンマウント ............................................................................. 35 6.2.4 microSD カードのフォーマット ............................................................................................................ 36 vFAT でフォーマットする ................................................................................................................................................................................... 36 ext2 でフォーマットする ..................................................................................................................................................................................... 36 6.2.5 microSD カードのマウント .................................................................................................................. 36 パーティション 1 を/mnt フォルダにマウントする場合 ................................................................................................................................ 36 パーティション 2 を/usr フォルダにマウントする場合 ................................................................................................................................. 36 6.2.6 microSD カードのアンマウント........................................................................................................... 36 6.3 Linux ホストのディレクトリをマウントする(NFS) ........................................................................................... 37 6.3.1 Linux ホスト側の準備 ........................................................................................................................ 37 NFS サーバのインストール ............................................................................................................................................................................... 37 /etc/exports ファイルを編集する ................................................................................................................................................................ 37 NFS サーバを再起動する ............................................................................................................................................................................... 37 6.3.2 CKB-RZ/A1H 側でマウントする ..................................................................................................... 37 mount コマンドを使ってマウントする ............................................................................................................................................................. 37 /etc/fstab を使って Linux ホスト上のディレクトリをマウントする ........................................................................................................ 37 6.4 CM-J100 による無線 LAN を使う ................................................................................................................ 38 6.4.1 CM-J100 ローダブル・モジュール ..................................................................................................... 38 6.4.2 無線 LAN 設定ファイル ..................................................................................................................... 39 6.5 ネットワークの設定方法 ................................................................................................................................... 40 6.5.1 設定ファイル .......................................................................................................................................... 41 6.5.2 ネットワークの接続、切断 ................................................................................................................. 43 6.5.3 タイムサーバから時刻を設定する ................................................................................................... 43 第 7 章 CKB-RZ/A1H に含まれるソフトウェア............................................. 44 7.1 ライセンスについて .............................................................................................................................................. 44 7.1.1 ソース・パッケージのリスト .................................................................................................................. 44 7.1.2 ライセンス................................................................................................................................................ 45 第 8 章 トラブル・シューティング ....................................................................... 199 8.1 最新情報、FAQ など .....................................................................................................................................199 第1章 はじめに 1.1 はじめに このマニュアルは、CKB-RZ/A1H ボード用の組み込み Linux について記述しています。 主な特長は以下のとおりです。 ルネサス製 Cortex-A9 コア搭載 RZ/A1H(400MHz 品)に対応 USB2.0 ホスト、下段 (HighSpeed)、 上段(FullSpeed)の 2 つを搭載し、マスストレージに対応 microSD カードスロットを搭載 有線 LAN(10Base-T/100Base-TX)を搭載 コンポジットビデオ入力を搭載 (※Linux ドライバは現在用意されておりません。) タッチパネル付き LCD モジュールを搭載可能(CKB-LCD-02 オプション) SDIO 接続の無線 LAN モジュール(CM-J100)を搭載可能(オプション) Note ハードウェアに関わる資料は、「組み込みボード CKB-RZ/A1H」に付属する CD-ROM の中にある資料を参照してくださ い。 本製品のマニュアルは以下のマニュアルで構成されています。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル(本書) 「組み込みボード CKB-RZ/A1H」で動作する組み込み Linux の機能について記載されています。 CKB Linux オプション 導入ガイド 「組み込みボード CKB シリーズ」共通の Linux 開発環境(Linux ホスト)の構築から、ビルド、フラッシュ・メモリへの書 込み、および、当社デバッガ(C-Shark と、PALMiCE3)でデバッグするための手順までの概要が記載されていま す。 本製品をセットアップされる場合は、「CKB Linux 導入ガイド」に沿って行い、必要な箇所は本書や「CKB-RZ/A1H ハードウェ ア・マニュアル」を参照することをお勧めします。 当社のホーム・ページには、この他デバッガの便利な使い方などを記載しているほか、各種ドキュメントを用意しています。当 社ホーム・ページを是非参照してください。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 1 マニュアルの構成は以下のとおりです。 第 1 章 はじめに 「組み込みボード CKB-RZ/A1H」で動作する Linux の開発を行う為の準備について記述しています。 第 2 章 メモリ・マップ CKB-RZ/A1H で動作する Linux が使用する CPU、SPI フラッシュ、RAM のメモリ・マップを記述しています。 第 3 章 ブート仕様 CKB-RZ/A1H で動作する Linux のブート手順を記述しています。 第 4 章 SPI フラッシュ・メモリへの書き込み CKB Linux SDK で開発したプログラム(バイナリ・ファイル)を CKB-RZ/A1H の SPI フラッシュに書き込む方法を記 述しています。 第 5 章 サンプル・プログラム CKB-RZ/A1H Linux に標準でコンパイルされるサンプル・プログラムについて記述しています。 第 6 章 使用例 CKB-RZ/A1H Linux で行える各種機能についての使用例を記述しています。 第 7 章 CKB-RZ/A1H に含まれるソフトウェア CKB-RZ/A1H に含まれるソフトウェアやライセンスについて記述しています。 第 8 章 トラブル・シューティング CSIDE が使用できない場合や、デバッグ時のトラブル・シューティングです。 1.2 コマンド表記について 本マニュアルで説明する表記について説明します。 コマンドの表記は以下のように記述します。 コマンド表記 説明 WINPC> command parameter … Windows ホスト・パソコンで実行するコマンドを示します。 LINUXPC$ command parameter … Linux ホスト(Ubuntu)で実行するコマンドを示します。 U-BOOT> command parameter … CKB-RZ/A1H のコンソールで実行する U-Boot コマンドを示します。 CKB# command parameter … CKB-RZ/A1H のコンソールで実行する Linux コマンドを示します。 Linux ホストと、CKB-RZ/A1H コマンドのプロンプトが“#”の場合は root 権限で、“$”の場合はユーザ権限で実行します。 ユーザ権限から sudo コマンドで root 権限の実行が行えます。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 2 1.3 CKB-RZ/A1H ボードについて 詳細仕様については、「CKB-RZ/A1H ハードウェア・マニュアル」を参照してください。 [3] SIO_CN [2] USB_CN [1] LAN_CN [4] POWER [16] DBG_CN [5] PCN2 [6] PCN1 [7] SW2 [8] SW1 [9] WLAN_CN [10] EXT2_CN [15] EXT1_CN [11] LED1 [12] LED2 [14] microSD_CN [13] RCA1_CN CKB-RZ/A1H TOP VIEW [17] SIOEX_CN [19] LCD_CN [18] CAMERA_CN CKB-RZ/A1H BOTTOM VIEW CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 3 名称一覧 No. 名称 仕様 [1] LAN_CN LAN コネクタ [2] USB_CN USB ホストコネクタ [3] SIO_CN シリアル I/F コネクタ [4] POWER POWER LED (緑) [5] PCN2 2 芯電源ケーブル接続用コネクタ [6] PCN1 DC ジャック [7] SW2 CPU リセット・スイッチ [8] SW1 CPU モード・スイッチ [9] WLAN_CN 無線 LAN モジュール接続用コネクタ [10] EXT2_CN 拡張用端子 [11] LED1 モニタ用 LED (赤) [12] LED2 モニタ用 LED (赤) [13] RCA1_CN コンポジットビデオ入力端子(※Linux ドライバは用意しておりません) [14] microSD_CN microSD カードスロット [15] EXT1_CN 拡張用端子 [16] DBG_CN デバッガ接続用コネクタ [17] SIOEX_CN シリアル I/F 拡張端子 [18] CAMERA_CN カメラ・モジュール接続用コネクタ(※Linux ドライバは用意しておりません) [19] LCD_CN ディスプレイ・モジュール接続用コネクタ CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 4 1.4 対応ドライバについて CKB Linux SDK V2.00.00 で対応する RZ/A1H 用の内蔵モジュールは以下になります。 内蔵モジュール 用途 対応状況 SDRAM MT48LC16M16A2P-6A (CS3) 32M バイト ○ UART0 UART0 コンソール入出力 ○ RIIC1 TSC2007 タッチパネル入力(Addr=0x48) ○ RIIC2 M24C01-RMN6 EEPROM(Addr=0x51) ○ VDC 出力 LCD 表示用フレームバッファ(LCD_CN)に対応 ○ USB0 USB ホスト(下段) ○ USB1 USB ホスト(上段) ○ SD0 microSD スロット ○ SD1 SDIO 接続無線 LAN アダプタ(CM-J100)用コネクタ ○ SPI マルチ I/O バス Ch.0 MX25L12835FZNI-10G SPI シリアルフラッシュ ○ イーサネットコントローラ(ETHER) Ether Phy(μPD60610) 10/100Mbps ○ ユーザ制御用 LED GPIO(P8_8, P8_9) ○ EXT1_CN (8 ビットメモリバス) /CS2、/X_WE0、/X_RD、D0-D7、A2-A5 ○ EXT1_CN (RIIC3) I2C(SCL3、SDA3) ○ EXT1_CN (SSI) SSISCK0、SSIWS0、SSITXD0、SSIRXD0 -- EXT2_CN (ADC) AN0, AN1, AN2, AN3, AN5 ○ EXT2_CN (SPI) RSPCK2、SSL20、MOSI2、MISO2 ○ CAMERA_CN カメラ・モジュール接続用コネクタ -- RCA1_CN コンポジット・ビデオ入力端子 -- 上記対応表の「--」の内蔵モジュールについては、Linux ドライバは用意しておりません。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 5 1.5 準備するもの CKB Linux オプション : OPT-CKB-L2 (本製品) ● AC 電源アダプタ ● CKB Linux SDK(DVD-ROM) ● microSD カード ● LAN ケーブル ● USB シリアル・コンバータ ● USB ケーブル(USB シリアル・コンバータ用) 以下はユーザ様にてご用意してください。 組み込みボード CKB-RZ/A1H (別売 / CKB Linux オプションを使用する場合に必要です。) ● CKB-RZ/A1H ボード本体 ● 2 芯電源ケーブル ● CKB-RZ/A1H CD (CD-ROM) 無線 LAN モジュール CM-J100 (別売 / SDIO 接続、無線 LAN 機能を使用する場合に必要です。) ● CM-J100 本体 ディスプレイ・モジュール CKB-LCD-02 (別売 / LCD を使用する場合に必要です。) ● CKB-LCD-02 ボード本体 (タッチパネル付き LCD ボード) ● 接続ケーブル 作業用パソコン (ユーザ様にてご用意ください) 仕様に関しては「1.6 動作環境」を参照してください。 VMware Player (ユーザ様にてご用意ください) VMware Player 5.0.2 推奨。無償版を使用可能です。 Linux 開発環境(Linux ホスト)を動作させるために、作業用パソコンにインストールします。 ホスト・パソコンがインターネットに接続できない場合は、あらかじめ入手しておいてください。 Ubuntu 12.04 LTS (ユーザ様にてご用意ください) CKB-RZ/A1H の Linux 開発環境として”Ubuntu 12.04 LTS”を使用します。 このマニュアルでは、Windows ホスト・パソコンの VMware Player 上で動作させます。 インターネットに接続できない場合は、開発に必要なパッケージとともにあらかじめ入手しておいてください。 その他、有線 LAN を使用するための HUB や、無線 LAN を使用するための無線 LAN アクセス・ポイントはお客様でご用意 ください。 Note buildroot をコンパイルするホスト OS が、「Ubuntu 12.04 LTS」以外の場合は、buildroot でコンパイル・エラーとなる 場合があります。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 6 1.6 動作環境 組み込み Linux の開発を行うには、以下のホスト環境が必要です。 動作環境 ホスト・パソコン CPU メモリ HDD DVD ドライブ USB 対応 OS が動作するパソコン intel Core i シリーズ(2 コア以上) 2GHz 以上 4GB 以上 500GB 以上 DVD-R メディアの読み込みが可能であること USB2.0 LAN インターフェース 100BASE-TX 以上 RS-232C ポート メモリカードリーダ USB シリアル変換アダプタを使用する場合は USB ポートが必要 microSD/SDHC スロット。または microSD→USB 変換アダプタ Windows Vista Windows 7 Windows 8 OS 補足 インストール時に必要 USB シリアル・コンバータに使用 開発に必要なソフトウェア(Linux パッケー ジ等)をオンラインで入手する場合はイン ターネットに接続可能のこと 32 ビット版 32 ビット版、64 ビット版 32 ビット版、64 ビット版 1.7 Linux クロス開発環境 CKB Linux SDK による開発には Linux クロス開発環境の構築が必要です。 VMware Player Ver5 または、Ver6 Ubuntu 12.04 LTS を動作させる仮想マシンとして必要です。 Ubuntu 12.04 LTS CKB-RZ/A1H の Linux 開発環境です。VMware Player 上で動作するようにインストールします。 以降の説明では、Linux ホストと記述します。 CKB Linux SDK Linux ホストにインストールして開発環境を構築します。 必要なソフトウェアのインストールと環境構築の詳細については「CKB Linux オプション 導入ガイド」を参照してください。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 1 章 はじめに 7 第2章 メモリ・マップ 2.1 はじめに この章では、CKB-RZ/A1H に実装されたデバイスのメモリ・マップを記述します。 2.2 メモリ・デバイス RZ/A1H に接続されるメモリ・デバイスのアドレスを下表に記述します。 RZ/A1H アドレス デバイス サイズ 0x08000000 - 0x0800003F(/CS2) 外部拡張 8 ビット・データバス(EXT_CN1) 信号:A2-5, D0-7, /CS2, /RD, /WE0 0x0C000000 - 0x0DFFFFFF(/CS3) SDRAM 32M バイト 0x18000000 - 0x18FFFFFF(SPI0) SPI フラッシュ・メモリ 16M バイト 0x20000000 - 0x209FFFFF 内蔵 RAM 10M バイト 2.2.1 SPI フラッシュ・メモリ SPI フラッシュ・メモリにはブートローダ、OS や各種データを格納しています。 CPU のアドレスと SPI フラッシュのアドレス、Linux ターゲットから見たブロック・デバイスを以下の表に記述します。 CPU (RZ/A1H) SPI-Flash Address Address 18000000 1807FFFF 00000000 0007FFFF ブートローダ格納用 u-boot.bin /dev/mtdblock0 512K バイト 18080000 180DFFFF 00080000 000DFFFF LCD 起動画像用(*1) /dev/mtdblock1 384K バイト 180E0000 180FFFFF 000E0000 000FFFFF U-Boot 変数格納用 /dev/mtdblock2 128K バイト 18100000 18EFFFFF 00100000 00EFFFFF Linux バイナリ・イメージ格納用(*2) uImage.bin /dev/mtdblock3 14M バイト /dev/mtdblock4 1M バイト 用途 18F00000 00F00000 予備(保存データなどに使用可能) 18FFFFFF 00FFFFFF *1 :LCD オプションを使用しない場合は不要です。 *2 :SD/MMC カード上の uImage.bin を実行する場合は不要です。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル Linux ブロック・デバイス サイズ 第 2 章 メモリ・マップ 8 予備の領域を使用する場合 デフォルトでの SPI フラッシュ・メモリは最後のブロックを予備として空けています。 電源断やリセットしても保持したいデータをこの領域に保存することができます。 予備領域(mtdblock4)をフォーマット mtdblock4 を ext2 でフォーマットします。 CKB# mkfs.ext2 /dev/mtdblock4 予備領域(mtdblock4)にデータを保存する例を以下に記述します。 /etc 以下にある保存したいファイルを mtdblock4 に保存して Linux 起動時に上書き設定する例を記述します。 /etc フォルダ以下のファイルを保存したい場合の例 CKB# mkdir -p /mnt/save_settings CKB# mount /dev/mtdblock4 /mnt/save_settings CKB# cp -fp /etc/{保存したいファイル} /mnt/save_settings/etc ; 保存したいデータをすべて記述します。 CKB# umount /mnt/save_settings CKB# rm -r /mnt/save_settings 保存したデータを Linux 起動時に上書き設定する例を以下に記述します。 以下の初期化シェルを設定します。 /etc/init.d/S30load_settings CKB# mkdir -p /mnt/save_settings CKB# mount /dev/mtdblock4 /mnt/save_settings CKB# cp -rfp /mnt/save_settings/etc/* /etc/ CKB# umount /mnt/save_settings CKB# rm -r /mnt/save_settings MTD ブロックの配置を変更する場合 以下のソースに記述された変数の値を変更することで MTD ブロックのサイズや配置を変更できます。 変更箇所 Linux ソース・パス buildroot-{日付}/output/build/linux-3.8.13/arch/arm/mach-ckbrza1h/board-ckbrza1h.c 変数 static struct mtd_partition spibsc0_flash_partitions[] 2.2.2 SDRAM メモリ CKB-RZ/A1H 上で動作する組み込み Linux では SDRAM を使用します。 ここでは、Linux が使用する SDRAM について記述します。 Linux 使用メモリ(仮想アドレス) アドレス 0xC0000100 - 0xC0007FFF 0xC0008000 - 0xC07FFFFF 0xC0800000 - 0xC1FFFFFF 0x20200000 – 0x209FFFFF 用途 Linux Parameter Linux Kernel initrd & free memory LCD Framebuffer CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル サイズ 31.75KByte 7.97MByte 24MByte 8MByte 第 2 章 メモリ・マップ 9 2.2.3 EEPROM EEPROM の仕様は下表のとおりです。 メーカー名 ST マイクロ 品名 M24C01-RMN6 I/F I2C2(/dev/i2c-2) 容量 1Kbit(128x8) 出荷時に当社ベンダ ID を使った有線 LAN の MAC アドレスが書き込まれています。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 2 章 メモリ・マップ 10 2.3 microSD カード CKB-RZ/A1H では microSD カードを Linux のファイル・システムとして使用できます。 CKB-RZ/A1H では SPI フラッシュ・メモリと SDRAM だけで Linux が起動するようになっており、基本ファイル・システムは、 uImage.bin にリンクされた initrd を RAM ディスクに展開して実行するようになっています。 /usr フォルダには必要最低限のファイルのみコピーして initrd を作成するようになっていますが、より大きなファイル・サイズの アプリケーションやデータを扱う場合は、microSD カードに配置して起動時にマウントするように変更してください。 2.3.1 microSD カードを/usr フォルダとして使用する場合 microSD カードを/usr フォルダとして使用する場合は以下のようにしてください。 Linux ホストから見た microSD のデバイスが、/dev/sdb1 で、/dev/mmcblk0p1 を/usr フォルダとする場合の microSD 作成例 1. Linux ホストで microSD カードに ext2 形式のパーティションを作成します。 2. microSD カードをフォーマットします。マウントしている場合はアンマウントしてからフォーマットしてください。 LINUXPC$ sudo mkfs.ext2 /dev/sdb1 -L mmc_usr 3. buiildroot をコンパイルすると、microSD カード用の/usr フォルダのファイルは、以下のフォルダに作成されます。 ~/buildroot-{日付}/output/images/sdcard_usr_folder/ 4. microSD カードをマウントして/usr フォルダのファイルをコピーします。 コマンドでマウントする方法を記載していますが、一旦 microSD カードを抜き差しして自動的にマウントしても構いません。 LINUXPC$ sudo mkdir /media/mmc_usr LINUXPC$ sudo mount /dev/sdb1 /media/mmc_usr LINUXPC$ sudo cp -rfp ~/buildroot-{日付}/output/images/sdcard_usr_folder/* /media/mmc_usr/ 5. microSD カードを umount して Linux ホストから取り出します。 LINUXPC$ sudo umount /media/mmc_usr CKB-RZ/A1H の Linux で起動時に上記で作成した microSD をマウントするには、以下の設定をしてください。 ~/buildroot-{日付}/board/ckb/ckb-rz/fs/etc/fstab # /etc/fstab: static file system information. # # <file system> <mount pt> <type> <options> <dump> <pass> ext2 rw,relatime,errors=continue 0 0 ; ; /dev/mmcblk0p1 /usr <=== この行を追加 options に rw を設定すると書き込み可能になりますが、書き込み中に電源断するとファイルが失われる可能性があります。ファ イルの破壊を防ぐには ro(リードオンリー)でマウントする必要がありますが、このフォルダにファイルを書き込むアプリケーションが ある場合は、書き込むフォルダの位置をアプリケーション単位で/tmp などの RAM にマウントされたフォルダに作成するように変 更してください。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 2 章 メモリ・マップ 11 第3章 ブート仕様 3.1 はじめに CKB-RZ/A1H で動作する Linux のブート手順を記述します。 3.2 CPU ブート・モード CKB-RZ/A1H では、RZ/A1H の SPI フラッシュ・ブート・モードと SD ブート・モードがディップ・スイッチで切り替え可能です。 ブート・モード ディップ・スイッチ(SW1) 1 SPI フラッシュ・ブート OFF eSD ブート ON 出荷時は、SPI フラッシュ・ブート・モードに設定されています。 3.3 イメージ・ファイル CKB-RZ/A1H で Linux を実行するためには、以下のバイナリ・ファイルが必要です。 buildroot-{日付}/output/images フォルダに作成されます。 ファイル名 種類 ファイルサイズ制限 u-boot.bin ブートローダ 512K バイト以内 title_image.bin 起動時のタイトル画像 384K バイト以内 uImage.bin Linux カーネル initrd(RAM ディスク)を含みます。 14M バイト以内 CKB-RZ/A1H では、カーネルと initrd を含む uImage.bin のサイズを 14MB 以内になるように作成してください。なお、initrd に入りきらないアプリケーションやデータなどは microSD カードや USB マスストレージにファイル・システムを構築してください。 また、本ボードに搭載される SDRAM は 32M バイトです。カーネル、ファイル・システム、アプリケーションが使用するメモリが 32M バイトを超えないようにしてください。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 3 章 ブート仕様 12 3.4 ブート手順 CPU がリセットまたは、電源 ON すると、まず CPU 内蔵 ROM のプログラムが実行され、Boot ピンに応じた動作が行われます。 ここでは、SPI ブート・モードによる組み込み Linux が起動するまでの手順を記述します。 まず、u-boot のスタートアップルーチンの先頭で u-boot 自身を内蔵 RAM にコピーします。 順 プログラム 説明 1 CPU 内蔵 ROM プログラム 0xFFFF0000 番地から実行 (システム ROM、書換不可) Boot ピンから SPI-Flash ブートと判断、SPI-Flash の先頭にジャンプ 2 3 u-boot.bin(SPI-Flash:0x18000000 番地)を内蔵 RAM(0x20020000 番地)にコピー コピーされた内蔵 RAM の u-boot のアドレスにジャンプ ブートローダ(U-Boot)では、CPU やメモリの初期化などを行い U-Boot の環境設定により指定されたデバイスからカーネルを 読み込んで実行します。 順 プログラム 説明 4 u-boot.bin(ブートローダ) 0x20020000 番地 SDRAM、MMU、キャッシュの初期化 5 6 1. 起動時のタイトル画像(title_image.bin)を SPI-Flash(0x18080000 番地)から、 FlameBuffer にコピーして LCD に表示 u-boot-env の情報により以下のいずれかに分岐 1.SPI-Flash にある Linux を実行 2.USB メモリにある Linux を実行 SPI-Flash にある Linux を実行 U-Boot 環境変数の設定例: U-BOOT> setenv bootcmd 'fread_kernel 0x0C007FC0;bootm 0x0C007FC0' 順 プログラム 説明 7 u-boot.bin の続き uImage.bin の先頭にあるヘッダに書かれたサイズを SPI-Flash(0x18100000 番地)か らサイズ分 SDRAM にコピー 8 9 2. カーネルの先頭(SDRAM 0x0C007FC0 番地)にジャンプ uImage.bin 0x0C007FC0 番地から実行 Linux カーネルとファイル・システムがブートします USB メモリの/uImage.bin)にある Linux を実行 U-Boot 環境変数の設定例: U-BOOT> setenv bootcmd 'usb start;fatload usb 0 0x0C007FC0 /uImage.bin;bootm 0x0C007FC0 順 プログラム 説明 7 u-boot.bin の続き USB メモリ(fat 形式)の先頭パーティションに書かれた/uImage.bin ファイルを SDRAM にコピー 8 9 コピーされたプログラムの先頭(SDRAM 0x0C007FC0 番地)にジャンプ uImage.bin 0x0C007FC0 番地から実行 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル Linux カーネルがブートします。 第 3 章 ブート仕様 13 第4章 SPI フラッシュ・メモリへの書き込み 4.1 はじめに この章では Linux のイメージ・ファイルを SPI フラッシュに書き込む方法について説明します。 4.2 イメージ・ファイルの書き込み 4.2.1 eSD ブート・モードを使って Linux ホストから書き込む場合 Windows ホスト・パソコンにインストールされた VMware Player で動作する Linux ホストから eSD ブート・モードを使って SPI フ ラッシュを書き換えることができます。 microSD カードに書かれたモニタ・プログラム「init_CKB-RZA1H.bin」が eSD ブートにより実行され、そのモニタ・プログラムと 「uartflasher_CKB」が UART 通信によりバイナリ・ファイルを転送し、SPI フラッシュに書き込みます。 そのため、モニタ・プログラム「init_CKB-RZA1H.bin」をあらかじめ dd コマンドで microSD カードに書いておく必要があります。 まず、Windows ホスト・パソコンに microSD カードを挿入し、パーティション情報より microSD のデバイス名を特定します。 入力としてモニタ・プログラムのバイナリ・ファイルを指定し、出力先として microSD のデバイスを指定します。 LINUXPC$ cd SPI-Flash-images/ckb-rza1h LINUXPC$ cat /proc/partitions major minor #blocks name 11 0 1048575 sr0 8 0 41943040 sda 8 1 40893440 sda1 8 2 1 sda2 8 16 1955840 sdb LINUXPC$ sudo dd if=init_CKB-RZA1H.bin of=/dev/sdb 57+0 レコード入力 57+0 レコード出力 29184 バイト (29 kB) コピーされました、 0.34774 秒、 83.9 kB/秒 準備が整いましたら以下の手順で uartflasher_CKB により SPI フラッシュを書き換えます。 1. CKB ボードにモニタ・プログラムが書き込まれた microSD カードが挿入されていることを確認して、CKB ボードのディップ・ スイッチ(SW1-1)を ON にし、eSD ブートに変更します。 2. Windows ホスト・パソコンと CKB-RZ/A1H を RS-232C ケーブルで接続します。 3. VMware Player の「取り外し可能デバイス」の「Future Devices FT232R USB UART」を有効にしてください。 Linux ホストからは、/dev/ttyUSB0 で USB シリアル・コンバータを使った転送ができます。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 4 章 SPI フラッシュ・メモリへの書き込み 14 4. 以下のコマンドで書き換えたいバイナリ・ファイルをロードします。 LINUXPC$ cd buildroot-{日付}/output/images LINUXPC$ sudo ./uartflasher_CKB -flashimages -p /dev/ttyUSB0 -d CKB-RZ/A1H -u u-boot.bin -k uImage.bin -t title_image.bin 書き換えるバイナリのオプションとファイル名を以下の表に記述します。(同時に複数指定が可能です) 種類 ブートローダ Linux イメージ・ファイル 起動時の LCD 画像 オプション -u -k -t ファイル名 u-boot.bin uImage.bin title_image.bin 以下のコマンドでオプションの詳細を確認できます。 LINUXPC$ ./uartflasher_CKB -h 一度 uartflasher_CKB を実行するとその時の設定を.uart_flasher.settings ファイルに保存します。前回と同様の設定で書 き込む場合は以下のようにオプション指定なしでコマンドを実行し、以降の確認では Enter キーを押します。 LINUXPC$ sudo ./uartflasher_CKB uartflasher_CKB はコンパイル済みの実行バイナリを CKB Linux SDK の DVD-ROM にも用意しています。 DVD-ROM から Linux ホストにコピーした時に実行権がない場合は、以下のコマンドで実行権を付加してください。 # chmod +x uartflasher_CKB 5. 「Waiting for target... (power on or reset target now)」と表示されたら、CKB ボードの電源を ON または、リセット・ボタンを 押すと転送と書き込みを開始します。 6. 必要なバイナリ・ファイルをすべて書き込んだら CKB-RZ/A1H のディップ・スイッチ(SW1-1)を OFF にし、SPI ブートに変更 してリセットします。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 4 章 SPI フラッシュ・メモリへの書き込み 15 4.2.2 Windows ホスト・パソコンから書き込む場合 Windows ホスト・パソコンから eSD ブート・モードを使って SPI フラッシュを書き換えることができます。 詳細は、「CKB Linux オプション 導入ガイド」の「フラッシュ・メモリへの書き込み」の章を参照してください。 4.2.3 PALMiCE3 から書き込む場合 CSIDE for PALMiCE3 ARM を使って SPI フラッシュにデータを書き込む方法を以下に記述します。 1. buildroot をコンパイルしておきます。 2. PALMiCE3 ARM を起動します。このときに、CKB Linux SDK DVD-ROM にある初期化マクロ(ckb-rza1h.cmac)にて CKB-RZ/A1H ボードの SDRAM メモリとクロックを設定しておきます。 3. PALMiCE3 ARM により以下のバイナリ・ファイルを一旦 RAM にロードしてから SPI フラッシュに書き込みます。 ファイル名 buildroot-{日付}\output\images\title_image.bin buildroot-{日付}\output\images\uImage.bin 4. ロード・アドレス 0x20100000 0x0c007fc0 PALMiCE3 ARM により ELF ファイル(u-boot.elf)をオブジェクトとデバッグ情報付でロードします。 ファイル名 buildroot-{日付}\output\images\u-boot.elf オフセット・アドレス 0x00000000 5. PALMiCE3 にて実行[F5 キー]するとターミナル・コンソールに U-Boot が起動します。 6. 3 秒以内になんらかのキーを押して U-Boot のコマンド・プロンプトにしてください。 7. SDRAM メモリから SPI フラッシュに書き込むには以下のコマンドで書き込みます。 u-boot.bin title_image.bin uImage.bin 8. U-BOOT> flash_uboot U-BOOT> flash_titleimage 0x20100000 U-BOOT> flash_kernel 0x0c007fc0 CKB-RZ/A1H の U-Boot は、デフォルトで、SDRAM からブートするように設定されています。 bootcmd=bootm 0x0C007FC0 この設定は、JTAG デバッガなどで SDRAM に直接 uImage.bin をロードして実行する場合の設定で、CKB ボード単体では 起動しませんので、以下の U-Boot 環境変数の設定を変更して uImage.bin ファイルのデータを bootm コマンドの前にロー ドするように設定してください。 ブート・コマンド 9. U-BOOT> setenv bootcmd 'fread_kernel 0x0c007fc0; bootm 0x0c007fc0' saveenv コマンドにて U-Boot 環境変数を SPI フラッシュにセーブする事で次回起動時に自動的に uImage.bin が実行され ます。 セーブ・コマンド U-BOOT> saveenv CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 4 章 SPI フラッシュ・メモリへの書き込み 16 4.2.4 USB メモリから uImage.bin を書き換える場合 U-Boot コマンドを使って USB メモリのバイナリを SPI フラッシュに書き込む U-Boot が既に SPI フラッシュに書き込まれている場合は、USB メモリを使って SPI フラッシュを書き換えることができます。 1. USB メモリを FAT でフォーマットしておきます。 2. 書き換える uImage.bin ファイルを USB メモリのルート(/)フォルダに書き込みます。 なお、Windows ホスト・パソコンで書き込む場合は、USB メモリが X ドライブであれば以下のように配置します。 X:\uImage.bin 3. CKB-RZ/A1H ボードの USB ホスト(下段)に USB メモリを挿入して電源を入れます。 4. U-Boot が、autoboot に設定されている場合はカーネルが起動する前になんらかのキーを押して U-Boot のコマンド・プロ ンプトに移行してください。 5. 以下のコマンドで USB メモリからカーネルを SPI フラッシュに書き換えます。 U-BOOT> usb start U-BOOT> fatload usb 0 0x0C007FC0 /uImage.bin U-BOOT> sf probe U-BOOT> sf erase 100000 +800000 ; +{サイズ} uImage.bin ファイルのサイズ以上を指定 U-BOOT> sf write 0x0C007FC0 100000 800000 ; {サイズ} uImage.bin ファイルのサイズ以上を指定 ext2 形式でフォーマットされた USB メモリを使用する場合は、上記の fatload コマンドを ext2load コマンドに置き換えて行うこと も可能です。 Linux から USB メモリを使って書き換える Linux が起動した状態で SPI フラッシュを書き換えるには以下のように行います。 システム・イメージや、ブートローダなどの製品自体のアップデートを行いたい場合に、この方法を推奨します。 1. USB メモリの第 1 パーティションにあらかじめ uImage.bin をコピーしておきます。 2. 以下のコマンドで USB メモリをマウントします。 CKB# mount /dev/sda1 /mnt 3. 以下のコマンドでシリアルフラッシュの/dev/mtdblock3 に uImage.bin を書き込みます。 CKB# dd if=/mnt/uImage.bin of=/dev/mtdblock3 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 4 章 SPI フラッシュ・メモリへの書き込み 17 4.3 U-Boot の設定 U-Boot はコマンドや環境変数を使用することで様々な設定や機能を使うことができます。 CKB-RZ/A1H で動作する U-Boot について記述します。 4.3.1 U-Boot 環境変数の確認と設定 U-Boot の環境変数は、"printenv"コマンドで確認できます。 U-BOOT> printenv baudrate=115200 bootargs=console=ttyS1,115200n8 bootcmd=bootm 0x0C007FC0 bootdelay=3 bootfile="uImage.bin" usbboot=usb start;fatload usb 0 0x0C007FC0 /uImage.bin;bootm 0x0C007FC0 spiboot=fread_kernel 0x0C007FC0;bootm 0x0C007FC0 stderr=serial stdin=serial stdout=serial ver=U-Boot 2011.03 (May 24 2013 - 15:12:44) Environment size: 367/2044 bytes U-Boot の環境変数の設定を変更する場合は、"setenv"と”saveenv”コマンドで設定を変更できます。 以下の例は、SPI フラッシュメモリに書かれたカーネルを実行します。 U-BOOT> setenv bootcmd ‘fread_kernel 0x0C007FC0;bootm 0x0C007FC0’ U-BOOT> saveenv Saving Environment to Flash... . done Un-Protected 1 sectors Erasing Flash... . done Erased 1 sectors Writing to Flash... 9....8....7....6....5....4....3....2....1....9....8....7....6....5....4....3....2....1....done . done Protected 1 sectors フラッシュ・メモリに保存された U-Boot 環境変数をクリアしたい場合には以下のコマンドでクリアできます。 U-BOOT> sf erase 0xe0000 +0x20000 U-Boot 環境変数に設定された内容を実行するには、run コマンドで実行できます。 以下のコマンドでは、usbboot 環境変数に設定されたコマンドが実行されます。 U-BOOT> run usbboot CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 4 章 SPI フラッシュ・メモリへの書き込み 18 第5章 サンプル・プログラム 5.1 はじめに CKB Linux SDK では、デフォルトで、HTTP サーバと C 言語を使った CGI プログラムを簡単なサンプル・プログラムと拡張バ ス(EX_CN)を使用する場合のサンプル・プログラムを用意しています。 HTTP サーバ&CGI サンプル LED アプリケーション 有線 LAN(eth0)サンプル 無線 LAN(wlan0)サンプル (CM-J100 オプションが必要) タッチパネル・サンプル(CKB-LCD-02 オプションが必要) 拡張コネクタ用サンプル で構成されています。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 19 5.2 HTTP サーバ&CGI サンプル 5.2.1 概要 Web ブラウザ経由で CKB-RZ/A1H ボード上の LED 制御をしたり、有線 LAN、無線 LAN の設定を変更、保存できます。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 20 5.2.2 ソース・ファイル 本 Web アプリケーションの CGI プログラムは C 言語で記述されています。 httpd 関連ファイル: buildroot-{日付}/board/ckb/ckb-rz/fs/root/www/ index.html httpd サーバのメインのホーム・ページです。 style.css HTML のスタイルを設定したファイルです。 [cgi-bin] 生成された CGI(バイナリ)が格納されます。 [images] サンプル・プログラムで使用する画像ファイルが格納されています。 CGI ソース・ファイル: buildroot-{日付}/board/ckb/ckb-rz/cgi-bin/ Makefile すべての CGI 実行バイナリを make します。 led_main.c LED を点灯/消灯するアプリケーション ethernet_form_main.c 有線 LAN(eth0)の IP アドレスを設定するアプリケーション wireless_form_main.c 無線 LAN(wlan0)のセキュリティや SSID、IP アドレス、DHCP サーバを設定するアプリケーション save_settings_main.c 設定をフラッシュ・メモリの/dev/mtdblock5 に保存するアプリケーション reboot_main.c CKB-RZ/A1H を再起動するアプリケーション licenses_main.c ライセンス・ファイルを表示するアプリケーション 5.2.3 コンパイル CGI サンプル・プログラムをコンパイルするには、作業ディレクトリへ移動して make コマンドを使用します。 作業ディレクトリ: buildroot-{日付}/board/ckb/ckb-rz/cgi-bin LINUXPC$ make デバッグするにはデバッグ情報を出力しておく必要があります。デバッグ情報を出力するには、コンパイラの引数に"-ggdb"を 指定します。 コンパイル操作に変更が必要な場合は Makefile を編集してください。 5.2.4 Web サーバの起動 Web アプリケーションを動作させるためには、Web サーバが必要になります。 本サンプルでは Web サーバに httpd を使用しています。 CKB-RZ/A1H ボード起動時に httpd を動作させるには下記のファイルを使用します。(デフォルトで起動します。) httpd 実行制御ソース・ファイル: buildroot-{日付}/board/ckb/ckb-rz/fs/etc httpd.conf httpd 設定ファイル [init.d] +--- S80httpd httpd 初期化シェル CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 21 5.2.5 各操作の説明 CKB-RZ/A1H と LAN で接続された Windows ホスト・パソコンからブラウザで CKB-RZ/A1H の IP アドレスを URL として入力 してください。 Firefox または、Google Chrome を推奨します。Internet Explorer では、stylesheet が適用されない部分があるので一部のスタ イルが文字でのみ表示されます。 LED 制御 概要 LED のアイコンをクリックすると LED の状態が反転します。 CGI プログラム led_main.cgi ソース・ファイル led_main.c ブラウザの操作ナビから、「LED 制御」を選択すると、LED のアイコンが表示されます。 LED のアイコンをクリックすると LED の状態が反転します。アイコンの状態と CKB-RZ/A1H ボード上の LED の状態が同じで あることを確認してください。 有線 LAN(eth0)の設定 概要 有線 LAN の IP アドレスを変更します。 CGI プログラム ethernet_form_main.cgi ソース・ファイル ethernet_form_main.c ブラウザの操作ナビから、「有線 LAN(eth0)の設定」を選択すると、IP アドレスを設定する項目が表示されます。 設定項目を入力して「上記変更を有効にします」をクリックすると有線 LAN の IP アドレスが変更されます。 IP アドレスを DHCP サーバから取得するか、固定 IP を指定することができます。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 22 無線 LAN(wlan0)の設定 概要 無線 LAN の設定を行います。 CGI プログラム wireless_form_main.cgi ソース・ファイル wireless_form_main.c 動作モード、セキュリティ方式、SSID およびパスフレーズ(パスワード)を設定します。無線の動作モードで「アクセス・ポイント・ モード」にすると CKB ボード自身をアクセス・ポイントとして動作させます。このとき、固定 IP アドレスを指定して、DHCP サーバを 起動するかどうかを選択します。変更を実際の動作に反映するには、「上記変更を有効にします」をクリックしてください。 無線の動作モードで「インフラストラクチャ・モード」にすると指定されたアクセス・ポイントに接続します。IP アドレスを DHCP サ ーバから取得するか、固定 IP を指定することができます。変更を実際の動作に反映するには、「上記変更を有効にします」をクリ ックしてください。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 23 設定内容をフラッシュ・メモリに保存 概要 IP アドレスの設定および無線 LAN セキュリティの設定の内容をフラッシュ・メモリに保存します。 CGI プログラム save_settings_main.cgi ソース・ファイル save_settings_main.c [書き込み]ボタンを押すと、IP アドレスの設定および無線 LAN セキュリティの設定の内容をフラッシュ・メモリに保存します。再 起動すると、保存内容を読み出して実際の動作に反映します。 CKB-RZ/A1H 再起動 概要 CKB-RZ/A1H ボードを再起動します。 CGI プログラム reboot_main.cgi ソース・ファイル reboot_main.c [再起動]ボタンをクリックすると、CKB-RZ/A1H ボードを再起動します。 なお、PALMiCE3 でデバッグ中の場合はデバッグを継続できなくなります。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 24 5.3 タッチパネル、LCD、LED 用サンプル LCD ボード CKB-LCD-02 に付属するタッチパネルを使った GUI アプリケーションや、LED を制御するアプリケーションを付 属しています。 アプリケーションのソースは以下にあります。 アプリケーション ソースファイル gui1 buildroot-{日付}/board/ckb/common/samples/gui1/ ts_led buildroot-{日付}/board/ckb/common/samples/ts_led/ LCD ボード(CKB-LCD-01)に付属するタッチパネルを使った GUI アプリケーションや、LED を制御するアプリケーションは、 以下のデバイス・ファイルまたは、クラス・ドライバのシステム・ファイルを使用します。 デバイス・ファイル 説明 /dev/fb0 LCD 用のフレームバッファ用のデバイス・ファイルです。 /dev/input/touchscreen0 タッチパネル用のデバイス・ファイルです。 /sys/class/leds/led1/brightness LED1 を点灯、消灯するシステム・ファイルです。 /sys/class/leds/led2/brightness LED2 を点灯、消灯するシステム・ファイルです。 LCD のカーネル・ドライバは、以下のソースで制御しています。 buildroot ディレクトリの output/build/linux-3.8.13/以下のソースを参照してください。 カーネル・コンフィギュレーション System Type ---> CKB Features ---> Select LCD board (CKB LCD-02) ---> (X) CKB LCD-02 フラグ CONFIG_CKB_LCD_02 ソース arch/arm/mach-shmobile/board-ckbrza1h.c タッチパネルのカーネル・ドライバは、以下のソースで制御しています。 カーネル・コンフィギュレーション [*] Device Drivers ---> Input device support [*] ---> Touchscreens <*> ---> TSC2007 based touchscreens フラグ CONFIG_TOUCHSCREEN_TSC2007 ソース drivers/input/touchscreen/tsc2007.c LED のカーネル・ドライバは、以下のソースで制御しています。 カーネル・コンフィギュレーション [*] Device Drivers ---> [*] LED Support ---> [*] LED Class Support <*> フラグ LED Support for GPIO connected LEDs CONFIG_LEDS_CLASS CONFIG_LEDS_GPIO ソース drivers/leds/led-class.c drivers/leds/led-gpio.c CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 25 ライセンス表示 概要 ライセンス・ファイルを表示します。 CGI プログラム licenses_main.cgi ソース・ファイル licenses_main.c buildroot で使用されているソフトウェアのライセンス情報を表示します。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 26 5.4 拡張コネクタ(EXT1_CN)用サンプル CKB-RZ/A1H の EXT1_CN に拡張ボードを接続してアクセスする場合のアプリケーションサンプルを付属しています。 5.4.1 メモリバス(/CS2 空間)アクセスサンプル EXT1_CN のメモリバス(/CS2 空間 : 0x08000000 番地)をメモリ・マップしてデータを R/W するアプリケーションです。 EXT1_CN をメモリバス(/CS2)として使用するピンです。 No 3 5 7 9 11 13 15 信号名 P6_1 / D1 / LCD1_DATA9 / RLIN30TX / IRQ4 / TIOC1B / SSIDATA4 / TXD3 / DV0_DATA17 P6_3 / D3 / LCD1_DATA11 / RLIN31TX / IRQ2 / CTS5 / TIOC2B / TXD2 / DV0_DATA19 P6_5 / D5 / LCD1_DATA13 / CAN2TX / SCK5 / SSL10 / DV0_DATA21 P6_7 / D7 / LCD1_DATA15 / LCD0_TCON6 / RXD5 / MISO1 / DV0_DATA23 P5_8 / LCD0_EXTCLK / IRQ0 / DV1_CLK / DV0_CLK / CS2 P7_6 / WE0 / DQMLL / DV0_DATA22 / ET_TXD2 / CTS7 / SSIWS2 / TIOC2A P7_8 / RD / SSISCK3 / AVB_COMP_MATCH / CAN0RX / TIOC3A / IRQ1 No 4 6 8 10 信号名 P6_0 / D0 / LCD1_DATA8 / RLIN30RX / DV0_CLK / TIOC1A / IRQ5 / RXD3 / DV0_DATA16 P6_2 / D2 / LCD1_DATA10 / RLIN31RX / IRQ7 / TCLKA / TIOC2A / RXD2 / DV0_DATA18 P6_4 / D4 / LCD1_DATA12 / CAN2RX / IRQ3 / RTS5 / RSPCK1 / DV0_DATA20 P6_6 / D6 / LCD1_DATA14 / LCD0_TCON5 / TXD5 / MOSI1 / DV0_DATA22 12 P7_10 / A2 / SSIRXD3 / ET_RXD1 / CAN1TX / TIOC3C / IRQ2 14 P7_11 / A3 / SSITXD3 / ET_RXD2 / CAN1RX / TIOC3D / IRQ3 16 P7_12 / A4 / SSISCK4 / ET_RXD3 / TIOC4A / IRQ4 18 P7_13 / A5 / SSIWS4 / ET_MDIO / TIOC4B / IRQ5 アプリケーションのソースは以下にあります。 ソース・ファイル buildroot-{日付}/board/ckb/ckb-rz/samples/ext1_cn_mem/ ドライバのソースは以下にあります。 メモリのタイプによりアクセスタイミングの変更を行う場合は、このファイルをカスタムしてください。 ソース・ファイル buildroot-{日付}/output/build/linux-3.8.13/drivers/mtd/chips/ckb_bsc_cs2.c アプリケーションを実行します。CS2 空間の指定されたアドレスのデータをリードまたは、ライトします。 書式 1(リード): ex1_cn_mem –r [番地 0,4,8,c,10,…] 書式 2(ライト): ex1_cn_mem –w [番地 0,4,8,c,10,…] [データ] CKB# ex1_cn_mem –r 4 /CS2 空間 4 番地をリードします。 Data at 0x08000004 = 0x73 CKB# ex1_cn_mem –w 1c 55 /CS2 空間 1c 番地に 55 をライトします。 Wrote 0x55 at 0x0800001c CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 27 5.4.2 GPIO クラス GPIO をアクセスする為の GPIO クラスについて説明します。 GPIO 番号表 GPIO クラスを使用して GPIO をアクセスするには、以下の番号を使ってアクセスします。 ポート 番号 ポート 番号 ポート 番号 ポート 番号 ポート 番号 ポート 番号 P0_0 0 P1_0 6 P2_0 22 P3_0 38 P4_0 54 P5_0 70 P0_1 1 P1_1 7 P2_1 23 P3_1 39 P4_1 55 P5_1 71 P0_2 2 P1_2 8 P2_2 24 P3_2 40 P4_2 56 P5_2 72 P0_3 3 P1_3 9 P2_3 25 P3_3 41 P4_3 57 P5_3 73 P0_4 4 P1_4 10 P2_4 26 P3_4 42 P4_4 58 P5_4 74 P0_5 5 P1_5 11 P2_5 27 P3_5 43 P4_5 59 P5_5 75 P1_6 12 P2_6 28 P3_6 44 P4_6 60 P5_6 76 P1_7 13 P2_7 29 P3_7 45 P4_7 61 P5_7 77 P1_8 14 P2_8 30 P3_8 46 P4_8 62 P5_8 78 P1_9 15 P2_9 31 P3_9 47 P4_9 63 P5_9 79 P1_10 16 P2_10 32 P3_10 48 P4_10 64 P5_10 80 P1_11 17 P2_11 33 P3_11 49 P4_11 65 P1_12 18 P2_12 34 P3_12 50 P4_12 66 P1_13 19 P2_13 35 P3_13 51 P4_13 67 P1_14 20 P2_14 36 P3_14 52 P4_14 68 P1_15 21 P2_15 37 P3_15 53 P4_15 69 ポート 番号 ポート 番号 ポート 番号 ポート 番号 ポート 番号 ポート 番号 P6_0 81 P7_0 97 P8_0 113 P9_0 129 P10_0 137 P11_0 153 P6_1 82 P7_1 98 P8_1 114 P9_1 130 P10_1 138 P11_1 154 P6_2 83 P7_2 99 P8_2 115 P9_2 131 P10_2 139 P11_2 155 P6_3 84 P7_3 100 P8_3 116 P9_3 132 P10_3 140 P11_3 156 P6_4 85 P7_4 101 P8_4 117 P9_4 133 P10_4 141 P11_4 157 P6_5 86 P7_5 102 P8_5 118 P9_5 134 P10_5 142 P11_5 158 P6_6 87 P7_6 103 P8_6 119 P9_6 135 P10_6 143 P11_6 159 P6_7 88 P7_7 104 P8_7 120 P9_7 136 P10_7 144 P11_7 160 P6_8 89 P7_8 105 P8_8 121 P10_8 145 P11_8 161 P6_9 90 P7_9 106 P8_9 122 P10_9 146 P11_9 162 P6_10 91 P7_10 107 P8_10 123 P10_10 147 P11_10 163 P6_11 92 P7_11 108 P8_11 124 P10_11 148 P11_11 164 P6_12 93 P7_12 109 P8_12 125 P10_12 149 P11_12 165 P6_13 94 P7_13 110 P8_13 126 P10_13 150 P11_13 166 P6_14 95 P7_14 111 P8_14 127 P10_14 151 P11_14 167 P6_15 96 P7_15 112 P8_15 128 P10_15 152 P11_15 168 マルチプレクスで他の機能にしている場合はポートとして使用できません。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 28 EXT1_CN 信号表 EXT1_CN の GPIO 番号は以下の通りです。 No 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 信号名 +5V (VCC50) P6_1 / D1 / LCD1_DATA9 / RLIN30TX / IRQ4 / TIOC1B / SSIDATA4 / TXD3 / DV0_DATA17 P6_3 / D3 / LCD1_DATA11 / RLIN31TX / IRQ2 / CTS5 / TIOC2B / TXD2 / DV0_DATA19 P6_5 / D5 / LCD1_DATA13 / CAN2TX / SCK5 / SSL10 / DV0_DATA21 P6_7 / D7 / LCD1_DATA15 / LCD0_TCON6 / RXD5 / MISO1 / DV0_DATA23 P5_8 / LCD0_EXTCLK / IRQ0 / DV1_CLK / DV0_CLK / CS2 P7_6 / WE0 / DQMLL / DV0_DATA22 / ET_TXD2 / CTS7 / SSIWS2 / TIOC2A P7_8 / RD / SSISCK3 / AVB_COMP_MATCH / CAN0RX / TIOC3A / IRQ1 P8_12 / A20 / SPBCLK_1 / TIOC3C / SCK5 / PWM1E / SGOUT_2 / SSISCK4 P2_12 / D28 / RSPCK0 / DV0_DATA12 / SPBIO01_0 / CAN3RX / IRQ6 / LCD1_DATA12 / TIOC1B P2_11 / D27 / ET_RXD3 / DV0_DATA11 / SSITXD0 / TIOC1A / LCD1_DATA11 / VIO_D11 / MISO4 P2_10 / D26 / ET_RXD2 / DV0_DATA10 / SSIRXD0 / RLIN30TX / LCD1_DATA10 / VIO_D10 / MOSI4 P1_6 / RIIC3SCL / DV1_VSYNC / IERXD / IRQ6 / VIO_D12 / DV0_DATA12 P1_7 / RIIC3SDA / DV1_HSYNC / RLIN30RX / IRQ7 / VIO_D13 / DV0_DATA13 GND GPIO 番号 No 2 信号名 +3.3V (VCC33) P6_0 / D0 / LCD1_DATA8 / RLIN30RX / DV0_CLK / TIOC1A / IRQ5 / RXD3 / DV0_DATA16 82 4 84 6 P6_2 / D2 / LCD1_DATA10 / RLIN31RX / IRQ7 / TCLKA / TIOC2A / RXD2 / DV0_DATA18 83 86 8 P6_4 / D4 / LCD1_DATA12 / CAN2RX / IRQ3 / RTS5 / RSPCK1 / DV0_DATA20 85 88 10 P6_6 / D6 / LCD1_DATA14 / LCD0_TCON5 / TXD5 / MOSI1 / DV0_DATA22 87 78 12 103 14 105 16 P7_12 / A4 / SSISCK4 / ET_RXD3 / TIOC4A / IRQ4 109 125 18 P7_13 / A5 / SSIWS4 / ET_MDIO / TIOC4B / IRQ5 110 34 20 GND 33 22 +3.3V (VCC33) 32 24 12 26 13 28 P2_9 / D25 / ET_RXD1 / DV0_DATA9 / SSIWS0 / RLIN30RX / LCD1_DATA9 / VIO_D9 / SSL40 30 RES P7_10 / A2 / SSIRXD3 / ET_RXD1 / CAN1TX / TIOC3C / IRQ2 P7_11 / A3 / SSITXD3 / ET_RXD2 / CAN1RX / TIOC3D / IRQ3 P3_1 / LCD0_TCON0 / ET_TXER / IRQ6 / TXD2 / SCI_TXD1 / AUDIO_CLK / PWM2B / SSL30 P2_8 / D24 / ET_RXD0 / DV0_DATA8 / SSISCK0 / LCD0_TCON6 / LCD1_DATA8 / VIO_D8 / RSPCK4 GPIO 番号 81 107 108 39 30 31 GPOI として使用する場合は、各ピンのモードを以下のソースで GPIO として定義する必要があります。 buildroot-{日付}/output/build/linux-3.8.13/arch/arm/mach-shmobile/board-ckb-rza1h.c ソースのデフォルトは、各種ピンを CKB-RZ/A1H に実装されたボードのファンクションとして使用状態に設定されています。 rza1_pfc_pin_assign()関数でマルチプレクスの設定を GPIO として定義を変更してください。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 29 Linux の GPIO クラスを使って EXT1_CN の GPIO ピンを操作する Linux の GPIO クラスを使って GPIO 信号を High/Low する方法を記述します。 EXT1_CN コネクタの 17pin(P8_12)を出力ポートにして信号を High/Low する手順を以下に記述します。 ① /sys/class/gpio/export ファイルに操作したい GPIO 番号を設定します。 P8_12 は、GPIO 番号表から、“125”になります。 コマンド書式 : # echo 125 > /sys/class/gpio/export ② GPIO のディレクションを出力に設定します。 コマンド書式 : # echo out > /sys/class/gpio/P8_12/direction ③ GP8_12 に High レベルを出力します。 コマンド書式 : # echo 1 > /sys/class/gpio/P8_12/value ④ GP8_12 に Low レベルを出力します。 コマンド書式 : # echo 0 > /sys/class/gpio/P8_12/value ⑤ 制御が終わったら gpio47 を閉じます。 コマンド書式 : # echo 125 > /sys/class/gpio/unexport GPIO クラスを使ったアプリケーション例 アプリケーションのソースは以下にあります。 アプリケーション ソース・ファイル gpio_int buildroot-{日付}/board/ckb/common/samples/gpio_int/ 書式と仕様は以下のとおりです。指定 GPIO の立ち上がり、立下りの両エッジの割り込みを許可し変化を監視します。 [書式] # gpio_int <gpio-pin> gpio-pin = GPIO 番号 ここでは、EXT1_CN の 17 ピンの P8_12 を指定する例を示します。 アプリケーションを実行すると、P8_12 が Low もしくは、High に変化する度にメッセージを表示します。 何かキーが押されるとアプリケーションを終了します。 CKB# gpio_int 125 Press any key to terminate the application Current val=1 ...... poll() GPIO 8 interrupt occurred poll() GPIO 8 interrupt occurred poll() GPIO 8 interrupt occurred poll() GPIO 8 interrupt occurred Current val=0 ...... CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 30 5.4.3 ADC コンバータ ADC コンバータを使用する方法について説明します。 EXT2_CN 信号表 RZ/A1H の ADC 用のピンは、EXT2_CN コネクタに接続されています。 EXT2_CN の GPIO 番号は以下の通りです。 ピン番号 3 5 信号名 AN0 AN1 6 AN2 7 AN3 11 AN5 デバイス・ファイル ADC(oneshot モード)で使用するデバイス・ファイルは、以下のファイルです。 CKB# echo 0 > /sys/bus/iio/devices/iio\:device0/buffer/enable CKB# cat /sys/bus/iio/devices/iio\:device0/in_voltage5_raw バッファを禁止 AN5 の値をリード ADC(continuous モード)で使用するデバイス・ファイルは、以下のファイルです。 CKB# echo 0 > /sys/bus/iio/devices/iio\:device0/buffer/enable CKB# echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en CKB# echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage1_en CKB# echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage2_en CKB# echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage3_en CKB# echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_timestamp_en CKB# echo 125 > /sys/bus/iio/devices/iio\:device0/in_voltage_sampling_frequency バッファを禁止 AN0 を使用許可 AN1 を使用許可 AN2 を使用許可 AN3 を使用許可 Timestamp を許可 サンプリング周波数 (1-125Hz) バッファ長をライト バッファを許可 許可した ADC(AN0-AN3) とタイムスタンプ値を リード CKB# echo 100 > /sys/bus/iio/devices/iio\:device0/buffer/length CKB# echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable CKB# hexdump /dev/iio:device0 0000000 0642 060f 05e8 05de 1164 ccd2 0045 0000 /dev/iio:device0 を読み出すことで、設定したバッファ分の ADC データが許可した ADC の順に 16 ビット単位で取得できます。 一度に設定できるのは 4 つまでの AN になります。 /dev/iio:device0 のデータ・フォーマット 種類 AN0 値 AN1 値 AN2 値 AN3 値 タイムスタンプ ビット長 16bit 16bit 16bit 16bit 64bit アプリケーションから、ADC をアクセスする場合は、これらデバイス・ファイルを使用してください。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 31 5.4.4 SPI2 EXT2_CN の SPI2 を使用する方法について説明します。 EXT2_CN 信号表 RZ/A1H の SPI2 用のピンは、EXT2_CN コネクタに接続されています。 EXT2_CN ピン番号 4 6 信号名 RSPCK2 SSL20 8 MOSI2 10 MISO2 デバイス・ファイル 使用するデバイス・ファイルは、以下のファイルです。 /dev/spidev2.0 SPI2 デバイス・ファイル サンプル・ソース spidev_test は、SPI 通信を行うアプリケーションのサンプルです。 ドライバのソースは以下にあります。 ソース・ファイル buildroot-{日付}/output/build/linux-3.8.13/drivers/spi/ アプリケーションのソースは以下にあります。 ソース・ファイル buildroot-{日付}/board/ckb/common/samples/spidev_test/ spidev_test 使用例 CKB# # spidev_test -D /dev/spidev2.0 -b 8 -s 1000000 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル SPI2 を 8bit、1000000Hz で通信する実行例です 第 5 章 サンプル・プログラム 32 5.4.5 RIIC3(I2C) EXT1_CN の RIIC3 を I2C マスターモードで使用する方法について説明します。 EXT1_CN 信号表 RZ/A1H の RIIC3 用のピンは、EXT1_CN コネクタに接続されています。 No 25 27 信号名 P1_6 / RIIC3SCL / DV1_VSYNC / IERXD / IRQ6 / VIO_D12 / DV0_DATA12 P1_7 / RIIC3SDA / DV1_HSYNC / RLIN30RX / IRQ7 / VIO_D13 / DV0_DATA13 GPIO 番号 12 13 ドライバのソースは以下にあります。 ソース・ファイル buildroot-{日付}/output/build/linux-3.8.13/drivers/i2c/busses/i2c-riic.c アプリケーションは、i2c-tools を使用します。ソースは以下にあります。 ソース・ファイル buildroot-{日付}/output/build/i2c-tools-3.1.0/tools/ i2c-tools 使用例 CKB# i2cdetect –r –y 3 CKB# i2cget –f –y 3 0x51 0x12 b CKB# i2cget –f –y 3 0x51 0x12 0x55 b /dev/i2c-3 で検出された応答のあるデバイスを表示します。 /dev/i2c-3 に接続された 0x51 アドレスを持つ I2C デバイスのレジスタ 0x12 番地をリードします。 /dev/i2c-3 に接続された 0x51 アドレスを持つ I2C デバイスのレジスタ 0x12 番地に 0x55 をライ トします。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 5 章 サンプル・プログラム 33 第6章 使用例 6.1 はじめに この章では、CKB-RZ/A1H 組み込み Linux の使用方法について記述します。 6.2 マスストレージ(USB/microSD)をマウントする USB メモリ、USB ハードディスク、microSD カードをマウントする方法を以下に記述します。 フォーマットされてない場合は、マウントする前にフォーマットしてください。 6.2.1 USB メモリ/USB ハードディスクのフォーマット USB メモリや USB ハードディスクをフォーマットする例を記述します。 尚、フォーマットする場合はアンマウントしてから行ってください。 vFAT でフォーマットする CKB# mkfs.vfat /dev/sda1 ext2 でフォーマットする CKB# mkfs.ext2 /dev/sda1 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 34 6.2.2 USB メモリ/USB ハードディスクのマウント CKB-RZ/A1H の USB ホストコネクタは 2 つあります。 コネクタの上段は USB 2.0 Full-Speed 対応のホスト、下段は USB2.0 High-Speed 対応のホストです。 USB メモリやハードディスクを CKB-RZ/A1H の USB ホストに挿入すると以下のメッセージが表示されます。 usb 1-1: new high speed USB device number 2 using musb-hdrc usb 1-1: New USB device found, idVendor=058f, idProduct=6387 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: Mass Storage usb 1-1: Manufacturer: Generic usb 1-1: SerialNumber: 627DC7F1 scsi2 : usb-storage 1-1:1.0 scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 2 sd 2:0:0:0: Attached scsi generic sg0 type 0 sd 2:0:0:0: [sda] 4057088 512-byte logical blocks: (2.07 GB/1.93 GiB) sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Attached SCSI removable disk デバイスが"sda"と、パーティション"sda1"と表示されます。 このメッセージは、"dmesg"コマンドで再表示できます。 尚、他のマスストレージ(USB メモリ、USB ハードディスク)がすでにある場合は、"sdb", "sdc", "sde"... と、接続された順にデ バイス名が追加されます。 CKB# mount /dev/sda1 /mnt 6.2.3 USB メモリ/USB ハードディスクのアンマウント CKB-RZ/A1H の電源を切ったり、リセットする場合は、リード/ライトでマウントされたマスストレージはアンマウントしてくださ い。 CKB# umount /dev/sda1 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 35 6.2.4 microSD カードのフォーマット microSD カードをフォーマットする例を記述します。尚、フォーマットする場合はアンマウントしてから行ってください。 vFAT でフォーマットする CKB# mkfs.vfat /dev/mmcblk0p1 ext2 でフォーマットする CKB# mkfs.ext2 /dev/mmcblk0p2 6.2.5 microSD カードのマウント microSD カードを CKB-RZ/A1H の microSD スロットに挿入します。 以下のメッセージが表示されます。このメッセージは、"dmesg"コマンドで再表示できます。 mmc0: new high speed SD card at address e624 mmcblk0: mmc0:e624 SU02G 1.84 GiB mmcblk0: p1 p2 デバイスが"mmcblk0"と、microSD カードにパーティションが 2 つある場合は、パーティション"p1", "p2" と表示されます。 パーティション 1 を/mnt フォルダにマウントする場合 CKB# mount /dev/mmcblk0p1 /mnt パーティション 2 を/usr フォルダにマウントする場合 CKB# mount /dev/mmcblk0p2 /usr 6.2.6 microSD カードのアンマウント CKB-RZ/A1H の電源を切ったり、リセットする場合は、リード/ライトでマウントされたマスストレージはアンマウントしてくださ い。 CKB# umount /dev/mmcblk0p1 CKB# umount /dev/mmcblk0p2 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 36 6.3 Linux ホストのディレクトリをマウントする(NFS) 以下のようにマウントする例を記述します。 Linux ホスト IP アドレス 192.168.0.11 Linux ホスト ディレクトリ・パス /home/ubuntu/CKB/buildroot-{日付}/output/target/usr CKB-RZ/A1H ターゲット ディレクトリ・パス /usr 6.3.1 Linux ホスト側の準備 NFS サーバのインストール Linux ホストにて、以下のコマンドを実行して NFS サーバをインストールしてください。 LINUXPC$ sudo apt-get install nfs-kernel-server /etc/exports ファイルを編集する Linux ホストにて、以下のコマンドを実行して NFS でマウントされるディレクトリを/etc/exportfs ファイルに追加してください。 /etc/exports ファイルに以下の 1 行を追加します。 /home/ubuntu 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check) NFS サーバを再起動する Linux ホストにて、以下のコマンドを実行して NFS サーバを再起動してください。 LINUXPC$ sudo /etc/init.d/nfs-kernel-server restart または、 LINUXPC$ sudo exportfs -r 6.3.2 CKB-RZ/A1H 側でマウントする mount コマンドを使ってマウントする CKB-RZ/A1H の Linux で以下のコマンドで Linux ホストのディレクトリをマウントしてください。 CKB# mount -o nolock,tcp -t nfs 192.168.0.11:/home/ubuntu/SDK/buildroot-{日付}/output/target/usr/usr /etc/fstab を使って Linux ホスト上のディレクトリをマウントする 起動時に毎回マウントする場合は、/etc/fstab に記述してください。 192.168.0.11:/home/ubuntu/SDK/buildroot-{日付}/output/target/usr /usr nfs rw,relatime,hard,nolock,tcp 0 0 /etc/fstab を記述後に以下のコマンドでマウントしてください。 CKB# mount -a CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 37 6.4 CM-J100 による無線 LAN を使う CKB-RZ/A1H では、オプションの CM-J100 を使って無線 LAN(802.11b/g/n : 2.4GHz 帯)が使用できます。 無線 LAN モジュール(CM-J100)は、以下のファイルを使用します。 ローダブル・モジュール本体 ローダブル・モジュール初期化シェル WPA クライアント設定アプリ WPA サプリカント本体 hostapd 本体 iw 本体 connect.sh 作成シェル アクセスポイント設定用シェル hostapd(OPEN)設定用シェル hostapd(WEP)設定用シェル hostapd(WPA/WPA2-TKIP/AES)設定用シェル Infra(OPEN)設定用シェル Infra(WEP)設定用シェル Infra(WPA/WPA2-TKIP/AES)設定用シェル /lib/modules/cmj100.ko /etc/init.d/S35cmj100 /usr/sbin/wpa_cli /usr/sbin/wpa_supplicant /usr/sbin/hostapd /usr/sbin/iw /etc/init.d/S36create_connect_sh /etc/network/wlan-scripts/connect.sh /etc/network/wlan-scripts/HOSTAPD_OPEN.sh /etc/network/wlan-scripts/HOSTAPD_WEP.sh /etc/network/wlan-scripts/HOSTAPD_WPA2.sh /etc/network/wlan-scripts/INFR_OPEN.sh /etc/network/wlan-scripts/INFR_WEP.sh /etc/network/wlan-scripts/INFR_WPA2.sh 6.4.1 CM-J100 ローダブル・モジュール CM-J100 のデバイス・ドライバは、ローダブル・モジュールの形で提供します。 Linux のカーネル・コンフィギュレーションでローダブル・モジュールの指定が可能です。 Linux カーネル・コンフィギュレーションを変更するには以下のコマンドを実行します。 ubuntu:~/SDK/buildroot-{日付}$ make linuux-menuconfig [*] Device Drivers ---> [*] Network device support [*] Wireless LAN ---> ---> [*] Computex CM-J100 support ---> System Type ---> CKB Implementations ---> Select WLAN daughter board (CM-J100) ---> (X) CM-J100 CKB-RZ/A1H ではデフォルトで有効になっています。 デバイス・ドライバのソースは、以下のフォルダにあります。 buildroot-{日付}/board/ckb/common/cmj100-module buildroot-{日付}/output/build/linux-3.8.13/drivers/net/wireless/cm-j100 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 38 6.4.2 無線 LAN 設定ファイル 無線 LAN モジュール(CM-J100)のローダブル・モジュールは以下のシェルで有効にします。 /etc/inti.d/S35cmj100 #!/bin/sh # # Start the insmod CM-J100 modules.... # if [ -e /lib/modules/cmj100.ko ]; then echo "insmod CM-J100..." /sbin/insmod /lib/modules/cmj100.ko fi "/etc/network/wlan-scripts/connect.sh"ファイルが存在しない場合は、"/etc/inti.d/S36create_connect_sh"によって起動時に 作成します。デフォルトでは以下のシェルで、CKB ボード自身をアクセス・ポイントとして起動します。 /etc/network/wlan-scripts/connect.sh #!/bin/sh # $ Examples # /etc/network/wlan-scripts/INFRA_WPA2.sh '"SSID"' '"Passphrase"' /etc/network/wlan-scripts/HOSTAPD_WPA2.sh n 1 'CKB00a00b112257' 'pass1234' # DHCP Server Start udhcpd /etc/udhcpd.wlan0.conf 既存のアクセス・ポイントを使用する場合は、セキュリティに対応したシェルを使用してください。 デフォルトでは、アクセス・ポイント・モードで無線セキュリティ"WPA/WPA2-PSK(TKIP/AES)"、SSID"CKB{MAC アドレス}"、パス ワード"pass1234"に設定されていますので、無線 LAN に対応した機器を同じ設定にして接続できます。また、DHCP サーバも デフォルトで起動しています。 Note 無線 LAN(wlan0)は、別売の CM-J100(無線 LAN モジュール)が必要です。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 39 6.5 ネットワークの設定方法 CKB-RZ/A1H では、起動時のネットワークの設定を以下のファイルで行っています。 /etc/network/interfaces.lo 設定ファイル /etc/network/interfaces.eth0 /etc/network/interfaces.wlan0 /etc/init.d/S40network ネットワーク・インターフェースの設定は、"/etc/init.d/S40network"が起動時にインターフェース毎の設定ファイルから "/etc/network/interfaces"ファイルを出力することで設定します。 実際に ifup コマンドで設定されるファイルは、この"/etc/network/interfaces"ファイルになります。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 40 6.5.1 設定ファイル インターフェース毎(lo, eth0, wlan0)の設定は、各ファイル(interfaces.lo, interfaces.eth0, interfaces.wlan0)で行ってください。 /etc/init.d/S40network #!/bin/sh # # Start the network .... # echo "Starting network..." # create interaces echo auto lo wlan0 eth0 > /etc/network/interfaces if [ -e /etc/network/interfaces.lo ]; then cat /etc/network/interfaces.lo >> /etc/network/interfaces fi if [ -e /etc/network/interfaces.eth0 ]; then cat /etc/network/interfaces.eth0 >> /etc/network/interfaces fi if [ -d /sys/class/net/wlan0 ]; then # wait for wlan0 to be created echo "Waiting for wlan0 interface to be ready..." echo "Waiting for wlan0 interface to be ready..." > /dev/tty0 loop_cnt=0 # Send output and error messages of ifconfig to /dev/null while [ 1 ]; do ifconfig wlan0 > /dev/null 2>&1 if [ $? == 0 ]; then break; fi echo "Please be patient...." echo "Please be patient...." > /dev/tty0 sleep 1; loop_cnt=$(( loop_cnt + 1)); if [ $loop_cnt == 10 ]; then echo "Giving up...Interface wlan0 not found." echo "Giving up...Interface wlan0 not found." > /dev/tty0 exit fi done # add wlan0 interfaces cat /etc/network/interfaces.wlan0 >> /etc/network/interfaces # starting wpa_supplicant echo "Starting wpa_supplicant..." echo "Starting wpa_supplicant..." > /dev/tty0 wpa_supplicant -Dwext -iwlan0 -C/var/run -B fi /sbin/ifup -a if [ -d /sys/class/net/wlan0 ]; then # Connect to a network if it is specified sh /etc/network/wlan-scripts/connect.sh fi CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 41 ループバック・デバイスの設定 /etc/network/interfaces.lo iface lo inet loopback 有線 LAN の設定 /etc/network/interfaces.eth0 DHCP クライアントの場合 スタティック IP の場合 例: 192.168.0.25 iface eth0 inet dhcp iface eth0 inet static address 192.168.0.25 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 無線 LAN の設定 /etc/network/interfaces.wlan0 DHCP クライアントの場合 スタティック IP の場合 例: 192.168.100.1 iface wlan0 inet dhcp iface wlan0 inet static address 192.168.100.1 netmask 255.255.255.0 network 192.168.100.0 broadcast 192.168.100.255 gateway 192.168.100.1 デフォルトでは有線 LAN が DHCP クライアント、無線 LAN がスタティック IP で設定されています。 CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 42 6.5.2 ネットワークの接続、切断 設定ファイルを変更したり、ネットワークを切断、接続する場合は、以下のコマンドを実行します。 すべての I/F を接続 CKB# ifup -a すべての I/F を切断 CKB# ifdown -a 有線 LAN のみ I/F を接続 CKB# ifup eth0 有線 LAN のみ I/F を切断 CKB# ifdown eth0 無線 LAN のみ I/F を接続 CKB# ifup wlan0 無線 LAN のみ I/F を切断 CKB# ifdown wlan0 ネットワーク設定(/etc/network/interfaces) を変更した場合は、ifdown して ifup し直すと変更が反映されます。 6.5.3 タイムサーバから時刻を設定する 以下のコマンドでネットワークにあるタイムサーバ(ntp サーバ)から時刻を設定します。 CKB# ntpdate {ntp-server IP} CKB-RZ-A1H 組み込み Linux ユーザーズ・マニュアル 第 6 章 使用例 43 第7章 CKB-RZ/A1H に含まれるソフトウェア 7.1 ライセンスについて CKB Linux SDK で提供している Linux 関連製品のソフトウェアには、以下のライセンスが含まれます。 本製品では、ライセンス形式の違いにより以下に分類しています。 GNU GENERAL PUBLIC LICENSE Version 2(GPLv2) GNU GENERAL PUBLIC LICENSE Version 3(GPLv3) : http://www.gnu.org/licenses/gpl-3.0.txt GNU LIBRARY GENERAL PUBLIC LICENSE Version 2(LGPLv2) : http://www.gnu.org/licenses/lgpl-2.1.txt GNU LIBRARY GENERAL PUBLIC LICENSE Version 3(LGPLv3) : http://www.gnu.org/licenses/lgpl-3.0.txt OpenSSL License : http://www.gnu.org/licenses/gpl-2.0.txt This product includes software developed by OpenSSL Project for use in the OpenSSL Toolkit. (http://openssl.org/) MIT License : http://opensource.org/licenses/mit-license.php 7.1.1 ソース・パッケージのリスト CKB Linux SDK のパッケージに含まれるソース・パッケージのリストです。 これらは各ライセンスのテンプレートになっています。そのため、ソフトウェア名や著作者名などが入力されていません。個々 のソフトウェアにおけるライセンスについては、各ソフトウェアに付属のライセンス表記を参照してください。 [ソースパッケージ] buildroot-2013.05 autoconf-2.68 automake-1.11.6 avahi-0.6.31 binutils-2.23.2 bison-2.7.1 bridge-utils-1.5 busybox-1.21.1 can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f crda-1.1.3 distribute-0.6.36 expat-2.1.0 fakeroot_1.18.2.orig flex-2.5.37 freetype-2.4.12 gcc-4.7.3 gettext-0.18.3 gmp-5.1.1 hostapd-2.0 I2c-tools-3.1.0 Intltool-0.50.2 iperf-2.0.5 iptables-1.4.19.1 iw-3.10 libdaemon-0.14 libgcrypt-1.5.3 libgpg-error-1.10 libnl-3.2.21 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル [ライセンス] GPLv2, LGPLv2 GPLv2 , GPLv3 GPLv2 GPLv2 GPLv2 , LGPLv2 , GPLv3 , LGPLv3.0 GPLv3 none GPLv2 none none none MIT/X Consortium License GPLv3 BSD 3-Clause License BSD, GPLv2 compatible GPLv2 , LGPLv2.1 , GPLv3 , LGPLv3.0 GPLv3 GPLv3 , LGPLv3.0 BSD 3-Clause License, GPLv2 GPLv2 GPLv2 GPLv2 GPLv2 none LGPLv2.1 GPLv2 , LGPLv2.1 GPLv2 , LGPLv2.1 LGPLv2.1 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 44 libpcap-1.4.0 libtool-2.4.2 linux-3.8.13 lzo-2.06 lzop-1.03 m4-1.4.16 module-init-tools-3.15 mpc-1.0.1 mpfr-3.1.2 openssl-1.0.1e pkgconf-0.8.9 swig-2.0.9 ti-utils-06dbdb2 tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d u-boot-2013.04 u-boot-2013.07 uClibc-0.9.33.2 wireless-regdb-2013.02.13 wireless_tools.29 wpa_supplicant-2.0 zlib-1.2.8 DirectFB-1.6.3 DirectFB-examples-1.6.0 M2Crypto-0.21.1 Python-2.7.3 XML-Parser-2.36 BSD 3-Clause License GPLv2 GPLv2 GPLv2 GPLv2 GPLv3 GPLv2 LGPLv3.0 GPLv3 , LGPLv3.0 OpenSSL GPLv2 GPLv3 TI License LGPLv2 GPLv2 GPLv2 LGPLv2.1 none GPLv2 BSD 3-Clause License, GPLv2 The zlib/libpng License (Zlib) GPLv2 MIT none none none 複数記述されているライセンスは、それぞれの複合ライセンスになります。 7.1.2 ライセンス buildroot から得られるライセンスを以下に記述します。 ~/buildroot-{日付}$ make legal-info :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: buildroot: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 45 using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 46 either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 47 distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 48 compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 49 through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 50 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 51 mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: avahi: LICENSE file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 52 When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル The Lesser General 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 53 Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 54 which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 55 table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 56 must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 57 copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 58 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 59 the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 60 NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 61 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: bridge-utils: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 62 have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル The act of 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 63 running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 64 your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 65 However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 66 be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 67 POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) 19yy <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 68 Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: busybox: LICENSE file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --- A note on GPL versions BusyBox is distributed under version 2 of the General Public License (included in its entirety, below). Version 2 is the only version of this license which this version of BusyBox (or modified versions derived from this one) may be distributed under. -----------------------------------------------------------------------GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 69 in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 70 Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 71 In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 72 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 73 certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 74 How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 75 <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: can-utils: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: crda: LICENSE file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Copyright (c) 2008, Luis R. Rodriguez <mcgrof@gmail.com> Copyright (c) 2008, Johannes Berg <johannes@sipsolutions.net> Copyright (c) 2008, Michael Green <Michael.Green@Atheros.com> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: directfb-examples: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The MIT License Copyright (c) 2001-2008 The world wide DirectFB Open Source Community (directfb.org) Copyright (c) 2000-2004 convergence (integrated media) GmbH Permission is hereby granted, free of charge, to any person obtaining a associated copy of this software and "Software"), to without limitation deal in documentation files (the the Software without restriction, including the rights to use, copy, modify, merge, publish, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 76 distribute, sublicense, and/or sell copies of the Software, permit persons to whom the Software and to is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS EXPRESS OR PROVIDED "AS IS", WITHOUT WARRANTY IMPLIED, INCLUDING BUT NOT LIMITED TO THE MERCHANTABILITY, FITNESS FOR A PARTICULAR OF ANY KIND, WARRANTIES OF PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: directfb: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 77 it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 78 Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 79 included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 80 application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 81 source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 82 machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 83 permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 84 and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 85 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 86 You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: expat: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd and Clark Cooper Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: freetype: docs/FTL.TXT file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The FreeType Project LICENSE ---------------------------- CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 87 2006-Jan-27 Copyright 1996-2002, 2006 by David Turner, Robert Wilhelm, and Werner Lemberg Introduction ============ The FreeType Project is distributed in several archive packages; some of them may contain, in addition to the FreeType font engine, various tools and contributions which rely on, or relate to, the FreeType Project. This license applies to all files found in such packages, and which do not fall under their own explicit affects thus the FreeType license. font engine, The license the test programs, documentation and makefiles, at the very least. This license was inspired by the BSD, Artistic, and IJG (Independent JPEG Group) licenses, which all encourage inclusion and and freeware products use of free software in commercial alike. As a consequence, its main points are that: o We don't promise that this software works. However, we will be interested in any kind of bug reports. (`as is' distribution) o You can use this software for whatever you want, in parts or full form, without having to pay us. (`royalty-free' usage) o You may not pretend that you wrote this software. it, or only parts of it, in a program, somewhere in your documentation If you use you must acknowledge that you have used the FreeType code. (`credits') We specifically permit and encourage the inclusion of this software, with or without modifications, in commercial products. We disclaim all warranties covering The FreeType Project and assume no liability related to The FreeType Project. Finally, many people asked us for a preferred credit/disclaimer to use in compliance with this license. form for a We thus encourage you to use the following text: """ Portions of this software are copyright ゥ <year> The FreeType Project (www.freetype.org). All rights reserved. """ CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 88 Please replace <year> with the value from the FreeType version you actually use. Legal Terms =========== 0. Definitions -------------Throughout this license, and `FreeType distributed the terms `package', `FreeType Project', archive' refer by the to the set of files authors (David Turner, originally Robert Wilhelm, and Werner Lemberg) as the `FreeType Project', be they named as alpha, beta or final release. `You' refers to the licensee, or person using the project, where `using' is a generic term including compiling the project's source code as well as linking it to form a `program' or `executable'. This program is referred to as `a program using the FreeType engine'. This license applies FreeType Project, to all files distributed including documentation, unless all source otherwise stated in the original code, binaries in and the file in its original, unmodified form as distributed in the original archive. If you are unsure whether or not a particular file is covered by this license, you must contact us to verify this. The FreeType Project is copyright (C) 1996-2000 Robert Wilhelm, and Werner Lemberg. by David Turner, All rights reserved except as specified below. 1. No Warranty -------------THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT KIND, EITHER EXPRESS OR IMPLIED, WARRANTIES OF WARRANTY OF ANY INCLUDING, BUT NOT MERCHANTABILITY AND FITNESS LIMITED TO, FOR A PARTICULAR PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO USE, OF THE FREETYPE PROJECT. 2. Redistribution ----------------This license grants a worldwide, royalty-free, perpetual irrevocable right display, copy, sublicense the forms) and license to use, create derivative FreeType Project (in and derivative works and execute, perform, compile, works of, distribute and both source and object code thereof for CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル any purpose; and to 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 89 authorize others to exercise some or all of the rights granted herein, subject to the following conditions: o Redistribution of source code must retain this (`FTL.TXT') unaltered; any the original original additions, deletions or changes to files must be clearly documentation. license file indicated in accompanying The copyright notices files must be preserved in of the unaltered, all copies of source files. o Redistribution in binary form must provide a disclaimer states that that the software is based in part of the work of the FreeType Team, in the distribution documentation. We also encourage you to put an URL to the FreeType web page in your documentation, though this isn't mandatory. These conditions apply to any software derived from or based on the FreeType Project, not just the unmodified files. our work, you must acknowledge us. However, no If you use fee need be paid to us. 3. Advertising -------------Neither the FreeType authors and contributors nor you shall use the name of the other for commercial, advertising, or promotional purposes without specific prior written permission. We suggest, but do not require, that following phrases to refer or advertising you use one or more of the to this software in your documentation materials: `FreeType Project', `FreeType Engine', `FreeType library', or `FreeType Distribution'. As you have not signed accept it. However, this license, as the FreeType material, only this license, or authors, grants you Therefore, by you are not required to Project another one contracted the right to use, distribute, using, is copyrighted with the and modify it. distributing, or modifying the FreeType Project, you indicate that you understand and accept all the terms of this license. 4. Contacts ----------There are two mailing lists related to FreeType: o freetype@nongnu.org Discusses general use and applications of FreeType, as well as future and wanted additions to the library and distribution. If you are looking for support, start in CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル this list if you 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 90 haven't found anything to help you in the documentation. o freetype-devel@nongnu.org Discusses bugs, as well as engine internals, design issues, specific licenses, porting, etc. Our home page can be found at http://www.freetype.org --- end of FTL.TXT --:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: freetype: docs/GPLv2.TXT file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 91 For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 92 and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 93 under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 94 all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 95 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 96 To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 97 library. If this is what you want to do, use the GNU Library General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: gettext: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 98 For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 99 computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 100 The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 101 You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 102 of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 103 or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 104 apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 105 where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. not accept this License. These actions infringe copyright if you do Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 106 An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 107 then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 108 Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 109 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: <program> Copyright (C) <year> <name of author> CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 110 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: hostapd: README file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: wpa_supplicant and hostapd -------------------------Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> and contributors All Rights Reserved. These programs are licensed under the BSD license (the one with advertisement clause removed). If you are submitting changes to the project, please see CONTRIBUTIONS file for more instructions. This package may include either wpa_supplicant, hostapd, or both. See README file respective subdirectories (wpa_supplicant/README or hostapd/README) for more details. Source code files were moved around in v0.6.x releases and compared to earlier releases, the programs are now built by first going to a subdirectory (wpa_supplicant or hostapd) and creating build configuration (.config) and running 'make' there (for Linux/BSD/cygwin builds). License ------- CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 111 This software may be distributed, used, and modified under the terms of BSD license: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name(s) of the above-listed copyright holder(s) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: i2c-tools: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: iperf: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: iptables: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 112 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 113 modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 114 a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 115 control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 116 If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 117 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 118 If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: iw: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Copyright (c) 2007, 2008 Johannes Berg Copyright (c) 2007 Andy Lutomirski Copyright (c) 2007 Mike Kershaw Copyright (c) 2008-2009 Luis R. Rodriguez Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 119 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libdaemon: LICENSE file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 120 with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 121 In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 122 writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 123 entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 124 library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 125 copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル Any 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 126 attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 127 This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 128 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 129 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libgcrypt: COPYING.LIB file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 130 For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. ^L Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 131 encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. ^L GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 132 Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 133 and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. ^L Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 134 work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. ^L 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル (It is understood 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 135 that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. ^L 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 136 b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. ^L 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 137 implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. ^L 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 138 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS ^L How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 139 Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libgpg-error: COPYING.LIB file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 140 these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 141 of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 142 "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 143 application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 144 distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 145 changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 146 a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 147 circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 148 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル USA 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 149 Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libnl: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 150 you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 151 We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 152 copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 153 (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 154 If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル Also, you must do one 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 155 of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 156 facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 157 If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 158 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 159 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libpcap: LICENSE file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ntp: COPYRIGHT file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: This file is automatically generated from html/copyright.html Copyright Notice jpg "Clone me," says Dolly sheepishly. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 160 Last update: 1-Jan-2011 08:34 UTC _________________________________________________________________ The following copyright notice applies to all files collectively called the Network Time Protocol Version 4 Distribution. Unless specifically declared otherwise in an individual file, this notice applies as if the text was explicitly included in the file. *********************************************************************** * * * Copyright (c) University of Delaware 1992-2011 * * * * Permission to use, copy, modify, and distribute this software and * * its documentation for any purpose with or without fee is hereby * * granted, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission * * notice appear in supporting documentation, and that the name * * University of Delaware not be used in advertising or publicity * pertaining to distribution of the software without specific, * * * written prior permission. The University of Delaware makes no * representations about the suitability this software for any * * * purpose. It is provided "as is" without express or implied * * warranty. * * * *********************************************************************** The following individuals contributed in part to the Network Time Protocol Distribution Version 4 and are acknowledged as authors of this work. 1. [1]Takao Abe <takao_abe@xurb.jp> Clock driver for JJY receivers 2. [2]Mark Andrews <mark_andrews@isc.org> Leitch atomic clock controller 3. [3]Bernd Altmeier <altmeier@atlsoft.de> hopf Elektronik serial line and PCI-bus devices 4. [4]Viraj Bais <vbais@mailman1.intel.com> and [5]Clayton Kirkwood <kirkwood@striderfm.intel.com> port to WindowsNT 3.5 5. [6]Michael Barone <michael,barone@lmco.com> GPSVME fixes 6. [7]Karl Berry <karl@owl.HQ.ileaf.com> syslog to file option 7. [8]Greg Brackley <greg.brackley@bigfoot.com> Major rework of WINNT port. Clean up recvbuf and iosignal code into separate modules. 8. [9]Marc Brett <Marc.Brett@westgeo.com> Magnavox GPS clock driver 9. [10]Piete Brooks <Piete.Brooks@cl.cam.ac.uk> MSF clock driver, Trimble PARSE support 10. [11]Nelson B Bolyard <nelson@bolyard.me> update and complete broadcast and crypto features in sntp 11. [12]Jean-Francois Boudreault <Jean-Francois.Boudreault@viagenie.qc.ca> IPv6 support 12. [13]Reg Clemens <reg@dwf.com> Oncore driver (Current maintainer) 13. [14]Steve Clift <clift@ml.csiro.au> OMEGA clock driver 14. [15]Casey Crellin <casey@csc.co.za> vxWorks (Tornado) port and help with target configuration CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 161 15. [16]Sven Dietrich <sven_dietrich@trimble.com> Palisade reference clock driver, NT adj. residuals, integrated Greg's Winnt port. 16. [17]John A. Dundas III <dundas@salt.jpl.nasa.gov> Apple A/UX port 17. [18]Torsten Duwe <duwe@immd4.informatik.uni-erlangen.de> Linux port 18. [19]Dennis Ferguson <dennis@mrbill.canet.ca> foundation code for NTP Version 2 as specified in RFC-1119 19. [20]John Hay <jhay@icomtek.csir.co.za> IPv6 support and testing 20. [21]Dave Hart <davehart@davehart.com> General maintenance, Windows port interpolation rewrite 21. [22]Claas Hilbrecht <neoclock4x@linum.com> NeoClock4X clock driver 22. [23]Glenn Hollinger <glenn@herald.usask.ca> GOES clock driver 23. [24]Mike Iglesias <iglesias@uci.edu> DEC Alpha port 24. [25]Jim Jagielski <jim@jagubox.gsfc.nasa.gov> A/UX port 25. [26]Jeff Johnson <jbj@chatham.usdesign.com> massive prototyping overhaul 26. [27]Hans Lambermont <Hans.Lambermont@nl.origin-it.com> or [28]<H.Lambermont@chello.nl> ntpsweep 27. [29]Poul-Henning Kamp <phk@FreeBSD.ORG> Oncore driver (Original author) 28. [30]Frank Kardel [31]<kardel (at) ntp (dot) org> PARSE <GENERIC> driver (>14 reference clocks), STREAMS modules for PARSE, support scripts, syslog cleanup, dynamic interface handling 29. [32]William L. Jones <jones@hermes.chpc.utexas.edu> RS/6000 AIX modifications, HPUX modifications 30. [33]Dave Katz <dkatz@cisco.com> RS/6000 AIX port 31. [34]Craig Leres <leres@ee.lbl.gov> 4.4BSD port, ppsclock, Magnavox GPS clock driver 32. [35]George Lindholm <lindholm@ucs.ubc.ca> SunOS 5.1 port 33. [36]Louis A. Mamakos <louie@ni.umd.edu> MD5-based authentication 34. [37]Lars H. Mathiesen <thorinn@diku.dk> adaptation of foundation code for Version 3 as specified in RFC-1305 35. [38]Danny Mayer <mayer@ntp.org>Network I/O, Windows Port, Code Maintenance 36. [39]David L. Mills <mills@udel.edu> Version 4 foundation: clock discipline, authentication, precision kernel; clock drivers: Spectracom, Austron, Arbiter, Heath, ATOM, ACTS, KSI/Odetics; audio clock drivers: CHU, WWV/H, IRIG 37. [40]Wolfgang Moeller <moeller@gwdgv1.dnet.gwdg.de> VMS port 38. [41]Jeffrey Mogul <mogul@pa.dec.com> ntptrace utility 39. [42]Tom Moore <tmoore@fievel.daytonoh.ncr.com> i386 svr4 port 40. [43]Kamal A Mostafa <kamal@whence.com> SCO OpenServer port 41. [44]Derek Mulcahy <derek@toybox.demon.co.uk> and [45]Damon Hart-Davis <d@hd.org> ARCRON MSF clock driver 42. [46]Rob Neal <neal@ntp.org> Bancomm refclock and config/parse code maintenance 43. [47]Rainer Pruy <Rainer.Pruy@informatik.uni-erlangen.de> monitoring/trap scripts, statistics file handling 44. [48]Dirce Richards <dirce@zk3.dec.com> Digital UNIX V4.0 port 45. [49]Wilfredo S 疣 chez <wsanchez@apple.com> added support for NetInfo CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 162 46. [50]Nick Sayer <mrapple@quack.kfu.com> SunOS streams modules 47. [51]Jack Sasportas <jack@innovativeinternet.com> Saved a Lot of space on the stuff in the html/pic/ subdirectory 48. [52]Ray Schnitzler <schnitz@unipress.com> Unixware1 port 49. [53]Michael Shields <shields@tembel.org> USNO clock driver 50. [54]Jeff Steinman <jss@pebbles.jpl.nasa.gov> Datum PTS clock driver 51. [55]Harlan Stenn <harlan@pfcs.com> GNU automake/autoconfigure makeover, various other bits (see the ChangeLog) 52. [56]Kenneth Stone <ken@sdd.hp.com> HP-UX port 53. [57]Ajit Thyagarajan <ajit@ee.udel.edu>IP multicast/anycast support 54. [58]Tomoaki TSURUOKA <tsuruoka@nc.fukuoka-u.ac.jp>TRAK clock driver 55. [59]Paul A Vixie <vixie@vix.com> TrueTime GPS driver, generic TrueTime clock driver 56. [60]Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> corrected and validated HTML documents according to the HTML DTD _________________________________________________________________ References 1. mailto:%20takao_abe@xurb.jp 2. mailto:%20mark_andrews@isc.org 3. mailto:%20altmeier@atlsoft.de 4. mailto:%20vbais@mailman1.intel.co 5. mailto:%20kirkwood@striderfm.intel.com 6. mailto:%20michael.barone@lmco.com 7. mailto:%20karl@owl.HQ.ileaf.com 8. mailto:%20greg.brackley@bigfoot.com 9. mailto:%20Marc.Brett@westgeo.com 10. mailto:%20Piete.Brooks@cl.cam.ac.uk 11. mailto:%20nelson@bolyard.me 12. mailto:%20Jean-Francois.Boudreault@viagenie.qc.ca 13. mailto:%20reg@dwf.com 14. mailto:%20clift@ml.csiro.au 15. mailto:casey@csc.co.za 16. mailto:%20Sven_Dietrich@trimble.COM 17. mailto:%20dundas@salt.jpl.nasa.gov 18. mailto:%20duwe@immd4.informatik.uni-erlangen.de 19. mailto:%20dennis@mrbill.canet.ca 20. mailto:%20jhay@icomtek.csir.co.za 21. mailto:%20davehart@davehart.com 22. mailto:%20neoclock4x@linum.com 23. mailto:%20glenn@herald.usask.ca 24. mailto:%20iglesias@uci.edu 25. mailto:%20jagubox.gsfc.nasa.gov 26. mailto:%20jbj@chatham.usdesign.com 27. mailto:Hans.Lambermont@nl.origin-it.com 28. mailto:H.Lambermont@chello.nl 29. mailto:%20phk@FreeBSD.ORG CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 163 30. http://www4.informatik.uni-erlangen.de/%7ekardel 31. mailto:%20kardel(at)ntp(dot)org 32. mailto:%20jones@hermes.chpc.utexas.edu 33. mailto:%20dkatz@cisco.com 34. mailto:%20leres@ee.lbl.gov 35. mailto:%20lindholm@ucs.ubc.ca 36. mailto:%20louie@ni.umd.edu 37. mailto:%20thorinn@diku.dk 38. mailto:%20mayer@ntp.org 39. mailto:%20mills@udel.edu 40. mailto:%20moeller@gwdgv1.dnet.gwdg.de 41. mailto:%20mogul@pa.dec.com 42. mailto:%20tmoore@fievel.daytonoh.ncr.com 43. mailto:%20kamal@whence.com 44. mailto:%20derek@toybox.demon.co.uk 45. mailto:%20d@hd.org 46. mailto:%20neal@ntp.org 47. mailto:%20Rainer.Pruy@informatik.uni-erlangen.de 48. mailto:%20dirce@zk3.dec.com 49. mailto:%20wsanchez@apple.com 50. mailto:%20mrapple@quack.kfu.com 51. mailto:%20jack@innovativeinternet.com 52. mailto:%20schnitz@unipress.com 53. mailto:%20shields@tembel.org 54. mailto:%20pebbles.jpl.nasa.gov 55. mailto:%20harlan@pfcs.com 56. mailto:%20ken@sdd.hp.com 57. mailto:%20ajit@ee.udel.edu 58. mailto:%20tsuruoka@nc.fukuoka-u.ac.jp 59. mailto:%20vixie@vix.com 60. mailto:%20Ulrich.Windl@rz.uni-regensburg.de :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ti-utils: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: tslib: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU LIBRARY GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1991 Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the library GPL. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル It is 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 164 numbered 2 because it goes with version 2 of the ordinary GPL.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Library General Public License, applies to some specially designated Free Software Foundation software, and to any other libraries whose authors decide to use it. You can use it for your libraries, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library, or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link a program with the library, you must provide complete object files to the recipients so that they can relink them with the library, after making changes to the library and recompiling it. And you must show them these terms so they know their rights. Our method of protecting your rights has two steps: (1) copyright the library, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the library. Also, for each distributor's protection, we want to make certain that everyone understands that there is no warranty for this free library. If the library is modified by someone else and passed on, we want its recipients to know that what they have is not the original version, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 165 Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license. The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such. Because of this blurred distinction, using the ordinary General Public License for libraries did not effectively promote software sharing, because most developers did not use the libraries. We concluded that weaker conditions might promote sharing better. However, unrestricted linking of non-free programs would deprive the users of those programs of all benefit from the free status of the libraries themselves. This Library General Public License is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them. (We have not seen how to achieve this as regards changes in header files, but we have achieved it as regards changes in the actual functions of the Library.) The hope is that this will lead to faster development of free libraries. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, while the latter only works together with the library. Note that it is possible for a library to be covered by the ordinary General Public License rather than by this special one. GNU LIBRARY GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Library General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 166 prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 167 table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 168 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also compile or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 169 You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. c) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. d) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 170 the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 171 particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Library General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 172 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 173 Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of Vice That's all there is to it! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: wireless-regdb: LICENSE file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Copyright (c) 2008, Luis R. Rodriguez <mcgrof@gmail.com> Copyright (c) 2008, Johannes Berg <johannes@sipsolutions.net> Copyright (c) 2008, Michael Green <Michael.Green@Atheros.com> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: wireless_tools: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 174 The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 175 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 176 the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 177 operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 178 It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 179 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 180 Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: wpa_supplicant: README file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: wpa_supplicant and hostapd -------------------------Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> and contributors All Rights Reserved. These programs are licensed under the BSD license (the one with advertisement clause removed). If you are submitting changes to the project, please see CONTRIBUTIONS file for more instructions. This package may include either wpa_supplicant, hostapd, or both. See README file respective subdirectories (wpa_supplicant/README or hostapd/README) for more details. Source code files were moved around in v0.6.x releases and compared to earlier releases, the programs are now built by first going to a subdirectory (wpa_supplicant or hostapd) and creating build CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 181 configuration (.config) and running 'make' there (for Linux/BSD/cygwin builds). License ------This software may be distributed, used, and modified under the terms of BSD license: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name(s) of the above-listed copyright holder(s) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: zlib: README file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ZLIB DATA COMPRESSION LIBRARY zlib 1.2.8 is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). All functions of the compression library are documented in the file zlib.h CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 182 (volunteer to write man pages welcome, contact zlib@gzip.org). A usage example of the library is given in the file test/example.c which also tests that the library is working correctly. test/minigzip.c. Another example is given in the file The compression library itself is composed of all source files in the root directory. To compile all files and run the test program, follow the instructions given at the top of Makefile.in. In short "./configure; make test", and if that goes well, "make install" should work for most flavors of Unix. For Windows, use one of the special makefiles in win32/ or contrib/vstudio/ . For VMS, use make_vms.com. Questions about zlib should be sent to <zlib@gzip.org>, or to Gilles Vollant <info@winimage.com> for the Windows DLL version. The zlib home page is http://zlib.net/ . Before reporting a problem, please check this site to verify that you have the latest version of zlib; otherwise get the latest version and check whether the problem still exists or not. PLEASE read the zlib FAQ http://zlib.net/zlib_faq.html before asking for help. Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997 issue of Dr. Dobb's Journal; a copy of the article is available at http://marknelson.us/1997/01/01/zlib-engine/ . The changes made in version 1.2.8 are documented in the file ChangeLog. Unsupported third party contributions are provided in directory contrib/ . zlib is available in Java using the java.util.zip package, documented at http://java.sun.com/developer/technicalArticles/Programming/compression/ . A Perl interface to zlib written by Paul Marquess <pmqs@cpan.org> is available at CPAN (Comprehensive Perl Archive Network) sites, including http://search.cpan.org/~pmqs/IO-Compress-Zlib/ . A Python interface to zlib written by A.M. Kuchling <amk@amk.ca> is available in Python 1.5 and later versions, see http://docs.python.org/library/zlib.html . zlib is built into tcl: http://wiki.tcl.tk/4610 . An experimental package to read and write files in .zip format, written on top of zlib by Gilles Vollant <info@winimage.com>, is available in the contrib/minizip directory of zlib. Notes for some targets: - For Windows DLL versions, please see win32/DLL_FAQ.txt - For 64-bit Irix, deflate.c must be compiled without any optimization. With CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 183 -O, one libpng test fails. The test works in 32 bit mode (with the -n32 compiler flag). The compiler bug has been reported to SGI. - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works when compiled with cc. - On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is necessary to get gzprintf working correctly. This is done by configure. - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with other compilers. Use "make test" to check your compiler. - gzdopen is not supported on RISCOS or BEOS. - For PalmOs, see http://palmzlib.sourceforge.net/ Acknowledgments: The deflate format used by zlib was defined by Phil Katz. zlib specifications were written by L. The deflate and Peter Deutsch. Thanks to all the people who reported problems and suggested various improvements in zlib; they are too numerous to cite here. Copyright notice: (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu If you use the zlib library in a product, we would appreciate *not* receiving lengthy legal documents to sign. warranty of any kind. The sources are provided for free but without The library has been entirely written by Jean-loup Gailly and Mark Adler; it does not include third-party code. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 184 If you redistribute modified sources, we would appreciate that you include in the file ChangeLog history information documenting your changes. Please read the FAQ for more information on the distribution of modified source versions. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: uboot: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: U-Boot is Free Software. It is copyrighted by Wolfgang Denk and many others who contributed code (see the actual source code for details). You can redistribute U-Boot and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. Most of it can also be distributed, at your option, under any later version of the GNU General Public License -- see individual files for exceptions. NOTE! This license does *not* cover the so-called "standalone" applications that use U-Boot services by means of the jump table provided by U-Boot exactly for this purpose - this is merely considered normal use of U-Boot, and does *not* fall under the heading of "derived work". The header files "include/image.h" and "include/asm-*/u-boot.h" define interfaces to U-Boot. Including these (unmodified) header files in another file is considered normal use of U-Boot, and does *not* fall under the heading of "derived work". Also note that the GPL below is copyrighted by the Free Software Foundation, but the instance of code that it refers to (the U-Boot source code) is copyrighted by me and others who actually wrote it. -- Wolfgang Denk ======================================================================= GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 185 Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 186 that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 187 sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 188 distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 189 generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 190 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: linux: COPYING file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: NOTE! This copyright does *not* cover user programs that use kernel services by normal system calls - this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work". Also note that the GPL below is copyrighted by the Free Software Foundation, but the instance of code that it refers to (the Linux kernel) is copyrighted by me and others who actually wrote it. Also note that the only valid version of the GPL as far as the kernel is concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x or whatever), unless explicitly otherwise stated. Linus Torvalds ---------------------------------------GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 191 When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 192 Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 193 entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 194 except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 195 impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 196 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 197 You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: python-m2crypto: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libxml-parser-perl: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: python-setuptools: unknown license file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 7 章 CKB-RZ/A1H に含まれるソフトウェア 198 第8章 トラブル・シューティング 8.1 最新情報、FAQ など 当社ホーム・ページ( http://www.computex.co.jp/ )に、CKB-RZ/A1H の最新情報や、FAQ を設けます。そちらの方もご参照 ください。 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 第 8 章 トラブル・シューティング 199 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 変更履歴 日付 2014-2 2014-6 2014-7 版 1 2 3 内容 初版 誤記訂正 ・ 「1.6 動作環境」 対応 OS より Windows XP を削除 ・ 誤記訂正 CKB-RZ/A1H 組み込み Linux 技術的なお問い合わせについて CKB-RZ/A1H に関する技術的なお問い合わせについては、当社ホーム・ページ(http://www.computex.co.jp/)内、サポート ページの「技術的なお問い合わせ」に掲載されているご質問用紙にご記入の上、E-mail 又は FAX にてテクニカルセンタまでお 送りください。 株式会社コンピューテックス テクニカルセンタ E-mail : support@computex.co.jp FAX : 075 (551)2585 株式会社コンピューテックス 本 社 〒605-0846 京都市東山区五条橋東 4-432-13 對嵐坊ビル TEL:075-551-0528(代) FAX:075-551-2585 東京営業所 TEL:03-5753-9911(代) FAX:03-5753-9917 テクニカルセンタ TEL:075-551-0373 FAX:075-551-2585 CKB-RZ/A1H 組み込み Linux ユーザーズ・マニュアル 2014 年 7 月 3 版 CM1512(C)1407
© Copyright 2024 Paperzz