Re: rockpi-e sometimes fails to load u-boot.img

John Keeping
2023-04-27T09:39:10Z

On Wed, Apr 26, 2023 at 11:35:19AM +0200, Belisko Marek wrote:
> I'm using 2022.01 u-boot. Booting from SDcard sometimes shows up this log:
> U-Boot SPL 2022.01 (Jan 10 2022 - 18:46:34 +0000)
> Trying to boot from MMC2
> Card did not respond to voltage select! : -110
> spl: mmc init failed with error: -95
> Trying to boot from MMC1
> mmc_load_image_raw_sector: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
>
> and after reboot board boots fine. Is there any explanation why this
> is happening pls?

I expect you're hitting the issue that was fixed in v2023.01 by commit
7ff2f30b63 ("mmc: dwmmc: only clear handled interrupts").

Have you tried using a more recent version of U-Boot?