[U-Boot] [PATCH] pico-imx6ul: Fix eMMC boot after DM_MMC conversion

Fabio Estevam festevam at gmail.com
Sat Mar 30 20:59:30 UTC 2019


Hi Stefano,

On Thu, Mar 21, 2019 at 10:59 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> After the DM_MMC conversion the following eMMC boot error is observed:
>
> U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 18:53:28 +0000)
> Trying to boot from MMC1
> MMC Device 0 not found
> spl: could not find mmc device 0. error: -19
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
>
> This happens because the SPL code does not initialize the SDHC pins
> and clock.
>
> Fix it by moving the original eMMC initialization from U-Boot proper
> to SPL.
>
> Reported-by: Otavio Salvador <otavio at ossystems.com.br>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> Tested-by: Fabio Berton <fabio.berton at ossystems.com.br>
> Reviewed-by: Otavio Salvador <otavio at ossystems.com.br>

Could you please consider this one for 2019.04?

It is needed to fix a boot regression after DM conversion.

Thanks


More information about the U-Boot mailing list