You are viewing outdated content for BUG. If you have a BUG Y.T. edition or 2.0 series device, please visit our updated wiki: http://wiki.buglabs.net



Wireless-compat

From BUG Wiki

Jump to: navigation, search

Introduction

I had disconnection problems with bug-base 1.3,So I tried wireless-compat,but At the end it seemed that the driver was not responsible of the disconnections,but the poor range of the wifi where I lived

The bugbase 1.3 needs the libertas-sdio driver.

Howto

Read http://www.linuxwireless.org/en/users/Download and dowload wireless compat from there.

Then cross-compile your kernel for your bug device(use the way you are used to,poky,openembedded or manually with a toolchain)

Then I used the following script(adapted from bob copeland):

source /home/embedded/oetmp_bug/deploy/glibc/addons/arm-angstrom-linux-gnueabi-angstrom-bug-devshell
DIR="/home/embedded/oetmp_bug/work/bug-angstrom-linux-gnueabi/linux-bug-2.6.27.2+svnr10746-r33/bug-linux-2.6.27.2"
make ARCH=arm LDFLAGS="" CROSS_COMPILE=arm-angstrom-linux-gnueabi- KLIB=$DIR KLIB_BUILD=$DIR "$@" 

Replace /home/embedded/oetmp_bug/work/bug-angstrom-linux-gnueabi/linux-bug-2.6.27.2+svnr10746-r32/bug-linux-2.6.27.2 by the directory where your kernel resides. but I had no luck with the installation(even modifying Makefiles etc...)

so I did that:

find ./ | grep ko$ | xargs tar cvjf ../wireless-compat_modules.tar.bz2

in compat-wireless-2010-02-15 directory And then I unpacked the tarball in:

/lib/modules/2.6.27.2/kernel

in the bug device

Then a very important piece is lacking: udev nodes:

go into your compat-wireless-2010-02-15 directory

cd udev

and copy the following files:

scp compat_firmware.sh root@10.10.10.10:/lib/udev/
scp 50-compat_firmware.rules root@10.10.10.10:/etc/udev/rules.d/

Then you have to run the following command:

depmod -a
reboot

Note that this howto was not tested with stock firmwares but with the ones coming from the marvell website in this zip file:

SD-8686-LINUX26-SYSKT-9.70.3.p24-26409.P45-GPL.zip

compat-wireless-2010-02-15.tar.bz2 was used as compat-wireless tarball

Thanks

Thanks to Hauke1 in #linux-wireless for pointing me out that some additional udev rules were needed