[PATCH 0/2] mci: fix read timeouts following SD card writes

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 19 04:44:54 PDT 2026


On Mon, 19 Oct 2026 11:52:42 +0200, Sascha Hauer wrote:
> On a KSZ9477-EVB (SAMA5D3), saveenv fails on the first attempt after
> the SD card has been freshly flashed, and larger raw writes to the
> card fail as well:
> 
>   ERROR: atmel_mci f0000000.mmc at f0000000.of: command/data timeout
>   ERROR: atmel_mci f0000000.mmc at f0000000.of: command/data timeout
> 
> [...]

Applied, thanks!

[1/2] mci: atmel_mci: improve timeout error message
      https://git.pengutronix.de/cgit/barebox/commit/?id=bf7b978c8c3a (link may not be stable)
[2/2] mci: wait for card to leave programming state after block writes
      https://git.pengutronix.de/cgit/barebox/commit/?id=d43bedfe62b7 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list