View Single Post
Old 08-17-2015, 04:25 PM   #3
pantec
Junior Member
pantec began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2015
Device: Kobo Mini / Glo
You need to integrate the driver into your kernel sources and recompile the kernel.
I've prepared a kernel patch to 2.6.x kernels.

1. Get the driver bcm-dhd-falcon-5901132-03112011.tgz from https://github.com/kobolabs/Kobo-Rea.../hw/imx508/ntx and unpack it somewhere on your disc

2a. let the environment variable KOBOLABS_SUPPLIED_DHD point to the BCM-DHD source tree
export KOBOLABS_SUPPLIED_DHD= <where_you_unpacked_bcm_dhd_falcon.tgz>

2b. let the environment variable KSRC point to your kernel sources

3. get my kernel patch (see attached file at the end) and unpack it
tar -xvzf kobo_bcmdhd.tgz -C $KSRC/drivers/net/wireless

4. relink sources and headers
cd $KSRC/drivers/net/wireless/kobo_bcmdhd
. relink-sources.cmds

5. run kernel menuconfig
cd $KSRC
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig

6. select Kobo DHD in wireless-devices section, you must unselect CFG80211 support in wireless network options, the cfg80211 stuff doesn't compile on 2.x kernels

7. compile kernel and modules, there is no need to fake module version etc, since the module is fully integrated into the kernel compilation
Attached Files
File Type: bz2 kobo_bcmdhd.tar.bz2 (3.9 KB, 229 views)

Last edited by pantec; 08-17-2015 at 04:41 PM.
pantec is offline   Reply With Quote