element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development MMC1 TI Wifi Card Problem
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 175 subscribers
  • Views 481 views
  • Users 0 members are here
Related

MMC1 TI Wifi Card Problem

Former Member
Former Member over 7 years ago

I'm using zynq702 based custom hardware with linux kernel 3.17.

I'm have  enabled ti wl1837 wifi driver on the mmc1 slot, and it detected successfully, but after enabled it went to resetting the mmc driver with "mmc1: Timeout waiting for hardware interrupt" in loop.

 

Here is the kernel log:

[ 1772.124417] sdhci-arasan e0101000.ps7-sdio: card claims to support voltages below definede
[ 1772.149191] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 1772.158344] mmc1: new high speed SDIO card at address 0001
[ 1772.440844] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 1772.488619] wlcore: loaded
[ 1772.491380] wlcore: driver version: R8.5
[ 1772.495232] wlcore: compilation time: 2014/December
[ 1783.207378] mmc1: Timeout waiting for hardware interrupt.
[ 1783.312770] mmc1: Reset 0x2 never completed.
[ 1783.416908] mmc1: Reset 0x4 never completed.
[ 1793.427382] mmc1: Timeout waiting for hardware interrupt.
[ 1793.533201] mmc1: Reset 0x2 never completed.
[ 1793.637339] mmc1: Reset 0x4 never completed.
[ 1803.667369] mmc1: Timeout waiting for hardware interrupt.
[ 1803.773052] mmc1: Reset 0x2 never completed.
[ 1803.877196] mmc1: Reset 0x4 never completed.
[ 1813.907312] mmc1: Timeout waiting for hardware interrupt.
[ 1814.012715] mmc1: Reset 0x2 never completed.
[ 1814.116853] mmc1: Reset 0x4 never completed.
[ 1814.254628] mmc1: card 0001 removed
[ 1814.304196] sdhci-arasan e0101000.ps7-sdio: card claims to support voltages below definede
[ 1814.328962] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 1814.338134] mmc1: new high speed SDIO card at address 0001
[ 1814.630834] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 1814.679004] wlcore: loaded
[ 1814.681796] wlcore: driver version: R8.5
[ 1814.685655] wlcore: compilation time: 2014/December
[ 1815.207378] mmc1: Timeout waiting for hardware interrupt.

 

Please help me to resolve this issue..

 

Regards,

-Narasimman

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 7 years ago

    Hello Narasimman,

    As you seem to be using custom hardware it is difficult to offer specific advice. Taking a look at the documentation for our WLink 8 Adaptor may help. The basic documents and Users Guide can be downloaded here:

    http://zedboard.org/support/documentation/6491

    There is a reference design here:

    http://zedboard.org/support/design/6491/66

    and there are several posts on our forum regarding bringing up our board combos, including these:

    http://zedboard.org/content/steps-get-wlink8-working-using-petalinux-picozed

    http://zedboard.org/content/steps-get-wlink-using-petalinux-microzed

    Otherwise, since it is custom hardware, you might try posting your questions on one of the Xilinx Community Forums:

    https://forums.xilinx.com/

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 7 years ago in reply to Former Member

    Hi Gary,

    Thanks for replay,

    I managed to get detecting the wlan interface, but i got new problem when i enable the interface using "ifconfig wlan0 up" command.

    Here is the log.

    #
    # modprobe wl18xx
    # modprobe wlcore_sdio
    [  156.710496] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [  156.741365] wlcore: loaded
    [  156.744480] wlcore: driver version: R8.5
    [  156.748669] wlcore: compilation time: 2014/December
    
    # ip a
    1: lo: <LOOPBACK> mtu 65536 qdisc noop
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
        link/ether 70:b3:d5:87:b0:00 brd ff:ff:ff:ff:ff:ff
    3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
        link/ether 7c:ec:79:c9:39:ae brd ff:ff:ff:ff:ff:ff
    # ifconfig wlan0 up
    [  180.259794] wlcore: PHY firmware version: Rev 8.2.0.0.220
    [  190.387204] mmc1: Timeout waiting for hardware interrupt.
    [  190.393750] ------------[ cut here ]------------
    [  190.398379] WARNING: CPU: 0 PID: 775 at drivers/net/wireless/ti/wlcore/sdio.c:108 wl12xx_
    sdio_raw_read+0x138/0x180 [wlcore_sdio]()
    [  190.410094] Modules linked in: wlcore_sdio wl18xx wlcore xilinx_axidma mwifiex_sdio mwifi
    ex
    [  190.418377] CPU: 0 PID: 775 Comm: ifconfig Not tainted 3.17.0-xilinx #4
    [  190.424993] [<c00178d0>] (unwind_backtrace) from [<c0012fb0>] (show_stack+0x20/0x24)
    [  190.432759] [<c0012fb0>] (show_stack) from [<c053522c>] (dump_stack+0x84/0xc8)
    [  190.439974] [<c053522c>] (dump_stack) from [<c0027668>] (warn_slowpath_common+0x7c/0xa0)
    [  190.448049] [<c0027668>] (warn_slowpath_common) from [<c0027748>] (warn_slowpath_null+0x2
    c/0x34)
    [  190.456769] [<c0027748>] (warn_slowpath_null) from [<bf0944ec>] (wl12xx_sdio_raw_read+0x1
    38/0x180 [wlcore_sdio])
    [  190.467105] [<bf0944ec>] (wl12xx_sdio_raw_read [wlcore_sdio]) from [<bf04ec94>] (wlcore_c
    md_wait_for_event_or_timeout+0x13c/0x298 [wlcore])
    [  190.479653] [<bf04ec94>] (wlcore_cmd_wait_for_event_or_timeout [wlcore]) from [<bf0833ec>
    ] (wl18xx_wait_for_event+0x34/0x40 [wl18xx])
    [  190.491667] [<bf0833ec>] (wl18xx_wait_for_event [wl18xx]) from [<bf051b10>] (wlcore_cmd_r
    egdomain_config_locked+0x1f4/0x284 [wlcore])
    [  190.503679] [<bf051b10>] (wlcore_cmd_regdomain_config_locked [wlcore]) from [<bf05be38>]
    (wl1271_hw_init+0x78/0x174 [wlcore])
    [  190.514991] [<bf05be38>] (wl1271_hw_init [wlcore]) from [<bf04c724>] (wl1271_op_add_inter
    face+0x6d8/0x964 [wlcore])
    [  190.525432] [<bf04c724>] (wl1271_op_add_interface [wlcore]) from [<c04e9500>] (ieee80211_
    do_open+0x630/0x17c8)
    [  190.535410] [<c04e9500>] (ieee80211_do_open) from [<c04ea6fc>] (ieee80211_open+0x64/0x6c)
    [  190.543577] [<c04ea6fc>] (ieee80211_open) from [<c03dc6d8>] (__dev_open+0xb0/0x104)
    [  190.551206] [<c03dc6d8>] (__dev_open) from [<c03dc978>] (__dev_change_flags+0x9c/0x140)
    [  190.559198] [<c03dc978>] (__dev_change_flags) from [<c03dca44>] (dev_change_flags+0x28/0x
    58)
    [  190.567611] [<c03dca44>] (dev_change_flags) from [<c0451304>] (devinet_ioctl+0x318/0x6c0)
    [  190.575733] [<c0451304>] (devinet_ioctl) from [<c0453898>] (inet_ioctl+0xcc/0x100)
    [  190.583334] [<c0453898>] (inet_ioctl) from [<c03bf65c>] (sock_ioctl+0x238/0x288)
    [  190.590701] [<c03bf65c>] (sock_ioctl) from [<c0136434>] (do_vfs_ioctl+0x510/0x608)
    [  190.598259] [<c0136434>] (do_vfs_ioctl) from [<c0136570>] (SyS_ioctl+0x44/0x6c)
    [  190.605511] [<c0136570>] (SyS_ioctl) from [<c000ede0>] (ret_fast_syscall+0x0/0x48)
    [  190.613092] ---[ end trace cd6d6907fc7abaa5 ]---
    [  190.617685] wl1271_sdio mmc1:0001:2: sdio read failed (-110)
    [  190.623291] wlcore: ERROR reg domain conf error
    [  200.406943] mmc1: Timeout waiting for hardware interrupt.
    
    [  210.426927] mmc1: Timeout waiting for hardware interrupt.
    
    [  220.446950] mmc1: Timeout waiting for hardware interrupt.
    [  230.466927] mmc1: Timeout waiting for hardware interrupt.
    [  230.589990] wlcore: ERROR firmware boot failed despite 3 retries
    ifconfig: SIOCSIFFLAGS: No medium found
    #
    #
    [  230.772400] mmc1: card 0001 removed
    [  230.823907] sdhci-arasan e0101000.ps7-sdio: card claims to support voltages below defined
     range
    [  230.854517] mmc1: new high speed SDIO card at address 0001
    [  231.150420] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [  231.175376] wlcore: loaded
    [  231.178467] wlcore: driver version: R8.5
    [  231.182324] wlcore: compilation time: 2014/December
    #
    #

    I don't know what is the issue, the irq are congured correctly.

    I'm using MIO0 as wlan irq, and it's irq no. is 96...

    Here is my device tree configuration...

    wlcore {
        compatible = "wlcore";
        interrupt-parent = <&ps7_gpio_0>;
        irq = <96>;
        platform-quirks = <1>;
        board-ref-clock = <4>;
    };

     

    Can you suggest me, how to resolve this?

     

    Regards,

    -Narasimma

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 7 years ago

    Hello Narasimma,

    I don't have anything to add to the comment above other than suggest the Xilinx Community forums again.

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube