[U-Boot] [Question]AT91: MMC read and multiple read failed

2011-07-11 Thread Song, Elen
Hello Reinhard: I've tried your patch([PATCH] AT91: enable MMC on at91sam(9260/9g20/0xe)ek) on uboot-atmel branch on at91sam9260.The sdcard is correctly initialized,but when I test "mmc read" command, I found two issues. 1.while run command "mmc read 2200 0 1" to read the first block,it wil

Re: [U-Boot] [Question]AT91: MMC read and multiple read failed

2011-07-11 Thread Song, Elen
-Original Message- From: Reinhard Meyer [mailto:u-b...@emk-elektronik.de] Sent: 2011年7月11日 17:06 To: Song, Elen Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [Question]AT91: MMC read and multiple read failed >Hello Song, Elen, >> Hello Reinhard: >> >> I'

Re: [U-Boot] [Question]AT91: MMC read and multiple read failed

2011-07-11 Thread Song, Elen
-Original Message- From: Reinhard Meyer [mailto:u-b...@emk-elektronik.de] Sent: 2011年7月11日 18:27 To: Song, Elen Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [Question]AT91: MMC read and multiple read failed Dear Reinhard, > [snip] >>> static int mci_send_cmd(struct mmc

[U-Boot] [RFC] mmc:saveenv problem

2011-07-20 Thread Song, Elen
Hello Dear Andy: I found in env_mmc.c, mmc_get_env_addr(...)only do *env_addr = CONFIG_ENV_OFFSET.If CONFIG_ENV_OFFSET is defined in partition space,the raw data may cover the env.IF CONFIG_ENV_OFFSET = 0,will it damage MBR?Should it do some protection methods? Thank you very much Elen.

Re: [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error"

2011-08-02 Thread Song, Elen
er CC the patch to you: From: elen.song [mailto:elen.s...@atmel.com] Sent: 2011年7月12日 18:17 To: u-b...@emk-elektronik.de Cc: u-boot@lists.denx.de; Song, Elen Subject: [PATCH] AT91:mmc:fix multiple read/write error Anyway,is there any problem with the patch? And for support mmc on other boards later,