[U-Boot] [PATCH v2a] AT91: add SD/MMC support
Schleifer, Alexander
Alexander.Schleifer at ise.de
Mon Aug 16 11:34:34 CEST 2010
Hi Eric,
Thanks for your reply. I sorted out, that the AT91Bootstrap impacts the U-Boot. See http://lists.denx.de/pipermail/u-boot/2010-August/075646.html.
I am using a hardware which is based on the EK board from Atmel and I will try out the new driver patch from Reinhard to see if it helps me out.
Best regards,
Alex
-----Original Message-----
From: Xu, Hong [mailto:Hong.Xu at atmel.com]
Sent: Monday, August 16, 2010 4:04 AM
To: Schleifer, Alexander
Cc: u-boot at lists.denx.de; u-boot at emk-elektronik.de
Subject: RE: [U-Boot] [PATCH v2a] AT91: add SD/MMC support
Hi Alex,
Thanks to Reinhard, his previous work does well on SAM9260 SAM9G20 SAM9XE SAM9RL (I tested all of them). Since he said he'll provide a more fancy one, I'm just on hold :-)
For your issue, could you try (If you're using the original EK board from Atmel)
Remove R42
- or -
In at91_mci_hw_init() @ arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c , Add a line
at91_set_pio_input(AT91_PIO_PORTA, 2, 0);
This will let the CLK line of dataflash appear high resistance state. (By default, the CLK line of dataflash and SD slot are connected together by a 0R resistor)
BR,
Eric
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of asc0
> Sent: 2010?8?13? 18:19
> To: u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH v2a] AT91: add SD/MMC support
>
>
> Hello! I have successfully applied your patch on a
> AT91SAM9G20 cpu and it reads the correct CID & CSD info.
> At the end of initialization the bread function fails with the
> following
> error:
>
> mmc: bread failed, status = 0040c0e5, card status = 00000900
>
> Does someone else received this error or have a hint on this error
> message?
>
> Thanks,
> Alex
> --
> View this message in context:
> http://old.nabble.com/-U-Boot---PATCH--AT91SAM9260-9XE%3A-add-
> support-for-MultiMedia-Card-Interface-%28MCI%29-tp29068839p294
> 27373.html
> Sent from the Uboot - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list