[U-Boot] [PATCH v2a] AT91: add SD/MMC support
Xu, Hong
Hong.Xu at atmel.com
Mon Aug 16 04:04:22 CEST 2010
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