Belphegor の巣窟 - Linux Zaurus(略) - linux-wlan-ngの作成手順


linux-wlan-ng-0.2.0

cd $SOURCE
tar xvzf $ARCHIVE/linux-wlan-ng-0.2.0.tar.gz
cd linux-wlan-ng-0.2.0
./Configure
# "Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]:" -> y と答える
# "Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]:" -> y と答える
# "Build Prism2.5 native PCI (_pci) driver? (y/n) [n]:" -> y と答える
# "Build Prism2.5 USB (_usb) driver? (y/n) [n]:" -> y と答える
# "Linux source directory [/usr/src/linux]:" -> /xgcc/src/linux と答える
# 警告メッセージ "WARNING: the current running kernel is ..." が表示されるが、これは無視してOK
# "Alternate target install root directory on host []:" -> 何も入力せず [Enter]
# "PCMCIA script directory [/etc/pcmcia]:" -> 何も入力せず [Enter]
# "Module install directory [/lib/modules/2.4.13-ac5-rmk2-cotulla.1]:" -> 何も入力せず [Enter]
# "Prefix for build host compiler? (rarely needed) []:" -> arm-linux- と答える
# "Build for debugging (see doc/config.debug) (y/n) [n]:" -> 何も入力せず [Enter]
make auto_config
# 途中でmkmetadefを実行する必要があるので、その結果だけ貼り付けるよう変更
uudecode -o /dev/stdout << EOF | gunzip -c > src/mkmeta/mkmetadef.out
begin-base64 644 mkmetadef.out.gz
H4sICDxxyz4AA21rbWV0YWRlZi5vdXQAvZ1bb+M4ssefZz/FAPuy+9Z20rfH
dNLZCaYz8cTuHRzgAAZbpm2d1m11yQXYD38kWbItmyoWq1hZ7PRk7A75E0n9
iywWi39f6XWY6F9v7m7iYrMMVLlcpeVkkuv//Pq/f/vll19mn95NJ5P66+X9
7/Ov14u7hz/+Mfnn3/4+/L3+d5Zx+GOjy92v/sP8u7/+97zkfz0+fJ/V39kK
bv6lyjIPf1SlJtdi+u5u8fV+99W7l3fd/6w0uS6qqAzSlQDL1IGlIDf5FG7y
wk+TT/00eeGjyQEWdJNn6bPO401MbfULoNX3ZR9+iulPe+Gh5Q9Ez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HQX65gUiDE7PhzC7DHclfRUA8OCUvOex3qZApMBpeEdxnlrUPxBOyDug7rYl
OJc9EeQsEOP/AbjxzHxKXgEA
====
EOF
uudecode -o /dev/stdout << EOF | gunzip -c > src/mkmeta/mkmetastruct.out
begin-base64 644 mkmetastruct.out.gz
H4sICJRzyz4AA21rbWV0YXN0cnVjdC5vdXQA7V3bbts4EH12vqKfYDlpmqBP
3ia7KDYJiiJ7AYKFQFO0zbV4KUnZCRb77yVly7eNHI5WrGTBj0l0JPKcmeFw
hlLi+I+74UP85evwl/th/GX46dcojs/MiyQJGb/TRmXYvJNX/UEUMT2JE2Gi
SJFvMaOjCTFn/5z1fvv88Hg+6PXsn7FISC9e3nH4+Pj180/5HeP4485lKeGH
rrrq9RIy54iRp/yam9vfH4b3t3e3D/H98M+/yqDLQVJDWJzx2fn1IDY9O0pk
jKKjzJQObBtHuTl3OEV0lpoD0/n33Wu/LycqNh/P4v9QffPz3aNl++yVP3mr
oE8q+Kmgg6kgxYIoNmGtFaIgdD1QdmBkrwEXaEYyCdMOEzoniaFMN6T5eraB
ZNcY8bYrPtLaTcQDIu1EL5cImhwenURJ3P/0FPmMxN02H4nfbaObp3PQBJ0I
njPcuIESI6ttil48JxBdWBSeIs5JmlJt3p7HwJOe9ZgY5asHWI8BzYah54rI
N33tVRTPmLURCAJJSXiZ+P7+7KQO6Mrxkg59BC5NeUKewyut6YSjFGQbguoA
weY8TLC5gAYb/2i6gRCEBZdEUVE6otdwbuGEo1wE0AYx0FKdCozAsWM8TRY2
GMJhUyFtJgbGSJtBElXqY6U4sKskehVNISA8llhkHDQti4ELbEE23ieZQoYK
EBsWaWGKMEQ55RMI1ObO2j6PLSyZYgF8qEhTNEpBRrJE2bgMW9TpHGGfFX3j
m0hTbJkkUSXUoBLqvBLqohLqfSXUZSXUh0qoK9B6lEkJlqsAgdQqQCCxChBI
qwIEkqoAgZQqQCChClCZTsDsbZViBcri/ha0rRsyYMLzHrp9cFMfI5pmirgl
WWSgpegUCI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8ti0khAUyRjuZ
8cxRmjWSpxaEhhKrk6lLU6nImtAgW2rEkrSr2zryTKAi17YX3/AaTrZOupn3
DuGif33ZoFtuSRBC4XGK9LS7rlmXCjs0hdTh5GsN+tqOCGGSlpOjvZWFhPOx
JGPyOPgHH9Cqi/4NRSEEWHX2YsrHou0SeHxJ/QCs0uvLlT91jqeO0f+n/LY2
obU/lq+YVzllVUlDNJ/kx6HAfi8JmlVDujfRsaFz2D8lwOODoCq2FuRzq8vn
LJextltZXbF7Ods3ePwOizx5+UtpAAA=
====
EOF
mv src/mkmeta/Makefile src/mkmeta/Makefile.bak
sed "s/.\/mkmetadef >> ..\/include\/wlan\/p80211metadef.h/cat mkmetadef.out >> ..\/include\/wlan\/p80211metadef.h/" < src/mkmeta/Makefile.bak | \
	sed "s/.\/mkmetastruct >> ..\/include\/wlan\/p80211metastruct.h/cat mkmetastruct.out >> ..\/include\/wlan\/p80211metastruct.h/" \
	> src/mkmeta/Makefile
# linuxカーネル側の準備; 標準添付モジュールを構築して modversions.h を作成させる
cd $SOURCE/linux
make modules
cd $SOURCE/linux-wlan-ng-0.2.0
# prism2mib.cでのコンパイルエラー対策
cd src
uudecode -o /dev/stdout << EOF | gunzip | patch -p1 -b
begin-base64 644 prism2mib.c.patch
H4sICI5l0z4AA3ByaXNtMm1pYi5jLnBhdGNoALVS32+CMBB+Ln9FHzdLpRbR
idkCmS4x2cPiTPZoAKsSEReKvGz739cWZC4K7GfT5K7Xr9fvvjuMMeRJYDwn
Id9SY5GEGUuK0zb020Hb9zaAEmJiQjHtQUJtk9jdfpscFkRkQIiGEKrPVGSx
MO1DSu2OyDI4yeI4EPdNU++IQGEdR4Mf627uPsBXYR5nrrLTsTvSjxFEz/dx
rKQxF14G33QNy/ALHE1GKkrFnnl+xIR9TL2U6RqSCKNVD/oZM1zHDNVcwpaR
JzxPyt2naxanYSC4Lc6TqyalpO9ZufS5rZBe5lDO03QyG/+t+Pe71TgTNfCm
BhwBm5rQxPW/2nG79uKYRZN4uZsyvo+quNb3hF5ZohkUooMju6JBAICfMG8z
FAcMQOBxVj2otoYAEFI2ofK84RJehHzF0kt1BK19GKcmhddSgQzfcAku/j2Q
QKWrRJEPKz/7NKbyU1XmwCJ6pyvKLJzvlVmOQ2OpR8ivlRvtVkN1wyLOckh5
IUAF/Bd6nM6JpPYORWOsfJsFAAA=
====
EOF
cd ..
# 最後にmake
make all
# パッケージ作成用仮想ルートの作成
mkdir $SOURCE/modules-root
mkdir -p $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/net
mkdir -p $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/pcmcia
mkdir -p $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/usb
mkdir -p $SOURCE/modules-root/sbin
mkdir -p $SOURCE/modules-root/etc/pcmcia
mkdir -p $SOURCE/modules-root/etc/wlan
mkdir -p $SOURCE/modules-root/etc/hotplug/usb
mkdir -p $SOURCE/modules-root/etc/hotplug/pci

# 仮想ルートへのインストール
cp src/p80211/p80211.o $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/net
cp src/prism2/driver/prism2_cs.o $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/pcmcia
cp src/prism2/driver/prism2_pci.o $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/net
cp src/prism2/driver/prism2_plx.o $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/net
cp src/prism2/driver/prism2_usb.o $SOURCE/modules-root/lib/modules/2.4.13-ac5-rmk2-cotulla.1/usb
cp src/wlanctl/wlanctl $SOURCE/modules-root/sbin/wlanctl-ng
cp src/wland/wland $SOURCE/modules-root/sbin/wland
cp src/nwepgen/nwepgen $SOURCE/modules-root/sbin
cp src/wlancfg/wlancfg $SOURCE/modules-root/sbin
cp etc/pcmcia/wlan-ng $SOURCE/modules-root/etc/pcmcia
chmod +x $SOURCE/modules-root/etc/pcmcia/wlan-ng
cp etc/pcmcia/wlan-ng.conf $SOURCE/modules-root/etc/pcmcia
cp etc/wlan/wlan.conf $SOURCE/modules-root/etc/wlan/wlan.conf
cp etc/wlan/shared etc/wlan/wlancfg-DEFAULT $SOURCE/modules-root/etc/wlan
cp etc/wlan.hotplug $SOURCE/modules-root/etc/hotplug/usb/prism2_usb
cp etc/wlan.hotplug $SOURCE/modules-root/etc/hotplug/pci/prism2_pci
cp etc/wlan.hotplug $SOURCE/modules-root/etc/hotplug/pci/prism2_plx
cp etc/wlan.hotplug $SOURCE/modules-root/etc/hotplug/pci/acx100_pci

# コントロールファイルの作成
mkdir $SOURCE/modules-root/CONTROL
cat > $SOURCE/modules-root/CONTROL/control << EOF
Package: linux-wlan-ng
Priority: optional
Section: kernel
Version: 0.2.0
Architecture: arm
Maintainer: Yasuhiko Kamata (belphegor@belbel.or.jp)
Depends: 
Description: Wireless LAN modules for Linux.
 Wireless LAN controller PRISM1/2/3(tm) drivers for Linux.
EOF

# インストール前のスクリプト
cat > $SOURCE/modules-root/CONTROL/preinst << EOF
#!/bin/sh

mkdir -p /etc/pcmcia
if [ -f /etc/pcmcia/wlan-ng ]; then \\
        mv -f /etc/pcmcia/wlan-ng /etc/pcmcia/wlan-ng.O ; \\
fi
if [ -f /etc/pcmcia/wlan-ng.conf ]; then \\
        mv -f /etc/pcmcia/wlan-ng.conf /etc/pcmcia/wlan-ng.conf.O ; \\
fi
if [ -f /etc/pcmcia/config ]; then \\
if ! grep -sq 'source.*\.\/\*\.conf$' /etc/pcmcia/config ; then \\
        if ! grep -sq 'source \.\/wlan-ng.conf' /etc/pcmcia/config ; then \\
                mv -f /etc/pcmcia/config /etc/pcmcia/config.O ; \\
                ( echo "source ./wlan-ng.conf"; cat /etc/pcmcia/config.O) > /etc/pcmcia/config ; \\
        fi ; \\
fi ; \\
fi
EOF
chmod 755 $SOURCE/modules-root/CONTROL/preinst

# インストール後のスクリプト
cat > $SOURCE/modules-root/CONTROL/postinst << EOF
#!/bin/sh

/sbin/depmod -a
EOF
chmod 755 $SOURCE/modules-root/CONTROL/postinst

# パッケージの作成
cd $SOURCE/modules-root
mkdir -p opt/QtPalmtop
mv sbin opt/QtPalmtop
cd ..
ipkg-build modules-root
					

Linux Zaurus(略)へ戻る


最終更新日: 2003/05/28 00:12:35