最近想搞wifi,看了下SDK里面编译出来的是有 AIC88000的相关东西。烧录系统后, /oem/usr/ko 是有ACI88000相关的ko 跟固件。执行了.sh 报错。想问下,怎么样跑起来这个WiFi
[root@luckfox root]# cd /oem/usr/ko/
[root@luckfox ko]# ls
8188fu.ko atbm603x_.ko hichannel.ko mpp_vcodec.ko rve.ko
8189fs.ko atbm6041_wifi_sdio.ko hpmcu_wrap.bin phy-rockchip-csi2-dphy-hw.ko sc3336.ko
aes_generic.ko ccm.ko insmod_ko.sh phy-rockchip-csi2-dphy.ko sha256_generic.ko
aic8800_bsp.ko cfg80211.ko insmod_wifi.sh pwm_bl.ko ssv6115.ko
aic8800_btlpm.ko cmac.ko ipv6.ko r8723bs.ko ssv6x5x.ko
aic8800_fdrv.ko ctr.ko libaes.ko release_version.txt video_rkcif.ko
aic8800_netdrv.ko gcm.ko libarc4.ko rga3.ko video_rkisp.ko
aic8800dc_fw gf128mul.ko libsha256.ko rk_dvbm.ko
aic_fw ghash-generic.ko mac80211.ko rknpu.ko
aic_load_fw.ko gspca_main.ko mis5001.ko rockit.ko
[root@luckfox ko]# ./insmod_wifi.sh
cat: can't open '/sys/bus/sdio/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/sdio/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/sdio/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/sdio/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/sdio/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/usb/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/usb/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/usb/devices/*/uevent': No such file or directory
cat: can't open '/sys/bus/sdio/devices/*/uevent': No such file or directory
wlan0 not found. Stop run rkwifi_server.
RV1106 wifi 模块 AIC88000 加载问题
您好,请说明一下使用的型号,只有SDIO扫卡成功才能成功运行脚本
型号 LUCKFOX Pico Plus 1103
我今天重新编译内核
./build.sh kernelconfig
配置内核
CONFIG_BT_AICBTUSB=m
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4
CONFIG_AIC_WLAN_SUPPORT=y
CONFIG_AIC8800_WLAN_SUPPORT=m
CONFIG_AIC_LOADFW_SUPPORT=m
然后保存,退出
./build.sh kernel 执行后,并没有发现我在内核配置的东西进行了编译
这是什么问题
设置为=m要通过./build.sh driver 编译,这个后面会复制到 oem 分区所以还需要 ./build.sh firmware 打包 ,最后烧录 oem.img 才能在 /oem/usr/ko 中看到新增的 .ko 驱动, insmod_wifi.sh 只能适用于已经适配好的型号,对于USB接口的没有适配要自己改脚本或者手动insmod 驱动
内核也设置过了。 make menuconfig ./build.sh kernelconfig 都试过,编译出来的文件不知道有没有打开
最后 ./build.sh driver 出错。报错
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing
最后 ./build.sh driver 出错。报错
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing
报 include/generated/autoconf.h or include/config/auto.conf are missing 就是您新增驱动的编译的内核模块Makefile 没有指定kernel的输出地址 $SDK/sysdrv/source/objs_kernel, 这部分只能由您自己开发处理,我们只维护SDIO接口的AIC8800驱动,不提供其他二次开发的技术支持
为何内核路径 是 SDK/sysdrv/source/objs_kernel ,而不是 luckfox-pico/sysdrv/source/kernel
内核路径是 $SDK/sysdrv/source/kernel, 内核输出路径是 $SDK/sysdrv/source/objs_kernel, rockchip 新版本的 IPC-SDK 都是这样设计的

