瑞芯微Rockchip开发者社区
直播中

技术牛人小渣子

12年用户 804经验值
私信 关注
[问答]

想去掉wifi模块,应该如何操作?

  • 使用make menuconfig去掉了wifi cfg8011,再执行内核编译报错:
    ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_unlink_bss" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "wiphy_new" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "wiphy_free" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "wiphy_register" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
    ERROR: "wiphy_free" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_unlink_bss" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "wiphy_new" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "wiphy_register" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
    ERROR: "wiphy_free" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "wiphy_new" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "wiphy_register" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
    /home/forlinx/workspace/allwinner/A40i/bsp/lichee123/linux-3.10/scripts/Makefile.modpost:88: recipe for target '__modpost' failed
    make[1]: *** [__modpost] Error 1
    Makefile:948: recipe for target 'modules' failed
    make: *** [modules] Error 2
    make: *** Waiting for unfinished jobs....
      AS      arch/arm/boot/compressed/piggy.gzip.o
      LD      arch/arm/boot/compressed/vmlinux
      OBJCOPY arch/arm/boot/zImage
      Kernel: arch/arm/boot/zImage is ready
      UIMAGE  arch/arm/boot/uImage
    Image Name:   Linux-3.10.65
    Created:      Fri Jul  9 15:59:59 2021


    麻烦问一下,如果我想去掉wifi模块,应该如何操作?

回帖(1)

赵娜

2022-1-4 11:33:32
首先您应该执行make menuconfig ARCH=arm,其次我们用的wifi芯片是8723bu,不是8011,
您去掉驱动后需要去掉设备树和配置文件里的配置,以及文件系统里相关的内容
举报

更多回帖

发帖
×
20
完善资料,
赚取积分