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 failed (status: 0x0c100025) No MMC card found I'm not sure what's going on. On Tue, Apr 6, 2010 at 5:57 AM, Ulf Samuelsson <ulf.samuels...@atmel.com>wrote: > 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@lists.denx.de > > http://lists.denx.de/mailman/listinfo/u-boot > >
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot