一、开发环境
linux主机:ubuntu-18.04
交叉编译器:gcc version 4.6.2 20110630 (prerelease)
wifi硬件:RTL8188CUS 迷你WIFI
WIFI驱动版本:rtl8192_8188CU_linux_v3.0.2164.20110715.rar(可以到我的资源中下载)
开发板kernel:linux-3.0.35
开发板:MarsBoard(imx6d)
二、内核配置
进入开发板kernel目录:
$ /home/ubuntu/marsboard/kernel/linux-3.0.35-src3482
$ make menuconfig
1)网络配置:
增加802.11协议栈的支持
Networking support->Wireless
--- Wireless | |
<*> cfg80211 - wireless configuration API | |
[*] nl80211 testmode command | |
[ ] enable developer warnings | |
[*] cfg80211 regulatory debugging | |
[*] enable powersave by default | |
[*] cfg80211 DebugFS entries | |
[ ] use statically compiled regulatory rules database