i.MX8MQ EVK not booting with latest mainline U-Boot
Fabio Estevam
festevam at gmail.com
Mon Feb 22 18:39:10 CET 2021
Hi Andrey,
On Mon, Feb 22, 2021 at 9:19 AM Fabio Estevam <festevam at gmail.com> wrote:
> The issue now is that saving the environment to the SD card is no
> longer working.
>
> I will investigate the SD card issue now.
This was caused by the following commit:
commit 247bbeb74c186963d9365db3136d0285618bd9a7
Author: Andrey Zhizhikin <andrey.zhizhikin at leica-geosystems.com>
Date: Sat Dec 5 17:29:17 2020 +0000
ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator
Some SD Card controller and power circuitry has increased capacitance,
which keeps the internal logic remains powered after regulator is switch
off. This is generally the case when card is switched to SD104 mode,
where a power cycle should be performed. In case if the card internal
logic remains powered, it causes a subsequent failure of mode
transition, effectively leading to failed enumeration.
Introduce a delay of 20 msec in order to provide a possibility for
internal card circuitry to drain voltages and perform a power cycle
correctly.
Similar fix is done in commit c49d0ac38a76 ("ARM: dts: rmobile: Increase
off-on delay on the SD Vcc regulator") targeted Renesas SOCs.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin at leica-geosystems.com>
Cc: Stefano Babic <sbabic at denx.de>
I will send a fix.
Thanks,
Fabio Estevam
More information about the U-Boot
mailing list