硬件环境:
mini6410+七寸屏;
SD-WIFI:Marvell 8686芯片;
软件环境:
交叉编译器:4.3.2
内核:2.6.36-20110112版
根据手册上的流程,用光盘里的内核(zImage_a70),文件系统(rootfs_qtopia_qt4.img),烧写到nandflash。系统可以用无线网络设置,正常使用wifi。
问题:
1、当根据config_mini6410_a70配置文件编译内核时,新内核烧写到nandflash,使用无线网络设置,无法使用wifi。
(注意到一点,就是没有load module,每次会scan aps失败) 并且 lsmod结果是空。
2、 当在config_mini6410_a70配置的基础上
Networking support ---> [*]Wireless ---> Generic IEEE 802.11 Networking Stack (mac80211)(其他选择基本上全选编入内核)
Device Drivers ---> Network device support ---> Wireless LAN ---> (其下选项基本上全选编入内核)
编译后,把内核烧入内核,会有如下显示
Please press Enter to activate this console. libertas: can't load helper firmware
libertas: failed to load helper firmware
libertas_sdio: probe of mmc1:0001:1 failed with error -2
[root@FriendlyARM /]#
尝试modproe libertas,会有如下显示
[root@FriendlyARM module]# modprobe libertas
Compat-wireless backport release: compat-wireless-2011-01-06
Backport based on linux-next.git next-20110111
cfg80211: exports duplicate symbol wiphy_rfkill_set_hw_state (owned by kernel)
modprobe: 'net/wireless/cfg80211.ko': invalid module format
libertas: exports duplicate symbol __lbs_cmd (owned by kernel)
modprobe: 'drivers/net/wireless/libertas/libertas.ko': invalid module format
显然也是wifi无法正常使用,lsmod也为空。
问: 直接的就是,我需要重新编译内核,那么怎么样才能在新内核下正常使用wifi????