T_a
January 28, 2022, 2:45am
1
I have make the makefile and copy the .ko file to wp76xx for “modprobe” .
exars@exars-IStNX3-15HP038:~/workspace/legatoAF/legato-19.11.2/drivers/wf200$ makemake -C /opt/swi/SWI9X07Y_02.37.10.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel/ M=/home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx modules
make[1]: ディレクトリ ‘/opt/swi/SWI9X07Y_02.37.10.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel’ に入ります
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/bh.o
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/hwio.o
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/fwio.o
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/data_rx.o
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/data_tx.o
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/main.o
CC [M] /home/exars/workspace/legatoAF/legato-19.11.2/drivers/wfx/queue.o
…
exars@exars-IStNX3-15HP038:~/workspace/legatoAF/legato-19.11.2/drivers/wf200$ scp wfx.ko root@192.168.2.2 :/tmp
wfx.ko 100% 2801KB 4.3MB/s 00:00
while I have use “modprobe”, “depmod” and “insmod” there all error
root@swi-mdm9x28-wp:/tmp# modprobe wfx.ko
modprobe: module wfx.ko not found in modules.dep
root@swi-mdm9x28-wp:/tmp# depmod -a wfx.ko
-sh: depmod: not found
root@swi-mdm9x28-wp:/tmp# insmod wfx.ko
insmod: can’t insert ‘wfx.ko’: unknown symbol in module, or unknown parameter
how can I modprobe the wf200 driver to wp76xx??
Can anyone suggest a way to solve this problem?
jyijyi
January 28, 2022, 2:57am
2
Probably you need to figure out which function in the driver is making " unknown symbol in module, or unknown parameter"
T_a
January 28, 2022, 3:33am
3
I have used this driver to install:
Do you have any idea else to install the driver
jyijyi
January 28, 2022, 3:40am
4
no, I don’t know why it says “unknown symbol in module, or unknown parameter” where you should not see this in running kernel driver:
Seems you did not change the task priority… Attached “priority_test.rar” is my testing code. In low_priority_helloworld.c, I have set the task priority to be 51. In high_priority_helloworld.c, I have set the task priority to be 50 which is having...
T_a
February 1, 2022, 4:36am
6
[ 115.617048] wfx: Unknown symbol ieee80211_connection_loss (err 0)
[ 115.617200] wfx: Unknown symbol ieee80211_free_hw (err 0)
[ 115.617223] wfx: Unknown symbol ieee80211_probereq_get (err 0)
[ 115.617255] wfx: Unknown symbol ieee80211_alloc_hw (err 0)
[ 115.617281] wfx: Unknown symbol ieee80211_nullfunc_get (err 0)
[ 115.617308] wfx: Unknown symbol ieee80211_register_hw (err 0)
[ 115.617349] wfx: Unknown symbol ieee80211_wake_queue (err 0)
[ 115.617383] wfx: Unknown symbol ieee80211_find_sta (err 0)
[ 115.617408] wfx: Unknown symbol ieee80211_get_key_rx_seq (err 0)
[ 115.617434] wfx: Unknown symbol ieee80211_sta_set_buffered (err 0)
[ 115.617602] wfx: Unknown symbol ieee80211_tx_status (err 0)
[ 115.617623] wfx: Unknown symbol ieee80211_stop_queue (err 0)
[ 115.617664] wfx: Unknown symbol cfg80211_find_ie (err 0)
[ 115.617777] wfx: Unknown symbol ieee80211_scan_completed (err 0)
[ 115.617818] wfx: Unknown symbol ieee80211_unregister_hw (err 0)
[ 115.617859] wfx: Unknown symbol ieee80211_beacon_get_tim (err 0)
[ 115.617900] wfx: Unknown symbol ieee80211_cqm_rssi_notify (err 0)
[ 115.617964] wfx: Unknown symbol ieee80211_rx_irqsafe (err 0)
[ 115.677240] wfx: Unknown symbol ieee80211_connection_loss (err 0)
[ 115.677347] wfx: Unknown symbol ieee80211_free_hw (err 0)
[ 115.677366] wfx: Unknown symbol ieee80211_probereq_get (err 0)
[ 115.677392] wfx: Unknown symbol ieee80211_alloc_hw (err 0)
[ 115.677413] wfx: Unknown symbol ieee80211_nullfunc_get (err 0)
[ 115.677436] wfx: Unknown symbol ieee80211_register_hw (err 0)
[ 115.677468] wfx: Unknown symbol ieee80211_wake_queue (err 0)
[ 115.677495] wfx: Unknown symbol ieee80211_find_sta (err 0)
[ 115.677518] wfx: Unknown symbol ieee80211_get_key_rx_seq (err 0)
[ 115.677539] wfx: Unknown symbol ieee80211_sta_set_buffered (err 0)
[ 115.677736] wfx: Unknown symbol ieee80211_tx_status (err 0)
[ 115.677755] wfx: Unknown symbol ieee80211_stop_queue (err 0)
[ 115.677788] wfx: Unknown symbol cfg80211_find_ie (err 0)
[ 115.677813] wfx: Unknown symbol ieee80211_scan_completed (err 0)
[ 115.677845] wfx: Unknown symbol ieee80211_unregister_hw (err 0)
[ 115.677877] wfx: Unknown symbol ieee80211_beacon_get_tim (err 0)
[ 115.677910] wfx: Unknown symbol ieee80211_cqm_rssi_notify (err 0)
[ 115.677962] wfx: Unknown symbol ieee80211_rx_irqsafe (err 0)
I have use “dmesg” and get this error. how to fix this error or how to write the config for all of this symbol?
jyijyi
February 1, 2022, 5:01am
7
How about modprobe cfg80211
T_a
February 1, 2022, 5:30am
8
root@swi-mdm9x28-wp:/legato/systems/current/modules# lsmod
Tainted: G
brcmfmac 205451 0 - Live 0xbf150000 (O)
brcmutil 6937 1 brcmfmac, Live 0xbf033000 (O)
cfg80211 262268 1 brcmfmac, Live 0xbf0fe000 (O)
sdhci_msm 56823 0 - Live 0xbf0d6000
cmac 2534 1 - Live 0xbf024000
rtc_sync 1536 0 - Live 0xbf00c000 (O)
mangoh_yellow_dev 7610 0 - Live 0xbf0d1000 (O)
opt300x 6593 0 - Live 0xbf0c1000 (O)
rtc_pcf85063 3897 0 - Live 0xbf020000 (O)
expander 4108 0 - Live 0xbf0bc000 (O)
cp2130 20326 0 - Live 0xbf0b3000 (O)
bq27xxx_battery 25279 0 - Live 0xbf0a7000 (O)
bq25601 10727 0 - Live 0xbf01c000 (O)
bmi160_i2c 1851 0 - Live 0xbf018000 (O)
bmi160 5432 1 bmi160_i2c, Live 0xbf009000 (O)
bnep 14405 2 - Live 0xbf0cc000 (O)
hci_uart 11482 1 - Live 0xbf0c5000 (O)
bluetooth 451288 23 bnep,hci_uart, Live 0xbf037000 (O)
compat 20306 5 brcmfmac,cfg80211,bnep,hci_uart,bluetooth, Live 0xbf02d000 (O)
ecdh_generic 12513 1 bluetooth, Live 0xbf026000
kpp 1779 2 bluetooth,ecdh_generic, Live 0xbf022000
ftdi_sio 35379 1 - Live 0xbf00e000
usbserial 31552 3 ftdi_sio, Live 0xbf000000
root@swi-mdm9x28-wp:/legato/systems/current/modules# modprobe cfg80211
root@swi-mdm9x28-wp:/legato/systems/current/modules# dmesg
[ 51.405030] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sd1
[ 51.405566] usbcore: registered new interface driver brcmfmac
[ 51.738606] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 11 f
[ 56.449598] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 56.460002] cywifi (2316) used greatest stack depth: 4392 bytes left
[ 121.440589] sierra_startup_monitor
T_a
February 1, 2022, 5:33am
9
still have same unknown symbol error
jyijyi
February 1, 2022, 5:34am
10
Still see this???
[ 115.617664] wfx: Unknown symbol cfg80211_find_ie (err 0)
T_a
February 1, 2022, 5:42am
11
Yes. it still can see
[ 1002.174722] wfx: Unknown symbol ieee80211_connection_loss (err 0)
[ 1002.174876] wfx: Unknown symbol ieee80211_free_hw (err 0)
[ 1002.174899] wfx: Unknown symbol ieee80211_probereq_get (err 0)
[ 1002.174931] wfx: Unknown symbol ieee80211_alloc_hw (err 0)
[ 1002.175052] wfx: Unknown symbol ieee80211_nullfunc_get (err 0)
[ 1002.175085] wfx: Unknown symbol ieee80211_register_hw (err 0)
[ 1002.175127] wfx: Unknown symbol ieee80211_wake_queue (err 0)
[ 1002.175162] wfx: Unknown symbol ieee80211_find_sta (err 0)
[ 1002.175188] wfx: Unknown symbol ieee80211_get_key_rx_seq (err 0)
[ 1002.175213] wfx: Unknown symbol ieee80211_sta_set_buffered (err 0)
[ 1002.175382] wfx: Unknown symbol ieee80211_tx_status (err 0)
[ 1002.175403] wfx: Unknown symbol ieee80211_stop_queue (err 0)
[ 1002.175444] wfx: Unknown symbol cfg80211_find_ie (err 0)
[ 1002.175474] wfx: Unknown symbol ieee80211_scan_completed (err 0)
[ 1002.175513] wfx: Unknown symbol ieee80211_unregister_hw (err 0)
[ 1002.175553] wfx: Unknown symbol ieee80211_beacon_get_tim (err 0)
[ 1002.175592] wfx: Unknown symbol ieee80211_cqm_rssi_notify (err 0)
[ 1002.175656] wfx: Unknown symbol ieee80211_rx_irqsafe (err 0)
jyijyi
February 1, 2022, 5:54am
12
you might need to also install these drivers(e.g. cfg80211,mac80211):
T_a
February 1, 2022, 6:12am
13
where can i get those driver??
jyijyi
February 1, 2022, 6:12am
14
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# modprobe cfg80211
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# modprobe mac80211
root@swi-mdm9x28-wp:~#
T_a
February 1, 2022, 6:42am
16
root@swi-mdm9x28-wp:~# modprobe cfg80211
root@swi-mdm9x28-wp:~# modprobe mac80211
modprobe: can’t load module mac80211 (kernel/net/mac80211/mac80211.ko): unknown symbol in module, or unknown parameter
modprobe mac80211 is error
jyijyi
February 1, 2022, 6:48am
17
I don’t see problem on fw r13.3
T_a
February 1, 2022, 7:01am
18
You had installed your fw by using window .exe ,right??
T_a
February 2, 2022, 4:52am
20
I got the device not found while i install the fw 13.3 how can i fix its
jyijyi
February 2, 2022, 5:04am
21
you can use this method:
I don’t know the password of your device…
Another unofficial way to update module FW is as follows:
download a WP77 FW EXE
use 7zip to extract it
there should be a fdt2.exe inside
put the new xxx.cwe inside the same folder
use command prompt to update by “fdt2.exe xxx.cwe”
OR you can transfer the xxx.cwe file to module’s /tmp via WINSCP. After that you can use “fwupdate download /tmp/xxx.cwe” to upgrade FW.
T_a
February 2, 2022, 8:43am
22
Does the gcc version affect to the program??
I have make .ko file in ubuntu (gcc version is 7.5.0)
but when I insmod in the wp76xx (gcc version is 7.3.0)