I am building an Atrix CM7 image with a kernel based on faux123's github kernel-MB860. That kernel builds and works fine. The wifi drivers however, are not working. I have also cloned faux123's atrix-wifi-dev project and built the dhd module by:
I get "Error" from the enable wifi option in network settings. I tried insmod'ing the dhd.ko from the adb shell:
dmesg shows:
<4>[ 310.662019] Dongle Host Driver, version 4.218.248.31
<4>[ 310.662023] Compiled in /home/bricea/projects/android/atrix-wifi-module/open-src/src/dhd/linux/../.. on Feb 16 2012 at 11:30:24
<7>[ 310.972212] mmc1: queuing CIS tuple 0x91 length 3
<6>[ 310.972246] mmc1: new SDIO card at address 0001
<4>[ 322.653577] dhd_module_init: sdio_register_driver timeout
Am I building this correctly? Has anyone successfully rebuilt the kernel and dhd driver?
Code:
cd open-src/src/dhd/linux
make ANDROID_BUILD_TOP=~/projects/android/system LINUXSRCDIR=~/projects/android/kernel-MB860 BCM_INSTALLDIR=~/projects/android/system/device/motorola/olympus/modules CROSS_COMPILE=$CCOMPILER dhd-cdc-sdstd
Code:
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wl/sdio-ag-cdc-full11n-minioctl-roml-pno-wme-aoe-pktfilter-keepalive.bin nvram_path=/system/etc/wl/nvram.txt
insmod: init_module '/system/lib/modules/dhd.ko' failed (Invalid argument)
<4>[ 310.662019] Dongle Host Driver, version 4.218.248.31
<4>[ 310.662023] Compiled in /home/bricea/projects/android/atrix-wifi-module/open-src/src/dhd/linux/../.. on Feb 16 2012 at 11:30:24
<7>[ 310.972212] mmc1: queuing CIS tuple 0x91 length 3
<6>[ 310.972246] mmc1: new SDIO card at address 0001
<4>[ 322.653577] dhd_module_init: sdio_register_driver timeout
Am I building this correctly? Has anyone successfully rebuilt the kernel and dhd driver?