imx7d-sabresd: Cannot access the SD card
Fabio Estevam
festevam at gmail.com
Thu Apr 6 03:30:42 CEST 2023
On Wed, Apr 5, 2023 at 10:21 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Peng and Ye Li,
>
> The following SDHC error is seen when running top of tree U-Boot on an
> imx7d-sabresd board:
>
> U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300)
>
> CPU: Freescale i.MX7D rev1.0 1000 MHz (running at 792 MHz)
> CPU: Commercial temperature grade (0C to 95C) at 35C
> Reset cause: POR
> Model: Freescale i.MX7 SabreSD Board
> Board: i.MX7D SABRESD in non-secure mode
> DRAM: 1 GiB
> Core: 100 devices, 19 uclasses, devicetree: separate
> PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x10
> MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
> Loading Environment from MMC... Card did not respond to voltage select! : -110
> *** Warning - No block device, using default environment
Reverting the commit below makes the SD card work again:
commit 1a7904fdfa7d1974410e9dc9b9bfe8aad7fb1311
Author: Adam Ford <aford173 at gmail.com>
Date: Wed Jan 12 07:53:56 2022 -0600
mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps
The Linux driver automatically can detect and enable UHS, HS200, HS400
and HS400_ES automatically without extra flags being placed into the
device tree.
Right now, for U-Boot to use UHS, HS200 or HS400, the extra flags are
needed in the device tree. Instead, go through the esdhc_soc_data
flags and enable the host caps where applicable to automatically
enable higher speeds.
Suggested-by: Fabio Estevam <festevam at gmail.com>
Signed-off-by: Adam Ford <aford173 at gmail.com>
Any suggestions?
More information about the U-Boot
mailing list