From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Date: Thu, 26 Feb 2015 17:59:23 -0600 Subject: [U-Boot] "Writing to MMC(%d)... failed" In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I think I've been able to narrow down, a bit, where the issue is coming from. "mmc_set_blocklen" led me to "mmc_send_cmd" which showed that there is the "CONFIG_MMC_TRACE" I could use. A notable difference between hardkernel's u-boot and mainline was the "uint flags;" was no longer in the "mmc_cmd" struct. I did see that this removal was noted as being a problem back in 2012: http://lists.denx.de/pipermail/u-boot/2012-September/133409.html The result from "saveenv": Odroid # saveenv Saving Environment to MMC... Writing to MMC(0)... CMD_SEND:16 ARG 0x00000200 ret: -19 MMC_RSP_R1,5,6,7 0x00000000 I added the "printf" for "ret".