Mmc1 Cmd 5 Command And Bit Error
Contents |
Powered by phpBB Forum Software © phpBB Group
Board index The team Delete all board cookies All times are UTC
it enabled. Please turn JavaScript back on and reload this page.More questions in i.MX Community Where is this place located?NXP CommunityAll Placesi.MX CommunityLog in to create and rate content, and to follow, bookmark, and share content with https://community.nxp.com/thread/311138 other members.AnsweredAssumed AnsweredSDIO command timeout issue with SD8787 wifi chipsetQuestion asked by Krishnan https://bugs.launchpad.net/bugs/1422338 P on Aug 19, 2013Latest reply on May 3, 2016 by brack zhang Like • Show 0 Likes0 Comment • 33Platform: sabre-lite imx6 Q boardKernel: 3.0.35Wifi chipset: Marvell SD8787 based wifi modulewifi driver : mwifiexWe are facing an issue in Wi-Fi bring-up on 3.0.35 kernel. The Wi-Fi module connected to sd card sabre-lite board through SDIO interface.The driver is able to load the firmware. But if we try to a data transfer the driver crashes with following message.root@freescale /$ dhclient mlan0 Internet Systems Consortium DHCP Client V3.0.3b1 Copyright 2004-2005 Internet Systems Consortium. Listening on Socket/eth0 Sending on Socket/eth0 Listening on Socket/mlan0 Sending on Socket/mlan0 Sending on Socket/fallback DHCPDISCOVER on mlan0 to 255.255.255.255 port 67 interval sd card command 6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on mlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 mwifiex_sdio mmc1:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id (97.892473) = 0xce, act = 0x1c8c mwifiex_sdio mmc1:0001:1: num_data_h2c_failure = 0 mwifiex_sdio mmc1:0001:1: num_cmd_h2c_failure = 0 mwifiex_sdio mmc1:0001:1: num_cmd_timeout = 1 mwifiex_sdio mmc1:0001:1: num_tx_timeout = 0 mwifiex_sdio mmc1:0001:1: last_cmd_index = 3 mwifiex_sdio mmc1:0001:1: last_cmd_resp_index = 2 mwifiex_sdio mmc1:0001:1: last_event_index = 4 mwifiex_sdio mmc1:0001:1: data_sent=0 cmd_sent=1 mwifiex_sdio mmc1:0001:1: ps_mode=1 ps_state=0 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on mlan0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 Further looking into the issue, I have found a patch for "eSDHC misses SDIO interrupt when CINT is disabled" for imx processors.https://patchwork.kernel.org/patch/2446091/Does this patch is applicable to imx6 processors? If yes, do you have a patch for 3.0.35 kernel?Thanks in advance,Krishnan.No one else has this questionMark as assumed answeredOutcomesVisibility: i.MX Community9529 ViewsLast modified on Aug 19, 2013 4:58 AMCategories: i.MX6_AllLinuxThis content has been marked as final. Show 33 comments33 RepliesNameEmail AddressWebsite AddressName(Required)Email Address(Required, will not be published)Website AddressKr
Milestone linux (Ubuntu) Edit Expired Medium Unassigned Edit You need to log in to change this bug's status. Affecting: linux (Ubuntu) Filed here by: Vianney Bajart When: 2015-02-16 Completed: 2015-09-13 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Expired Medium Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Running live USB of the latest Vivid daily build on Lenovo Thinkpad 10 with Samsung eMMC MDGAGC 116 GiB: Ubuntu 15.04 (vivid-desktop-amd64.iso 2015-02-16 8:05) Linux 3.18.0-13-generic systemd 218-10ubuntu1 Extract of dmesg (full log in attachment): [ 12.337332] mmc0: BKOPS_EN bit is not set [ 12.348788] mmc0: new HS200 MMC card at address 0001 ... [ 12.369112] mmcblk0: mmc0:0001 MDGAGC 116 GiB [ 12.369786] mmcblk0boot0: mmc0:0001 MDGAGC partition 1 4.00 MiB [ 12.370414] mmcblk0boot1: mmc0:0001 MDGAGC partition 2 4.00 MiB [ 12.370976] mmcblk0rpmb: mmc0:0001 MDGAGC partition 3 4.00 MiB [ 12.376682] mmcblk0: p1 p2 p3 p4 I get multiple errors when trying to access to mmc partitions: [ 21.950514] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock [ 21.950537] mmc0: Got data interrupt 0x00600000 even though no data operation was in progress. [ 21.952904] mmc0: Got data interrupt 0x00000002 even though no data operation was in progress. [ 21.955002] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x400900 [ 21.955007] mmcblk0: error -84 transferring data, sector 244277120, nr 8, cmd response 0x900, card status 0x0 [ 21.955011] mmcblk0: retrying using single block read ... [ 22.197516] mmcblk0boot0: error -84 transferring data, sector 8071, nr 1, cmd response 0x900, card status 0x0 [ 22.199814] mmc0: Got data interrupt 0x00000002 ev