All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Johannes Braun <jjo.braun@gmail.com>
Cc: <linux-wireless@vger.kernel.org>, <ath6kl-devel@qca.qualcomm.com>
Subject: Re: Silex SX-SDCAN (AR6003) sdio module, mmc0 timout on imx35 platform
Date: Fri, 8 Mar 2013 09:19:59 +0200	[thread overview]
Message-ID: <87txoms6hs.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <CADwvPCsGtzDyY4=yjMuX0qha-cdZHdZ-BTAhuwD7jb8pVXYPdw@mail.gmail.com> (Johannes Braun's message of "Tue, 12 Feb 2013 08:41:01 +0100")

Hi,

Johannes Braun <jjo.braun@gmail.com> writes:

> in my company we are using a Freescale imx35 based platform with a
> 3.7.6 Kernel. Currently I am trying to get the Silex SX-SDCAN (AR6003)
> module up and running on this platform. But I have some trouble. The
> module is connected via sdio.

Is your platform big endian or little endian? I haven't tested ath6kl on
a big endian platform so there might be issues.

> My first try was with the ath6kl_sdio driver module of our kernel
> (vanilla 3.7.6) which ends in the following error:
> root@generic-armv6:~# modprobe ath6kl_sdio
> cfg80211: Calling CRDA to update world regulatory domain
> cfg80211: World regulatory domain updated:
> cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
> cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
> cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
> cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
> cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
> cfg80211: Calling CRDA for country: DE
> cfg80211: Regulatory domain changed to country: DE
> cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> cfg80211:   (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> cfg80211:   (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> cfg80211:   (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2700 mBm)
> ath6kl: temporary war to avoid sdio crc error
> ath6kl: host only supports scatter of :1 entries, need: 16
> ath6kl: ar6003 hw 2.1.1 sdio fw 3.2.0.144 api 3
> ath6kl: abi version mismatch: host(0x1), target(0x0)
> mmc0: Timeout waiting for hardware interrupt.

The last two messages make me suspect a hardware problem, but it's
difficult to know really.

Can you please enable debug messages and send them? Especially these
levels are important:

	ATH6KL_DBG_SDIO		= BIT(16),
	ATH6KL_DBG_SDIO_DUMP	= BIT(17),
	ATH6KL_DBG_BOOT		= BIT(18),    /* driver init and fw boot */

Or you could just enable everything with debug_mask=0xffffffff. More
info here:

http://wireless.kernel.org/en/users/Drivers/ath6kl/Debug

Also try various quirks in the SDIO controller, if it supports those.
For example in some platforms using sdhci people have had to disable DMA
etc to get SDIO bus reliable.

-- 
Kalle Valo

  reply	other threads:[~2013-03-08  7:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  7:41 Silex SX-SDCAN (AR6003) sdio module, mmc0 timout on imx35 platform Johannes Braun
2013-03-08  7:19 ` Kalle Valo [this message]
2013-03-11  7:36   ` Johannes Braun
2013-03-11  8:16     ` Kalle Valo
2013-03-12  8:55       ` Johannes Braun
  -- strict thread matches above, loose matches on Subject: below --
2013-03-12 15:02 drwho
2013-03-12 16:47 ` Johannes Braun
2013-03-12 19:42   ` drwho
2013-03-13 13:55     ` Johannes Braun
2013-03-13 15:37       ` drwho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txoms6hs.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=ath6kl-devel@qca.qualcomm.com \
    --cc=jjo.braun@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.