LinuxSH版 Kernelの作り方
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
*Kernel リリースについて [#hd92e62f]
-本サイトでは、本家Kernelソースに、LinuxSH最新パッチを適...
LANDISK版としてリリースしています。~
~
--Linuxカーネルの本家~
http://kernel.org~
~
--LinuxSH~
SH版kernelの開発を行うプロジェクト(分家なのかな?)~
http://linuxsh.sourceforge.net/cgi-bin/moin.cgi ~
~
-
以下参考までに、LinuxSH版カーネルとそこから派生するLANDIS...
*LinuxSH版カーネルの作り方 [#kf1b3d5c]
-本家ソースの取得
--取得の仕方は省略します。~
--取得後カーネルソースを展開します。
~
~
-SH版最新パッチの取得~
--tla~
本ツールを使用してSH版最新カーネルのパッチ群である sh--st...
(tlaはdebian26で使用可能です。「apt-get install tla」)~
#pre{{
landisk:~/kernel# tla register-archive http://www.stamped...
landisk:~/kernel# tla get lethal@linux-sh.org--linux/sh--...
}}
--treecp.sh~
(正規の方法ではないのですが、)ソースをマージするために...
#pre{{
#!/bin/sh
#
# treecp.sh - Tree copy Script
#
# Copyright (C) 2001 Paul Mundt <lethal@xxxxxx>
#
# Modified by M. R. Brown <mrbrown@xxxxxx>
#
# A simple shell script for linking a drop in tree into a...
# kernel tree. Usable for drop in trees such as the linux...
# and linuxconsole trees.
#
# Released under the terms of the GNU GPL v2
#
[ "$#" -ne "2" ] && echo "Usage: $0 <drop in tree> <kerne...
ODIR=${PWD}
cd $1 || exit 1
LDIR=${PWD}
echo -n "Building file list ... "
LIST=`find * \( -type d -name CVS -prune \) -o -type f -p...
echo -e "done."
cd ${ODIR}
cd $2 || exit 1
echo -n "Copying files ........ "
for file in $LIST; do
DIR=`dirname $file`
[ ! -d $DIR ] && mkdir -p $DIR
cp $LDIR/$file $file
done
echo -e "done."
}}
※ http://www.m17n.org/linux-sh/ml/linux-sh-ja/2003-09/ms...
~
--ソースのマージ~
先ほど作成したtreecp.shを用いて、本家ソースとSH版パッチを...
#pre{{
landisk:~/kernel# treecp.sh sh--stable--2.6--patch-xxx li...
}}
--趣味の問題ですが~
マージされたカーネルには、非常に多くのパッチ履歴情報が含...
個人的には不必要な情報なので、次のコマンドで一括削除して...
#pre{{
landisk:~/kernel# cd linux-2.6.x
landisk:~/kernel/linux-2.6.x# find . -name .arch-ids -exe...
landisk:~/kernel/linux-2.6.x# rm -rf \{arch\}/
}}
-以上で、LinuxSH版カーネルソースができあがりました~
次に、本LinuxSHカーネルをベースに、いくつかのパッチを当て...
*LANDISK版Kernelの作り方 [#q99f03d9]
-パッチ~
本サイトでは、下記の追加パッチを当てたカーネルをリリース...
~
-追加パッチ(2.6.14版)
--[[01_sh4-fpu-error-handling.patch:http://eggplant.ddo.j...
--[[SignHaVGA_white_and_green.patch:http://eggplant.ddo.j...
--[[build.patch:http://eggplant.ddo.jp/www/download/kerne...
--[[pegasus.patch:http://eggplant.ddo.jp/www/download/ker...
--%%[[shutdown_using_landiskpoff.patch:http://eggplant.dd...
--%%[[landisk_defconfig.patch:http://eggplant.ddo.jp/www/...
--%%[[landisk_irq_type.patch:http://eggplant.ddo.jp/www/d...
--%%[[rtc_spinlock.patch:http://eggplant.ddo.jp/www/downl...
-追加パッチ(2.6.13版)
--[[01_sh4-fpu-error-handling.patch:http://eggplant.ddo.j...
--[[sisusb_patch_2.6.13_2.diff:http://eggplant.ddo.jp//ww...
--[[SignHaVGA_white_and_green.patch:http://eggplant.ddo.j...
--[[config_RAID_support.patch:http://eggplant.ddo.jp/www/...
--[[shutdown_using_landiskpoff.patch:http://eggplant.ddo....
~
-最後にソースをtarで固めて、リリース。~
#pre{{
landisk:~/kernel/linux-2.6.xx# cd ..
landisk:~/kernel# tar cvzf linux-2.6.xx-sh-landisk.0.z.tg...
}}
終了行:
*Kernel リリースについて [#hd92e62f]
-本サイトでは、本家Kernelソースに、LinuxSH最新パッチを適...
LANDISK版としてリリースしています。~
~
--Linuxカーネルの本家~
http://kernel.org~
~
--LinuxSH~
SH版kernelの開発を行うプロジェクト(分家なのかな?)~
http://linuxsh.sourceforge.net/cgi-bin/moin.cgi ~
~
-
以下参考までに、LinuxSH版カーネルとそこから派生するLANDIS...
*LinuxSH版カーネルの作り方 [#kf1b3d5c]
-本家ソースの取得
--取得の仕方は省略します。~
--取得後カーネルソースを展開します。
~
~
-SH版最新パッチの取得~
--tla~
本ツールを使用してSH版最新カーネルのパッチ群である sh--st...
(tlaはdebian26で使用可能です。「apt-get install tla」)~
#pre{{
landisk:~/kernel# tla register-archive http://www.stamped...
landisk:~/kernel# tla get lethal@linux-sh.org--linux/sh--...
}}
--treecp.sh~
(正規の方法ではないのですが、)ソースをマージするために...
#pre{{
#!/bin/sh
#
# treecp.sh - Tree copy Script
#
# Copyright (C) 2001 Paul Mundt <lethal@xxxxxx>
#
# Modified by M. R. Brown <mrbrown@xxxxxx>
#
# A simple shell script for linking a drop in tree into a...
# kernel tree. Usable for drop in trees such as the linux...
# and linuxconsole trees.
#
# Released under the terms of the GNU GPL v2
#
[ "$#" -ne "2" ] && echo "Usage: $0 <drop in tree> <kerne...
ODIR=${PWD}
cd $1 || exit 1
LDIR=${PWD}
echo -n "Building file list ... "
LIST=`find * \( -type d -name CVS -prune \) -o -type f -p...
echo -e "done."
cd ${ODIR}
cd $2 || exit 1
echo -n "Copying files ........ "
for file in $LIST; do
DIR=`dirname $file`
[ ! -d $DIR ] && mkdir -p $DIR
cp $LDIR/$file $file
done
echo -e "done."
}}
※ http://www.m17n.org/linux-sh/ml/linux-sh-ja/2003-09/ms...
~
--ソースのマージ~
先ほど作成したtreecp.shを用いて、本家ソースとSH版パッチを...
#pre{{
landisk:~/kernel# treecp.sh sh--stable--2.6--patch-xxx li...
}}
--趣味の問題ですが~
マージされたカーネルには、非常に多くのパッチ履歴情報が含...
個人的には不必要な情報なので、次のコマンドで一括削除して...
#pre{{
landisk:~/kernel# cd linux-2.6.x
landisk:~/kernel/linux-2.6.x# find . -name .arch-ids -exe...
landisk:~/kernel/linux-2.6.x# rm -rf \{arch\}/
}}
-以上で、LinuxSH版カーネルソースができあがりました~
次に、本LinuxSHカーネルをベースに、いくつかのパッチを当て...
*LANDISK版Kernelの作り方 [#q99f03d9]
-パッチ~
本サイトでは、下記の追加パッチを当てたカーネルをリリース...
~
-追加パッチ(2.6.14版)
--[[01_sh4-fpu-error-handling.patch:http://eggplant.ddo.j...
--[[SignHaVGA_white_and_green.patch:http://eggplant.ddo.j...
--[[build.patch:http://eggplant.ddo.jp/www/download/kerne...
--[[pegasus.patch:http://eggplant.ddo.jp/www/download/ker...
--%%[[shutdown_using_landiskpoff.patch:http://eggplant.dd...
--%%[[landisk_defconfig.patch:http://eggplant.ddo.jp/www/...
--%%[[landisk_irq_type.patch:http://eggplant.ddo.jp/www/d...
--%%[[rtc_spinlock.patch:http://eggplant.ddo.jp/www/downl...
-追加パッチ(2.6.13版)
--[[01_sh4-fpu-error-handling.patch:http://eggplant.ddo.j...
--[[sisusb_patch_2.6.13_2.diff:http://eggplant.ddo.jp//ww...
--[[SignHaVGA_white_and_green.patch:http://eggplant.ddo.j...
--[[config_RAID_support.patch:http://eggplant.ddo.jp/www/...
--[[shutdown_using_landiskpoff.patch:http://eggplant.ddo....
~
-最後にソースをtarで固めて、リリース。~
#pre{{
landisk:~/kernel/linux-2.6.xx# cd ..
landisk:~/kernel# tar cvzf linux-2.6.xx-sh-landisk.0.z.tg...
}}
ページ名: