其他分享
首页 > 其他分享> > [南方硅谷SV6158] mdm9207交叉编译SV6158 WiFi驱动说明

[南方硅谷SV6158] mdm9207交叉编译SV6158 WiFi驱动说明

作者:互联网

将WiFi驱动交叉编译成ko文件

原厂提供驱动,默认是x86平台编译

修改Makefile文件

在顶层Makefile中开头增加以下三个变量

KERNEL_OBJ_PATH 是内核文件路径

CROSS_COMPILE 交叉编译工具链

ARCH 架构

KERNEL_OBJ_PATH := /home/sdk/kernel
CROSS_COMPILE :=/opt/arm-linux-gnueabihf-
ARCH := arm

编译

make clean
make

遇到问题WARNING: "ieee80211_beacon_get_tim" [/home/ssv6x5x/ssv6x5x.ko] undefined!

WARNING: "ieee80211_beacon_get_tim" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_unregister_hw" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_scan_completed" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_stop_queues" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_tx_status" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_free_txskb" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_wake_queues" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_rx" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_stop_tx_ba_cb_irqsafe" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_find_sta" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_restart_hw" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_register_hw" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_start_tx_ba_session" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_alloc_hw" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_free_hw" [/home/ssv6x5x/ssv6x5x.ko] undefined!
WARNING: "ieee80211_start_tx_ba_cb_irqsafe" [/home/ssv6x5x/ssv6x5x.ko] undefined!
  CC      /home/ssv6x5x/ssv6x5x.mod.o
  LD [M]  /home/ssv6x5x/ssv6x5x.ko

解决方案

南方硅谷SV6158 wifi驱动编译出现WARNING: “ieee80211_beacon_get_tim“ [/home/ssv6x5x/ssv6x5x.ko] undefined!_wgl307293845的博客-CSDN博客

标签:SV6158,undefined,WiFi,ko,ieee80211,WARNING,mdm9207,ssv6x5x,home
来源: https://blog.csdn.net/wgl307293845/article/details/120890884