From: "Jordan Crouse" <jordan.crouse@amd.com>
To: "Wolfgang Ocker" <weo@reccoware.de>
Cc: linux-mips@linux-mips.org
Subject: Re: Au1200 MMC/SD problem
Date: Tue, 2 May 2006 08:43:14 -0600 [thread overview]
Message-ID: <20060502144314.GI22167@cosmic.amd.com> (raw)
In-Reply-To: <1146548770.1597.43.camel@seneca.recco.de>
On 02/05/06 07:46 +0200, Wolfgang Ocker wrote:
> Hello,
>
> I'm trying to get a SD card to work on an Db1200 board. I'm using kernel
> 2.6.16.11 (+ the patch from Jordan Crouse):
Thats not an encouraging sign.
> au1xx(0): DEBUG: set_ios (power=2, clock=450000Hz, vdd=15, mode=2)
> MMC: starting cmd 09 arg e0080000 flags 00000007
> MMC: req done (09): 1: 00000000 00000000 00000000 00000000
> MMC: req done (09): 1: 00000000 00000000 00000000 00000000
> MMC: req done (09): 1: 00000000 00000000 00000000 00000000
> MMC: req done (09): 1: 00000000 00000000 00000000 00000000
Ok - so the reasons for cmd->error to be MMC_ERR_TIMEOUT are:
* invalid return from dma_map_sg in au1xmmc_prepare_data
* general error from the DBDMA engine
* one of SD_STATUS_RAT sent when the IRQ fires
So to narrow it down - check the return value of au1xmmc_prepare_data
in au1xmmc_request. Then, see if RAT is ever set in au1xmmc_irq. This
will help narrow down the problem.
Also, the usual general questions:
What SD card are you using? How big is it? Is it a v1.01 or a v1.1 card?
Jordan
next prev parent reply other threads:[~2006-05-02 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-02 5:46 Au1200 MMC/SD problem Wolfgang Ocker
2006-05-02 14:43 ` Jordan Crouse [this message]
2006-05-02 18:02 ` Wolfgang Ocker
2006-05-03 14:59 ` Jordan Crouse
2006-05-05 10:39 ` Wolfgang Ocker
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=20060502144314.GI22167@cosmic.amd.com \
--to=jordan.crouse@amd.com \
--cc=linux-mips@linux-mips.org \
--cc=weo@reccoware.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox