https://www.cnblogs.com/rain-blog/p/rtl8723bs-driver-test.html
CONFIG_PLATFORM_ARM_SUNxI = n
CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ARM_SUN7I = n
CONFIG_PLATFORM_ARM_SUN8I = n
我想问下,licheepi zero选哪个平台架构?
离线
CONFIG_PLATFORM_ARM_SUNxI = n
CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ARM_SUN7I = n
CONFIG_PLATFORM_ARM_SUN8I_W3P1 = y
CONFIG_PLATFORM_ARM_SUN8I_W5P1 = n
rtl8723bs驱动的Makefile选项,我编译出了8723bs.ko模块,但是加载在v3s中加载时出现了以下错误,有人遇到过吗?
insmod 8723bs.ko
[ 9.528318] 8723bs: loading out-of-tree module taints kernel.
[ 9.542893] 8723bs: Unknown symbol wifi_pm_power (err 0)
[ 9.548583] 8723bs: Unknown symbol wifi_pm_get_mod_type (err 0)
[ 9.554821] 8723bs: Unknown symbol sunxi_mci_rescan_card (err 0)
[ 9.561021] 8723bs: Unknown symbol script_get_item (err 0)
[ 9.593651] 8723bs: Unknown symbol wifi_pm_power (err 0)
[ 9.599345] 8723bs: Unknown symbol wifi_pm_get_mod_type (err 0)
[ 9.605585] 8723bs: Unknown symbol sunxi_mci_rescan_card (err 0)
[ 9.611807] 8723bs: Unknown symbol script_get_item (err 0)
insmod: can't insert '8723bs.ko': unknown symbol in module, or unknown parameter
离线
你确认编译成功了?
我搜了一下, 主线 linux 根本没有这几个函数的定义,linux3.4 倒是有这几个函数:
https://github.com/qq516333132/camdroid/blob/master/lichee/linux-3.4/drivers/misc/rf_pm/wifi_pm.c
CC [M] /home/share/r8723bs/rtl8723bs/hal/phydm/rtl8723b/phydm_rtl8723b.o
CC [M] /home/share/r8723bs/rtl8723bs/platform/platform_ops.o
CC [M] /home/share/r8723bs/rtl8723bs/platform/platform_ARM_SUNnI_sdio.o
CC [M] /home/share/r8723bs/rtl8723bs/core/rtw_mp.o
CC [M] /home/share/r8723bs/rtl8723bs/core/rtw_bt_mp.o
LD [M] /home/share/r8723bs/rtl8723bs/8723bs.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "script_get_item" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
WARNING: "sunxi_mci_rescan_card" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
WARNING: "wifi_pm_get_mod_type" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
WARNING: "wifi_pm_power" [/home/share/r8723bs/rtl8723bs/8723bs.ko] undefined!
CC /home/share/r8723bs/rtl8723bs/8723bs.mod.o
LD [M] /home/share/r8723bs/rtl8723bs/8723bs.ko
make[1]: Leaving directory '/home/zhang/linux'
这是最后的编译信息,我的源码是从https://github.com/TinkerBoard/debian_kernel/tree/develop/drivers/net/wireless/rockchip_wlan/rtl8723bs进行修改编译的
离线
这个驱动是能同时用作 AP 和 Station,
而 主线自带的驱动要么只能作为AP, 要么只能作为Station ?
加载主线驱动后,我只能开启一个端口,所以我觉得主线驱动应该只能使用一个功能
离线