All of lore.kernel.org
 help / color / mirror / Atom feed
From: fg@emlix.com (Fabian Godehardt)
To: linux-arm-kernel@lists.infradead.org
Subject: atmel-mci / at91_mci
Date: Mon, 8 Feb 2010 14:13:19 +0100	[thread overview]
Message-ID: <201002081413.19984.fg@emlix.com> (raw)
In-Reply-To: <4B6A8C0F.7080907@iis.fraunhofer.de>

Hi,

Am Donnerstag 04 Februar 2010 09:57:51 schrieb Manuel Stahl:
> Hi all,
> 
> I have a question regarding the atmel-mci/at91_mci driver merge.
> Actually I have an at91rm9200 device which get's an CRC error while
> inializing an SD-card. I guess it's because of an at91rm9200 errata:
> 
> - Data Endianess inversion from the MCI to MMC or SD Card
> 
> The at91_mci driver did some byte swapping in 'at91_mci_sg_to_dma'
>  function. Where would I implement this in the atmel-mci driver?
> 
> Attached is the kernel log when I insert a card.

Some time ago i had a 9200 with 2.6.20 where i had similar problems (AFAIR).

My workaround was to reduce the frequency on card initialization (somewhere on 
probe() ):

	mmc->f_min = 325000;

and deactivating 4WIRE mode.

Maybe this also helps in your case.


Mit freundlichen Gr??en/With kind regards

Fabian Godehardt

-- 
Besuchen Sie uns auf der Embedded World 2010 in N?rnberg!
-> Halle 11, Stand 222

Dipl.-Ing. (FH) Fabian Godehardt, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax -11, Bahnhofsallee 1b, 37081 G?ttingen, Germany
Sitz der Gesellschaft: G?ttingen, Amtsgericht G?ttingen HR B 3160
Gesch?ftsf?hrer: Dr. Uwe Kracke, Ust-IdNr.: DE 205 198 055

emlix - your embedded linux partner

  reply	other threads:[~2010-02-08 13:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04  8:57 atmel-mci / at91_mci Manuel Stahl
2010-02-08 13:13 ` Fabian Godehardt [this message]
2010-02-09 15:49   ` Manuel Stahl
2010-02-15 16:16     ` Sebastian Heutling
2010-02-22  9:56       ` Manuel Stahl

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=201002081413.19984.fg@emlix.com \
    --to=fg@emlix.com \
    --cc=linux-arm-kernel@lists.infradead.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.