TI中文支持网
TI专业的中文技术问题搜集分享网站

AM437X WG7801-B0

我们现在项目使用AM437X作为主控, 三个MMC控制器分别连接TF卡, EMMC ,WG7801-B0 WIFI模块。软件基于ti-processor-sdk-linux-am437x-evm-02.00.02.11

现在WIFI 似乎和其它MMC控制器上的设备有冲突,具体现象就是设备树中把&mmc1(TF card), &mmc2(emmc)  禁用之后, WIFI可以正常工作,但是只要使能其中任何一个,WIFI就不能工作的。请问这是什么原因呢? 

# /usr/share/wl18xx/sta_start.sh

ps: invalid option — 'w'
BusyBox v1.25.1 (2017-06-15 12:05:47 CST) multi-call binary.
Usage: ps [-o COL1,COL2=HEADER]
Show list of processes
        -o COL1,COL2=HEADER     Select columns for display
# Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
[   26.155756] ————[ cut here ]————
[   26.161829] WARNING: CPU: 0 PID: 169 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xac/0x138 [wlcore                                _sdio]()
[   26.174480] Modules linked in: xhci_plat_hcd xhci_hcd usbcore arc4 wl18xx wlcore mac80211 dwc3 udc_core leds_gpio pm33xx o                                map_des dwc3_omap am437x_vpfe extcon wlcore_sdio tps65218_pwrbutton ov2659 rtc_omap phy_omap_usb2 omap_rng rng_core omap_sham                                 omap_aes_driver ipv6 cfg80211 gpio_keys evdev omap_wdt
[   26.203659] CPU: 0 PID: 169 Comm: wpa_supplicant Not tainted 4.1.18-00116-gfe60433-dirty #9
[   26.213237] Hardware name: Generic AM43 (Flattened Device Tree)
[   26.219663] Backtrace:
[   26.222337] [<c0012ba0>] (dump_backtrace) from [<c0012dc0>] (show_stack+0x18/0x1c)
[   26.231011]  r7:bf0f10f4 r6:00000091 r5:00000009 r4:00000000
[   26.237140] [<c0012da8>] (show_stack) from [<c0645d08>] (dump_stack+0x20/0x28)
[   26.245364] [<c0645ce8>] (dump_stack) from [<c0038458>] (warn_slowpath_common+0x7c/0xb4)
[   26.254210] [<c00383dc>] (warn_slowpath_common) from [<c0038534>] (warn_slowpath_null+0x24/0x2c)
[   26.264142]  r8:00004000 r7:db840000 r6:dd3a1010 r5:00000000 r4:ddf7be00
[   26.271456] [<c0038510>] (warn_slowpath_null) from [<bf0f0278>] (wl12xx_sdio_raw_write+0xac/0x138 [wlcore_sdio])
[   26.282933] [<bf0f01cc>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf1e8dd8>] (wlcore_boot_upload_firmware+0x1dc/0x44c                                 [wlcore])
[   26.295607]  r9:bf1f6694 r8:00014000 r7:db840000 r6:dd422c00 r5:00000000 r4:80900000
[   26.304505] [<bf1e8bfc>] (wlcore_boot_upload_firmware [wlcore]) from [<bf20edb4>] (wl18xx_boot+0x5e0/0xcec [wl18xx])
[   26.316203]  r10:ddfdab10 r9:ddfdab0c r8:bf1f6694 r7:c0906308 r6:bf1f6694 r5:00000000
[   26.324671]  r4:dd422c00
[   26.327561] [<bf20e7d4>] (wl18xx_boot [wl18xx]) from [<bf1dafc0>] (wl1271_op_add_interface+0x660/0x904 [wlcore])
[   26.339086]  r7:dd422c38 r6:00000003 r5:dd422c00 r4:00000000
[   26.345621] [<bf1da960>] (wl1271_op_add_interface [wlcore]) from [<bf17aba8>] (ieee80211_do_open+0x4e8/0xab8 [mac80211])
[   26.358222]  r10:ffffffff r9:00000001 r8:ddfda460 r7:00000000 r6:ddfda000 r5:dd4223a0
[   26.367109]  r4:ddfda468
[   26.370264] [<bf17a6c0>] (ieee80211_do_open [mac80211]) from [<bf17b1d4>] (ieee80211_open+0x5c/0x60 [mac80211])
[   26.381300]  r10:dd5ae900 r9:00000000 r8:00000000 r7:00001002 r6:00001003 r5:bf1a624c
[   26.389637]  r4:ddfda460
[   26.392465] [<bf17b178>] (ieee80211_open [mac80211]) from [<c0576210>] (__dev_open+0xc0/0x128)
[   26.401926]  r5:bf1a624c r4:ddfda000
[   26.405736] [<c0576150>] (__dev_open) from [<c05764c4>] (__dev_change_flags+0x90/0x154)
[   26.414430]  r5:00000001 r4:ddfda000
[   26.418238] [<c0576434>] (__dev_change_flags) from [<c05765a8>] (dev_change_flags+0x20/0x50)
[   26.427343]  r9:00000000 r8:00000000 r7:be977a88 r6:00001002 r5:ddfda140 r4:ddfda000
[   26.435601] [<c0576588>] (dev_change_flags) from [<c05db88c>] (devinet_ioctl+0x670/0x754)
[   26.444412]  r9:00000000 r8:00000000 r7:be977a88 r6:dd5ae90c r5:00000000 r4:00000000
[   26.452665] [<c05db21c>] (devinet_ioctl) from [<c05dcf9c>] (inet_ioctl+0x19c/0x1c8)
[   26.460913]  r10:00000000 r9:00000007 r8:be977a88 r7:c09260a8 r6:be977a88 r5:dd8e27a0
[   26.469196]  r4:00008914
[   26.472027] [<c05dce00>] (inet_ioctl) from [<c055a0b8>] (sock_ioctl+0x13c/0x294)
[   26.480030] [<c0559f7c>] (sock_ioctl) from [<c011ccf0>] (do_vfs_ioctl+0x400/0x630)
[   26.488009]  r7:00008914 r6:dd3a7c00 r5:dd8e27a0 r4:be977a88
[   26.494158] [<c011c8f0>] (do_vfs_ioctl) from [<c011cf94>] (SyS_ioctl+0x74/0x84)
[   26.502036]  r10:00000000 r9:00000007 r8:be977a88 r7:00008914 r6:dd3a7c00 r5:dd3a7c00
[   26.510355]  r4:00000000
[   26.513047] [<c011cf20>] (SyS_ioctl) from [<c000f8a0>] (ret_fast_syscall+0x0/0x3c)
[   26.521254]  r9:dd492000 r8:c000fa44 r7:00000036 r6:00000001 r5:00198ac8 r4:00000000
[   26.529487] —[ end trace 2473079d83278398 ]—
[   26.534413] wl1271_sdio mmc0:0001:2: sdio write failed (-110)
[   28.297329] ————[ cut here ]————
[   28.303407] WARNING: CPU: 0 PID: 169 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xac/0x138 [wlcore                                _sdio]()
[   28.316038] Modules linked in: xhci_plat_hcd xhci_hcd usbcore arc4 wl18xx wlcore mac80211 dwc3 udc_core leds_gpio pm33xx o                                map_des dwc3_omap am437x_vpfe extcon wlcore_sdio tps65218_pwrbutton ov2659 rtc_omap phy_omap_usb2 omap_rng rng_core omap_sham                                 omap_aes_driver ipv6 cfg80211 gpio_keys evdev omap_wdt
[   28.345304] CPU: 0 PID: 169 Comm: wpa_supplicant Tainted: G        W       4.1.18-00116-gfe60433-dirty #9
[   28.355971] Hardware name: Generic AM43 (Flattened Device Tree)
[   28.362330] Backtrace:
[   28.365003] [<c0012ba0>] (dump_backtrace) from [<c0012dc0>] (show_stack+0x18/0x1c)
[   28.373589]  r7:bf0f10f4 r6:00000091 r5:00000009 r4:00000000
[   28.379763] [<c0012da8>] (show_stack) from [<c0645d08>] (dump_stack+0x20/0x28)
[   28.387488] [<c0645ce8>] (dump_stack) from [<c0038458>] (warn_slowpath_common+0x7c/0xb4)
[   28.396803] [<c00383dc>] (warn_slowpath_common) from [<c0038534>] (warn_slowpath_null+0x24/0x2c)
[   28.406599]  r8:00004000 r7:db840000 r6:dd3a1010 r5:00000000 r4:ddf7be00
[   28.413899] [<c0038510>] (warn_slowpath_null) from [<bf0f0278>] (wl12xx_sdio_raw_write+0xac/0x138 [wlcore_sdio])
[   28.425349] [<bf0f01cc>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf1e8dd8>] (wlcore_boot_upload_firmware+0x1dc/0x44c                                 [wlcore])
[   28.438006]  r9:bf1f6694 r8:00014000 r7:db840000 r6:dd422c00 r5:00000000 r4:80900000
[   28.446893] [<bf1e8bfc>] (wlcore_boot_upload_firmware [wlcore]) from [<bf20edb4>] (wl18xx_boot+0x5e0/0xcec [wl18xx])
[   28.458583]  r10:ddfdab10 r9:ddfdab0c r8:bf1f6694 r7:c0906308 r6:bf1f6694 r5:00000000
[   28.467036]  r4:dd422c00
[   28.470222] [<bf20e7d4>] (wl18xx_boot [wl18xx]) from [<bf1dafc0>] (wl1271_op_add_interface+0x660/0x904 [wlcore])
[   28.481557]  r7:dd422c38 r6:00000002 r5:dd422c00 r4:00000000
[   28.488022] [<bf1da960>] (wl1271_op_add_interface [wlcore]) from [<bf17aba8>] (ieee80211_do_open+0x4e8/0xab8 [mac80211])
[   28.500136]  r10:ffffffff r9:00000001 r8:ddfda460 r7:00000000 r6:ddfda000 r5:dd4223a0
[   28.508541]  r4:ddfda468
[   28.511979] [<bf17a6c0>] (ieee80211_do_open [mac80211]) from [<bf17b1d4>] (ieee80211_open+0x5c/0x60 [mac80211])
[   28.523201]  r10:dd5ae900 r9:00000000 r8:00000000 r7:00001002 r6:00001003 r5:bf1a624c
[   28.531754]  r4:ddfda460
[   28.534721] [<bf17b178>] (ieee80211_open [mac80211]) from [<c0576210>] (__dev_open+0xc0/0x128)
[   28.544495]  r5:bf1a624c r4:ddfda000
[   28.548375] [<c0576150>] (__dev_open) from [<c05764c4>] (__dev_change_flags+0x90/0x154)
[   28.557328]  r5:00000001 r4:ddfda000
[   28.561249] [<c0576434>] (__dev_change_flags) from [<c05765a8>] (dev_change_flags+0x20/0x50)
[   28.570633]  r9:00000000 r8:00000000 r7:be977a88 r6:00001002 r5:ddfda140 r4:ddfda000
[   28.578978] [<c0576588>] (dev_change_flags) from [<c05db88c>] (devinet_ioctl+0x670/0x754)
[   28.588086]  r9:00000000 r8:00000000 r7:be977a88 r6:dd5ae90c r5:00000000 r4:00000000
[   28.596463] [<c05db21c>] (devinet_ioctl) from [<c05dcf9c>] (inet_ioctl+0x19c/0x1c8)
[   28.605371]  r10:00000000 r9:00000007 r8:be977a88 r7:c09260a8 r6:be977a88 r5:dd8e27a0
[   28.614410]  r4:00008914
[   28.617123] [<c05dce00>] (inet_ioctl) from [<c055a0b8>] (sock_ioctl+0x13c/0x294)
[   28.625259] [<c0559f7c>] (sock_ioctl) from [<c011ccf0>] (do_vfs_ioctl+0x400/0x630)
[   28.633278]  r7:00008914 r6:dd3a7c00 r5:dd8e27a0 r4:be977a88
[   28.639271] [<c011c8f0>] (do_vfs_ioctl) from [<c011cf94>] (SyS_ioctl+0x74/0x84)
[   28.647248]  r10:00000000 r9:00000007 r8:be977a88 r7:00008914 r6:dd3a7c00 r5:dd3a7c00
[   28.655571]  r4:00000000
[   28.658262] [<c011cf20>] (SyS_ioctl) from [<c000f8a0>] (ret_fast_syscall+0x0/0x3c)
[   28.666488]  r9:dd492000 r8:c000fa44 r7:00000036 r6:00000001 r5:00198ac8 r4:00000000
[   28.674697] —[ end trace 2473079d83278399 ]—
[   28.679730] wl1271_sdio mmc0:0001:2: sdio write failed (-110)
[   30.438326] ————[ cut here ]————
[   30.445060] WARNING: CPU: 0 PID: 169 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xac/0x138 [wlcore                                _sdio]()
[   30.457905] Modules linked in: xhci_plat_hcd xhci_hcd usbcore arc4 wl18xx wlcore mac80211 dwc3 udc_core leds_gpio pm33xx o                                map_des dwc3_omap am437x_vpfe extcon wlcore_sdio tps65218_pwrbutton ov2659 rtc_omap phy_omap_usb2 omap_rng rng_core omap_sham                                 omap_aes_driver ipv6 cfg80211 gpio_keys evdev omap_wdt
[   30.487154] CPU: 0 PID: 169 Comm: wpa_supplicant Tainted: G        W       4.1.18-00116-gfe60433-dirty #9
[   30.497804] Hardware name: Generic AM43 (Flattened Device Tree)
[   30.504165] Backtrace:
[   30.506836] [<c0012ba0>] (dump_backtrace) from [<c0012dc0>] (show_stack+0x18/0x1c)
[   30.515421]  r7:bf0f10f4 r6:00000091 r5:00000009 r4:00000000
[   30.521597] [<c0012da8>] (show_stack) from [<c0645d08>] (dump_stack+0x20/0x28)
[   30.529323] [<c0645ce8>] (dump_stack) from [<c0038458>] (warn_slowpath_common+0x7c/0xb4)
[   30.538759] [<c00383dc>] (warn_slowpath_common) from [<c0038534>] (warn_slowpath_null+0x24/0x2c)
[   30.548580]  r8:00004000 r7:dd128000 r6:dd3a1010 r5:00000000 r4:ddf7be00
[   30.555882] [<c0038510>] (warn_slowpath_null) from [<bf0f0278>] (wl12xx_sdio_raw_write+0xac/0x138 [wlcore_sdio])
[   30.567387] [<bf0f01cc>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf1e8dd8>] (wlcore_boot_upload_firmware+0x1dc/0x44c                                 [wlcore])
[   30.580053]  r9:bf1f6694 r8:00014000 r7:dd128000 r6:dd422c00 r5:00000000 r4:80900000
[   30.588582] [<bf1e8bfc>] (wlcore_boot_upload_firmware [wlcore]) from [<bf20edb4>] (wl18xx_boot+0x5e0/0xcec [wl18xx])
[   30.601162]  r10:ddfdab10 r9:ddfdab0c r8:bf1f6694 r7:c0906308 r6:bf1f6694 r5:00000000
[   30.609697]  r4:dd422c00
[   30.612637] [<bf20e7d4>] (wl18xx_boot [wl18xx]) from [<bf1dafc0>] (wl1271_op_add_interface+0x660/0x904 [wlcore])
[   30.624159]  r7:dd422c38 r6:00000001 r5:dd422c00 r4:00000000
[   30.630758] [<bf1da960>] (wl1271_op_add_interface [wlcore]) from [<bf17aba8>] (ieee80211_do_open+0x4e8/0xab8 [mac80211])
[   30.642864]  r10:ffffffff r9:00000001 r8:ddfda460 r7:00000000 r6:ddfda000 r5:dd4223a0
[   30.651326]  r4:ddfda468
[   30.654438] [<bf17a6c0>] (ieee80211_do_open [mac80211]) from [<bf17b1d4>] (ieee80211_open+0x5c/0x60 [mac80211])
[   30.665769]  r10:dd5ae900 r9:00000000 r8:00000000 r7:00001002 r6:00001003 r5:bf1a624c
[   30.674228]  r4:ddfda460
[   30.677181] [<bf17b178>] (ieee80211_open [mac80211]) from [<c0576210>] (__dev_open+0xc0/0x128)
[   30.686918]  r5:bf1a624c r4:ddfda000
[   30.690845] [<c0576150>] (__dev_open) from [<c05764c4>] (__dev_change_flags+0x90/0x154)
[   30.699782]  r5:00000001 r4:ddfda000
[   30.703652] [<c0576434>] (__dev_change_flags) from [<c05765a8>] (dev_change_flags+0x20/0x50)
[   30.713224]  r9:00000000 r8:00000000 r7:be977a88 r6:00001002 r5:ddfda140 r4:ddfda000
[   30.721637] [<c0576588>] (dev_change_flags) from [<c05db88c>] (devinet_ioctl+0x670/0x754)
[   30.730782]  r9:00000000 r8:00000000 r7:be977a88 r6:dd5ae90c r5:00000000 r4:00000000
[   30.739203] [<c05db21c>] (devinet_ioctl) from [<c05dcf9c>] (inet_ioctl+0x19c/0x1c8)
[   30.747790]  r10:00000000 r9:00000007 r8:be977a88 r7:c09260a8 r6:be977a88 r5:dd8e27a0
[   30.757034]  r4:00008914
[   30.759943] [<c05dce00>] (inet_ioctl) from [<c055a0b8>] (sock_ioctl+0x13c/0x294)
[   30.767753] [<c0559f7c>] (sock_ioctl) from [<c011ccf0>] (do_vfs_ioctl+0x400/0x630)
[   30.776005]  r7:00008914 r6:dd3a7c00 r5:dd8e27a0 r4:be977a88
[   30.782030] [<c011c8f0>] (do_vfs_ioctl) from [<c011cf94>] (SyS_ioctl+0x74/0x84)
[   30.789916]  r10:00000000 r9:00000007 r8:be977a88 r7:00008914 r6:dd3a7c00 r5:dd3a7c00
[   30.798197]  r4:00000000
[   30.800997] [<c011cf20>] (SyS_ioctl) from [<c000f8a0>] (ret_fast_syscall+0x0/0x3c)
[   30.808982]  r9:dd492000 r8:c000fa44 r7:00000036 r6:00000001 r5:00198ac8 r4:00000000
[   30.817335] —[ end trace 2473079d8327839a ]—
[   30.822370] wl1271_sdio mmc0:0001:2: sdio write failed (-110)
[   30.830247] wlcore: ERROR firmware boot failed despite 3 retries
Could not set interface wlan0 flags (UP): Connection timed out
nl80211: Could not set interface 'wlan0' UP
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface
Sunny Guo:

回复 Jian Zhou:

问题已经解决了,确实是设备树配置有点问题,谢谢!!

赞(0)
未经允许不得转载:TI中文支持网 » AM437X WG7801-B0
分享到: 更多 (0)