From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albin Tonnerre Date: Mon, 15 Mar 2010 23:15:50 +0100 Subject: [U-Boot] at91sam9g45ekes SDHC/MMC In-Reply-To: References: <20100315201021.GC14032@pc-ran3241> Message-ID: <20100315221550.GE14032@pc-ran3241> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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) error Great. At least know we know it's actually reading the card :) > it still doesn't see the SD card. After doing > some debugging it seems like the statement: > > if (aresp[0] & (R1_ILLEGAL_COMMAND | R1_APP_CMD)) != R1_APP_CMD) > return -ENODEV; > > in mmc_acmd() is being executed, which is causing my problem. Any > suggestions? Not on the top of my head - I have to admit I haven't played with the MMC support for quite some time. Would you mind providing me the exact command you typed and the ouput you got when trying with the "fixed" u-boot? That might help. Regards, -- Albin Tonnerre, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com