We are trying to work the WiLink8 card on EVM3358 with Linux. However, it does not work well. So, would you please answer some questions and give any advices?
Questions:
1) Which conf file should we use, wl18xx-conf-default.bin or wl18xx-conf.bin?
2) If wl18xx-conf.bin should be used, would you please tell us the correct way to create it?
Background of the questions:
We tried to build the kernel of linux-3.2.0-psp05.06.00.00 by following the link below;
http://processors.wiki.ti.com/index.php/WiLink8_Software_System_Design#Build_Kernel
WLAN driver version is r8.a4.05.
WLAN PHY firmware version is Rev 8.2.0.0.163 and firmware booted (Rev 8.5.0.0.53).
We succeeded to build the kernel and WL18xx card could be detected correctly. We tried to scan by the command, “iw wlan0 scan”. But it looks the probe
request packets cannot be output. According to the Linux boot log, we found the message below;
wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
So, we tried to generate the wl18xx-conf.bin by following the link below;
http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_wlconf
But it seems it fails on Probe process and MAC address of WLAN0 becomes 00:00:00:00:00:00.
Thus, we tried to recreate the bin file by following “18xx-ti-utils/wlconf/README”.
However, we see the following error. So, we would like to know how to create the bin file.
(It seems wl18xx-conf-default.bin should be updated in order to create wl18xx-conf.bin?)
These the procedure to create the wl18xx-conf.bin and errors below;
*Update conf.h
desktop:~$ sudo cat workspace/compat-wireless/drivers/net/wireless/ti/wlcore/conf.h workspace/compat-wireless/drivers/net/wireless/ti/wl18xx/conf.h >
/nfsroot/usr/sbin/wlconf/conf.
* Recreate struct.bin
root@am335x-evm:/usr/sbin/wlconf# ./wlconf -D
Couldn't open file 'default.conf'
* Copy default.conf <= Because there is no default.conf, we copied from other places.
clv@clv-desktop:~$ sudo cp -p ./workspace/18xx-ti-utils/wlconf/default.conf /nfsroot/usr/sbin/wlconf/.
* Recreate default configuration bin file
root@am335x-evm:/usr/sbin/wlconf# ./wlconf -D
line 1: couldn't find element core.sg.params
line 19: couldn't find element core.tx.ac_conf0.ac
line 20: couldn't find element core.tx.ac_conf0.cw_min
line 21: couldn't find element core.tx.ac_conf0.cw_max
line 22: couldn't find element core.tx.ac_conf0.aifsn
line 23: couldn't find element core.tx.ac_conf0.tx_op_limit
line 24: couldn't find element core.tx.ac_conf1.ac
line 25: couldn't find element core.tx.ac_conf1.cw_min
line 26: couldn't find element core.tx.ac_conf1.cw_max
line 27: couldn't find element core.tx.ac_conf1.aifsn
line 28: couldn't find element core.tx.ac_conf1.tx_op_limit
line 29: couldn't find element core.tx.ac_conf2.ac
:
:
line 411: couldn't find element wl18xx.phy.high_power_val
line 412: couldn't find element wl18xx.phy.per_sub_band_tx_trace_loss
line 413: couldn't find element wl18xx.phy.per_sub_band_rx_trace_loss
line 414: couldn't find element wl18xx.phy.tx_rf_margin
line 415: couldn't find element wl18xx.phy.low_power_val_2nd
line 416: couldn't find element wl18xx.phy.med_power_val_2nd
line 417: couldn't find element wl18xx.phy.high_power_val_2nd
line 418: couldn't find element wl18xx.phy.padding
279 errors found, output file was not generated.