The patch works. Thanks Rob!
This is what I did, in case somebody else is looking for this:
Apply the patch. Add all the other stuff mentioned in the patch link.
Add the #define CONFIG_CMD_MMC 1 and #define CONFIG_CMD_FAT 1 to your board
config file (in my case at91sam9mg45ek.h). I only needed
Andy, Henry, Ulf, and the rest,
I've posted the patch that I'm using for my SD/MMC support. It is a
new driver based on some of the code from the original Atmel driver
that uses the MMC framework. I've tested it on a at91sam9g45 (ES and
production chips) and on an ek board and our own board.
I
-Boot] at91sam9g45ekes SDHC/MMC
Hi Henry U-Boot Community,
I've been experiencing the same errors and frustration you have.
So I've been looking at this code and these patch sets for a day or
two now. I've done that in conjunction with reading the SD card spec:
http://www.sdcard.org
On Thu, Apr 22, 2010 at 7:51 PM, Rob Emanuele r...@emanuele.us wrote:
Hi Henry U-Boot Community,
I've been experiencing the same errors and frustration you have.
So I've been looking at this code and these patch sets for a day or
two now. I've done that in conjunction with reading the SD
On Fri, 23 Apr 2010 16:58 -0500, Andy Fleming wrote :
On Thu, Apr 22, 2010 at 7:51 PM, Rob Emanuele r...@emanuele.us wrote:
Hi Henry U-Boot Community,
I've been experiencing the same errors and frustration you have.
So I've been looking at this code and these patch sets for a day or
On Fri, Apr 23, 2010 at 6:21 PM, Albin Tonnerre
albin.tonne...@free-electrons.com wrote:
On Fri, 23 Apr 2010 16:58 -0500, Andy Fleming wrote :
On Thu, Apr 22, 2010 at 7:51 PM, Rob Emanuele r...@emanuele.us wrote:
Hi Henry U-Boot Community,
I've been experiencing the same errors and
Hi Henry U-Boot Community,
I've been experiencing the same errors and frustration you have.
So I've been looking at this code and these patch sets for a day or
two now. I've done that in conjunction with reading the SD card spec:
http://www.sdcard.org/developers/tech/sdcard/pls/
I've come to
Hi Ulf,
Thanks for the reply. I applied your patches but I still can't get it to
read the SD card
Without the SD card:
U-Boot mmc init 0
mmc: command 55 failed (status: 0x0c100025)
mmc: command 1 failed (status: 0x0c100025)
No MMC card found
With the SD card:
U-Boot mmc init 0
mmc: command 1
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.
Hi Albin,
Thanks for all the help :).
After doing some research i found out that I the configuration I need is
!CONFIG_ATMEL_MCI1 since I the interface I'm trying to use is MCI0. When I
try it out it does seem like it's trying to read from it (it immediately
returns with an -EIO if I remove the
Here's the command I'm using and the output. I put a debugging statement in
sd_init_card() after the for loop (HJS:).
U-Boot mmc init 0
mmc: clock 15 too low; setting CLKDIV to 255
HJS: sd_init_card() mmc_acmd for loop finished. ret = -19, resp[0] =
0x6B200020
No MMC card found
The same
On Tue, 16 Mar 2010 08:30 -0400, Henry Súcart wrote :
Here's the command I'm using and the output. I put a debugging statement in
sd_init_card() after the for loop (HJS:).
U-Boot mmc init 0
mmc: clock 15 too low; setting CLKDIV to 255
HJS: sd_init_card() mmc_acmd for loop finished. ret
I put the printf you asked for in sd_init_card, right after the for loop.
Here's the output:
With #define CONFIG_ATMEL_MCI1 1
U-Boot mmc init 0
mmc: setting clock 15 Hz, block size 512
mmc: clock 15 too low; setting CLKDIV to 255
mmc: CMD0 0x0 (flags 0x0)
mmc: status 0x0c25
mmc:
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 applied these patches:
http://lists.denx.de/pipermail/u-boot/2009-August/059595.html
Hi Albin,
First of all thanks for the quick reply.
I tried out what you said about adding #define CONFIG_AT91_MCI1 to the board
config file but although that did got rid of the mmc: command 1 failed
(status: 0x0c100025) error it still doesn't see the SD card. After doing
some debugging it seems
On Mon, 15 Mar 2010 17:40 -0400, Henry Súcart wrote :
Hi Albin,
First of all thanks for the quick reply.
You're welcome.
I tried out what you said about adding #define CONFIG_AT91_MCI1 to the board
config file but although that did got rid of the mmc: command 1 failed
(status: 0x0c100025)
16 matches
Mail list logo