「ubuntu/Hardy Heron/KernelRebuild」の編集履歴(バックアップ)一覧はこちら

ubuntu/Hardy Heron/KernelRebuild - (2008/12/29 (月) 22:46:21) の1つ前との変更点

追加された行は緑色になります。

削除された行は赤色になります。

*カーネル・カーネルモジュールのリビルド #contents() 現状の Ubuntu Hardy では、D4 の動作に必要な、psb,drm カーネルドライバと、無線用の SD8686 のドライバが組み込まれていない。これは、カーネルドライバの再構築で作れる。手順は以下の通り。 *カーネルの再構築(ws016sh フレーバー) カーネルソースを修正して、既存のパッケージとは異なるパッケージでカーネルパッケージを作る。 **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper sudo aptitude install linux-kernel-devel devscripts libncurses5-dev ccache **カーネルソースを取得 apt-get source linux-image-2.6.24-22-generic **フレーバーの作成 以下のページに新たなフレーバーを追加する方法がかかれているのでそれにしたがって ws016sh フレーバーを追加した。 http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid-using-git/ **ビルド fakeroot debian/rules binary-ws016sh *カーネルモジュールの再構築(ws016sh フレーバー) あらかじめ上で作成した ws016sh フレーバーのカーネルヘッダをインストールしておく。 dpkg -i linux-headers-2.6.24-22-ws016sh_2.6.24-22.45_i386.deb **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper **カーネルモジュールのソースを取得 apt-get source linux-ubuntu-modules-2.6.24-22-generic **フレーバーの作成 http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid-using-git/ の記載に習って、以下のファイルを修正した。 -debian/rules.d/i386.mk -debian/control -debian/control.stub **debian/config/i386 ファイルを修正する。 CONFIG_DRM_PSB=m CONFIG_MMC_SD8686=m CONFIG_MMC_SD8688=m の2行を追加 **ビルド fakeroot debian/rules binary-modules-ws016sh *カーネルの再構築(generic フレーバーのカスタマイズ) **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper sudo aptitude install linux-kernel-devel devscripts libncurses5-dev ccache **カーネルソースを取得 apt-get source linux-image-2.6.24-19-generic **ソースの修正 driver/usb/serial/pl2303.h driver/usb/serial/pl2303.c を修正した。 **ビルド fakeroot debian/rules binary-generic *カーネルモジュールの再構築(generic フレーバーのカスタマイズ) **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper **カーネルモジュールのソースを取得 apt-get source linux-ubuntu-modules-2.6.24-19-generic **debian/config/i386 ファイルを修正する。 CONFIG_DRM_PSB=m CONFIG_MMC_SD8686=m CONFIG_MMC_SD8688=m の2行を追加 **ビルド fakeroot debian/rules binary-modules-generic *メモ **参考サイト -https://wiki.ubuntu.com/KernelMaintenance#head-ef6ca858b4b97c1ad30639e34d92abb11ef37cf8 -http://jody.sci.hokudai.ac.jp/~ike/blog/2007/06/kernelubuntu.html -https://help.ubuntu.com/community/Kernel/Compile -http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid-using-git/ -http://blog.avirtualhome.com/2008/10/31/compiling-a-new-release-of-the-ubuntu-intrepid-kernel-using-git/ **作業記録 カーネルモジュールの構築ログ 14 sudo aptitude install dpkg-dev fakeroot debhelper 15 apt-get source linux-ubuntu-modules-2.6.24-19-generic 17 cd linux-ubuntu-modules-2.6.24-2.6.24/ 18 vi debian/config/i386 19 fakeroot debian/urles binary-modules-generic カーネルの構築 36 apt-get source linux-image-2.6.24-19-generic 38 cd linux-2.6.24/ 42 sudo aptitude install linux-kernel-devel devscripts libncurses5-dev ccache 46 fakeroot debian/rules binary-generic
*カーネル・カーネルモジュールのリビルド #contents() 現状の Ubuntu Hardy では、D4 の動作に必要な、psb,drm カーネルドライバと、無線用の SD8686 のドライバが組み込まれていない。これは、カーネルドライバの再構築で作れる。手順は以下の通り。 *カーネルの再構築(ws016sh フレーバー) カーネルソースを修正して、既存のパッケージとは異なるパッケージでカーネルパッケージを作る。 **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper sudo aptitude install linux-kernel-devel devscripts libncurses5-dev ccache **カーネルソースを取得 apt-get source linux-image-2.6.24-22-generic **フレーバーの作成 以下のページに新たなフレーバーを追加する方法がかかれているのでそれにしたがって ws016sh フレーバーを追加した。 http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid-using-git/ **ビルド fakeroot debian/rules binary-ws016sh *カーネルモジュールの再構築(ws016sh フレーバー) あらかじめ上で作成した ws016sh フレーバーのカーネルヘッダをインストールしておく。 dpkg -i linux-headers-2.6.24-22-ws016sh_2.6.24-22.45_i386.deb **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper **カーネルモジュールのソースを取得 apt-get source linux-ubuntu-modules-2.6.24-22-generic **フレーバーの作成 http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid-using-git/ の記載に習って、以下のファイルを修正した。 -debian/rules.d/i386.mk -debian/control -debian/control.stub **debian/config/i386 ファイルを修正する。 CONFIG_DRM_PSB=m CONFIG_MMC_SD8686=m CONFIG_MMC_SD8688=m の2行を追加 **ビルド fakeroot debian/rules binary-modules-ws016sh ※これでライブCDを作ろうとしたら、ヘッダパッケージが依存関係の問題でインストールできなかった。 *カーネルの再構築(generic フレーバーのカスタマイズ) **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper sudo aptitude install linux-kernel-devel devscripts libncurses5-dev ccache **カーネルソースを取得 apt-get source linux-image-2.6.24-19-generic **ソースの修正 driver/usb/serial/pl2303.h driver/usb/serial/pl2303.c を修正した。 **ビルド fakeroot debian/rules binary-generic *カーネルモジュールの再構築(generic フレーバーのカスタマイズ) **必要なパッケージを導入する sudo aptitude install dpkg-dev fakeroot debhelper **カーネルモジュールのソースを取得 apt-get source linux-ubuntu-modules-2.6.24-19-generic **debian/config/i386 ファイルを修正する。 CONFIG_DRM_PSB=m CONFIG_MMC_SD8686=m CONFIG_MMC_SD8688=m の2行を追加 **ビルド fakeroot debian/rules binary-modules-generic *メモ **参考サイト -https://wiki.ubuntu.com/KernelMaintenance#head-ef6ca858b4b97c1ad30639e34d92abb11ef37cf8 -http://jody.sci.hokudai.ac.jp/~ike/blog/2007/06/kernelubuntu.html -https://help.ubuntu.com/community/Kernel/Compile -http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid-using-git/ -http://blog.avirtualhome.com/2008/10/31/compiling-a-new-release-of-the-ubuntu-intrepid-kernel-using-git/ **作業記録 カーネルモジュールの構築ログ 14 sudo aptitude install dpkg-dev fakeroot debhelper 15 apt-get source linux-ubuntu-modules-2.6.24-19-generic 17 cd linux-ubuntu-modules-2.6.24-2.6.24/ 18 vi debian/config/i386 19 fakeroot debian/urles binary-modules-generic カーネルの構築 36 apt-get source linux-image-2.6.24-19-generic 38 cd linux-2.6.24/ 42 sudo aptitude install linux-kernel-devel devscripts libncurses5-dev ccache 46 fakeroot debian/rules binary-generic

表示オプション

横に並べて表示:
変化行の前後のみ表示: