public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] at91sam9g45ekes SDHC/MMC
Date: Tue, 06 Apr 2010 11:57:56 +0200	[thread overview]
Message-ID: <4BBB05A4.2090201@atmel.com> (raw)
In-Reply-To: <dfbc12091003151251k3e8d004aoae4b1c8573f05438@mail.gmail.com>

Henry S?cart skrev:
> Hi,
> 
> I've been trying to get an SD card working with an at91sam9g45ek-es board. I
> read a couple of threads in the archive and ended up doing this:
> 

I have booted the AT91SAM9G45EKES (Actually the AT91SAM9M10EKES,
but it is almost the same) from SD-Card for the last month.
The patchset for 2009.11 is available for testing in my private git
branch on www.openembedded.org: origin/ulf/linux-2.6.30-20100317

I came to the conclusion that the atmel MCI driver (written for the big
endian AVR32) has significant byte sex problems.

BR
Ulf Samuelsson.


> I applied these patches:
> 
> http://lists.denx.de/pipermail/u-boot/2009-August/059595.html
> http://lists.denx.de/pipermail/u-boot/2009-September/060053.html
> http://lists.denx.de/pipermail/u-boot/2009-September/060243.html
> 
> Added these #define's to include/configs/at91sam9m10g45ek.h:
> 
> #define CONFIG_CMD_EXT2   1
> #define CONFIG_CMD_FAT     1
> #define CONFIG_CMD_MMC   1
> #define CONFIG_MMC            1
> #define CONFIG_ATMEL_MCI  1
> 
> Finally, I added this to the board init function:
> 
> #ifdef CONFIG_ATMEL_MCI
> at91_mci0_hw_init(0, 4);
> #endif
> 
> When I try it out this is what I get:
> U-Boot> mmc init 0
> mmc: clock 150000 too low; setting CLKDIV to 255
> mmc: command 1 failed (status: 0x0c100025)
> No MMC card found
> 
> Am I doing something wrong? Any help is appreciated,
> 
> Henry
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

  parent reply	other threads:[~2010-04-06  9:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 19:51 [U-Boot] at91sam9g45ekes SDHC/MMC Henry Súcart
2010-03-15 20:10 ` Albin Tonnerre
2010-03-15 21:40   ` Henry Súcart
2010-03-15 22:15     ` Albin Tonnerre
2010-03-16 12:30       ` Henry Súcart
2010-03-16 20:36         ` Albin Tonnerre
2010-03-16 22:08           ` Henry Súcart
2010-03-17 19:23             ` Henry Súcart
2010-04-06  9:57 ` Ulf Samuelsson [this message]
2010-04-12 13:55   ` Henry Súcart
2010-04-23  0:51     ` Rob Emanuele
2010-04-23  6:24       ` Samuelsson, Ulf
2010-04-23 21:58       ` Andy Fleming
2010-04-23 23:21         ` Albin Tonnerre
2010-04-24  1:18           ` Andy Fleming
2010-04-28 20:17             ` Robert Emanuele
2010-05-03 14:45               ` Henry Súcart

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=4BBB05A4.2090201@atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=u-boot@lists.denx.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