linux-mips
[Top] [All Lists]

Re: ALCHEMY: Add SD support to AU1200 MMC/SD driver

To: "Rodolfo Giometti" <giometti@linux.it>
Subject: Re: ALCHEMY: Add SD support to AU1200 MMC/SD driver
From: "Jordan Crouse" <jordan.crouse@amd.com>
Date: Mon, 9 Jan 2006 11:19:24 -0700
Cc: linux-mips@linux-mips.org
In-reply-to: <20060109174505.GD1373@gundam.enneenne.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20051202190108.GF28227@cosmic.amd.com> <20051214134139.GN22061@hulk.enneenne.com> <20051214155324.GC9734@cosmic.amd.com> <20060109174505.GD1373@gundam.enneenne.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
On 09/01/06 18:45 +0100, Rodolfo Giometti wrote:
> First of all I needed to disable the DMA support (dma = 0) and using
> the FIFO mode, since Au1100 dma support seems not well implemented (or
> not implemented at all) and my board freeze.

That sound you heard was me smacking my head because I'm an idiot.  Of
course, the DMA won't work for the AU1100, at least not that engine, so
you would certainly need to go for just PIO mode.

> After that, when I insert a 256MB MMC card I get the attached messages
> and the system refuses to power up the card (please, see the last
> message who reports the power status).

That message is innocent - it simply states that we couldn't identify your
card, so we're powering it down.  It looks like the card wasn't replying
to the CMD2, so the controller figured that there was nothing on the line.

> Have you any suggestions? :)

Well, first of all make sure that the driver is correct - I wrote it against
the AU1200 spec, so if there is something different in the AU1100 spec,
we'll have to #ifdef it.  Secondly, make sure the card really works.
Thirdly, you'll have to stick in printk() statements in the driver, to
make sure we're actually sending out the commands.  Finally, you might have
to stick a scope on the bus to make sure the protocol is sane on the
line.

Jordan

--
Jordan Crouse
Senior Linux Engineer
AMD - Personal Connectivity Solutions Group
<www.amd.com/embeddedprocessors>


<Prev in Thread] Current Thread [Next in Thread>