Other Parts Discussed in Thread: WL1837MOD, WL1271
Hi sir,
We are designing DM8127 EVM and in IPNC_RDK as per WiLink8 Linux Wi-Fi Driver Release R8.8 Build User's Guide document added all the files.
Below error i am getting while ifconfig wlan0 up time
root@ti81xx:/# cd /usr/sbin/w
wlconf/ wpa_cli wpa_passphrase wpa_supplicant
root@ti81xx:/# cd /usr/sbin/wlconf/
root@ti81xx:/usr/sbin/wlconf# ls
Android.mk wl1271-fw-multirole-plt.bin
Makefile wl1271-fw-multirole-roc.bin
README wl1271-nvs.bin
conf.h wl127x-fw-4-mr.bin
configure-device.sh wl127x-fw-4-plt.bin
crc32.c wl127x-fw-4-sr.bin
crc32.h wl128x-fw-4-mr.bin
default.conf wl128x-fw-4-plt.bin
dictionary.txt wl128x-fw-4-sr.bin
example.conf wl128x-fw-multirole-plt.bin
example.ini wl128x-fw-multirole-roc.bin
main.c wl18xx-conf-default.bin
official_inis wl18xx-conf-dump.txt
struct.bin wlconf-toggle-set.sh
tests wlconf.h
root@ti81xx:/usr/sbin/wlconf# ./configure-device.sh
Please provide the following information.
Are you using a TI module? [y/n] : y
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1836 ^H7
Please enter 1801/1805/1807/1831/1835/1837 or 0 for unknown.
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1837
Should Japanese standards be applied? [y/n] : n
How many 2.4GHz antennas are fitted? [1/2] : 2
How many 5GHz antennas are fitted (using 2 antennas requires a proper switch)? [ 0/1/2] : 1
rmmod: ERROR: Module wlcore_sdio is not currently loaded
./configure-device.sh: line 278: ./wlconf: No such file or directory
./configure-device.sh: line 282: ./wlconf: No such file or directory
./configure-device.sh: line 283: ./wlconf: No such file or directory
./configure-device.sh: line 284: ./wlconf: No such file or directory
./configure-device.sh: line 285: ./wlconf: No such file or directory
./configure-device.sh: line 286: ./wlconf: No such file or directory
---------------------------------------------------------
The device has been successfully configured.
TI Module: y
Chip Flavor: 1837
Base INI file used: /usr/sbin/wlconf/official_inis/WL1837MOD_INI_FCC_CE.ini
Number of 2.4GHz Antennas Fitted: 2
Number of 5GHz Antennas Fitted: 1
Diversity Support: y
SISO40 Support: y
Japanese Standards Applied: n
---------------------------------------------------------
root@ti81xx:/usr/sbin/wlconf# [ 209.827214] cfg80211: World regulatory domain u pdated:
[ 209.832437] cfg80211: DFS Master region: unset
[ 209.836852] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
[ 209.846666] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 209.854709] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 209.862768] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
[ 209.870828] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (N/A)
[ 209.880372] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
[ 209.889915] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 209.898070] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 209.906131] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 211.025479] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 211.036398] wlcore: loaded
[ 211.635409] wlcore: PHY firmware version: Rev 8.2.0.0.232
[ 211.737924] wlcore: firmware booted (Rev 8.9.0.0.48)
[ 211.753767] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@ti81xx:/usr/sbin/wlconf# ifconfig
eth0 Link encap:Ethernet HWaddr D4:F5:13:9A:8F:86
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:170
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%132688/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr E0:E5:CF:96:4F:6A
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@ti81xx:/usr/sbin/wlconf# ifconfig wlan0 up
root@ti81xx:/usr/sbin/wlconf# [ 236.204870] wlcore: ERROR ELP wakeup timeout!
[ 236.209266] ------------[ cut here ]------------
[ 236.214096] WARNING: CPU: 0 PID: 53 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
[ 236.226365] Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio
[ 236.233330] CPU: 0 PID: 53 Comm: kworker/u2:1 Not tainted 4.4.12 #1
[ 236.239644] Hardware name: Generic TI81xx (Flattened Device Tree)
[ 236.246175] Workqueue: phy0 ieee80211_reconfig_filter [mac80211]
[ 236.252217] Backtrace:
[ 236.254708] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
[ 236.262338] r7:bf0e2fac r6:0000032b r5:00000009 r4:00000000
[ 236.268085] [<c0012784>] (show_stack) from [<c02454c8>] (dump_stack+0x24/0x28)
[ 236.275374] [<c02454a4>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
[ 236.283509] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
[ 236.292348] r8:bf0fff40 r7:ffffe6e2 r6:00000000 r5:c06f1980 r4:c2bf2b80
[ 236.299243] [<c00327ac>] (warn_slowpath_null) from [<bf0e2fac>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
[ 236.310155] [<bf0e2f40>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf0e53b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
[ 236.322399] r5:c06f1980 r4:c2bf2b80
[ 236.326173] [<bf0e5394>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0ee9e8>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
[ 236.337523] [<bf0ee90c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0e0314>] (wl1271_op_configure_filter+0x5c/0x12c [wlcore])
[ 236.348720] r10:c2bf2bb8 r9:00000000 r8:c281debc r7:c2a5db40 r6:c2bf2b80 r5:bf0e02b8
[ 236.356639] r4:c2bf23c0
[ 236.359458] [<bf0e02b8>] (wl1271_op_configure_filter [wlcore]) from [<bf054430>] (ieee80211_configure_filter+0x150/0x1b4 [mac80211])
[ 236.371440] r10:c3002000 r9:00000000 r8:c3002000 r7:00000000 r6:c2a5db40 r5:bf0e02b8
[ 236.379358] r4:c2bf23c0
[ 236.382252] [<bf0542e0>] (ieee80211_configure_filter [mac80211]) from [<bf0544a8>] (ieee80211_reconfig_filter+0x14/0x18 [mac80211])
[ 236.394147] r7:c2b50400 r6:00000000 r5:c2819500 r4:c2bf2738
[ 236.400057] [<bf054494>] (ieee80211_reconfig_filter [mac80211]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
[ 236.410306] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
[ 236.418449] r10:c3002000 r9:c2819500 r8:00000088 r7:c281c000 r6:c3002010 r5:c2819518
[ 236.426370] r4:c3002000
[ 236.428930] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
[ 236.436199] r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c2819500 r5:c281a700
[ 236.444099] r4:00000000
[ 236.446676] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
[ 236.453929] r7:00000000 r6:00000000 r5:c004a2a4 r4:c281a700
[ 236.459660] ---[ end trace c7abad7013b2ddfb ]---
[ 236.515444] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
[ 236.522279] ------------[ cut here ]------------
[ 236.527104] WARNING: CPU: 0 PID: 53 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
[ 236.538044] Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio
[ 236.545022] CPU: 0 PID: 53 Comm: kworker/u2:1 Tainted: G W 4.4.12 #1
[ 236.552539] Hardware name: Generic TI81xx (Flattened Device Tree)
[ 236.558754] Workqueue: phy0 wl1271_recovery_work [wlcore]
[ 236.564182] Backtrace:
[ 236.566685] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
[ 236.574287] r7:bf0eaee4 r6:00000041 r5:00000009 r4:00000000
[ 236.580030] [<c0012784>] (show_stack) from [<c02454c8>] (dump_stack+0x24/0x28)
[ 236.587315] [<c02454a4>] (dump_stack) from [<c0032700>] (warn_slowpath_common+0x88/0xb4)
[ 236.595477] [<c0032678>] (warn_slowpath_common) from [<c00327d0>] (warn_slowpath_null+0x24/0x2c)
[ 236.604301] r8:c3002000 r7:c2b50400 r6:bf0fff40 r5:bf122068 r4:c2bf2b80
[ 236.611181] [<c00327ac>] (warn_slowpath_null) from [<bf0eaee4>] (wlcore_set_partition+0xa4/0x47c [wlcore])
[ 236.621048] [<bf0eae40>] (wlcore_set_partition [wlcore]) from [<bf0e2908>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
[ 236.631722] r6:c2bf2bb8 r5:c2bf2b80 r4:c2bf2e1c
[ 236.636483] [<bf0e2894>] (wl1271_recovery_work [wlcore]) from [<c0044b20>] (process_one_work+0x118/0x3d8)
[ 236.646110] r10:c3002000 r9:00000000 r8:c3002000 r7:c2b50400 r6:00000000 r5:c2819500
[ 236.654012] r4:c2bf2e1c
[ 236.656587] [<c0044a08>] (process_one_work) from [<c0044e40>] (worker_thread+0x60/0x528)
[ 236.664712] r10:c3002000 r9:c2819500 r8:00000088 r7:c281c000 r6:c3002010 r5:c2819518
[ 236.672630] r4:c3002000
[ 236.675205] [<c0044de0>] (worker_thread) from [<c004a380>] (kthread+0xdc/0xf4)
[ 236.682457] r10:00000000 r9:00000000 r8:00000000 r7:c0044de0 r6:c2819500 r5:c281a700
[ 236.690375] r4:00000000
[ 236.692932] [<c004a2a4>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
[ 236.700201] r7:00000000 r6:00000000 r5:c004a2a4 r4:c281a700
[ 236.705930] ---[ end trace c7abad7013b2ddfc ]---
[ 236.710578] wlcore: down
[ 236.757505] ieee80211 phy0: Hardware restart was requested
[ 237.181990] wlcore: PHY firmware version: Rev 8.2.0.0.232
[ 237.287989] wlcore: firmware booted (Rev 8.9.0.0.48)
Thanking you,
Regards,
Ramachandra